coreui-rails 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +27 -0
- data/LICENSE +21 -0
- data/README.md +40 -0
- data/Rakefile +2 -0
- data/app/assets/stylesheets/_bootstrap-variables.scss +119 -0
- data/app/assets/stylesheets/_coreui-variables.scss +1 -0
- data/app/assets/stylesheets/_custom.scss +1 -0
- data/app/assets/stylesheets/bootstrap/_alert.scss +51 -0
- data/app/assets/stylesheets/bootstrap/_badge.scss +47 -0
- data/app/assets/stylesheets/bootstrap/_breadcrumb.scss +38 -0
- data/app/assets/stylesheets/bootstrap/_button-group.scss +166 -0
- data/app/assets/stylesheets/bootstrap/_buttons.scss +143 -0
- data/app/assets/stylesheets/bootstrap/_card.scss +270 -0
- data/app/assets/stylesheets/bootstrap/_carousel.scss +191 -0
- data/app/assets/stylesheets/bootstrap/_close.scss +34 -0
- data/app/assets/stylesheets/bootstrap/_code.scss +56 -0
- data/app/assets/stylesheets/bootstrap/_custom-forms.scss +297 -0
- data/app/assets/stylesheets/bootstrap/_dropdown.scss +131 -0
- data/app/assets/stylesheets/bootstrap/_forms.scss +333 -0
- data/app/assets/stylesheets/bootstrap/_functions.scss +86 -0
- data/app/assets/stylesheets/bootstrap/_grid.scss +52 -0
- data/app/assets/stylesheets/bootstrap/_images.scss +42 -0
- data/app/assets/stylesheets/bootstrap/_input-group.scss +159 -0
- data/app/assets/stylesheets/bootstrap/_jumbotron.scss +16 -0
- data/app/assets/stylesheets/bootstrap/_list-group.scss +115 -0
- data/app/assets/stylesheets/bootstrap/_media.scss +8 -0
- data/app/assets/stylesheets/bootstrap/_mixins.scss +42 -0
- data/app/assets/stylesheets/bootstrap/_modal.scss +168 -0
- data/app/assets/stylesheets/bootstrap/_nav.scss +118 -0
- data/app/assets/stylesheets/bootstrap/_navbar.scss +311 -0
- data/app/assets/stylesheets/bootstrap/_pagination.scss +77 -0
- data/app/assets/stylesheets/bootstrap/_popover.scss +183 -0
- data/app/assets/stylesheets/bootstrap/_print.scss +124 -0
- data/app/assets/stylesheets/bootstrap/_progress.scss +33 -0
- data/app/assets/stylesheets/bootstrap/_reboot.scss +482 -0
- data/app/assets/stylesheets/bootstrap/_root.scss +19 -0
- data/app/assets/stylesheets/bootstrap/_tables.scss +180 -0
- data/app/assets/stylesheets/bootstrap/_tooltip.scss +115 -0
- data/app/assets/stylesheets/bootstrap/_transitions.scss +36 -0
- data/app/assets/stylesheets/bootstrap/_type.scss +125 -0
- data/app/assets/stylesheets/bootstrap/_utilities.scss +14 -0
- data/app/assets/stylesheets/bootstrap/_variables.scss +894 -0
- data/app/assets/stylesheets/bootstrap/bootstrap-grid.scss +32 -0
- data/app/assets/stylesheets/bootstrap/bootstrap-reboot.scss +12 -0
- data/app/assets/stylesheets/bootstrap/bootstrap.scss +42 -0
- data/app/assets/stylesheets/bootstrap/mixins/_alert.scss +13 -0
- data/app/assets/stylesheets/bootstrap/mixins/_background-variant.scss +21 -0
- data/app/assets/stylesheets/bootstrap/mixins/_badge.scss +12 -0
- data/app/assets/stylesheets/bootstrap/mixins/_border-radius.scss +35 -0
- data/app/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +5 -0
- data/app/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +123 -0
- data/app/assets/stylesheets/bootstrap/mixins/_buttons.scss +109 -0
- data/app/assets/stylesheets/bootstrap/mixins/_caret.scss +65 -0
- data/app/assets/stylesheets/bootstrap/mixins/_clearfix.scss +7 -0
- data/app/assets/stylesheets/bootstrap/mixins/_float.scss +11 -0
- data/app/assets/stylesheets/bootstrap/mixins/_forms.scss +137 -0
- data/app/assets/stylesheets/bootstrap/mixins/_gradients.scss +45 -0
- data/app/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +67 -0
- data/app/assets/stylesheets/bootstrap/mixins/_grid.scss +52 -0
- data/app/assets/stylesheets/bootstrap/mixins/_hover.scss +39 -0
- data/app/assets/stylesheets/bootstrap/mixins/_image.scss +36 -0
- data/app/assets/stylesheets/bootstrap/mixins/_list-group.scss +21 -0
- data/app/assets/stylesheets/bootstrap/mixins/_lists.scss +7 -0
- data/app/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
- data/app/assets/stylesheets/bootstrap/mixins/_navbar-align.scss +10 -0
- data/app/assets/stylesheets/bootstrap/mixins/_pagination.scss +22 -0
- data/app/assets/stylesheets/bootstrap/mixins/_reset-text.scss +17 -0
- data/app/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
- data/app/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +35 -0
- data/app/assets/stylesheets/bootstrap/mixins/_size.scss +6 -0
- data/app/assets/stylesheets/bootstrap/mixins/_table-row.scss +30 -0
- data/app/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +14 -0
- data/app/assets/stylesheets/bootstrap/mixins/_text-hide.scss +9 -0
- data/app/assets/stylesheets/bootstrap/mixins/_text-truncate.scss +8 -0
- data/app/assets/stylesheets/bootstrap/mixins/_transition.scss +9 -0
- data/app/assets/stylesheets/bootstrap/mixins/_visibility.scss +7 -0
- data/app/assets/stylesheets/bootstrap/utilities/_align.scss +8 -0
- data/app/assets/stylesheets/bootstrap/utilities/_background.scss +19 -0
- data/app/assets/stylesheets/bootstrap/utilities/_borders.scss +59 -0
- data/app/assets/stylesheets/bootstrap/utilities/_clearfix.scss +3 -0
- data/app/assets/stylesheets/bootstrap/utilities/_display.scss +38 -0
- data/app/assets/stylesheets/bootstrap/utilities/_embed.scss +52 -0
- data/app/assets/stylesheets/bootstrap/utilities/_flex.scss +46 -0
- data/app/assets/stylesheets/bootstrap/utilities/_float.scss +9 -0
- data/app/assets/stylesheets/bootstrap/utilities/_position.scss +36 -0
- data/app/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +11 -0
- data/app/assets/stylesheets/bootstrap/utilities/_sizing.scss +12 -0
- data/app/assets/stylesheets/bootstrap/utilities/_spacing.scss +51 -0
- data/app/assets/stylesheets/bootstrap/utilities/_text.scss +52 -0
- data/app/assets/stylesheets/bootstrap/utilities/_visibility.scss +11 -0
- data/app/assets/stylesheets/coreui-free.scss +18 -0
- data/app/assets/stylesheets/coreui/_animate.scss +27 -0
- data/app/assets/stylesheets/coreui/_aside.scss +64 -0
- data/app/assets/stylesheets/coreui/_avatars.scss +51 -0
- data/app/assets/stylesheets/coreui/_badge.scss +3 -0
- data/app/assets/stylesheets/coreui/_brand-card.scss +51 -0
- data/app/assets/stylesheets/coreui/_brands-buttons.scss +47 -0
- data/app/assets/stylesheets/coreui/_breadcrumb-menu.scss +36 -0
- data/app/assets/stylesheets/coreui/_breadcrumb.scss +4 -0
- data/app/assets/stylesheets/coreui/_buttons.scss +18 -0
- data/app/assets/stylesheets/coreui/_callout.scss +55 -0
- data/app/assets/stylesheets/coreui/_card.scss +107 -0
- data/app/assets/stylesheets/coreui/_charts.scss +7 -0
- data/app/assets/stylesheets/coreui/_deprecated.scss +175 -0
- data/app/assets/stylesheets/coreui/_dropdown-menu-right.scss +8 -0
- data/app/assets/stylesheets/coreui/_dropdown.scss +69 -0
- data/app/assets/stylesheets/coreui/_footer.scss +9 -0
- data/app/assets/stylesheets/coreui/_grid.scss +15 -0
- data/app/assets/stylesheets/coreui/_input-group.scss +6 -0
- data/app/assets/stylesheets/coreui/_layout.scss +399 -0
- data/app/assets/stylesheets/coreui/_loading.scss +128 -0
- data/app/assets/stylesheets/coreui/_mixins.scss +116 -0
- data/app/assets/stylesheets/coreui/_modal.scss +13 -0
- data/app/assets/stylesheets/coreui/_nav.scss +35 -0
- data/app/assets/stylesheets/coreui/_navbar.scss +135 -0
- data/app/assets/stylesheets/coreui/_others.scss +4 -0
- data/app/assets/stylesheets/coreui/_progress-group.scss +40 -0
- data/app/assets/stylesheets/coreui/_progress.scss +15 -0
- data/app/assets/stylesheets/coreui/_rtl.scss +281 -0
- data/app/assets/stylesheets/coreui/_sidebar.scss +454 -0
- data/app/assets/stylesheets/coreui/_switches.scss +301 -0
- data/app/assets/stylesheets/coreui/_tables.scss +20 -0
- data/app/assets/stylesheets/coreui/_temp.scss +39 -0
- data/app/assets/stylesheets/coreui/_utilities.scss +4 -0
- data/app/assets/stylesheets/coreui/_variables.scss +243 -0
- data/app/assets/stylesheets/coreui/_widgets.scss +79 -0
- data/app/assets/stylesheets/coreui/coreui.scss +47 -0
- data/app/assets/stylesheets/coreui/utilities/_background.scss +20 -0
- data/app/assets/stylesheets/coreui/utilities/_borders.scss +18 -0
- data/app/assets/stylesheets/coreui/utilities/_display.scss +18 -0
- data/app/assets/stylesheets/coreui/utilities/_typography.scss +46 -0
- data/coreui-rails.gemspec +19 -0
- data/lib/coreui_rails.rb +4 -0
- data/lib/coreui_rails/version.rb +3 -0
- metadata +195 -0
@@ -0,0 +1,454 @@
|
|
1
|
+
// scss-lint:disable NestingDepth, SelectorDepth
|
2
|
+
.sidebar {
|
3
|
+
display: flex;
|
4
|
+
flex-direction: column;
|
5
|
+
padding: $sidebar-padding;
|
6
|
+
color: $sidebar-color;
|
7
|
+
background: $sidebar-bg;
|
8
|
+
@include borders($sidebar-borders);
|
9
|
+
|
10
|
+
.sidebar-close {
|
11
|
+
position: absolute;
|
12
|
+
right: 0;
|
13
|
+
display: none;
|
14
|
+
padding: 0 $spacer;
|
15
|
+
font-size: 24px;
|
16
|
+
font-weight: 800;
|
17
|
+
line-height: $navbar-height;
|
18
|
+
color: $sidebar-color;
|
19
|
+
background: 0;
|
20
|
+
border: 0;
|
21
|
+
opacity: .8;
|
22
|
+
|
23
|
+
&:hover {
|
24
|
+
opacity: 1;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
// Will be added soon
|
29
|
+
// .sidebar-brand { }
|
30
|
+
|
31
|
+
.sidebar-header {
|
32
|
+
flex: 0 0 $sidebar-header-height;
|
33
|
+
padding: $sidebar-header-padding-y $sidebar-header-padding-x;
|
34
|
+
text-align: center;
|
35
|
+
background: $sidebar-header-bg;
|
36
|
+
}
|
37
|
+
|
38
|
+
.sidebar-form .form-control {
|
39
|
+
color: $sidebar-form-color;
|
40
|
+
background: $sidebar-form-bg;
|
41
|
+
border: $sidebar-form-border;
|
42
|
+
|
43
|
+
&::placeholder {
|
44
|
+
color: $sidebar-form-placeholder-color;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
.sidebar-nav {
|
49
|
+
position: relative;
|
50
|
+
flex: 1;
|
51
|
+
overflow-x: hidden;
|
52
|
+
overflow-y: auto;
|
53
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
54
|
+
@include sidebar-width($sidebar-borders, $sidebar-width);
|
55
|
+
|
56
|
+
&::-webkit-scrollbar {
|
57
|
+
position: absolute;
|
58
|
+
width: 10px;
|
59
|
+
margin-left: -10px;
|
60
|
+
-webkit-appearance: none;
|
61
|
+
}
|
62
|
+
|
63
|
+
&::-webkit-scrollbar-track {
|
64
|
+
background-color: lighten($sidebar-bg, 5%);
|
65
|
+
border-right: 1px solid darken($sidebar-bg, 5%);
|
66
|
+
border-left: 1px solid darken($sidebar-bg, 5%);
|
67
|
+
}
|
68
|
+
|
69
|
+
&::-webkit-scrollbar-thumb {
|
70
|
+
height: 50px;
|
71
|
+
background-color: darken($sidebar-bg, 10%);
|
72
|
+
background-clip: content-box;
|
73
|
+
border-color: transparent;
|
74
|
+
border-style: solid;
|
75
|
+
border-width: 1px 2px;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
.nav {
|
80
|
+
@include sidebar-width($sidebar-borders, $sidebar-width);
|
81
|
+
flex-direction: column;
|
82
|
+
min-height: 100%;
|
83
|
+
}
|
84
|
+
|
85
|
+
.nav-title {
|
86
|
+
padding: $sidebar-nav-title-padding-y $sidebar-nav-title-padding-x;
|
87
|
+
font-size: 11px;
|
88
|
+
font-weight: 600;
|
89
|
+
color: $sidebar-nav-title-color;
|
90
|
+
text-transform: uppercase;
|
91
|
+
}
|
92
|
+
|
93
|
+
.nav-divider, .divider {
|
94
|
+
height: 10px;
|
95
|
+
}
|
96
|
+
|
97
|
+
.nav-item {
|
98
|
+
position: relative;
|
99
|
+
margin: 0;
|
100
|
+
transition: background .3s ease-in-out;
|
101
|
+
}
|
102
|
+
|
103
|
+
.nav-dropdown-items {
|
104
|
+
max-height: 0;
|
105
|
+
padding: 0;
|
106
|
+
margin: 0;
|
107
|
+
overflow-y: hidden;
|
108
|
+
transition: max-height .3s ease-in-out;
|
109
|
+
|
110
|
+
.nav-item {
|
111
|
+
padding: 0;
|
112
|
+
list-style: none;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
.nav-link {
|
117
|
+
display: block;
|
118
|
+
padding: $sidebar-nav-link-padding-y $sidebar-nav-link-padding-x;
|
119
|
+
color: $sidebar-nav-link-color;
|
120
|
+
text-decoration: none;
|
121
|
+
background: $sidebar-nav-link-bg;
|
122
|
+
@include borders($sidebar-nav-link-borders);
|
123
|
+
@if $enable-sidebar-nav-rounded {
|
124
|
+
border-radius: $border-radius;
|
125
|
+
}
|
126
|
+
|
127
|
+
i {
|
128
|
+
display: inline-block;
|
129
|
+
width: 20px;
|
130
|
+
margin: 0 ($sidebar-nav-link-padding-x / 2) 0 0;
|
131
|
+
font-size: 14px;
|
132
|
+
color: $sidebar-nav-link-icon-color;
|
133
|
+
text-align: center;
|
134
|
+
}
|
135
|
+
|
136
|
+
.badge {
|
137
|
+
float: right;
|
138
|
+
margin-top: 2px;
|
139
|
+
}
|
140
|
+
|
141
|
+
&.active {
|
142
|
+
color: $sidebar-nav-link-active-color;
|
143
|
+
background: $sidebar-nav-link-active-bg;
|
144
|
+
@include borders($sidebar-nav-link-active-borders);
|
145
|
+
|
146
|
+
i {
|
147
|
+
color: $sidebar-nav-link-active-icon-color;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
&:hover {
|
152
|
+
color: $sidebar-nav-link-hover-color;
|
153
|
+
background: $sidebar-nav-link-hover-bg;
|
154
|
+
@include borders($sidebar-nav-link-hover-borders);
|
155
|
+
|
156
|
+
i {
|
157
|
+
color: $sidebar-nav-link-hover-icon-color;
|
158
|
+
}
|
159
|
+
|
160
|
+
&.nav-dropdown-toggle::before {
|
161
|
+
background-image: $sidebar-nav-dropdown-indicator-hover;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
@each $color, $value in $theme-colors {
|
166
|
+
&.nav-link-#{$color} {
|
167
|
+
background: $value;
|
168
|
+
i {
|
169
|
+
color: rgba(255,255,255,.7);
|
170
|
+
}
|
171
|
+
&:hover {
|
172
|
+
background: darken($value,5%) !important;
|
173
|
+
i {
|
174
|
+
color: #fff;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
// ex. <a class="nav-link nav-dropdown-toggle" href="#">Components</a>
|
182
|
+
.nav-dropdown-toggle {
|
183
|
+
position: relative;
|
184
|
+
|
185
|
+
&::before {
|
186
|
+
position: absolute;
|
187
|
+
top: 50%;
|
188
|
+
right: $sidebar-nav-link-padding-x;
|
189
|
+
display: block;
|
190
|
+
width: 8px;
|
191
|
+
height: 8px;
|
192
|
+
padding: 0;
|
193
|
+
margin-top: -4px;
|
194
|
+
content: "";
|
195
|
+
background-image: $sidebar-nav-dropdown-indicator;
|
196
|
+
background-repeat: no-repeat;
|
197
|
+
background-position: center;
|
198
|
+
transition: transform .3s;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
// ex. <li class="nav-item nav-dropdown">
|
203
|
+
.nav-dropdown.open {
|
204
|
+
background: $sidebar-nav-dropdown-bg;
|
205
|
+
@include borders($sidebar-nav-dropdown-borders);
|
206
|
+
@if $enable-sidebar-nav-rounded {
|
207
|
+
border-radius: $border-radius;
|
208
|
+
}
|
209
|
+
> .nav-dropdown-items {
|
210
|
+
max-height: 1500px;
|
211
|
+
}
|
212
|
+
|
213
|
+
.nav-link {
|
214
|
+
color: $sidebar-nav-dropdown-color;
|
215
|
+
border-left: 0 !important;
|
216
|
+
}
|
217
|
+
|
218
|
+
> .nav-link.nav-dropdown-toggle::before {
|
219
|
+
transform: rotate(-90deg);
|
220
|
+
}
|
221
|
+
|
222
|
+
.nav-dropdown.open {
|
223
|
+
border-left: 0;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
.nav-label {
|
228
|
+
display: block;
|
229
|
+
padding: ($sidebar-nav-link-padding-y / 8) $sidebar-nav-link-padding-x;
|
230
|
+
color: $sidebar-nav-title-color;
|
231
|
+
|
232
|
+
&:hover {
|
233
|
+
color: $sidebar-color;
|
234
|
+
text-decoration: none;
|
235
|
+
}
|
236
|
+
|
237
|
+
i {
|
238
|
+
width: 20px;
|
239
|
+
margin: -3px ($sidebar-nav-link-padding-x / 2) 0 0;
|
240
|
+
font-size: 10px;
|
241
|
+
color: $sidebar-nav-link-icon-color;
|
242
|
+
text-align: center;
|
243
|
+
vertical-align: middle;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|
247
|
+
@if (lightness( $sidebar-bg ) < 40) {
|
248
|
+
.progress {
|
249
|
+
background-color: lighten($sidebar-bg, 15%) !important;
|
250
|
+
}
|
251
|
+
}
|
252
|
+
|
253
|
+
.sidebar-footer {
|
254
|
+
flex: 0 0 $sidebar-footer-height;
|
255
|
+
padding: $sidebar-footer-padding-y $sidebar-footer-padding-x;
|
256
|
+
background: $sidebar-footer-bg;
|
257
|
+
@include borders($sidebar-footer-borders);
|
258
|
+
}
|
259
|
+
|
260
|
+
.sidebar-minimizer {
|
261
|
+
position: relative;
|
262
|
+
flex: 0 0 $sidebar-minimizer-height;
|
263
|
+
background-color: $sidebar-minimizer-bg;
|
264
|
+
border: 0;
|
265
|
+
@include borders($sidebar-minimizer-borders);
|
266
|
+
|
267
|
+
&::before {
|
268
|
+
position: absolute;
|
269
|
+
top: 0;
|
270
|
+
right: 0;
|
271
|
+
width: $sidebar-minimizer-height;
|
272
|
+
height: $sidebar-minimizer-height;
|
273
|
+
content: "";
|
274
|
+
background-image: $sidebar-minimizer-indicator;
|
275
|
+
background-repeat: no-repeat;
|
276
|
+
background-position: center;
|
277
|
+
background-size: $sidebar-minimizer-height / 4;
|
278
|
+
transition: .3s;
|
279
|
+
}
|
280
|
+
|
281
|
+
&:focus,
|
282
|
+
&.focus {
|
283
|
+
outline: 0;
|
284
|
+
}
|
285
|
+
|
286
|
+
&:hover {
|
287
|
+
background-color: $sidebar-minimizer-hover-bg;
|
288
|
+
&::before {
|
289
|
+
background-image: $sidebar-minimizer-hover-indicator;
|
290
|
+
}
|
291
|
+
}
|
292
|
+
}
|
293
|
+
}
|
294
|
+
|
295
|
+
@include media-breakpoint-up(lg) {
|
296
|
+
.sidebar-compact {
|
297
|
+
.sidebar {
|
298
|
+
.sidebar-nav {
|
299
|
+
@include sidebar-width($sidebar-borders, $sidebar-compact-width);
|
300
|
+
}
|
301
|
+
|
302
|
+
.nav {
|
303
|
+
@include sidebar-width($sidebar-borders, $sidebar-compact-width);
|
304
|
+
|
305
|
+
.nav-title {
|
306
|
+
text-align: center;
|
307
|
+
}
|
308
|
+
|
309
|
+
.nav-item {
|
310
|
+
width: $sidebar-compact-width;
|
311
|
+
border-left: 0 !important;
|
312
|
+
|
313
|
+
.nav-link {
|
314
|
+
text-align: center;
|
315
|
+
|
316
|
+
i {
|
317
|
+
display: block;
|
318
|
+
width: 100%;
|
319
|
+
margin: $spacer / 4 0;
|
320
|
+
font-size: 24px;
|
321
|
+
}
|
322
|
+
|
323
|
+
.badge {
|
324
|
+
position: absolute;
|
325
|
+
top: 18px;
|
326
|
+
right: 10px;
|
327
|
+
}
|
328
|
+
|
329
|
+
&.nav-dropdown-toggle {
|
330
|
+
|
331
|
+
&::before {
|
332
|
+
top: 30px;
|
333
|
+
}
|
334
|
+
}
|
335
|
+
}
|
336
|
+
}
|
337
|
+
}
|
338
|
+
}
|
339
|
+
}
|
340
|
+
|
341
|
+
// Minimized Sidebar
|
342
|
+
.sidebar-minimized {
|
343
|
+
.hidden-cn {
|
344
|
+
display: none;
|
345
|
+
}
|
346
|
+
.sidebar {
|
347
|
+
z-index: $zindex-sticky - 1;
|
348
|
+
|
349
|
+
.sidebar-nav {
|
350
|
+
overflow: visible;
|
351
|
+
@include sidebar-width($sidebar-borders, $sidebar-minimized-width);
|
352
|
+
}
|
353
|
+
|
354
|
+
.nav {
|
355
|
+
@include sidebar-width($sidebar-borders, $sidebar-minimized-width);
|
356
|
+
}
|
357
|
+
|
358
|
+
.nav-divider, .divider,
|
359
|
+
.nav-title,
|
360
|
+
.sidebar-footer,
|
361
|
+
.sidebar-form,
|
362
|
+
.sidebar-header {
|
363
|
+
display: none;
|
364
|
+
}
|
365
|
+
|
366
|
+
.sidebar-minimizer::before {
|
367
|
+
width: 100%;
|
368
|
+
transform: rotate(-180deg);
|
369
|
+
}
|
370
|
+
|
371
|
+
.nav-item {
|
372
|
+
width: $sidebar-minimized-width;
|
373
|
+
overflow: hidden;
|
374
|
+
border-left: 0 !important;
|
375
|
+
|
376
|
+
&:hover {
|
377
|
+
width: $sidebar-width + $sidebar-minimized-width;
|
378
|
+
overflow: visible;
|
379
|
+
|
380
|
+
> .nav-link {
|
381
|
+
background: $sidebar-nav-link-hover-bg;
|
382
|
+
|
383
|
+
i {
|
384
|
+
color: $sidebar-nav-link-hover-color;
|
385
|
+
}
|
386
|
+
}
|
387
|
+
}
|
388
|
+
}
|
389
|
+
|
390
|
+
.nav-link {
|
391
|
+
position: relative;
|
392
|
+
padding-left: 0;
|
393
|
+
margin: 0;
|
394
|
+
white-space: nowrap;
|
395
|
+
border-left: 0 !important;
|
396
|
+
|
397
|
+
i {
|
398
|
+
display: block;
|
399
|
+
float: left;
|
400
|
+
width: $sidebar-minimized-height;
|
401
|
+
// padding: 0;
|
402
|
+
// margin: 0 !important;
|
403
|
+
font-size: 18px;
|
404
|
+
}
|
405
|
+
|
406
|
+
.badge {
|
407
|
+
position: absolute;
|
408
|
+
right: 15px;
|
409
|
+
display: none;
|
410
|
+
}
|
411
|
+
|
412
|
+
&:hover {
|
413
|
+
width: $sidebar-width + $sidebar-minimized-width;
|
414
|
+
background: $sidebar-nav-link-hover-bg;
|
415
|
+
|
416
|
+
.badge {
|
417
|
+
display: inline;
|
418
|
+
}
|
419
|
+
}
|
420
|
+
|
421
|
+
&.nav-dropdown-toggle::before {
|
422
|
+
display: none;
|
423
|
+
}
|
424
|
+
}
|
425
|
+
|
426
|
+
.nav-dropdown-items {
|
427
|
+
.nav-item {
|
428
|
+
width: $sidebar-width;
|
429
|
+
|
430
|
+
.nav-link {
|
431
|
+
width: $sidebar-width;
|
432
|
+
}
|
433
|
+
}
|
434
|
+
}
|
435
|
+
|
436
|
+
.nav > .nav-dropdown {
|
437
|
+
> .nav-dropdown-items {
|
438
|
+
display: none;
|
439
|
+
max-height: 1000px;
|
440
|
+
background: $sidebar-bg;
|
441
|
+
}
|
442
|
+
|
443
|
+
&:hover {
|
444
|
+
background: $sidebar-nav-link-hover-bg;
|
445
|
+
> .nav-dropdown-items {
|
446
|
+
position: absolute;
|
447
|
+
left: $sidebar-minimized-width;
|
448
|
+
display: inline;
|
449
|
+
}
|
450
|
+
}
|
451
|
+
}
|
452
|
+
}
|
453
|
+
}
|
454
|
+
}
|