- md5
- b0c588d7678f98f8e1d0f11edd51b308
- sha1
- 4cd5eedbf90edd960d82bd3c93aa61c98b5c51aa
- sha256
- ea99b73a39535bd53ac74a98b4b2fcb2db213cb35493c2ed8ff0b3984dfe15eb
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
// Sidebar
.sidebar-wrapper {
z-index: $zindex-sidebar;
min-height: calc(100vh - 69px);
background-color: var(--atum-sidebar-bg);
box-shadow: $atum-box-shadow;
.item {
position: relative;
display: flex;
flex-wrap: wrap;
list-style-type: none;
a,
.menu-dashboard,
.menu-quicktask {
color: var(--atum-sidebar-link-color);
text-decoration: none;
&:hover {
color: var(--atum-text-light);
text-decoration: none;
background-color: var(--atum-link-color);
}
}
> a {
position: relative;
display: flex;
flex-grow: 1;
align-items: center;
min-height: 44px;
font-size: .9rem;
.fas {
margin: 0 .85rem;
transform: scale(1.3);
}
}
&-level-1 > a {
font-size: 1rem;
&:hover {
background-color: var(--atum-sidebar-link-color);
}
}
&-level-2 > a {
padding-inline-start: 3rem;
}
&-level-3 > a {
padding-inline-start: 3.75rem;
}
}
@include media-breakpoint-up(sm) {
flex: 1 0 $sidebar-width;
max-width: $sidebar-width;
transition: all .3s ease;
}
@include media-breakpoint-down(xs) {
&.sidebar-menu {
top: auto;
}
}
.sidebar-toggle {
background: var(--atum-link-color);
a {
color: var(--atum-text-light);
}
.sidebar-item-title {
white-space: nowrap;
}
}
}
// Sidebar navigation
.main-nav {
width: $sidebar-width;
@include media-breakpoint-down(xs) {
width: 100%;
}
// All list items
li {
.menu-dashboard,
.menu-quicktask {
> a {
display: inline-flex;
align-items: center;
padding: .9rem;
}
}
}
// 2nd level items
ul {
width: 100%;
padding: 0;
}
.divider {
height: 1px;
margin: 4px 18px;
list-style: none;
background-color: $gray-500;
}
.menuitem-group {
margin-top: .65rem;
font-size: .75rem;
padding-inline-start: 3rem;
}
// Dropdown indicator
.has-arrow {
.sidebar-item-title {
margin-inline-end: auto;
}
&::after {
display: flex;
align-items: center;
justify-content: center;
width: 2rem;
font-family: "Font Awesome 5 Free";
font-weight: 900;
[dir="ltr"] & {
content: "\f054";
}
[dir="rtl"] & {
content: "\f053";
}
}
}
a.mm-active {
background-color: $gray-300;
}
.mm-active > .has-arrow::after {
content: "\f078";
}
.mm-collapse {
display: none;
&.mm-collapsed,
&.mm-show {
display: block;
}
}
.mm-collapsing {
position: relative;
height: 0;
overflow: hidden;
transition: all .35s ease;
}
.badge {
align-self: center;
margin: 0 .3rem .25rem;
}
}
// Sidebar Closed
.closed {
.sidebar-wrapper {
flex: 1 0 $sidebar-width-closed;
max-width: $sidebar-width-closed;
}
.sidebar-item-title,
.has-arrow::after,
.menu-dashboard {
display: none;
}
.main-nav,
.main-nav li {
max-width: 3rem;
}
.main-nav a:hover {
position: relative;
max-width: 3rem;
}
.main-nav a:hover .sidebar-item-title {
position: absolute;
top: .5rem;
left: 3.5rem;
display: inline-block;
padding: .2rem;
font-size: .875rem;
white-space: pre;
pointer-events: none;
background-color: var(--atum-sidebar-link-color);
border-radius: .3rem;
}
.main-nav > li > ul {
height: 0;
padding: 0;
visibility: hidden;
}
}
@include media-breakpoint-up(sm) {
.toggler-burger {
display: none;
}
}
// Mobile
@include media-breakpoint-down(xs) {
#menu-collapse {
display: none;
background: var(--atum-bg-dark-50);
}
.toggler-burger {
position: fixed;
bottom: 20px;
z-index: $zindex-mobile-toggle;
display: block;
width: 70px;
height: 70px;
background: var(--atum-link-color);
border: 8px solid var(--atum-bg-light);
border-radius: 40px;
[dir="ltr"] & {
right: 10px;
}
[dir="rtl"] & {
left: 10px;
}
.navbar-toggler-icon::before {
font: normal normal 900 30px/1 "Font Awesome 5 Free";
color: var(--toggle-color);
content: "\f00d";
}
&.collapsed {
.navbar-toggler-icon::before {
content: "\f0c9";
}
}
}
.sidebar-menu {
display: none;
&.show,
&.collapsing {
position: fixed;
bottom: 55px;
z-index: $zindex-mobile-menu;
display: block;
width: 100%;
min-height: auto;
max-height: calc(100vh - 72px);
overflow-y: auto;
}
}
}
No other release has this exact content. See every version of this file.