Skip to content

Commit b17a28a

Browse files
committed
refactor: improve styles
1 parent 5c7720a commit b17a28a

File tree

4 files changed

+8
-156
lines changed

4 files changed

+8
-156
lines changed

src/scss/_custom.scss

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1 @@
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

src/scss/_examples.scss

Lines changed: 0 additions & 117 deletions
This file was deleted.

src/scss/_variables.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
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;

src/scss/style.scss

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
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";

0 commit comments

Comments
 (0)