Chatwoot/app/javascript/dashboard/assets/scss/widgets/_conv-header.scss
Nithin David Thomas 9b23a11c5b
chore: Improves styling for conversation header (#1167)
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-09-03 14:11:07 +05:30

101 lines
1.8 KiB
SCSS

// 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 {
@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);
&::before {
color: $medium-gray;
font-size: $font-size-default;
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);
&.hide {
visibility: hidden;
}
.user--name {
@include margin(0);
font-size: $font-size-medium;
line-height: 1.3;
text-transform: capitalize;
}
.user--profile__meta {
align-items: flex-start;
display: flex;
flex-direction: column;
justify-content: center;
margin-left: $space-slab;
}
.user--profile__button {
font-size: $font-size-mini;
margin-top: $space-micro;
padding: 0;
}
}
}
.button.resolve--button {
@include flex-align($x: center, $y: middle);
width: 13.2rem;
>.icon {
font-size: $font-size-default;
padding-right: $space-small;
}
.spinner {
margin-right: $space-smaller;
padding: 0 $space-one;
&::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;
}
}