Chatwoot/app/javascript/dashboard/assets/scss/widgets/_conv-header.scss

102 lines
1.8 KiB
SCSS
Raw Normal View History

// Conversation header - Light BG
.conv-header {
@include padding($space-small $space-normal);
@include background-white;
@include flex;
@include flex-align($x: justify, $y: middle);
@include border-normal-bottom;
// Resolve Button
.button {
2019-10-27 13:58:02 +00:00
@include margin(0);
@include flex;
}
.multiselect-box {
@include flex;
@include flex-align($x: justify, $y: middle);
@include border-light;
border-radius: $space-smaller;
margin-right: var(--space-small);
2020-03-22 06:14:40 +00:00
&::before {
color: $medium-gray;
font-size: $font-size-default;
2020-03-22 06:14:40 +00:00
line-height: 3.8rem;
padding-left: $space-slab;
padding-right: $space-smaller;
}
.multiselect {
margin: 0;
.multiselect__tags {
border: 0;
}
}
}
// User thumbnail and text
.user {
@include flex;
@include flex-align($x: center, $y: middle);
2019-10-27 13:58:02 +00:00
&.hide {
visibility: hidden;
}
.user--name {
2019-10-27 13:58:02 +00:00
@include margin(0);
font-size: $font-size-medium;
line-height: 1.3;
text-transform: capitalize;
2019-11-14 08:16:43 +00:00
}
.user--profile__meta {
2020-03-22 06:14:40 +00:00
align-items: flex-start;
2019-11-14 08:16:43 +00:00
display: flex;
flex-direction: column;
justify-content: center;
margin-left: $space-slab;
}
2019-11-14 08:16:43 +00:00
.user--profile__button {
font-size: $font-size-mini;
margin-top: $space-micro;
2020-03-22 06:14:40 +00:00
padding: 0;
2019-11-14 08:16:43 +00:00
}
}
}
.button.resolve--button {
@include flex-align($x: center, $y: middle);
width: 13.2rem;
>.icon {
font-size: $font-size-default;
2020-03-22 06:14:40 +00:00
padding-right: $space-small;
}
.spinner {
margin-right: $space-smaller;
2020-03-22 06:14:40 +00:00
padding: 0 $space-one;
2019-10-27 13:58:02 +00:00
2020-03-22 06:14:40 +00:00
&::before {
border-top-color: $color-white;
}
}
}
.header-actions-wrap {
display: flex;
flex-direction: row;
flex-grow: 1;
justify-content: flex-end;
&.has-open-sidebar {
justify-content: flex-end;
}
}