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

238 lines
4 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);
@include background-light;
cursor: pointer;
position: relative;
&::before,
&::after {
background: $color-border;
content: '';
height: 100%;
position: absolute;
top: $space-normal;
width: 2px;
}
&::before {
height: $space-normal;
top: $zero;
}
&:first-child {
&::before {
height: 0;
}
}
&:last-child {
&::after {
height: $zero;
}
}
2019-10-27 13:58:02 +00:00
&.active {
h3 {
color: $color-woot;
}
.step {
background: $color-woot;
}
}
&.over {
&::after {
background: $color-woot;
}
.step {
background: $color-woot;
}
&+.item {
&::before {
background: $color-woot;
}
}
}
h3 {
color: $color-body;
font-size: $font-size-default;
line-height: 1;
padding-left: $space-medium;
.completed {
color: $success-color;
}
}
2019-10-27 13:58:02 +00:00
p {
color: $color-light-gray;
font-size: $font-size-small;
margin: 0;
padding-left: $space-medium;
}
2019-10-27 13:58:02 +00:00
.step {
background: $color-border;
border-radius: 20px;
color: $color-white;
font-size: $font-size-micro;
font-weight: $font-weight-medium;
height: $space-normal;
left: $space-normal;
line-height: $space-normal;
position: absolute;
text-align: center;
top: $space-normal;
width: $space-normal;
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 {
.inbox-item {
@include margin($space-normal);
@include flex;
@include flex-shrink;
@include padding($space-normal $space-normal);
@include border-light-bottom();
background: $color-white;
cursor: pointer;
flex-direction: column;
float: left;
min-height: 10rem;
width: 20%;
2019-10-27 13:58:02 +00:00
&:last-child {
@include border-nil;
margin-bottom: $zero;
}
&: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-bottom: $zero;
margin-right: $space-normal;
}
.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 {
font-size: $font-size-small;
margin-bottom: 0;
}
}
2019-10-27 13:58:02 +00:00
.arrow {
align-self: center;
color: $medium-gray;
font-size: $font-size-small;
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-large);
2019-10-27 13:58:02 +00:00
.title {
font-weight: $font-weight-medium;
}
2019-10-27 13:58:02 +00:00
.code {
@include padding($space-one);
background: $color-background;
max-height: $space-mega;
overflow: auto;
white-space: nowrap;
2019-10-27 13:58:02 +00:00
code {
background: transparent;
border: 0;
}
}
}
2019-10-27 13:58:02 +00:00
.login-init {
padding-top: 30%;
text-align: center;
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;
}
}