Chore: Web widget Inbox Tech Debts (#738)

* Chore: Webwidget Inbox Tech Debts

* Additional customization options creating Web Widget
* Changes to edit Page for Web Widget
* Remove the WebWidget API end points
* Minor chores

Address: #680, #502

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
Sojan Jose
2020-04-19 23:40:28 +05:30
committed by GitHub
parent c0ce70e87b
commit 941fbb0d72
46 changed files with 564 additions and 503 deletions

View File

@@ -31,42 +31,39 @@
.wizard-box {
.item {
@include padding($space-normal $space-normal $space-normal $space-medium);
position: relative;
@include background-light;
cursor: pointer;
&:before,
&:after {
content: '';
position: absolute;
width: 2px;
height: 100%;
cursor: pointer;
position: relative;
&::before,
&::after {
background: $color-border;
content: '';
height: 100%;
position: absolute;
top: $space-normal;
width: 2px;
}
&:before {
top: $zero;
&::before {
height: $space-normal;
top: $zero;
}
&:first-child {
&:before {
&::before {
height: 0;
}
}
&:last-child {
&:after {
&::after {
height: $zero;
}
}
&.active {
// left: 1px;
// @include background-white;
// @include border-light;
// border-right: 0;
h3 {
color: $color-woot;
}
@@ -78,7 +75,7 @@
&.over {
&:after {
&::after {
background: $color-woot;
}
@@ -86,18 +83,18 @@
background: $color-woot;
}
&+.item {
&:before {
& + .item {
&::before {
background: $color-woot;
}
}
}
h3 {
font-size: $font-size-default;
padding-left: $space-medium;
line-height: 1;
color: $color-body;
font-size: $font-size-default;
line-height: 1;
padding-left: $space-medium;
.completed {
color: $success-color;
@@ -105,25 +102,25 @@
}
p {
font-size: $font-size-small;
color: $color-light-gray;
padding-left: $space-medium;
font-size: $font-size-small;
margin: 0;
padding-left: $space-medium;
}
.step {
position: absolute;
left: $space-normal;
top: $space-normal;
font-size: $font-size-small;
font-weight: $font-weight-medium;
background: $color-border;
border-radius: 20px;
width: $space-normal;
color: $color-white;
font-size: $font-size-small;
font-weight: $font-weight-medium;
height: $space-normal;
text-align: center;
left: $space-normal;
line-height: $space-normal;
color: #fff;
position: absolute;
text-align: center;
top: $space-normal;
width: $space-normal;
z-index: 999;
i {
@@ -141,10 +138,6 @@
}
.inoboxes-list {
// @include margin(auto);
// @include background-white;
// @include border-light;
// width: 50%;
.inbox-item {
@include margin($space-normal);
@@ -152,16 +145,18 @@
@include flex-shrink;
@include padding($space-normal $space-normal);
@include border-light-bottom();
flex-direction: column;
background: $color-white;
cursor: pointer;
width: 20%;
flex-direction: column;
float: left;
min-height: 10rem;
width: 20%;
&:last-child {
margin-bottom: $zero;
@include border-nil;
margin-bottom: $zero;
}
&:hover {
@@ -174,8 +169,8 @@
.switch {
align-self: center;
margin-right: $space-normal;
margin-bottom: $zero;
margin-right: $space-normal;
}
.item--details {
@@ -187,15 +182,15 @@
}
.item--sub {
margin-bottom: 0;
font-size: $font-size-small;
margin-bottom: 0;
}
}
.arrow {
align-self: center;
font-size: $font-size-small;
color: $medium-gray;
font-size: $font-size-small;
opacity: .7;
transform: translateX(0);
transition: opacity 0.100s ease-in 0s, transform 0.200s ease-in 0.030s;
@@ -204,18 +199,19 @@
}
.settings--content {
@include margin($space-small $space-medium);
@include margin($space-small $space-larger);
.title {
font-weight: $font-weight-medium;
}
.code {
@include padding($space-one);
background: $color-background;
max-height: $space-mega;
overflow: auto;
white-space: nowrap;
@include padding($space-one);
background: $color-background;
code {
background: transparent;
@@ -225,8 +221,8 @@
}
.login-init {
text-align: center;
padding-top: 30%;
text-align: center;
p {
@include padding($space-medium);