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

235 lines
4 KiB
SCSS
Raw Normal View History

.settings {
overflow: auto;
}
// Conversation header - Light BG
.settings-header {
@include padding($space-small $space-normal);
@include background-white;
@include flex;
@include flex-align($x: justify, $y: middle);
feat: Updates sidebar to accomodate sub menu (#3416) * Enhancement: Updates sidebar to a new design (#2733) * feat: Changes primary navbar to new design (#2598) * feat: updates design for secondary navbar (#2612) * Changes primary nvbar to new design * Updates design for contexual sidebar * Fixes issues with JSON * Remove duplication of notificatons in Navigation * Fixes broken tests * Fixes broken tests * Update app/javascript/dashboard/components/layout/AvailabilityStatus.vue * Update app/javascript/dashboard/components/layout/AvailabilityStatus.vue * Update app/javascript/dashboard/components/layout/SidebarItem.vue Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> * Update app/javascript/dashboard/components/layout/SidebarItem.vue Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> * Update app/javascript/dashboard/modules/sidebar/components/Secondary.vue Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> * Chore: Update design changes to features * Fixes menu transitions and refactors code * Refactors sidebar routeing logic * lint error fixes * Fixes dropdown menu styles * Fixes secondary new item links * Fixes lint scss issues * fixes linter issues * Fixes broken test cases * Update AvailabilityStatus.spec.js * Review feedbacks * Fixes add modal for label * Add tooltip for primary menu item * Tooltip for notifications * Adds tooltip for primary menu items * Review fixes * Review fixes * Fix merge issues * fixes logo size for login pages * fixes Merge breaks with styles Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-12-01 07:15:39 +00:00
border-bottom: 1px solid var(--s-50);
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();
&.height-auto {
height: auto;
}
}
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: 0.7;
2019-10-20 08:04:19 +00:00
transform: translateX(0);
transition: opacity 0.1s ease-in 0s, transform 0.2s ease-in 0.03s;
}
}
}
.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;
}
}