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,15 @@
|
|
1
|
+
.row.row-equal {
|
2
|
+
padding-right: ($grid-gutter-width / 4);
|
3
|
+
padding-left: ($grid-gutter-width / 4);
|
4
|
+
margin-right: ($grid-gutter-width / -2);
|
5
|
+
margin-left: ($grid-gutter-width / -2);
|
6
|
+
|
7
|
+
[class*="col-"] {
|
8
|
+
padding-right: ($grid-gutter-width / 4);
|
9
|
+
padding-left: ($grid-gutter-width / 4);
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
.main .container-fluid {
|
14
|
+
padding: 0 30px;
|
15
|
+
}
|
@@ -0,0 +1,399 @@
|
|
1
|
+
// IE10&11 Flexbox fix
|
2
|
+
@media all and (-ms-high-contrast: none) {
|
3
|
+
html {
|
4
|
+
display: flex;
|
5
|
+
flex-direction: column;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
// app-dashboard and app-root are Angular2+ selectors. You can add here your own selectors if you need.
|
10
|
+
// stylelint-disable selector-type-no-unknown
|
11
|
+
.app,
|
12
|
+
app-dashboard,
|
13
|
+
app-root {
|
14
|
+
display: flex;
|
15
|
+
flex-direction: column;
|
16
|
+
min-height: 100vh;
|
17
|
+
}
|
18
|
+
|
19
|
+
.app-header {
|
20
|
+
flex: 0 0 $navbar-height;
|
21
|
+
}
|
22
|
+
|
23
|
+
.app-footer {
|
24
|
+
flex: 0 0 $footer-height;
|
25
|
+
}
|
26
|
+
|
27
|
+
.app-body {
|
28
|
+
display: flex;
|
29
|
+
flex-direction: row;
|
30
|
+
flex-grow: 1;
|
31
|
+
overflow-x: hidden;
|
32
|
+
|
33
|
+
.main {
|
34
|
+
flex: 1;
|
35
|
+
min-width: 0;
|
36
|
+
}
|
37
|
+
|
38
|
+
.sidebar {
|
39
|
+
// $sidebar-width is the width of the columns
|
40
|
+
flex: 0 0 $sidebar-width;
|
41
|
+
// put the nav on the left
|
42
|
+
order: -1;
|
43
|
+
}
|
44
|
+
|
45
|
+
.aside-menu {
|
46
|
+
// $aside-menu-width is the width of the columns
|
47
|
+
flex: 0 0 $aside-menu-width;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
//
|
52
|
+
// header
|
53
|
+
//
|
54
|
+
.header-fixed {
|
55
|
+
.app-header {
|
56
|
+
position: fixed;
|
57
|
+
z-index: $zindex-sticky;
|
58
|
+
width: 100%;
|
59
|
+
}
|
60
|
+
.app-body {
|
61
|
+
margin-top: $navbar-height;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
//
|
66
|
+
// Sidebar
|
67
|
+
//
|
68
|
+
.sidebar-hidden {
|
69
|
+
.sidebar {
|
70
|
+
margin-left: - $sidebar-width;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.sidebar-fixed {
|
75
|
+
.sidebar {
|
76
|
+
position: fixed;
|
77
|
+
z-index: $zindex-sticky - 1;
|
78
|
+
width: $sidebar-width;
|
79
|
+
height: calc(100vh - #{$navbar-height});
|
80
|
+
// margin-top: - $navbar-height;
|
81
|
+
|
82
|
+
// .sidebar-nav {
|
83
|
+
// height: calc(100vh - #{$navbar-height});
|
84
|
+
// }
|
85
|
+
}
|
86
|
+
|
87
|
+
.main,
|
88
|
+
.app-footer {
|
89
|
+
margin-left: $sidebar-width;
|
90
|
+
}
|
91
|
+
|
92
|
+
&.sidebar-hidden {
|
93
|
+
.main,
|
94
|
+
.app-footer {
|
95
|
+
margin-left: 0;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
.sidebar-off-canvas {
|
101
|
+
.sidebar {
|
102
|
+
position: fixed;
|
103
|
+
z-index: $zindex-sticky - 1;
|
104
|
+
height: calc(100vh - #{$navbar-height});
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
@include media-breakpoint-up(lg) {
|
109
|
+
.sidebar-compact {
|
110
|
+
.sidebar {
|
111
|
+
flex: 0 0 $sidebar-compact-width;
|
112
|
+
}
|
113
|
+
|
114
|
+
&.sidebar-hidden {
|
115
|
+
.sidebar {
|
116
|
+
margin-left: - $sidebar-compact-width;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
&.sidebar-fixed {
|
121
|
+
.main,
|
122
|
+
.app-footer {
|
123
|
+
margin-left: $sidebar-compact-width;
|
124
|
+
}
|
125
|
+
|
126
|
+
.sidebar {
|
127
|
+
width: $sidebar-compact-width;
|
128
|
+
}
|
129
|
+
|
130
|
+
&.sidebar-hidden {
|
131
|
+
.main,
|
132
|
+
.app-footer {
|
133
|
+
margin-left: 0;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
.sidebar-minimizer {
|
138
|
+
display: none;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
.sidebar-minimized {
|
143
|
+
.sidebar {
|
144
|
+
flex: 0 0 $sidebar-minimized-width;
|
145
|
+
}
|
146
|
+
|
147
|
+
&.sidebar-hidden {
|
148
|
+
.sidebar {
|
149
|
+
margin-left: - $sidebar-minimized-width;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
&.sidebar-fixed {
|
154
|
+
.main,
|
155
|
+
.app-footer {
|
156
|
+
margin-left: $sidebar-minimized-width;
|
157
|
+
}
|
158
|
+
|
159
|
+
.sidebar {
|
160
|
+
width: $sidebar-minimized-width;
|
161
|
+
}
|
162
|
+
|
163
|
+
&.sidebar-hidden {
|
164
|
+
.main,
|
165
|
+
.app-footer {
|
166
|
+
margin-left: 0;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
}
|
172
|
+
|
173
|
+
//
|
174
|
+
// Aside Menu
|
175
|
+
//
|
176
|
+
.aside-menu-hidden {
|
177
|
+
.aside-menu {
|
178
|
+
margin-right: - $aside-menu-width;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
.aside-menu-fixed {
|
183
|
+
.aside-menu {
|
184
|
+
position: fixed;
|
185
|
+
right: 0;
|
186
|
+
height: 100%;
|
187
|
+
|
188
|
+
.tab-content {
|
189
|
+
height: calc(100vh - #{$aside-menu-nav-padding-y * 2 + $font-size-base} - #{$navbar-height});
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
193
|
+
.main,
|
194
|
+
.app-footer {
|
195
|
+
margin-right: $aside-menu-width;
|
196
|
+
}
|
197
|
+
|
198
|
+
&.aside-menu-hidden {
|
199
|
+
.main,
|
200
|
+
.app-footer {
|
201
|
+
margin-right: 0;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
|
206
|
+
.aside-menu-off-canvas {
|
207
|
+
.aside-menu {
|
208
|
+
position: fixed;
|
209
|
+
right: 0;
|
210
|
+
z-index: $zindex-sticky - 1;
|
211
|
+
height: 100%;
|
212
|
+
|
213
|
+
.tab-content {
|
214
|
+
height: calc(100vh - #{$aside-menu-nav-padding-y * 2 + $font-size-base} - #{$navbar-height});
|
215
|
+
}
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
//
|
220
|
+
// Breadcrumb
|
221
|
+
//
|
222
|
+
.breadcrumb-fixed {
|
223
|
+
.main {
|
224
|
+
$breadcrumb-height: 2 * $breadcrumb-padding-y + $font-size-base + 1.5 * $spacer;
|
225
|
+
padding-top: $breadcrumb-height;
|
226
|
+
}
|
227
|
+
|
228
|
+
.breadcrumb {
|
229
|
+
position: fixed;
|
230
|
+
top: $navbar-height;
|
231
|
+
right: 0;
|
232
|
+
left: 0;
|
233
|
+
z-index: $zindex-sticky - 2;
|
234
|
+
}
|
235
|
+
|
236
|
+
// if sidebar + main + aside
|
237
|
+
.main:nth-child(2) {
|
238
|
+
.breadcrumb {
|
239
|
+
right: $aside-menu-width;
|
240
|
+
left: $sidebar-width;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
// if sidebar + main
|
245
|
+
.main:first-child {
|
246
|
+
.breadcrumb {
|
247
|
+
right: $aside-menu-width;
|
248
|
+
left: 0;
|
249
|
+
}
|
250
|
+
}
|
251
|
+
|
252
|
+
// if main + aside
|
253
|
+
.main:last-child {
|
254
|
+
.breadcrumb {
|
255
|
+
right: 0;
|
256
|
+
}
|
257
|
+
}
|
258
|
+
|
259
|
+
&.sidebar-minimized {
|
260
|
+
.main .breadcrumb {
|
261
|
+
left: $sidebar-minimized-width;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
|
265
|
+
&.sidebar-hidden,
|
266
|
+
&.sidebar-off-canvas {
|
267
|
+
.main .breadcrumb {
|
268
|
+
left: 0;
|
269
|
+
}
|
270
|
+
}
|
271
|
+
|
272
|
+
&.aside-menu-hidden,
|
273
|
+
&.aside-menu-off-canvas {
|
274
|
+
.main .breadcrumb {
|
275
|
+
right: 0;
|
276
|
+
}
|
277
|
+
}
|
278
|
+
}
|
279
|
+
|
280
|
+
//
|
281
|
+
// Footer
|
282
|
+
//
|
283
|
+
.footer-fixed {
|
284
|
+
.app-footer {
|
285
|
+
position: fixed;
|
286
|
+
right: 0;
|
287
|
+
bottom: 0;
|
288
|
+
left: 0;
|
289
|
+
z-index: $zindex-sticky;
|
290
|
+
height: $footer-height;
|
291
|
+
}
|
292
|
+
|
293
|
+
.app-body {
|
294
|
+
margin-bottom: $footer-height;
|
295
|
+
}
|
296
|
+
}
|
297
|
+
|
298
|
+
//
|
299
|
+
// Animations
|
300
|
+
//
|
301
|
+
.app-header,
|
302
|
+
.app-footer,
|
303
|
+
.sidebar,
|
304
|
+
.main,
|
305
|
+
.aside-menu {
|
306
|
+
transition: margin-left $layout-transition-speed, margin-right $layout-transition-speed, width $layout-transition-speed, flex $layout-transition-speed;
|
307
|
+
}
|
308
|
+
.sidebar-nav {
|
309
|
+
transition: width $layout-transition-speed;
|
310
|
+
}
|
311
|
+
.breadcrumb {
|
312
|
+
transition: left $layout-transition-speed, right $layout-transition-speed, width $layout-transition-speed;
|
313
|
+
}
|
314
|
+
|
315
|
+
//
|
316
|
+
// Mobile layout
|
317
|
+
//
|
318
|
+
|
319
|
+
@include media-breakpoint-down(md) {
|
320
|
+
.app-header.navbar {
|
321
|
+
position: fixed !important;
|
322
|
+
z-index: $zindex-sticky;
|
323
|
+
width: 100%;
|
324
|
+
text-align: center;
|
325
|
+
background-color: $navbar-brand-bg;
|
326
|
+
@include borders($navbar-brand-border);
|
327
|
+
|
328
|
+
.navbar-toggler {
|
329
|
+
@if (lightness( $navbar-brand-bg ) > 40) {
|
330
|
+
color: $navbar-color;
|
331
|
+
} @else {
|
332
|
+
color: #fff;
|
333
|
+
}
|
334
|
+
}
|
335
|
+
|
336
|
+
.navbar-brand {
|
337
|
+
position: absolute;
|
338
|
+
left: 50%;
|
339
|
+
margin-left: - ($navbar-brand-width / 2);
|
340
|
+
}
|
341
|
+
}
|
342
|
+
|
343
|
+
.app-body {
|
344
|
+
margin-top: $navbar-height;
|
345
|
+
}
|
346
|
+
|
347
|
+
.breadcrumb-fixed {
|
348
|
+
.main:nth-child(2) .breadcrumb {
|
349
|
+
right: auto;
|
350
|
+
left: auto;
|
351
|
+
width: 100%;
|
352
|
+
}
|
353
|
+
}
|
354
|
+
|
355
|
+
.sidebar {
|
356
|
+
position: fixed;
|
357
|
+
z-index: $zindex-sticky - 1;
|
358
|
+
width: $mobile-sidebar-width;
|
359
|
+
height: calc(100vh - #{$navbar-height});
|
360
|
+
margin-left: - $mobile-sidebar-width;
|
361
|
+
|
362
|
+
.sidebar-nav,
|
363
|
+
.nav {
|
364
|
+
width: $mobile-sidebar-width;
|
365
|
+
min-height: calc(100vh - #{$navbar-height});
|
366
|
+
}
|
367
|
+
|
368
|
+
.sidebar-minimizer {
|
369
|
+
display: none;
|
370
|
+
}
|
371
|
+
}
|
372
|
+
|
373
|
+
.main,
|
374
|
+
.app-footer {
|
375
|
+
margin-left: 0 !important;
|
376
|
+
}
|
377
|
+
|
378
|
+
// .aside-menu {
|
379
|
+
// margin-right: - $aside-menu-width;
|
380
|
+
// }
|
381
|
+
|
382
|
+
.sidebar-hidden {
|
383
|
+
.sidebar {
|
384
|
+
margin-left: - $mobile-sidebar-width;
|
385
|
+
}
|
386
|
+
}
|
387
|
+
|
388
|
+
.sidebar-mobile-show {
|
389
|
+
.sidebar {
|
390
|
+
width: $mobile-sidebar-width;
|
391
|
+
margin-left: 0;
|
392
|
+
}
|
393
|
+
|
394
|
+
.main {
|
395
|
+
margin-right: - $mobile-sidebar-width !important;
|
396
|
+
margin-left: $mobile-sidebar-width !important;
|
397
|
+
}
|
398
|
+
}
|
399
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
// Angular Version
|
2
|
+
// Make clicks pass-through
|
3
|
+
// stylelint-disable
|
4
|
+
#loading-bar,
|
5
|
+
#loading-bar-spinner {
|
6
|
+
-webkit-pointer-events: none;
|
7
|
+
pointer-events: none;
|
8
|
+
-moz-transition: 350ms linear all;
|
9
|
+
-o-transition: 350ms linear all;
|
10
|
+
-webkit-transition: 350ms linear all;
|
11
|
+
transition: 350ms linear all;
|
12
|
+
}
|
13
|
+
|
14
|
+
#loading-bar.ng-enter,
|
15
|
+
#loading-bar.ng-leave.ng-leave-active,
|
16
|
+
#loading-bar-spinner.ng-enter,
|
17
|
+
#loading-bar-spinner.ng-leave.ng-leave-active {
|
18
|
+
opacity: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
#loading-bar.ng-enter.ng-enter-active,
|
22
|
+
#loading-bar.ng-leave,
|
23
|
+
#loading-bar-spinner.ng-enter.ng-enter-active,
|
24
|
+
#loading-bar-spinner.ng-leave {
|
25
|
+
opacity: 1;
|
26
|
+
}
|
27
|
+
|
28
|
+
#loading-bar .bar {
|
29
|
+
position: fixed;
|
30
|
+
top: 0;
|
31
|
+
left: 0;
|
32
|
+
z-index: 20002;
|
33
|
+
width: 100%;
|
34
|
+
height: 2px;
|
35
|
+
background: theme-color("primary");
|
36
|
+
border-top-right-radius: 1px;
|
37
|
+
border-bottom-right-radius: 1px;
|
38
|
+
-moz-transition: width 350ms;
|
39
|
+
-o-transition: width 350ms;
|
40
|
+
-webkit-transition: width 350ms;
|
41
|
+
transition: width 350ms;
|
42
|
+
}
|
43
|
+
|
44
|
+
// Fancy blur effect
|
45
|
+
#loading-bar .peg {
|
46
|
+
position: absolute;
|
47
|
+
top: 0;
|
48
|
+
right: 0;
|
49
|
+
width: 70px;
|
50
|
+
height: 2px;
|
51
|
+
-moz-border-radius: 100%;
|
52
|
+
-webkit-border-radius: 100%;
|
53
|
+
border-radius: 100%;
|
54
|
+
-moz-box-shadow: #29d 1px 0 6px 1px;
|
55
|
+
-ms-box-shadow: #29d 1px 0 6px 1px;
|
56
|
+
-webkit-box-shadow: #29d 1px 0 6px 1px;
|
57
|
+
box-shadow: #29d 1px 0 6px 1px;
|
58
|
+
opacity: .45;
|
59
|
+
}
|
60
|
+
|
61
|
+
#loading-bar-spinner {
|
62
|
+
position: fixed;
|
63
|
+
top: 10px;
|
64
|
+
left: 10px;
|
65
|
+
z-index: 10002;
|
66
|
+
display: block;
|
67
|
+
}
|
68
|
+
|
69
|
+
#loading-bar-spinner .spinner-icon {
|
70
|
+
width: 14px;
|
71
|
+
height: 14px;
|
72
|
+
|
73
|
+
border: solid 2px transparent;
|
74
|
+
border-top-color: #29d;
|
75
|
+
border-left-color: #29d;
|
76
|
+
border-radius: 50%;
|
77
|
+
|
78
|
+
-moz-animation: loading-bar-spinner 400ms linear infinite;
|
79
|
+
-ms-animation: loading-bar-spinner 400ms linear infinite;
|
80
|
+
-o-animation: loading-bar-spinner 400ms linear infinite;
|
81
|
+
-webkit-animation: loading-bar-spinner 400ms linear infinite;
|
82
|
+
animation: loading-bar-spinner 400ms linear infinite;
|
83
|
+
}
|
84
|
+
|
85
|
+
@-webkit-keyframes loading-bar-spinner {
|
86
|
+
0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
|
87
|
+
100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
|
88
|
+
}
|
89
|
+
@-moz-keyframes loading-bar-spinner {
|
90
|
+
0% { -moz-transform: rotate(0deg); transform: rotate(0deg); }
|
91
|
+
100% { -moz-transform: rotate(360deg); transform: rotate(360deg); }
|
92
|
+
}
|
93
|
+
@-o-keyframes loading-bar-spinner {
|
94
|
+
0% { -o-transform: rotate(0deg); transform: rotate(0deg); }
|
95
|
+
100% { -o-transform: rotate(360deg); transform: rotate(360deg); }
|
96
|
+
}
|
97
|
+
@-ms-keyframes loading-bar-spinner {
|
98
|
+
0% { -ms-transform: rotate(0deg); transform: rotate(0deg); }
|
99
|
+
100% { -ms-transform: rotate(360deg); transform: rotate(360deg); }
|
100
|
+
}
|
101
|
+
@keyframes loading-bar-spinner {
|
102
|
+
0% { transform: rotate(0deg); transform: rotate(0deg); }
|
103
|
+
100% { transform: rotate(360deg); transform: rotate(360deg); }
|
104
|
+
}
|
105
|
+
|
106
|
+
//Ajax & Static Version
|
107
|
+
.pace {
|
108
|
+
-webkit-pointer-events: none;
|
109
|
+
pointer-events: none;
|
110
|
+
|
111
|
+
-moz-user-select: none;
|
112
|
+
-webkit-user-select: none;
|
113
|
+
user-select: none;
|
114
|
+
}
|
115
|
+
|
116
|
+
.pace-inactive {
|
117
|
+
display: none;
|
118
|
+
}
|
119
|
+
|
120
|
+
.pace .pace-progress {
|
121
|
+
position: fixed;
|
122
|
+
top: 0;
|
123
|
+
right: 100%;
|
124
|
+
z-index: 2000;
|
125
|
+
width: 100%;
|
126
|
+
height: 2px;
|
127
|
+
background: theme-color("primary");
|
128
|
+
}
|