refactor: update layout

This commit is contained in:
mrholek
2023-09-26 23:35:16 +02:00
parent 50645fce23
commit 9fcca654fb
5 changed files with 79 additions and 27 deletions
+33 -1
View File
@@ -1 +1,33 @@
// Here you can add other styles
// Here you can add other styles// Here you can add other styles
.header > .container-fluid,
.sidebar-header {
min-height: calc(4rem + 1px); // stylelint-disable-line function-disallowed-list
}
.sidebar-toggler {
@include ltr-rtl("margin-left", auto);
}
.sidebar-narrow,
.sidebar-narrow-unfoldable:not(:hover) {
.sidebar-toggler {
@include ltr-rtl("margin-right", auto);
}
}
.header > .container-fluid + .container-fluid {
min-height: 3rem;
}
.header {
padding: 0;
.container-fluid {
padding-right: $spacer;
padding-left: $spacer;
}
}
.footer {
min-height: calc(3rem + 1px); // stylelint-disable-line function-disallowed-list
}
+16
View File
@@ -1,6 +1,22 @@
body {
background-color: var(--cui-tertiary-bg);
}
.wrapper {
width: 100%;
@include ltr-rtl("padding-left", var(--cui-sidebar-occupy-start, 0));
will-change: auto;
@include transition(padding .15s);
}
@if $enable-dark-mode {
@include color-mode(dark) {
body {
background-color: var(--cui-dark-bg-subtle);
}
.footer {
--cui-footer-bg: var(--cui-body-bg);
}
}
}