sb_admin_2_rails 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +7 -0
  5. data/CHANGELOG.md +1 -0
  6. data/CODE_OF_CONDUCT.md +74 -0
  7. data/Gemfile +4 -0
  8. data/Gemfile.lock +122 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +43 -0
  11. data/Rakefile +6 -0
  12. data/assets/javascripts/sb_admin_2.js +58 -0
  13. data/assets/stylesheets/_buttons.scss +52 -0
  14. data/assets/stylesheets/_cards.scss +36 -0
  15. data/assets/stylesheets/_charts.scss +29 -0
  16. data/assets/stylesheets/_dropdowns.scss +21 -0
  17. data/assets/stylesheets/_error.scss +52 -0
  18. data/assets/stylesheets/_footer.scss +14 -0
  19. data/assets/stylesheets/_global.scss +60 -0
  20. data/assets/stylesheets/_login.scss +50 -0
  21. data/assets/stylesheets/_mixins.scss +1 -0
  22. data/assets/stylesheets/_navs.scss +3 -0
  23. data/assets/stylesheets/_utilities.scss +7 -0
  24. data/assets/stylesheets/_variables.scss +71 -0
  25. data/assets/stylesheets/navs/_global.scss +42 -0
  26. data/assets/stylesheets/navs/_sidebar.scss +384 -0
  27. data/assets/stylesheets/navs/_topbar.scss +130 -0
  28. data/assets/stylesheets/sb_admin_2.scss +27 -0
  29. data/assets/stylesheets/utilities/_animation.scss +37 -0
  30. data/assets/stylesheets/utilities/_background.scss +17 -0
  31. data/assets/stylesheets/utilities/_border.scss +7 -0
  32. data/assets/stylesheets/utilities/_display.scss +4 -0
  33. data/assets/stylesheets/utilities/_progress.scss +3 -0
  34. data/assets/stylesheets/utilities/_rotate.scss +7 -0
  35. data/assets/stylesheets/utilities/_text.scss +54 -0
  36. data/bin/console +14 -0
  37. data/bin/setup +8 -0
  38. data/lib/sb_admin_2_rails/engine.rb +11 -0
  39. data/lib/sb_admin_2_rails/version.rb +3 -0
  40. data/lib/sb_admin_2_rails.rb +51 -0
  41. data/sb_admin_2_rails.gemspec +37 -0
  42. data/vendor/assets/chart.js/Chart.bundle.js +19288 -0
  43. data/vendor/assets/chart.js/Chart.bundle.min.js +7 -0
  44. data/vendor/assets/chart.js/Chart.js +14680 -0
  45. data/vendor/assets/chart.js/Chart.min.js +7 -0
  46. data/vendor/assets/datatables/dataTables.bootstrap4.css +206 -0
  47. data/vendor/assets/datatables/dataTables.bootstrap4.js +184 -0
  48. data/vendor/assets/datatables/dataTables.bootstrap4.min.css +1 -0
  49. data/vendor/assets/datatables/dataTables.bootstrap4.min.js +8 -0
  50. data/vendor/assets/datatables/jquery.dataTables.js +15296 -0
  51. data/vendor/assets/datatables/jquery.dataTables.min.js +166 -0
  52. data/vendor/assets/jquery-easing/jquery.easing.compatibility.js +59 -0
  53. data/vendor/assets/jquery-easing/jquery.easing.js +166 -0
  54. data/vendor/assets/jquery-easing/jquery.easing.min.js +1 -0
  55. metadata +197 -0
@@ -0,0 +1,29 @@
1
+ // Area Chart
2
+ .chart-area {
3
+ position: relative;
4
+ height: 10rem;
5
+ width: 100%;
6
+ @include media-breakpoint-up(md) {
7
+ height: 20rem;
8
+ }
9
+ }
10
+
11
+ // Bar Chart
12
+ .chart-bar {
13
+ position: relative;
14
+ height: 10rem;
15
+ width: 100%;
16
+ @include media-breakpoint-up(md) {
17
+ height: 20rem;
18
+ }
19
+ }
20
+
21
+ // Pie Chart
22
+ .chart-pie {
23
+ position: relative;
24
+ height: 15rem;
25
+ width: 100%;
26
+ @include media-breakpoint-up(md) {
27
+ height: calc(20rem - 43px) !important;
28
+ }
29
+ }
@@ -0,0 +1,21 @@
1
+ // Custom Dropdown Styling
2
+
3
+ .dropdown {
4
+ .dropdown-menu {
5
+ font-size: $dropdown-font-size;
6
+ .dropdown-header {
7
+ @extend .text-uppercase;
8
+ font-weight: 800;
9
+ font-size: 0.65rem;
10
+ color: $gray-500;
11
+ }
12
+ }
13
+ }
14
+
15
+ // Utility class to hide arrow from dropdown
16
+
17
+ .dropdown.no-arrow {
18
+ .dropdown-toggle::after {
19
+ display: none;
20
+ }
21
+ }
@@ -0,0 +1,52 @@
1
+ // Lucas Bebber's Glitch Effect
2
+ // Tutorial and CSS from CSS Tricks
3
+ // https://css-tricks.com/glitch-effect-text-images-svg/
4
+
5
+ .error {
6
+ color: $gray-800;
7
+ font-size: 7rem;
8
+ position: relative;
9
+ line-height: 1;
10
+ width: 12.5rem;
11
+ }
12
+ @keyframes noise-anim {
13
+ $steps: 20;
14
+ @for $i from 0 through $steps {
15
+ #{percentage($i*(1/$steps))} {
16
+ clip: rect(random(100)+px,9999px,random(100)+px,0);
17
+ }
18
+ }
19
+ }
20
+ .error:after {
21
+ content: attr(data-text);
22
+ position: absolute;
23
+ left: 2px;
24
+ text-shadow: -1px 0 $red;
25
+ top: 0;
26
+ color: $gray-800;
27
+ background: $gray-100;
28
+ overflow: hidden;
29
+ clip: rect(0,900px,0,0);
30
+ animation: noise-anim 2s infinite linear alternate-reverse;
31
+ }
32
+
33
+ @keyframes noise-anim-2 {
34
+ $steps: 20;
35
+ @for $i from 0 through $steps {
36
+ #{percentage($i*(1/$steps))} {
37
+ clip: rect(random(100)+px,9999px,random(100)+px,0);
38
+ }
39
+ }
40
+ }
41
+ .error:before {
42
+ content: attr(data-text);
43
+ position: absolute;
44
+ left: -2px;
45
+ text-shadow: 1px 0 $blue;
46
+ top: 0;
47
+ color: $gray-800;
48
+ background: $gray-100;
49
+ overflow: hidden;
50
+ clip: rect(0,900px,0,0);
51
+ animation: noise-anim-2 3s infinite linear alternate-reverse;
52
+ }
@@ -0,0 +1,14 @@
1
+ footer.sticky-footer {
2
+ padding: 2rem 0;
3
+ flex-shrink: 0;
4
+ .copyright {
5
+ line-height: 1;
6
+ font-size: 0.8rem;
7
+ }
8
+ }
9
+
10
+ body.sidebar-toggled {
11
+ footer.sticky-footer {
12
+ width: 100%;
13
+ }
14
+ }
@@ -0,0 +1,60 @@
1
+ // Global component styles
2
+
3
+ html {
4
+ position: relative;
5
+ min-height: 100%;
6
+ }
7
+
8
+ body {
9
+ height: 100%;
10
+ }
11
+
12
+ a {
13
+ &:focus {
14
+ outline: none;
15
+ }
16
+ }
17
+
18
+ // Main page wrapper
19
+ #wrapper {
20
+ display: flex;
21
+ #content-wrapper {
22
+ background-color: $gray-100;
23
+ width: 100%;
24
+ overflow-x: hidden;
25
+ #content {
26
+ flex: 1 0 auto;
27
+ }
28
+ }
29
+ }
30
+
31
+ // Set container padding to match gutter width instead of default 15px
32
+ .container,
33
+ .container-fluid {
34
+ padding-left: $grid-gutter-width;
35
+ padding-right: $grid-gutter-width;
36
+ }
37
+
38
+ // Scroll to top button
39
+ .scroll-to-top {
40
+ position: fixed;
41
+ right: 1rem;
42
+ bottom: 1rem;
43
+ display: none;
44
+ width: 2.75rem;
45
+ height: 2.75rem;
46
+ text-align: center;
47
+ color: $white;
48
+ background: fade-out($gray-800, .5);
49
+ line-height: 46px;
50
+ &:focus,
51
+ &:hover {
52
+ color: white;
53
+ }
54
+ &:hover {
55
+ background: $gray-800;
56
+ }
57
+ i {
58
+ font-weight: 800;
59
+ }
60
+ }
@@ -0,0 +1,50 @@
1
+ // Pulling these images from Unsplash
2
+ // Toshi the dog from https://unsplash.com/@charlesdeluvio - what a funny dog...
3
+
4
+ .bg-login-image {
5
+ background: url('https://source.unsplash.com/K4mSJ7kc0As/600x800');
6
+ background-position: center;
7
+ background-size: cover;
8
+ }
9
+
10
+ .bg-register-image {
11
+ background: url('https://source.unsplash.com/Mv9hjnEUHR4/600x800');
12
+ background-position: center;
13
+ background-size: cover;
14
+ }
15
+
16
+ .bg-password-image {
17
+ background: url('https://source.unsplash.com/oWTW-jNGl9I/600x800');
18
+ background-position: center;
19
+ background-size: cover;
20
+ }
21
+
22
+ form.user {
23
+
24
+ .custom-checkbox.small {
25
+ label {
26
+ line-height: 1.5rem;
27
+ }
28
+ }
29
+
30
+ .form-control-user {
31
+ font-size: 0.8rem;
32
+ border-radius: 10rem;
33
+ padding: 1.5rem 1rem;
34
+ }
35
+
36
+ .btn-user {
37
+ font-size: 0.8rem;
38
+ border-radius: 10rem;
39
+ padding: 0.75rem 1rem;
40
+ }
41
+
42
+ }
43
+
44
+ .btn-google {
45
+ @include button-variant($brand-google, $white);
46
+ }
47
+
48
+ .btn-facebook {
49
+ @include button-variant($brand-facebook, $white);
50
+ }
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,3 @@
1
+ @import "navs/global";
2
+ @import "navs/topbar";
3
+ @import "navs/sidebar";
@@ -0,0 +1,7 @@
1
+ @import "utilities/animation";
2
+ @import "utilities/background";
3
+ @import "utilities/display";
4
+ @import "utilities/text";
5
+ @import "utilities/border";
6
+ @import "utilities/progress";
7
+ @import "utilities/rotate";
@@ -0,0 +1,71 @@
1
+ // Override Bootstrap default variables here
2
+ $white: #fff !default;
3
+ $gray-100: #f8f9fc !default;
4
+ $gray-200: #eaecf4 !default;
5
+ $gray-300: #dddfeb !default;
6
+ $gray-400: #d1d3e2 !default;
7
+ $gray-500: #b7b9cc !default;
8
+ $gray-600: #858796 !default;
9
+ $gray-700: #6e707e !default;
10
+ $gray-800: #5a5c69 !default;
11
+ $gray-900: #3a3b45 !default;
12
+ $black: #000 !default;
13
+
14
+ $blue: #4e73df !default;
15
+ $indigo: #6610f2 !default;
16
+ $purple: #6f42c1 !default;
17
+ $pink: #e83e8c !default;
18
+ $red: #e74a3b !default;
19
+ $orange: #fd7e14 !default;
20
+ $yellow: #f6c23e !default;
21
+ $green: #1cc88a !default;
22
+ $teal: #20c9a6 !default;
23
+ $cyan: #36b9cc !default;
24
+
25
+ // Custom Colors
26
+ $brand-google: #ea4335;
27
+ $brand-facebook: #3b5998;
28
+
29
+ // Set Contrast Threshold
30
+ $yiq-contrasted-threshold: 195 !default;
31
+
32
+ // Typography
33
+ $body-color: $gray-600 !default;
34
+
35
+ $font-family-sans-serif: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", 'Noto Color Emoji' !default;
36
+
37
+ $font-weight-light: 300 !default;
38
+ // $font-weight-base: 400;
39
+ $headings-font-weight: 400 !default;
40
+
41
+ // Shadows
42
+ $box-shadow-sm: 0 0.125rem 0.25rem 0 rgba($gray-900, .2) !default;
43
+ $box-shadow: 0 0.15rem 1.75rem 0 rgba($gray-900, .15) !default;
44
+ // $box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
45
+
46
+ // Borders Radius
47
+ $border-radius: 0.35rem !default;
48
+ $border-color: darken($gray-200, 2%);
49
+
50
+ // Spacing Variables
51
+ // Change below variable if the height of the navbar changes
52
+ $topbar-base-height: 4.375rem;
53
+ // Change below variable to change the width of the sidenav
54
+ $sidebar-base-width: 14rem;
55
+ // Change below variable to change the width of the sidenav when collapsed
56
+ $sidebar-collapsed-width: 6.5rem;
57
+
58
+ // Card
59
+ $card-cap-bg: $gray-100;
60
+ $card-border-color: $border-color;
61
+
62
+ // Adjust column spacing for symmetry
63
+ $spacer: 1rem;
64
+ $grid-gutter-width: $spacer * 1.5;
65
+
66
+ // Transitions
67
+ $transition-collapse: height .15s ease !default;
68
+
69
+ // Dropdowns
70
+ $dropdown-font-size: 0.85rem;
71
+ $dropdown-border-color: $border-color;
@@ -0,0 +1,42 @@
1
+ // Global styles for both custom sidebar and topbar compoments
2
+
3
+ .sidebar,
4
+ .topbar {
5
+ .nav-item {
6
+ // Customize Dropdown Arrows for Navbar
7
+ &.dropdown {
8
+ .dropdown-toggle {
9
+ &::after {
10
+ width: 1rem;
11
+ text-align: center;
12
+ float: right;
13
+ vertical-align: 0;
14
+ border: 0;
15
+ font-weight: 900;
16
+ content: '\f105';
17
+ font-family: 'Font Awesome 5 Free';
18
+ }
19
+ }
20
+ &.show {
21
+ .dropdown-toggle::after {
22
+ content: '\f107';
23
+ }
24
+ }
25
+ }
26
+ // Counter for nav links and nav link image sizing
27
+ .nav-link {
28
+ position: relative;
29
+ .badge-counter {
30
+ position: absolute;
31
+ transform: scale(0.7);
32
+ transform-origin: top right;
33
+ right: .25rem;
34
+ margin-top: -.25rem;
35
+ }
36
+ .img-profile {
37
+ height: 2rem;
38
+ width: 2rem;
39
+ }
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,384 @@
1
+ // Sidebar
2
+ .sidebar {
3
+ width: $sidebar-collapsed-width;
4
+ min-height: 100vh;
5
+ .nav-item {
6
+ position: relative;
7
+ &:last-child {
8
+ margin-bottom: 1rem;
9
+ }
10
+ .nav-link {
11
+ text-align: center;
12
+ padding: 0.75rem 1rem;
13
+ width: $sidebar-collapsed-width;
14
+ span {
15
+ font-size: 0.65rem;
16
+ display: block;
17
+ }
18
+ }
19
+ &.active {
20
+ .nav-link {
21
+ font-weight: 700;
22
+ }
23
+ }
24
+ // Accordion
25
+ .collapse {
26
+ position: absolute;
27
+ left: calc(#{$sidebar-collapsed-width} + #{$grid-gutter-width} / 2);
28
+ z-index: 1;
29
+ top: 2px;
30
+ // Grow In Animation
31
+ @extend .animated--grow-in;
32
+ .collapse-inner {
33
+ border-radius: $border-radius;
34
+ box-shadow: $box-shadow;
35
+ }
36
+ }
37
+ .collapsing {
38
+ display: none;
39
+ transition: none;
40
+ }
41
+ .collapse,
42
+ .collapsing {
43
+ .collapse-inner {
44
+ padding: .5rem 0;
45
+ min-width: 10rem;
46
+ font-size: $dropdown-font-size;
47
+ margin: 0 0 1rem 0;
48
+ .collapse-header {
49
+ margin: 0;
50
+ white-space: nowrap;
51
+ padding: .5rem 1.5rem;
52
+ text-transform: uppercase;
53
+ font-weight: 800;
54
+ font-size: 0.65rem;
55
+ color: $gray-500;
56
+ }
57
+ .collapse-item {
58
+ padding: 0.5rem 1rem;
59
+ margin: 0 0.5rem;
60
+ display: block;
61
+ color: $gray-900;
62
+ text-decoration: none;
63
+ border-radius: $border-radius;
64
+ white-space: nowrap;
65
+ &:hover {
66
+ background-color: $gray-200;
67
+ }
68
+ &:active {
69
+ background-color: $gray-300;
70
+ }
71
+ &.active {
72
+ color: $primary;
73
+ font-weight: 700;
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ #sidebarToggle {
80
+ width: 2.5rem;
81
+ height: 2.5rem;
82
+ text-align: center;
83
+ margin-bottom: 1rem;
84
+ cursor: pointer;
85
+ &::after {
86
+ font-weight: 900;
87
+ content: '\f104';
88
+ font-family: 'Font Awesome 5 Free';
89
+ margin-right: 0.1rem;
90
+ }
91
+ &:hover {
92
+ text-decoration: none;
93
+ }
94
+ &:focus {
95
+ outline: none;
96
+ }
97
+ }
98
+ &.toggled {
99
+ width: 0 !important;
100
+ overflow: hidden;
101
+ #sidebarToggle::after {
102
+ content: '\f105';
103
+ font-family: 'Font Awesome 5 Free';
104
+ margin-left: 0.25rem;
105
+ }
106
+ }
107
+ .sidebar-brand {
108
+ height: $topbar-base-height;
109
+ text-decoration: none;
110
+ font-size: 1rem;
111
+ font-weight: 800;
112
+ padding: 1.5rem 1rem;
113
+ text-align: center;
114
+ text-transform: uppercase;
115
+ letter-spacing: 0.05rem;
116
+ z-index: 1;
117
+
118
+ .sidebar-brand-icon i {
119
+ font-size: 2rem;
120
+ }
121
+ .sidebar-brand-text {
122
+ display: none;
123
+ }
124
+ .sidebar-brand-logo img {
125
+ width: 40px;
126
+ height: 40px;
127
+ }
128
+ }
129
+ hr.sidebar-divider {
130
+ margin: 0 1rem 1rem;
131
+ }
132
+ .sidebar-heading {
133
+ text-align: center;
134
+ padding: 0 1rem;
135
+ font-weight: 800;
136
+ font-size: 0.65rem;
137
+ @extend .text-uppercase;
138
+ }
139
+ }
140
+
141
+ @include media-breakpoint-up(md) {
142
+ .sidebar {
143
+ width: $sidebar-base-width !important;
144
+ .nav-item {
145
+ // Accordion
146
+ .collapse {
147
+ position: relative;
148
+ left: 0;
149
+ z-index: 1;
150
+ top: 0;
151
+ animation: none;
152
+ .collapse-inner {
153
+ border-radius: 0;
154
+ box-shadow: none;
155
+ }
156
+ }
157
+ .collapsing {
158
+ display: block;
159
+ transition: $transition-collapse;
160
+ }
161
+ .collapse,
162
+ .collapsing {
163
+ margin: 0 1rem;
164
+ }
165
+ .nav-link {
166
+ display: block;
167
+ width: 100%;
168
+ text-align: left;
169
+ padding: 1rem;
170
+ width: $sidebar-base-width;
171
+ i {
172
+ font-size: 0.85rem;
173
+ margin-right: 0.25rem;
174
+ }
175
+ span {
176
+ font-size: 0.85rem;
177
+ display: inline;
178
+ }
179
+ // Accordion Arrow Icon
180
+ &[data-toggle="collapse"] {
181
+ &::after {
182
+ width: 1rem;
183
+ text-align: center;
184
+ float: right;
185
+ vertical-align: 0;
186
+ border: 0;
187
+ font-weight: 900;
188
+ content: '\f107';
189
+ font-family: 'Font Awesome 5 Free';
190
+ }
191
+ &.collapsed::after {
192
+ content: '\f105';
193
+ }
194
+ }
195
+ }
196
+ }
197
+ .sidebar-brand {
198
+ .sidebar-brand-icon i {
199
+ font-size: 2rem;
200
+ }
201
+ .sidebar-brand-text {
202
+ display: inline;
203
+ }
204
+ .sidebar-brand-logo img {
205
+ width: 40px;
206
+ height: 40px;
207
+ }
208
+ }
209
+ .sidebar-heading {
210
+ text-align: left;
211
+ }
212
+ &.toggled {
213
+ overflow: visible;
214
+ width: $sidebar-collapsed-width !important;
215
+ .nav-item {
216
+ // Accordion
217
+ .collapse {
218
+ position: absolute;
219
+ left: calc(#{$sidebar-collapsed-width} + #{$grid-gutter-width} / 2);
220
+ z-index: 1;
221
+ top: 2px;
222
+ // Grow In Animation for Toggled State
223
+ animation-name: growIn;
224
+ animation-duration: 200ms;
225
+ animation-timing-function: transform cubic-bezier(.18,1.25,.4,1), opacity cubic-bezier(0,1,.4,1);
226
+ .collapse-inner {
227
+ box-shadow: $box-shadow;
228
+ border-radius: $border-radius;
229
+ }
230
+ }
231
+ .collapsing {
232
+ display: none;
233
+ transition: none;
234
+ }
235
+ .collapse,
236
+ .collapsing {
237
+ margin: 0;
238
+ }
239
+ &:last-child {
240
+ margin-bottom: 1rem;
241
+ }
242
+ .nav-link {
243
+ text-align: center;
244
+ padding: 0.75rem 1rem;
245
+ width: $sidebar-collapsed-width;
246
+ span {
247
+ font-size: 0.65rem;
248
+ display: block;
249
+ }
250
+ i {
251
+ margin-right: 0;
252
+ }
253
+ &[data-toggle="collapse"]::after {
254
+ display: none;
255
+ }
256
+ }
257
+ }
258
+ .sidebar-brand {
259
+ .sidebar-brand-icon i {
260
+ font-size: 2rem;
261
+ }
262
+ .sidebar-brand-text {
263
+ display: none;
264
+ }
265
+ .sidebar-brand-logo img {
266
+ width: 40px;
267
+ height: 40px;
268
+ }
269
+ }
270
+ .sidebar-heading {
271
+ text-align: center;
272
+ }
273
+ }
274
+ }
275
+ }
276
+
277
+ // Sidebar Color Variants
278
+
279
+ // Sidebar Light
280
+ .sidebar-light {
281
+ .sidebar-brand {
282
+ color: $gray-700;
283
+ }
284
+ hr.sidebar-divider {
285
+ border-top: 1px solid $gray-200;
286
+ }
287
+ .sidebar-heading {
288
+ color: $gray-500;
289
+ }
290
+ .nav-item {
291
+ .nav-link {
292
+ color: $gray-600;
293
+ i {
294
+ color: $gray-400;
295
+ }
296
+ &:active,
297
+ &:focus,
298
+ &:hover {
299
+ color: $gray-700;
300
+ i {
301
+ color: $gray-700;
302
+ }
303
+ }
304
+ // Accordion
305
+ &[data-toggle="collapse"]::after {
306
+ color: $gray-500;
307
+ }
308
+ }
309
+ &.active {
310
+ .nav-link {
311
+ color: $gray-700;
312
+ i {
313
+ color: $gray-700;
314
+ }
315
+ }
316
+ }
317
+ }
318
+ // Color the sidebar toggler
319
+ #sidebarToggle {
320
+ background-color: $gray-200;
321
+ &::after {
322
+ color: $gray-500;
323
+ }
324
+ &:hover {
325
+ background-color: $gray-300;
326
+ }
327
+ }
328
+ }
329
+
330
+ // Sidebar Dark
331
+ .sidebar-dark {
332
+ .sidebar-brand {
333
+ color: $white;
334
+ }
335
+ hr.sidebar-divider {
336
+ border-top: 1px solid fade-out($white, 0.85);
337
+ }
338
+ .sidebar-heading {
339
+ color: fade-out($white, 0.6);
340
+ }
341
+ .nav-item {
342
+ .nav-link {
343
+ color: fade-out($white, 0.2);
344
+ i {
345
+ color: fade-out($white, 0.7);
346
+ }
347
+ &:active,
348
+ &:focus,
349
+ &:hover {
350
+ color: $white;
351
+ i {
352
+ color: $white;
353
+ }
354
+ }
355
+ // Accordion
356
+ &[data-toggle="collapse"]::after {
357
+ color: fade-out($white, 0.5);
358
+ }
359
+ }
360
+ &.active {
361
+ .nav-link {
362
+ color: $white;
363
+ i {
364
+ color: $white;
365
+ }
366
+ }
367
+ }
368
+ }
369
+ // Color the sidebar toggler
370
+ #sidebarToggle {
371
+ background-color: fade-out($white, 0.8);
372
+ &::after {
373
+ color: fade-out($white, 0.5);
374
+ }
375
+ &:hover {
376
+ background-color: fade-out($white, 0.75);
377
+ }
378
+ }
379
+ &.toggled {
380
+ #sidebarToggle::after {
381
+ color: fade-out($white, 0.5);
382
+ }
383
+ }
384
+ }