Chatwoot/app/javascript/dashboard/assets/scss/views/settings/inbox.scss

239 lines
4.2 KiB
SCSS
Raw Normal View History

.settings {
overflow: auto;
.page-top-bar {
@include padding($space-normal $space-two $zero);
}
}
// Conversation header - Light BG
.settings-header {
@include padding($space-small $space-normal);
@include background-white;
@include flex;
@include flex-align($x: justify, $y: middle);
@include border-normal-bottom;
height: $header-height;
min-height: $header-height;
// Resolve Button
.button {
@include margin(0);
}
// User thumbnail and text
.page-title {
@include flex;
@include flex-align($x: center, $y: middle);
@include margin($zero);
}
}
.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%;
background: $color-border;
top: $space-normal;
}
&:before {
top: $zero;
height: $space-normal;
}
&:first-child {
&:before {
height: 0;
}
}
&:last-child {
&:after {
height: $zero;
}
}
2019-10-27 13:58:02 +00:00
&.active {
// left: 1px;
// @include background-white;
// @include border-light;
// border-right: 0;
h3 {
color: $color-woot;
}
.step {
background: $color-woot;
}
}
&.over {
&:after {
background: $color-woot;
}
.step {
background: $color-woot;
}
&+.item {
&:before {
background: $color-woot;
}
}
}
h3 {
font-size: $font-size-default;
padding-left: $space-medium;
line-height: 1;
color: $color-body;
.completed {
color: $success-color;
}
}
2019-10-27 13:58:02 +00:00
p {
font-size: $font-size-small;
color: $color-light-gray;
padding-left: $space-medium;
margin: 0;
}
2019-10-27 13:58:02 +00:00
.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;
height: $space-normal;
text-align: center;
line-height: $space-normal;
color: #fff;
z-index: 999;
i {
font-size: $font-size-micro;
}
}
}
}
.wizard-body {
@include background-white;
@include padding($space-medium);
@include border-light;
@include full-height();
}
2019-10-27 13:58:02 +00:00
.inoboxes-list {
// @include margin(auto);
// @include background-white;
// @include border-light;
// width: 50%;
.inbox-item {
@include margin($space-normal);
@include flex;
@include flex-shrink;
@include padding($space-normal $space-normal);
@include border-light-bottom();
flex-direction: column;
background: $color-white;
cursor: pointer;
width: 20%;
float: left;
min-height: 10rem;
2019-10-27 13:58:02 +00:00
&:last-child {
margin-bottom: $zero;
@include border-nil;
}
&:hover {
@include background-gray;
.arrow {
opacity: 1;
2019-10-20 08:04:19 +00:00
transform: translateX($space-small);
}
}
2019-10-27 13:58:02 +00:00
.switch {
align-self: center;
margin-right: $space-normal;
margin-bottom: $zero;
}
.item--details {
@include padding($space-normal $zero);
2019-10-27 13:58:02 +00:00
.item--name {
font-size: $font-size-large;
line-height: 1;
}
2019-10-27 13:58:02 +00:00
.item--sub {
margin-bottom: 0;
font-size: $font-size-small;
}
}
2019-10-27 13:58:02 +00:00
.arrow {
align-self: center;
font-size: $font-size-small;
color: $medium-gray;
opacity: .7;
2019-10-20 08:04:19 +00:00
transform: translateX(0);
transition: opacity 0.100s ease-in 0s, transform 0.200s ease-in 0.030s;
}
}
}
.settings--content {
@include margin($space-small $space-medium);
2019-10-27 13:58:02 +00:00
.title {
font-weight: $font-weight-medium;
}
2019-10-27 13:58:02 +00:00
.code {
max-height: $space-mega;
overflow: auto;
white-space: nowrap;
@include padding($space-one);
background: $color-background;
2019-10-27 13:58:02 +00:00
code {
background: transparent;
border: 0;
}
}
}
2019-10-27 13:58:02 +00:00
.login-init {
text-align: center;
padding-top: 30%;
2019-10-27 13:58:02 +00:00
p {
@include padding($space-medium);
}
2019-10-27 13:58:02 +00:00
> a > img {
2019-10-27 13:58:02 +00:00
width: $space-larger * 5;
}
}