refactor: improve layout

This commit is contained in:
mrholek
2023-11-07 15:10:22 +01:00
parent 52d3098baf
commit db7633af55
9 changed files with 53 additions and 61 deletions
+10 -14
View File
@@ -1,9 +1,18 @@
// Here you can add other styles// Here you can add other styles
// Custom styles for this theme
.header > .container-fluid,
.sidebar-header {
min-height: calc(4rem + 1px); // stylelint-disable-line function-disallowed-list
}
.header > .container-fluid + .container-fluid {
min-height: 3rem;
}
.sidebar-brand-full {
margin-left: 3px;
}
.sidebar-toggler {
@include ltr-rtl("margin-left", auto);
}
@@ -15,19 +24,6 @@
}
}
.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
}
+3
View File
@@ -1,3 +1,6 @@
// Variable overrides
//
// If you want to customize your project please add your variables below.
$enable-rtl: true; /* stylelint-disable-line scss/dollar-variable-default */
$enable-deprecation-messages: false; /* stylelint-disable-line scss/dollar-variable-default */
+3 -4
View File
@@ -1,9 +1,6 @@
// If you want to override variables do it here
@import "variables";
$enable-ltr: true;
$enable-rtl: true;
// Import CoreUI for React components library
@import "@coreui/coreui/scss/coreui";
@@ -11,7 +8,9 @@ $enable-rtl: true;
@import "@coreui/chartjs/scss/coreui-chartjs";
@import "layout";
@import "example";
// Preview
@import "examples";
// If you want to add custom CSS you can put it here.
@import "custom";