viniBaxter-desk_front 36.0.0 → 37.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 724e772abbcac08c4077793506716898bfaa514f44a2d213b5299ff7887c1e64
4
- data.tar.gz: 93ce78836b13b440b751abf838f37aca805c36f8b0513811f84cdb37c4bd8c66
3
+ metadata.gz: 4175f23f121280d4918f2e7142ed1838868ee4ed3e55427ac16ca5f7000edd54
4
+ data.tar.gz: 07e6904638a37dd9f2d7c97604cbf1a367718e97befc085aec9f5b85b194c230
5
5
  SHA512:
6
- metadata.gz: 1d9dbededd8d366189108e0a8249da529a9246d8df1f88b4501c2df3b0fad2590a547a41c193a46caf4c9f2b5b3f162f56dfb060c86c7dd34cd835d4afb21f45
7
- data.tar.gz: 28b3fa93d3348ecffe09754f8480b969e58035b36371af4039f4ba52bbdd6502f2a3e0f75bfff4a23bfd3127790a26aa40ddc1921259d88b219c06be0fbac67f
6
+ metadata.gz: ada9610b43bbfb0c1e9f722cf46eba0325a84ad015691b947ec246adc28e5d1a9d3da0dbd84ab6ce5d508822a157cb5b72e88109a5a301e5c72c1b69311faa27
7
+ data.tar.gz: 69820b7e9ef5b0e04fdd969efd768ca11683896d5b589614939697caa146918f9cdeb06396c40b940de3f4120a4a39e3654867e304a0b676a8fa9830a0ed60d1
@@ -1,6 +1,6 @@
1
1
  module ViniBaxter
2
2
  module DeskFront
3
- MAJOR = 36
3
+ MAJOR = 37
4
4
  MINOR = 0
5
5
  TINY = 0
6
6
  # PRE = "alpha"
@@ -0,0 +1,2 @@
1
+ // bootstrap
2
+ @import 'desk_front/bootstrap/bootstrap';
@@ -0,0 +1,2 @@
1
+ // Template core Dashkit but could be what you want
2
+ @import 'desk_front/dashkit/dashkit';
@@ -0,0 +1,6 @@
1
+ // ViniBaxter
2
+ @import 'desk_front/v2lrf-dashboard/index';
3
+
4
+ // some exteranals components
5
+ @import 'desk_front/landing/landing';
6
+ @import 'desk_front/v2lrf-dashboard/new_nav';
@@ -1,12 +1,5 @@
1
- // bootstrap
2
- @import 'desk_front/bootstrap/bootstrap';
1
+ @import 'desk_front-boostrap';
3
2
 
4
- // becky ViniBaxter
5
- @import 'desk_front/v2lrf-dashboard/index';
3
+ @import 'desk_front-v2lrf-dashboard';
6
4
 
7
- // Template core Dashkit but could be what you want
8
- @import 'desk_front/dashkit/dashkit';
9
-
10
- // some exteranals components
11
- @import 'desk_front/landing/landing';
12
- @import 'desk_front/v2lrf-dashboard/new_nav';
5
+ @import 'desk_front-template';
@@ -13,7 +13,6 @@
13
13
  @import 'jumbotron';
14
14
  @import 'list-group';
15
15
  @import 'nav';
16
- // @import 'navbar';
17
16
  @import 'popover';
18
17
  @import 'progress';
19
18
  @import 'reboot';
@@ -0,0 +1,3 @@
1
+ @mixin transparency-color($color, $transparency) {
2
+ color: rgba($color, $transparency);
3
+ }
@@ -529,6 +529,12 @@
529
529
  background-color: $nft-white;
530
530
 
531
531
  @include media-breakpoint-up(xl) {
532
+ &.no-shadow {}
533
+
534
+ min-height: $max-heigh-value-1NTF;
535
+ z-index: 200;
536
+ padding: 20px;
537
+
532
538
  &.inser-shadow {
533
539
  position: sticky !important;
534
540
  top: 100px !important;
@@ -538,7 +544,7 @@
538
544
  border-right: 0px;
539
545
  transition: all 0.3s linear;
540
546
  border-radius: $border-radius-1NTF;
541
- padding: 20px;
547
+ padding: 0px !important;
542
548
 
543
549
  .table-striped tbody tr:nth-of-type(even) {
544
550
  background-color: #fbfbfb00 !important;
@@ -566,13 +572,13 @@
566
572
 
567
573
  &.ouset-shadow {
568
574
  position: relative;
569
- z-index: 1041 !important;
575
+ z-index: 1135 !important;
570
576
  box-shadow: $box-outset-shadow-1NTF;
571
577
  border: 3px solid white;
572
578
  border-right: 0px;
573
579
  transition: all 0.3s linear;
574
580
  border-radius: $border-radius-1NTF;
575
- padding: 20px;
581
+ padding: 0px !important;
576
582
 
577
583
  @if $max-heigh-1NTF {
578
584
  height: $max-heigh-value-1NTF;
@@ -586,10 +592,6 @@
586
592
  }
587
593
  }
588
594
 
589
- &.no-shadow {}
590
-
591
- min-height: $max-heigh-value-1NTF;
592
- z-index: 200;
593
595
 
594
596
 
595
597
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: viniBaxter-desk_front
3
3
  version: !ruby/object:Gem::Version
4
- version: 36.0.0
4
+ version: 37.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - viny baxter
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-11 00:00:00.000000000 Z
11
+ date: 2021-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -83,6 +83,9 @@ files:
83
83
  - lib/viniBaxter/desk_front/engine.rb
84
84
  - lib/viniBaxter/desk_front/version.rb
85
85
  - lib/viniBaxter/sass/.DS_Store
86
+ - lib/viniBaxter/sass/desk_front-boostrap.scss
87
+ - lib/viniBaxter/sass/desk_front-template.scss
88
+ - lib/viniBaxter/sass/desk_front-v2lrf-dashboard.scss
86
89
  - lib/viniBaxter/sass/desk_front.scss
87
90
  - lib/viniBaxter/sass/desk_front/.DS_Store
88
91
  - lib/viniBaxter/sass/desk_front/bootstrap/_alert.scss
@@ -195,7 +198,6 @@ files:
195
198
  - lib/viniBaxter/sass/desk_front/dashkit/_main-content.scss
196
199
  - lib/viniBaxter/sass/desk_front/dashkit/_mixins.scss
197
200
  - lib/viniBaxter/sass/desk_front/dashkit/_nav.scss
198
- - lib/viniBaxter/sass/desk_front/dashkit/_navbar.scss
199
201
  - lib/viniBaxter/sass/desk_front/dashkit/_popover.scss
200
202
  - lib/viniBaxter/sass/desk_front/dashkit/_progress.scss
201
203
  - lib/viniBaxter/sass/desk_front/dashkit/_reboot.scss
@@ -204,7 +206,6 @@ files:
204
206
  - lib/viniBaxter/sass/desk_front/dashkit/_toasts.scss
205
207
  - lib/viniBaxter/sass/desk_front/dashkit/_type.scss
206
208
  - lib/viniBaxter/sass/desk_front/dashkit/_utilities.scss
207
- - lib/viniBaxter/sass/desk_front/dashkit/_variables.scss
208
209
  - lib/viniBaxter/sass/desk_front/dashkit/_vendors.scss
209
210
  - lib/viniBaxter/sass/desk_front/dashkit/dark/_overrides-dark.scss
210
211
  - lib/viniBaxter/sass/desk_front/dashkit/dark/_variables-dark.scss
@@ -325,6 +326,7 @@ files:
325
326
  - lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_opacity.scss
326
327
  - lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_page-header.scss
327
328
  - lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_popovers.scss
329
+ - lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_transparency.scss
328
330
  - lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_vendor-prefixes.scss
329
331
  - lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_wizard.scss
330
332
  - lib/viniBaxter/sass/desk_front/v2lrf-dashboard/new_nav/_dropdown.scss
@@ -1,692 +0,0 @@
1
- //
2
- // navbar.scss
3
- // Extended from Bootstrap
4
- //
5
-
6
- //
7
- // Bootstrap Overrides =======================
8
- //
9
-
10
- .navbar {
11
- border-width: 0 0 $border-width 0;
12
- border-style: solid;
13
- }
14
-
15
- // Navbar dark
16
-
17
- .navbar-dark {
18
- background-color: $navbar-dark-bg;
19
- border-color: $navbar-dark-border-color;
20
- }
21
-
22
- .navbar-dark .navbar-heading {
23
- color: $navbar-dark-heading-color;
24
- }
25
-
26
- .navbar-dark .navbar-divider {
27
- border-color: $navbar-dark-divider-color;
28
- }
29
-
30
- .navbar-dark .navbar-user {
31
- border-top-color: $navbar-dark-divider-color;
32
- }
33
-
34
- .navbar-dark .navbar-user-link {
35
- color: $navbar-dark-color;
36
-
37
- @include hover-focus {
38
- color: $navbar-dark-hover-color;
39
- }
40
- }
41
-
42
- .navbar-dark .navbar-brand {
43
- filter: $navbar-dark-brand-filter;
44
- }
45
-
46
- .navbar-dark .navbar-collapse::before {
47
- border-top-color: $navbar-dark-divider-color;
48
- }
49
-
50
- .navbar-dark.navbar-expand {
51
- @each $breakpoint, $value in $grid-breakpoints {
52
- $prev: breakpoint-prev($breakpoint, $grid-breakpoints);
53
-
54
- &-#{$breakpoint} {
55
- @include media-breakpoint-down(#{$prev}) {
56
- .navbar-nav .dropdown-item {
57
- color: $navbar-dark-color;
58
-
59
- @include hover-focus {
60
- color: $navbar-dark-hover-color;
61
- }
62
- }
63
-
64
- .navbar-nav .show > .nav-link,
65
- .navbar-nav .dropdown-item.active,
66
- .navbar-nav .dropdown-item:active {
67
- color: $navbar-dark-active-color;
68
- }
69
- }
70
- }
71
- }
72
- }
73
-
74
- // Navbar vibrant
75
-
76
- .navbar-dark.navbar-vibrant {
77
- background-image: linear-gradient(
78
- to bottom right,
79
- fade-out(#454545, 0.1),
80
- fade-out(#454545, 0.1)
81
- ),
82
- url(image-path('desk_front/sidebar-cover.jpg'));
83
- background-repeat: no-repeat, no-repeat;
84
- background-position: center center, center center;
85
- background-size: cover, cover;
86
- background-origin: border-box;
87
- border-color: $navbar-vibrant-border-color;
88
-
89
- @include media-breakpoint-down(sm) {
90
- background-attachment: fixed, fixed;
91
- }
92
- }
93
-
94
- .navbar-dark.navbar-vibrant .nav-link {
95
- color: $navbar-vibrant-color;
96
-
97
- @include hover-focus {
98
- color: $navbar-vibrant-hover-color;
99
- }
100
- }
101
-
102
- .navbar-dark.navbar-vibrant .nav-item.active .nav-link,
103
- .navbar-dark.navbar-vibrant .nav-item .nav-link.active {
104
- color: $navbar-vibrant-active-color;
105
- }
106
-
107
- .navbar-dark.navbar-vibrant .navbar-heading {
108
- color: $navbar-vibrant-heading-color;
109
- }
110
-
111
- .navbar-dark.navbar-vibrant .navbar-divider {
112
- border-color: $navbar-vibrant-divider-color;
113
- }
114
-
115
- .navbar-dark.navbar-vibrant .navbar-user {
116
- border-top-color: $navbar-vibrant-divider-color;
117
- }
118
-
119
- .navbar-dark.navbar-vibrant .navbar-user-link {
120
- color: $navbar-vibrant-color;
121
-
122
- @include hover-focus {
123
- color: $navbar-vibrant-hover-color;
124
- }
125
- }
126
-
127
- .navbar-dark.navbar-vibrant .navbar-brand {
128
- filter: $navbar-vibrant-brand-filter;
129
- }
130
-
131
- .navbar-dark.navbar-vibrant .navbar-collapse::before {
132
- border-top-color: $navbar-vibrant-divider-color;
133
- }
134
-
135
- .navbar-dark.navbar-vibrant .navbar-nav .nav-link.active::before {
136
- border-color: $white;
137
- }
138
-
139
- .navbar-dark.navbar-vibrant.navbar-expand {
140
- @each $breakpoint, $value in $grid-breakpoints {
141
- $prev: breakpoint-prev($breakpoint, $grid-breakpoints);
142
-
143
- &-#{$breakpoint} {
144
- @include media-breakpoint-down(#{$prev}) {
145
- .navbar-nav .dropdown-item {
146
- color: $navbar-vibrant-color;
147
-
148
- @include hover-focus {
149
- color: $navbar-vibrant-hover-color;
150
- }
151
- }
152
-
153
- .navbar-nav .show > .nav-link,
154
- .navbar-nav .dropdown-item.active,
155
- .navbar-nav .dropdown-item:active {
156
- color: $navbar-vibrant-active-color;
157
- }
158
- }
159
- }
160
- }
161
- }
162
-
163
- .navbar-dark.navbar-vibrant .navbar-toggler-icon {
164
- background-image: $navbar-vibrant-toggler-icon-bg;
165
- }
166
-
167
- // Navbar light
168
-
169
- .navbar-light {
170
- background-color: $navbar-light-bg;
171
- border-color: $navbar-light-border-color;
172
- }
173
-
174
- .navbar-light .navbar-heading {
175
- color: $navbar-light-heading-color;
176
- }
177
-
178
- .navbar-light .navbar-divider {
179
- border-color: $navbar-light-divider-color;
180
- }
181
-
182
- .navbar-light .navbar-user {
183
- border-top-color: $navbar-light-divider-color;
184
- }
185
-
186
- .navbar-light .navbar-user-link {
187
- color: $navbar-light-color;
188
-
189
- @include hover-focus {
190
- color: $navbar-light-hover-color;
191
- }
192
- }
193
-
194
- .navbar-light .navbar-brand {
195
- filter: $navbar-light-brand-filter;
196
- }
197
-
198
- .navbar-light .navbar-collapse::before {
199
- border-top-color: $navbar-light-divider-color;
200
- }
201
-
202
- // Navbar brand
203
-
204
- .navbar-brand {
205
- margin-right: 0;
206
- }
207
-
208
- .navbar-brand-img,
209
- .navbar-brand > img {
210
- max-width: 100%;
211
- max-height: 1.5rem;
212
- }
213
-
214
- // Navbar collapse
215
-
216
- .navbar-collapse {
217
- margin-left: -$navbar-padding-x;
218
- margin-right: -$navbar-padding-x;
219
- padding-left: $navbar-padding-x;
220
- padding-right: $navbar-padding-x;
221
-
222
- // Spacer to replace margin / padding as those
223
- // cause .navbar-collapse to "jump" when collapsing
224
- &:before {
225
- content: '';
226
- display: block;
227
- border-top-width: $border-width;
228
- border-top-style: solid;
229
- margin: $navbar-padding-y (-$navbar-padding-x);
230
- }
231
- }
232
-
233
- // Navbar navigaton
234
-
235
- .navbar-nav {
236
- margin-left: -$navbar-padding-x;
237
- margin-right: -$navbar-padding-x;
238
- }
239
-
240
- .navbar-nav .nav-link {
241
- padding-left: $navbar-padding-x;
242
- padding-right: $navbar-padding-x;
243
-
244
- &.active {
245
- position: relative;
246
-
247
- &:before {
248
- content: '';
249
- position: absolute;
250
- left: 0;
251
- top: $nav-link-padding-y;
252
- bottom: $nav-link-padding-y;
253
- border-left: 2px solid $primary;
254
- }
255
- }
256
- }
257
-
258
- // Navbar icons
259
-
260
- .navbar-nav .nav-link > .fe {
261
- min-width: $navbar-icon-min-width;
262
- padding-bottom: 0.125em;
263
- font-size: $font-size-lg;
264
- line-height: ($font-size-base * $line-height-base);
265
- }
266
-
267
- // Navbar dropdowns
268
-
269
- .navbar-nav .dropdown-menu {
270
- border: none;
271
- }
272
-
273
- .navbar-nav .dropdown-menu .dropdown-menu {
274
- margin-left: $dropdown-item-padding-x / 2;
275
- }
276
-
277
- .navbar-expand {
278
- @each $breakpoint, $value in $grid-breakpoints {
279
- $prev: breakpoint-prev($breakpoint, $grid-breakpoints);
280
-
281
- &-#{$breakpoint} {
282
- @include media-breakpoint-down(#{$prev}) {
283
- .navbar-nav .dropdown-menu {
284
- background-color: transparent;
285
- }
286
- }
287
- }
288
- }
289
- }
290
-
291
- // Expanded
292
- //
293
- // Expanded navbar specific styles
294
-
295
- .navbar-expand {
296
- @each $breakpoint, $value in $grid-breakpoints {
297
- &-#{$breakpoint} {
298
- @include media-breakpoint-up(#{$breakpoint}) {
299
- padding-left: 0;
300
- padding-right: 0;
301
-
302
- > [class*='container'] {
303
- padding-left: 0;
304
- padding-right: 0;
305
- }
306
-
307
- .navbar-collapse {
308
- flex-grow: inherit;
309
-
310
- &:before {
311
- display: none;
312
- }
313
- }
314
-
315
- .navbar-nav {
316
- margin-left: 0;
317
- margin-right: 0;
318
- }
319
-
320
- .navbar-nav .nav-link {
321
- // Increase $nav-link-padding-y value to align the underline
322
- // with the bottom of the navbar
323
- padding: 0.625rem $navbar-nav-link-padding-x;
324
-
325
- &.active {
326
- position: relative;
327
-
328
- &:before {
329
- top: auto;
330
- bottom: calc(-#{$navbar-padding-y} - #{$border-width});
331
- right: $navbar-nav-link-padding-x;
332
- left: $navbar-nav-link-padding-x;
333
- border-left: 0;
334
- border-bottom: 1px solid $primary;
335
- }
336
- }
337
- }
338
-
339
- // Toggle dropdown on hover
340
- @if ($navbar-dropdown-toggle-on-hover) {
341
- .dropup,
342
- .dropright,
343
- .dropdown,
344
- .dropleft {
345
- @include hover {
346
- > .dropdown-menu {
347
- display: block;
348
- }
349
- }
350
- }
351
- }
352
-
353
- .navbar-nav .dropdown-menu,
354
- .navbar-nav > .dropdown-menu.show {
355
- border: $dropdown-border-width solid $dropdown-border-color;
356
- border-radius: $dropdown-border-radius;
357
- box-shadow: unset !important;
358
- }
359
-
360
- .navbar-nav .dropdown-menu .dropdown-menu {
361
- margin-left: 0;
362
- }
363
- }
364
- }
365
- }
366
- }
367
-
368
- //
369
- // Dashkit ===================================
370
- //
371
-
372
- // Navbar fixed
373
- //
374
- // Adds special zindex to custom fixed-left and fixed-right classes
375
-
376
- .navbar[class*='fixed-'] {
377
- z-index: $zindex-fixed;
378
- }
379
-
380
- // Navbar overflow
381
- //
382
- // Allows the navbar navigation overflow its parent container
383
- // horizontally
384
-
385
- .navbar-overflow {
386
- display: flex;
387
- flex-grow: 1;
388
- flex-basis: 0;
389
- margin-bottom: -$navbar-padding-y;
390
- overflow-x: auto;
391
-
392
- // Hide scrollbar
393
- &::-webkit-scrollbar {
394
- display: none;
395
- }
396
- }
397
-
398
- .navbar-overflow .navbar-nav {
399
- flex-direction: row;
400
- flex-wrap: nowrap;
401
- margin-left: -$navbar-nav-link-padding-x;
402
- margin-right: -$navbar-nav-link-padding-x;
403
- }
404
-
405
- .navbar-overflow .navbar-nav .nav-link {
406
- padding-bottom: ($nav-link-padding-y + $navbar-padding-y);
407
-
408
- &.active {
409
- &:before {
410
- bottom: 0;
411
- }
412
- }
413
- }
414
-
415
- // Navbar breadcrumb
416
- //
417
- // Applies special paddings to the navbar breadcrumb
418
-
419
- .navbar-breadcrumb {
420
- padding: $navbar-breadcrumb-padding-y $navbar-breadcrumb-padding-x;
421
- }
422
-
423
- // Navbar user
424
- //
425
- // Navbar user notification area
426
-
427
- .navbar-user {
428
- display: flex;
429
- flex-direction: row;
430
- align-items: center;
431
- justify-content: space-around;
432
- }
433
-
434
- .navbar-user .dropdown-toggle {
435
- // Remove the default dropdown arrow
436
- &:after {
437
- display: none;
438
- }
439
- }
440
-
441
- // Navbar link icon
442
-
443
- .navbar-nav .nav-link > .fe {
444
- display: inline-block;
445
- min-width: $navbar-icon-min-width;
446
- }
447
-
448
- // Vertical
449
- //
450
- // Creates a vertically aligned version of the navbar
451
-
452
- .navbar-vertical {
453
- .navbar-nav .nav-link {
454
- display: flex;
455
- align-items: center;
456
- }
457
-
458
- .navbar-nav .nav-link[data-toggle='collapse'] {
459
- &:after {
460
- display: block;
461
- content: '\e92e';
462
- font-family: 'Feather';
463
- margin-left: auto;
464
- transition: transform 0.2s;
465
- }
466
-
467
- // Expanded
468
- &[aria-expanded='true'] {
469
- &:after {
470
- transform: rotate(-180deg);
471
- }
472
- }
473
- }
474
-
475
- .navbar-nav .nav .nav-link {
476
- padding-left: $navbar-padding-x + $navbar-icon-min-width;
477
- }
478
-
479
- .navbar-nav .nav .nav .nav-link {
480
- padding-left: $navbar-padding-x * 1.5 + $navbar-icon-min-width;
481
- }
482
-
483
- .navbar-nav .nav .nav .nav .nav-link {
484
- padding-left: $navbar-padding-x * 2 + $navbar-icon-min-width;
485
- }
486
-
487
- .navbar-heading {
488
- padding-top: $nav-link-padding-y;
489
- padding-bottom: $nav-link-padding-y;
490
- font-size: $font-size-xs;
491
- text-transform: uppercase;
492
- letter-spacing: 0.04em;
493
- }
494
-
495
- // Expanded
496
- //
497
- // Expanded navbar specific styles
498
-
499
- &.navbar-expand {
500
- @each $breakpoint, $value in $grid-breakpoints {
501
- &-#{$breakpoint} {
502
- @include media-breakpoint-up(#{$breakpoint}) {
503
- display: block;
504
- position: fixed;
505
- top: 0;
506
- bottom: 0;
507
- width: 100%;
508
- max-width: $navbar-vertical-width;
509
- padding-left: $navbar-vertical-padding-x;
510
- padding-right: $navbar-vertical-padding-x;
511
- overflow-y: auto;
512
-
513
- > [class*='container'] {
514
- flex-direction: column;
515
- align-items: stretch;
516
- min-height: 100%;
517
- padding-left: 0;
518
- padding-right: 0;
519
-
520
- // Target IE 10 & 11
521
- @media all and (-ms-high-contrast: none),
522
- (-ms-high-contrast: active) {
523
- min-height: none;
524
- height: 100%;
525
- }
526
- }
527
-
528
- &.fixed-left {
529
- left: 0;
530
- border-width: 0 1px 0 0;
531
- }
532
-
533
- &.fixed-right {
534
- right: 0;
535
- border-width: 0 0 0 1px;
536
- }
537
-
538
- .navbar-collapse {
539
- flex: 1;
540
- display: flex;
541
- flex-direction: column;
542
- align-items: stretch;
543
- margin-left: -$navbar-vertical-padding-x;
544
- margin-right: -$navbar-vertical-padding-x;
545
- padding-left: $navbar-vertical-padding-x;
546
- padding-right: $navbar-vertical-padding-x;
547
-
548
- > * {
549
- min-width: 100%;
550
- }
551
- }
552
-
553
- .navbar-nav {
554
- flex-direction: column;
555
- margin-left: -$navbar-vertical-padding-x;
556
- margin-right: -$navbar-vertical-padding-x;
557
- }
558
-
559
- .navbar-nav .nav-link {
560
- padding: $nav-link-padding-y $navbar-vertical-padding-x;
561
-
562
- &.active {
563
- &:before {
564
- top: $nav-link-padding-y;
565
- bottom: $nav-link-padding-y;
566
- left: 0;
567
- right: auto;
568
- border-left: 4px solid $primary;
569
- border-bottom: 0;
570
- }
571
- }
572
- }
573
-
574
- .navbar-nav .nav .nav-link {
575
- padding-left: $navbar-vertical-padding-x + $navbar-icon-min-width;
576
- }
577
-
578
- .navbar-nav .nav .nav .nav-link {
579
- padding-left: $navbar-vertical-padding-x * 1.5 +
580
- $navbar-icon-min-width;
581
- }
582
-
583
- .navbar-nav .nav .nav .nav .nav-link {
584
- padding-left: $navbar-vertical-padding-x * 2 +
585
- $navbar-icon-min-width;
586
- }
587
-
588
- .navbar-brand {
589
- display: block;
590
- text-align: center;
591
- padding-top: (2rem - $navbar-padding-y);
592
- padding-bottom: (2rem - $navbar-padding-y);
593
- }
594
-
595
- .navbar-brand-img {
596
- max-height: 3rem;
597
- }
598
-
599
- .navbar-user {
600
- margin-left: -$navbar-vertical-padding-x;
601
- margin-right: -$navbar-vertical-padding-x;
602
- padding-top: $spacer;
603
- padding-bottom: $spacer - $navbar-padding-y;
604
- padding-left: $navbar-vertical-padding-x;
605
- padding-right: $navbar-vertical-padding-x;
606
- border-top-width: 1px;
607
- border-top-style: solid;
608
-
609
- .dropup .dropdown-menu {
610
- left: 50%;
611
- transform: translateX(-50%);
612
- }
613
- }
614
- }
615
- }
616
- }
617
- }
618
- }
619
-
620
- // Vertical small
621
- //
622
- // Creates a small vertion of the vertical navbar
623
-
624
- .navbar-vertical-sm {
625
- // Expanded
626
- //
627
- // Expanded navbar specific styles
628
-
629
- &.navbar-expand {
630
- @each $breakpoint, $value in $grid-breakpoints {
631
- &-#{$breakpoint} {
632
- @include media-breakpoint-up(#{$breakpoint}) {
633
- max-width: $navbar-vertical-width-sm;
634
- padding-left: $navbar-vertical-padding-x-sm;
635
- padding-right: $navbar-vertical-padding-x-sm;
636
- overflow: visible;
637
-
638
- .navbar-brand {
639
- padding-top: (
640
- $nav-link-padding-y * 2 + $font-size-base * $line-height-base
641
- ) / 2 - $navbar-padding-y;
642
- padding-bottom: (
643
- $nav-link-padding-y * 2 + $font-size-base * $line-height-base
644
- ) / 2;
645
- }
646
-
647
- .navbar-brand-img {
648
- width: auto;
649
- max-height: 1.5rem;
650
- }
651
-
652
- .navbar-collapse {
653
- margin-left: -$navbar-vertical-padding-x-sm;
654
- margin-right: -$navbar-vertical-padding-x-sm;
655
- padding-left: $navbar-vertical-padding-x-sm;
656
- padding-right: $navbar-vertical-padding-x-sm;
657
- }
658
-
659
- .navbar-nav {
660
- margin-left: -$navbar-vertical-padding-x-sm;
661
- margin-right: -$navbar-vertical-padding-x-sm;
662
- }
663
-
664
- .navbar-nav > .nav-item > .nav-link {
665
- justify-content: center;
666
- padding-left: $navbar-vertical-padding-x-sm;
667
- padding-right: $navbar-vertical-padding-x-sm;
668
- text-align: center;
669
- }
670
-
671
- .navbar-nav > .nav-item > .dropdown-toggle {
672
- &::after {
673
- display: none;
674
- }
675
- }
676
-
677
- .navbar-user {
678
- margin-left: -$navbar-vertical-padding-x-sm;
679
- margin-right: -$navbar-vertical-padding-x-sm;
680
- padding-left: $navbar-vertical-padding-x-sm;
681
- padding-right: $navbar-vertical-padding-x-sm;
682
- }
683
-
684
- .navbar-user .dropright .dropdown-menu {
685
- top: auto;
686
- bottom: 0;
687
- }
688
- }
689
- }
690
- }
691
- }
692
- }