Chatwoot/app/javascript/dashboard/assets/scss/widgets/_sidemenu.scss

132 lines
2.2 KiB
SCSS
Raw Normal View History

.side-menu {
i {
2019-11-01 08:14:03 +00:00
margin-right: $space-smaller;
min-width: $space-two;
}
}
.sidebar {
@include border-normal-right;
@include background-white;
@include full-height;
@include margin(0);
@include space-between-column;
width: $nav-bar-width;
z-index: 1024 - 1;
//logo
.logo {
img {
@include padding($woot-logo-padding);
max-height: 108px;
}
}
.main-nav {
a {
border-radius: $space-smaller;
color: $color-gray;
font-size: $font-size-default;
font-weight: $font-weight-medium;
2020-03-22 06:14:40 +00:00
.wrap,
.child-icon {
&:hover {
color: $color-woot;
}
}
}
2020-03-22 06:14:40 +00:00
.active a .wrap {
color: $color-woot;
}
}
.nested {
a {
font-size: $font-size-small;
margin-bottom: $space-micro;
margin-top: $space-micro;
.inbox-icon {
display: inline-block;
margin-right: $space-micro;
min-width: $space-normal;
text-align: center;
}
}
}
}
// bottom-nav
.bottom-nav {
@include flex;
@include space-between-column;
@include padding($space-one $space-normal $space-one $space-one);
@include border-normal-top;
flex-direction: column;
position: relative;
&:hover {
background: var(--color-background-light);
}
.dropdown-pane {
bottom: 6rem;
display: block;
visibility: visible;
width: fit-content;
}
.active {
border-bottom: 2px solid $medium-gray;
}
}
.main-nav {
@include flex-weight(1);
@include scroll-on-hover;
padding: 0 $space-medium - $space-one;
a {
&::before {
margin-right: $space-slab;
}
}
.menu-title {
color: $color-gray;
font-size: $font-size-medium;
margin-top: $space-medium;
2021-02-05 17:54:50 +00:00
>span {
2020-03-22 06:14:40 +00:00
margin-left: $space-one;
}
}
}
2021-02-05 17:54:50 +00:00
.menu-title+ul>li>a {
@include padding($space-micro null);
color: $medium-gray;
line-height: $global-lineheight;
}
.hamburger--menu {
cursor: pointer;
display: none;
margin-right: $space-normal;
@media screen and (max-width: 1200px) {
display: block;
}
}
.header--icon {
display: block;
margin-right: $space-normal;
@media screen and (max-width: 1200px) {
display: none;
}
}