File tree Expand file tree Collapse file tree 7 files changed +80
-65
lines changed Expand file tree Collapse file tree 7 files changed +80
-65
lines changed Original file line number Diff line number Diff line change 1- // Custom styles for this theme
2-
3- .header > .container-fluid ,
4- .sidebar-header {
5- min-height : calc (4rem + 1px ); // stylelint-disable-line function-disallowed-list
6- }
7-
8- .header > .container-fluid + .container-fluid {
9- min-height : 3rem ;
10- }
11-
12- .sidebar-brand-full {
13- margin-left : 3px ;
14- }
15-
16- .sidebar-toggler {
17- @include ltr-rtl (" margin-left" , auto );
18- }
19-
20- .sidebar-narrow ,
21- .sidebar-narrow-unfoldable :not (:hover ) {
22- .sidebar-toggler {
23- @include ltr-rtl (" margin-right" , auto );
24- }
25- }
26-
27- .footer {
28- min-height : calc (3rem + 1px ); // stylelint-disable-line function-disallowed-list
29- }
1+ // Here you can add other styles
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ body {
2+ background-color : var (--cui-tertiary-bg );
3+ }
4+
5+ .wrapper {
6+ width : 100% ;
7+ @include ltr-rtl (" padding-left" , var (--cui-sidebar-occupy-start , 0 ));
8+ @include ltr-rtl (" padding-right" , var (--cui-sidebar-occupy-end , 0 ));
9+ will-change : auto ;
10+ @include transition (padding .15s );
11+ }
12+
13+ .header > .container-fluid ,
14+ .sidebar-header {
15+ min-height : calc (4rem + 1px ); // stylelint-disable-line function-disallowed-list
16+ }
17+
18+ .sidebar-brand-full {
19+ margin-left : 3px ;
20+ }
21+
22+ .sidebar-header {
23+ .nav-underline-border {
24+ --cui-nav-underline-border-link-padding-x : 1rem ;
25+ --cui-nav-underline-border-gap : 0 ;
26+ }
27+
28+ .nav-link {
29+ display : flex ;
30+ align-items : center ;
31+ min-height : calc (4rem + 1px ); // stylelint-disable-line function-disallowed-list
32+ }
33+ }
34+
35+ .sidebar-toggler {
36+ @include ltr-rtl (" margin-left" , auto );
37+ }
38+
39+ .sidebar-narrow ,
40+ .sidebar-narrow-unfoldable :not (:hover ) {
41+ .sidebar-toggler {
42+ @include ltr-rtl (" margin-right" , auto );
43+ }
44+ }
45+
46+ .header > .container-fluid + .container-fluid {
47+ min-height : 3rem ;
48+ }
49+
50+ .footer {
51+ min-height : calc (3rem + 1px ); // stylelint-disable-line function-disallowed-list
52+ }
53+
54+ @if $enable-dark-mode {
55+ @include color-mode (dark ) {
56+ body {
57+ background-color : var (--cui-dark-bg-subtle );
58+ }
59+
60+ .footer {
61+ --cui-footer-bg : var (--cui-body-bg );
62+ }
63+ }
64+ }
Original file line number Diff line number Diff line change 22//
33// If you want to customize your project please add your variables below.
44
5- $enable-rtl : true; /* stylelint-disable-line scss/dollar-variable-default */
6- $enable-deprecation-messages : false; /* stylelint-disable-line scss/dollar-variable-default */
5+ $enable-deprecation-messages : false !default ;
Original file line number Diff line number Diff line change 11/* stylelint-disable declaration-no-important, scss/selector-no-redundant-nesting-selector */
2+ $enable-deprecation-messages : false; /* stylelint-disable-line scss/dollar-variable-default */
3+
24@import " @coreui/coreui/scss/functions" ;
35@import " @coreui/coreui/scss/variables" ;
46@import " @coreui/coreui/scss/mixins" ;
5153 }
5254
5355 // Buttons
54- .col > .btn ,
55- .col-auto > .btn ,
56- .d-md-block > .btn ,
5756 > .btn ,
5857 > .btn-group {
5958 margin : .25rem .125rem ;
114113 background-color : var (--#{$prefix}secondary-bg ) !important ;
115114 }
116115 }
117- }
116+ }
Original file line number Diff line number Diff line change 11// If you want to override variables do it here
22@import " variables" ;
33
4- // Import CoreUI for React components library
4+ // Import styles
55@import " @coreui/coreui/scss/coreui" ;
66
7- // Import Chart.js custom tooltips styles
8- @import " @coreui/chartjs/scss/coreui-chartjs " ;
7+ // Vendors
8+ @import " vendors/simplebar " ;
99
10- @import " layout" ;
10+ // Custom styles for this theme
11+ @import " theme" ;
1112
12- // Preview
13- @import " examples" ;
14-
15- // If you want to add custom CSS you can put it here.
13+ // If you want to add custom CSS you can put it here
1614@import " custom" ;
Original file line number Diff line number Diff line change 1+ .simplebar-content {
2+ display : flex ;
3+ flex-direction : column ;
4+ min-height : 100% ;
5+ }
You can’t perform that action at this time.
0 commit comments