Chatwoot/app/javascript/dashboard/assets/scss/widgets/_conv-header.scss
Nithin David Thomas 5f250e5b3a
chore: Move conversation header above sidebar (#1835)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-03-02 22:44:04 +05:30

99 lines
1.9 KiB
SCSS

$resolve-button-width: 13.2rem;
// 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);
.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);
font-size: var(--font-size-default);
width: $resolve-button-width;
>.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;
}
}