first commit
This commit is contained in:
49
public/style/scss/layout/sidebar/_sidebar-overlay.scss
Normal file
49
public/style/scss/layout/sidebar/_sidebar-overlay.scss
Normal file
@ -0,0 +1,49 @@
|
||||
[data-sidebar-style="overlay"] {
|
||||
.deznav {
|
||||
left: -100%;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: -100%;
|
||||
}
|
||||
}
|
||||
.content-body {
|
||||
margin-left: 0;
|
||||
}
|
||||
.nav-header {
|
||||
position: absolute;
|
||||
.hamburger.is-active {
|
||||
left: 0;
|
||||
.line {
|
||||
background-color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
.menu-toggle {
|
||||
.nav-header {
|
||||
position: absolute;
|
||||
left: auto;
|
||||
}
|
||||
.deznav {
|
||||
left: 0;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.footer {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="overlay"][data-header-position="fixed"] {
|
||||
.nav-header {
|
||||
position: fixed;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-position="fixed"][data-header-position="fixed"] {
|
||||
.nav-header {
|
||||
position: fixed;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user