b01d032d0d
* 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>
234 lines
4 KiB
SCSS
234 lines
4 KiB
SCSS
.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);
|
|
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;
|
|
}
|
|
}
|
|
|
|
&.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;
|
|
}
|
|
}
|
|
|
|
p {
|
|
color: $color-light-gray;
|
|
font-size: $font-size-small;
|
|
margin: 0;
|
|
padding-left: $space-medium;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
.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%;
|
|
|
|
&:last-child {
|
|
@include border-nil;
|
|
|
|
margin-bottom: $zero;
|
|
}
|
|
|
|
&:hover {
|
|
@include background-gray;
|
|
|
|
.arrow {
|
|
opacity: 1;
|
|
transform: translateX($space-small);
|
|
}
|
|
}
|
|
|
|
.switch {
|
|
align-self: center;
|
|
margin-bottom: $zero;
|
|
margin-right: $space-normal;
|
|
}
|
|
|
|
.item--details {
|
|
@include padding($space-normal $zero);
|
|
|
|
.item--name {
|
|
font-size: $font-size-large;
|
|
line-height: 1;
|
|
}
|
|
|
|
.item--sub {
|
|
font-size: $font-size-small;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.arrow {
|
|
align-self: center;
|
|
color: $medium-gray;
|
|
font-size: $font-size-small;
|
|
opacity: 0.7;
|
|
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);
|
|
|
|
.title {
|
|
font-weight: $font-weight-medium;
|
|
}
|
|
|
|
.code {
|
|
@include padding($space-one);
|
|
|
|
background: $color-background;
|
|
max-height: $space-mega;
|
|
overflow: auto;
|
|
white-space: nowrap;
|
|
|
|
code {
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.login-init {
|
|
padding-top: 30%;
|
|
text-align: center;
|
|
|
|
p {
|
|
@include padding($space-medium);
|
|
}
|
|
|
|
> a > img {
|
|
width: $space-larger * 5;
|
|
}
|
|
}
|