viniBaxter-desk_front 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +35 -0
- data/README.md +39 -0
- data/Rakefile +6 -0
- data/app/assets/images/desk_front/.DS_Store +0 -0
- data/app/assets/images/desk_front/avatar-group-hover-last.svg +9 -0
- data/app/assets/images/desk_front/avatar-group-hover.svg +10 -0
- data/app/assets/images/desk_front/avatar-group.svg +9 -0
- data/app/assets/images/desk_front/avatar-status.svg +9 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/image_setUP.md +5 -0
- data/lib/viniBaxter/.DS_Store +0 -0
- data/lib/viniBaxter/desk_front/.DS_Store +0 -0
- data/lib/viniBaxter/desk_front/engine.rb +17 -0
- data/lib/viniBaxter/desk_front/version.rb +5 -0
- data/lib/viniBaxter/desk_front.rb +8 -0
- data/lib/viniBaxter/sass/.DS_Store +0 -0
- data/lib/viniBaxter/sass/desk_front/.DS_Store +0 -0
- data/lib/viniBaxter/sass/desk_front/_user-variables.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/_user.scss +4 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_forms.scss +107 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_layout.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_lists.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_tables.scss +55 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_typography.scss +45 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_app-container.scss +9 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_attributes.scss +26 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_buttons.scss +51 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_cells.scss +47 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_field-unit.scss +45 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_flashes.scss +28 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_form-actions.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_main-content.scss +29 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_navigation.scss +32 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_pagination.scss +18 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_search.scss +46 -0
- data/lib/viniBaxter/sass/desk_front/administrate/desk_front/.DS_Store +0 -0
- data/lib/viniBaxter/sass/desk_front/administrate/index.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/administrate/library/_clearfix.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/administrate/library/_data-label.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/administrate/library/_variables.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/administrate/reset/_normalize.scss +447 -0
- data/lib/viniBaxter/sass/desk_front/administrate/utilities/_text-color.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_alert.scss +51 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_badge.scss +54 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_breadcrumb.scss +42 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_button-group.scss +163 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_buttons.scss +139 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_card.scss +278 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_carousel.scss +197 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_close.scss +41 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_code.scss +48 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_custom-forms.scss +521 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_dropdown.scss +191 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_forms.scss +338 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_functions.scss +134 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_grid.scss +69 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_images.scss +42 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_input-group.scss +191 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_jumbotron.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_list-group.scss +158 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_media.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_mixins.scss +47 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_modal.scss +239 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_nav.scss +120 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_navbar.scss +324 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_pagination.scss +73 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_popover.scss +170 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_print.scss +141 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_progress.scss +46 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_reboot.scss +482 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_root.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_spinners.scss +55 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tables.scss +185 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_toasts.scss +44 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tooltip.scss +115 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_transitions.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_type.scss +125 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_utilities.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_variables.scss +1143 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-grid.scss +29 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-reboot.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap.scss +44 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_alert.scss +13 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_background-variant.scss +22 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_badge.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_border-radius.scss +63 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_box-shadow.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_breakpoints.scss +123 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_buttons.scss +110 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_caret.scss +62 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_clearfix.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_deprecate.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_float.scss +14 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_forms.scss +177 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_gradients.scss +45 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid-framework.scss +71 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid.scss +69 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_hover.scss +37 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_image.scss +36 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_list-group.scss +21 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_lists.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_nav-divider.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_pagination.scss +22 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_reset-text.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_resize.scss +6 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_screen-reader.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_size.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_table-row.scss +39 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-emphasis.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-hide.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-truncate.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_transition.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_visibility.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_align.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_background.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_borders.scss +75 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_clearfix.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_display.scss +26 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_embed.scss +39 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_flex.scss +51 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_float.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_overflow.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_position.scss +32 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_screenreaders.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_shadows.scss +6 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_sizing.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_spacing.scss +73 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_stretched-link.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_text.scss +72 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_visibility.scss +13 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/vendor/_rfs.scss +204 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_alert.scss +28 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_avatar.scss +197 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_badge.scss +28 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_breadcrumb.scss +55 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss +68 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_card.scss +298 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_chart.scss +79 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_checklist.scss +36 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_close.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_code.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_comment.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_custom-forms.scss +37 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_dashkit.scss +38 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_dropdowns.scss +124 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_forms.scss +272 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_header.scss +58 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_icon.scss +54 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_jumbotron.scss +15 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_kanban.scss +68 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_list-group.scss +53 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_main-content.scss +70 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_mixins.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_modal.scss +101 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_nav.scss +112 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_navbar.scss +722 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_popover.scss +101 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_progress.scss +27 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_reboot.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_root.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_tables.scss +76 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_toasts.scss +4 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_type.scss +115 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_utilities.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_variables.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_vendors.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/dark/_overrides-dark.scss +60 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/dark/_variables-dark.scss +219 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/mixins/_badge.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/mixins/_breakpoints.scss +9 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_background.scss +80 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_borders.scss +48 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_lift.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_sizing.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_type.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_dropzone.scss +75 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_flatpickr.scss +69 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_list.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_quill.scss +283 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_select2.scss +128 -0
- data/lib/viniBaxter/sass/desk_front/theme-dark.scss +30 -0
- data/lib/viniBaxter/sass/desk_front/theme.scss +24 -0
- data/lib/viniBaxter/sass/desk_front.scss +23 -0
- data/viniBaxter-desk_front.gemspec +33 -0
- metadata +275 -0
@@ -0,0 +1,722 @@
|
|
1
|
+
//
|
2
|
+
// navbar.scss
|
3
|
+
// Extended from Bootstrap
|
4
|
+
//
|
5
|
+
|
6
|
+
|
7
|
+
//
|
8
|
+
// Bootstrap Overrides =======================
|
9
|
+
//
|
10
|
+
|
11
|
+
.navbar {
|
12
|
+
border-width: 0 0 $border-width 0;
|
13
|
+
border-style: solid;
|
14
|
+
}
|
15
|
+
|
16
|
+
|
17
|
+
// Navbar dark
|
18
|
+
|
19
|
+
.navbar-dark {
|
20
|
+
background-color: $navbar-dark-bg;
|
21
|
+
border-color: $navbar-dark-border-color;
|
22
|
+
}
|
23
|
+
|
24
|
+
.navbar-dark .navbar-heading {
|
25
|
+
color: $navbar-dark-heading-color;
|
26
|
+
}
|
27
|
+
|
28
|
+
.navbar-dark .navbar-divider {
|
29
|
+
border-color: $navbar-dark-divider-color;
|
30
|
+
}
|
31
|
+
|
32
|
+
.navbar-dark .navbar-user {
|
33
|
+
border-top-color: $navbar-dark-divider-color;
|
34
|
+
}
|
35
|
+
|
36
|
+
.navbar-dark .navbar-user-link {
|
37
|
+
color: $navbar-dark-color;
|
38
|
+
|
39
|
+
@include hover-focus {
|
40
|
+
color: $navbar-dark-hover-color;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.navbar-dark .navbar-brand {
|
45
|
+
filter: $navbar-dark-brand-filter;
|
46
|
+
}
|
47
|
+
|
48
|
+
.navbar-dark .navbar-collapse::before {
|
49
|
+
border-top-color: $navbar-dark-divider-color;
|
50
|
+
}
|
51
|
+
|
52
|
+
.navbar-dark.navbar-expand {
|
53
|
+
|
54
|
+
@each $breakpoint, $value in $grid-breakpoints {
|
55
|
+
$prev: breakpoint-prev($breakpoint, $grid-breakpoints);
|
56
|
+
|
57
|
+
&-#{$breakpoint} {
|
58
|
+
|
59
|
+
@include media-breakpoint-down(#{$prev}) {
|
60
|
+
|
61
|
+
.navbar-nav .dropdown-item {
|
62
|
+
color: $navbar-dark-color;
|
63
|
+
|
64
|
+
@include hover-focus {
|
65
|
+
color: $navbar-dark-hover-color;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
.navbar-nav .show > .nav-link,
|
70
|
+
.navbar-nav .dropdown-item.active,
|
71
|
+
.navbar-nav .dropdown-item:active {
|
72
|
+
color: $navbar-dark-active-color;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
// Navbar vibrant
|
81
|
+
|
82
|
+
.navbar-dark.navbar-vibrant {
|
83
|
+
background-image: linear-gradient(to bottom right, fade-out(#126FEB, .1), fade-out(#7203E1, .1)), url(#{$path-to-img}/covers/sidebar-cover.jpg);
|
84
|
+
background-repeat: no-repeat, no-repeat;
|
85
|
+
background-position: center center, center center;
|
86
|
+
background-size: cover, cover;
|
87
|
+
background-origin: border-box;
|
88
|
+
border-color: $navbar-vibrant-border-color;
|
89
|
+
|
90
|
+
@include media-breakpoint-down(sm) {
|
91
|
+
background-attachment: fixed, fixed;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.navbar-dark.navbar-vibrant .nav-link {
|
96
|
+
color: $navbar-vibrant-color;
|
97
|
+
|
98
|
+
@include hover-focus {
|
99
|
+
color: $navbar-vibrant-hover-color;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
.navbar-dark.navbar-vibrant .nav-item.active .nav-link,
|
104
|
+
.navbar-dark.navbar-vibrant .nav-item .nav-link.active {
|
105
|
+
color: $navbar-vibrant-active-color;
|
106
|
+
}
|
107
|
+
|
108
|
+
.navbar-dark.navbar-vibrant .navbar-heading {
|
109
|
+
color: $navbar-vibrant-heading-color;
|
110
|
+
}
|
111
|
+
|
112
|
+
.navbar-dark.navbar-vibrant .navbar-divider {
|
113
|
+
border-color: $navbar-vibrant-divider-color;
|
114
|
+
}
|
115
|
+
|
116
|
+
.navbar-dark.navbar-vibrant .navbar-user {
|
117
|
+
border-top-color: $navbar-vibrant-divider-color;
|
118
|
+
}
|
119
|
+
|
120
|
+
.navbar-dark.navbar-vibrant .navbar-user-link {
|
121
|
+
color: $navbar-vibrant-color;
|
122
|
+
|
123
|
+
@include hover-focus {
|
124
|
+
color: $navbar-vibrant-hover-color;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
.navbar-dark.navbar-vibrant .navbar-brand {
|
129
|
+
filter: $navbar-vibrant-brand-filter;
|
130
|
+
}
|
131
|
+
|
132
|
+
.navbar-dark.navbar-vibrant .navbar-collapse::before {
|
133
|
+
border-top-color: $navbar-vibrant-divider-color;
|
134
|
+
}
|
135
|
+
|
136
|
+
.navbar-dark.navbar-vibrant .navbar-nav .nav-link.active::before {
|
137
|
+
border-color: $white;
|
138
|
+
}
|
139
|
+
|
140
|
+
.navbar-dark.navbar-vibrant.navbar-expand {
|
141
|
+
|
142
|
+
@each $breakpoint, $value in $grid-breakpoints {
|
143
|
+
$prev: breakpoint-prev($breakpoint, $grid-breakpoints);
|
144
|
+
|
145
|
+
&-#{$breakpoint} {
|
146
|
+
|
147
|
+
@include media-breakpoint-down(#{$prev}) {
|
148
|
+
|
149
|
+
.navbar-nav .dropdown-item {
|
150
|
+
color: $navbar-vibrant-color;
|
151
|
+
|
152
|
+
@include hover-focus {
|
153
|
+
color: $navbar-vibrant-hover-color;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
.navbar-nav .show > .nav-link,
|
158
|
+
.navbar-nav .dropdown-item.active,
|
159
|
+
.navbar-nav .dropdown-item:active {
|
160
|
+
color: $navbar-vibrant-active-color;
|
161
|
+
}
|
162
|
+
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
.navbar-dark.navbar-vibrant .navbar-toggler-icon {
|
169
|
+
background-image: $navbar-vibrant-toggler-icon-bg;
|
170
|
+
}
|
171
|
+
|
172
|
+
|
173
|
+
// Navbar light
|
174
|
+
|
175
|
+
.navbar-light {
|
176
|
+
background-color: $navbar-light-bg;
|
177
|
+
border-color: $navbar-light-border-color;
|
178
|
+
}
|
179
|
+
|
180
|
+
.navbar-light .navbar-heading {
|
181
|
+
color: $navbar-light-heading-color;
|
182
|
+
}
|
183
|
+
|
184
|
+
.navbar-light .navbar-divider {
|
185
|
+
border-color: $navbar-light-divider-color;
|
186
|
+
}
|
187
|
+
|
188
|
+
.navbar-light .navbar-user {
|
189
|
+
border-top-color: $navbar-light-divider-color;
|
190
|
+
}
|
191
|
+
|
192
|
+
.navbar-light .navbar-user-link {
|
193
|
+
color: $navbar-light-color;
|
194
|
+
|
195
|
+
@include hover-focus {
|
196
|
+
color: $navbar-light-hover-color;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
|
200
|
+
.navbar-light .navbar-brand {
|
201
|
+
filter: $navbar-light-brand-filter;
|
202
|
+
}
|
203
|
+
|
204
|
+
.navbar-light .navbar-collapse::before {
|
205
|
+
border-top-color: $navbar-light-divider-color;
|
206
|
+
}
|
207
|
+
|
208
|
+
|
209
|
+
// Navbar brand
|
210
|
+
|
211
|
+
.navbar-brand {
|
212
|
+
margin-right: 0;
|
213
|
+
}
|
214
|
+
|
215
|
+
.navbar-brand-img,
|
216
|
+
.navbar-brand > img {
|
217
|
+
max-width: 100%;
|
218
|
+
max-height: 1.5rem;
|
219
|
+
}
|
220
|
+
|
221
|
+
|
222
|
+
// Navbar collapse
|
223
|
+
|
224
|
+
.navbar-collapse {
|
225
|
+
margin-left: -$navbar-padding-x;
|
226
|
+
margin-right: -$navbar-padding-x;
|
227
|
+
padding-left: $navbar-padding-x;
|
228
|
+
padding-right: $navbar-padding-x;
|
229
|
+
|
230
|
+
// Spacer to replace margin / padding as those
|
231
|
+
// cause .navbar-collapse to "jump" when collapsing
|
232
|
+
&:before {
|
233
|
+
content: '';
|
234
|
+
display: block;
|
235
|
+
border-top-width: $border-width;
|
236
|
+
border-top-style: solid;
|
237
|
+
margin: $navbar-padding-y (-$navbar-padding-x);
|
238
|
+
}
|
239
|
+
}
|
240
|
+
|
241
|
+
|
242
|
+
// Navbar navigaton
|
243
|
+
|
244
|
+
.navbar-nav {
|
245
|
+
margin-left: -$navbar-padding-x;
|
246
|
+
margin-right: -$navbar-padding-x;
|
247
|
+
}
|
248
|
+
|
249
|
+
.navbar-nav .nav-link {
|
250
|
+
padding-left: $navbar-padding-x;
|
251
|
+
padding-right: $navbar-padding-x;
|
252
|
+
|
253
|
+
&.active {
|
254
|
+
position: relative;
|
255
|
+
|
256
|
+
&:before {
|
257
|
+
content: '';
|
258
|
+
position: absolute;
|
259
|
+
left: 0;
|
260
|
+
top: $nav-link-padding-y;
|
261
|
+
bottom: $nav-link-padding-y;
|
262
|
+
border-left: 2px solid $primary;
|
263
|
+
}
|
264
|
+
}
|
265
|
+
}
|
266
|
+
|
267
|
+
|
268
|
+
// Navbar icons
|
269
|
+
|
270
|
+
.navbar-nav .nav-link > .fe {
|
271
|
+
min-width: $navbar-icon-min-width;
|
272
|
+
padding-bottom: .125em;
|
273
|
+
font-size: $font-size-lg;
|
274
|
+
line-height: ($font-size-base * $line-height-base);
|
275
|
+
}
|
276
|
+
|
277
|
+
|
278
|
+
// Navbar dropdowns
|
279
|
+
|
280
|
+
.navbar-nav .dropdown-menu {
|
281
|
+
border: none;
|
282
|
+
}
|
283
|
+
|
284
|
+
.navbar-nav .dropdown-menu .dropdown-menu {
|
285
|
+
margin-left: $dropdown-item-padding-x / 2;
|
286
|
+
}
|
287
|
+
|
288
|
+
.navbar-expand {
|
289
|
+
|
290
|
+
@each $breakpoint, $value in $grid-breakpoints {
|
291
|
+
$prev: breakpoint-prev($breakpoint, $grid-breakpoints);
|
292
|
+
|
293
|
+
&-#{$breakpoint} {
|
294
|
+
|
295
|
+
@include media-breakpoint-down(#{$prev}) {
|
296
|
+
|
297
|
+
.navbar-nav .dropdown-menu {
|
298
|
+
background-color: transparent;
|
299
|
+
}
|
300
|
+
}
|
301
|
+
}
|
302
|
+
}
|
303
|
+
}
|
304
|
+
|
305
|
+
|
306
|
+
// Expanded
|
307
|
+
//
|
308
|
+
// Expanded navbar specific styles
|
309
|
+
|
310
|
+
.navbar-expand {
|
311
|
+
|
312
|
+
@each $breakpoint, $value in $grid-breakpoints {
|
313
|
+
|
314
|
+
&-#{$breakpoint} {
|
315
|
+
|
316
|
+
@include media-breakpoint-up(#{$breakpoint}) {
|
317
|
+
padding-left: 0;
|
318
|
+
padding-right: 0;
|
319
|
+
|
320
|
+
> [class*="container"] {
|
321
|
+
padding-left: 0;
|
322
|
+
padding-right: 0;
|
323
|
+
}
|
324
|
+
|
325
|
+
.navbar-collapse {
|
326
|
+
flex-grow: inherit;
|
327
|
+
|
328
|
+
&:before {
|
329
|
+
display: none;
|
330
|
+
}
|
331
|
+
}
|
332
|
+
|
333
|
+
.navbar-nav {
|
334
|
+
margin-left: 0;
|
335
|
+
margin-right: 0;
|
336
|
+
}
|
337
|
+
|
338
|
+
.navbar-nav .nav-link {
|
339
|
+
|
340
|
+
// Increase $nav-link-padding-y value to align the underline
|
341
|
+
// with the bottom of the navbar
|
342
|
+
padding: .625rem $navbar-nav-link-padding-x;
|
343
|
+
|
344
|
+
&.active {
|
345
|
+
position: relative;
|
346
|
+
|
347
|
+
&:before {
|
348
|
+
top: auto;
|
349
|
+
bottom: calc(-#{$navbar-padding-y} - #{$border-width});
|
350
|
+
right: $navbar-nav-link-padding-x;
|
351
|
+
left: $navbar-nav-link-padding-x;
|
352
|
+
border-left: 0;
|
353
|
+
border-bottom: 1px solid $primary;
|
354
|
+
}
|
355
|
+
}
|
356
|
+
}
|
357
|
+
|
358
|
+
// Toggle dropdown on hover
|
359
|
+
@if ($navbar-dropdown-toggle-on-hover) {
|
360
|
+
.dropup, .dropright, .dropdown, .dropleft {
|
361
|
+
|
362
|
+
@include hover {
|
363
|
+
|
364
|
+
> .dropdown-menu {
|
365
|
+
display: block;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
}
|
369
|
+
}
|
370
|
+
|
371
|
+
.navbar-nav .dropdown-menu {
|
372
|
+
border: $dropdown-border-width solid $dropdown-border-color;
|
373
|
+
}
|
374
|
+
|
375
|
+
.navbar-nav .dropdown-menu .dropdown-menu {
|
376
|
+
margin-left: 0;
|
377
|
+
}
|
378
|
+
}
|
379
|
+
}
|
380
|
+
}
|
381
|
+
}
|
382
|
+
|
383
|
+
|
384
|
+
//
|
385
|
+
// Dashkit ===================================
|
386
|
+
//
|
387
|
+
|
388
|
+
// Navbar fixed
|
389
|
+
//
|
390
|
+
// Adds special zindex to custom fixed-left and fixed-right classes
|
391
|
+
|
392
|
+
.navbar[class*="fixed-"] {
|
393
|
+
z-index: $zindex-fixed;
|
394
|
+
}
|
395
|
+
|
396
|
+
|
397
|
+
// Navbar overflow
|
398
|
+
//
|
399
|
+
// Allows the navbar navigation overflow its parent container
|
400
|
+
// horizontally
|
401
|
+
|
402
|
+
.navbar-overflow {
|
403
|
+
display: flex;
|
404
|
+
flex-grow: 1;
|
405
|
+
flex-basis: 0;
|
406
|
+
margin-bottom: -$navbar-padding-y;
|
407
|
+
overflow-x: auto;
|
408
|
+
|
409
|
+
// Hide scrollbar
|
410
|
+
&::-webkit-scrollbar {
|
411
|
+
display: none;
|
412
|
+
}
|
413
|
+
}
|
414
|
+
|
415
|
+
.navbar-overflow .navbar-nav {
|
416
|
+
flex-direction: row;
|
417
|
+
flex-wrap: nowrap;
|
418
|
+
margin-left: -$navbar-nav-link-padding-x;
|
419
|
+
margin-right: -$navbar-nav-link-padding-x;
|
420
|
+
}
|
421
|
+
|
422
|
+
.navbar-overflow .navbar-nav .nav-link {
|
423
|
+
padding-bottom: ($nav-link-padding-y + $navbar-padding-y);
|
424
|
+
|
425
|
+
&.active {
|
426
|
+
|
427
|
+
&:before {
|
428
|
+
bottom: 0;
|
429
|
+
}
|
430
|
+
}
|
431
|
+
}
|
432
|
+
|
433
|
+
|
434
|
+
// Navbar breadcrumb
|
435
|
+
//
|
436
|
+
// Applies special paddings to the navbar breadcrumb
|
437
|
+
|
438
|
+
.navbar-breadcrumb {
|
439
|
+
padding: $navbar-breadcrumb-padding-y $navbar-breadcrumb-padding-x;
|
440
|
+
}
|
441
|
+
|
442
|
+
|
443
|
+
// Navbar user
|
444
|
+
//
|
445
|
+
// Navbar user notification area
|
446
|
+
|
447
|
+
.navbar-user {
|
448
|
+
display: flex;
|
449
|
+
flex-direction: row;
|
450
|
+
align-items: center;
|
451
|
+
justify-content: space-around;
|
452
|
+
}
|
453
|
+
|
454
|
+
.navbar-user .dropdown-toggle {
|
455
|
+
|
456
|
+
// Remove the default dropdown arrow
|
457
|
+
&:after {
|
458
|
+
display: none;
|
459
|
+
}
|
460
|
+
}
|
461
|
+
|
462
|
+
|
463
|
+
// Navbar link icon
|
464
|
+
|
465
|
+
.navbar-nav .nav-link > .fe {
|
466
|
+
display: inline-block;
|
467
|
+
min-width: $navbar-icon-min-width;
|
468
|
+
}
|
469
|
+
|
470
|
+
|
471
|
+
// Vertical
|
472
|
+
//
|
473
|
+
// Creates a vertically aligned version of the navbar
|
474
|
+
|
475
|
+
.navbar-vertical {
|
476
|
+
|
477
|
+
.navbar-nav .nav-link {
|
478
|
+
display: flex;
|
479
|
+
align-items: center;
|
480
|
+
}
|
481
|
+
|
482
|
+
.navbar-nav .nav-link[data-toggle="collapse"] {
|
483
|
+
|
484
|
+
&:after {
|
485
|
+
display: block;
|
486
|
+
content: '\e92e';
|
487
|
+
font-family: 'Feather';
|
488
|
+
margin-left: auto;
|
489
|
+
transition: transform .2s;
|
490
|
+
}
|
491
|
+
|
492
|
+
// Expanded
|
493
|
+
&[aria-expanded="true"] {
|
494
|
+
|
495
|
+
&:after {
|
496
|
+
transform: rotate(-180deg);
|
497
|
+
}
|
498
|
+
}
|
499
|
+
}
|
500
|
+
|
501
|
+
.navbar-nav .nav .nav-link {
|
502
|
+
padding-left: $navbar-padding-x + $navbar-icon-min-width;
|
503
|
+
}
|
504
|
+
|
505
|
+
.navbar-nav .nav .nav .nav-link {
|
506
|
+
padding-left: $navbar-padding-x * 1.5 + $navbar-icon-min-width;
|
507
|
+
}
|
508
|
+
|
509
|
+
.navbar-nav .nav .nav .nav .nav-link {
|
510
|
+
padding-left: $navbar-padding-x * 2 + $navbar-icon-min-width;
|
511
|
+
}
|
512
|
+
|
513
|
+
.navbar-heading {
|
514
|
+
padding-top: $nav-link-padding-y;
|
515
|
+
padding-bottom: $nav-link-padding-y;
|
516
|
+
font-size: $font-size-xs;
|
517
|
+
text-transform: uppercase;
|
518
|
+
letter-spacing: .04em;
|
519
|
+
}
|
520
|
+
|
521
|
+
|
522
|
+
// Expanded
|
523
|
+
//
|
524
|
+
// Expanded navbar specific styles
|
525
|
+
|
526
|
+
&.navbar-expand {
|
527
|
+
|
528
|
+
@each $breakpoint, $value in $grid-breakpoints {
|
529
|
+
|
530
|
+
&-#{$breakpoint} {
|
531
|
+
|
532
|
+
@include media-breakpoint-up(#{$breakpoint}) {
|
533
|
+
display: block;
|
534
|
+
position: fixed;
|
535
|
+
top: 0;
|
536
|
+
bottom: 0;
|
537
|
+
width: 100%;
|
538
|
+
max-width: $navbar-vertical-width;
|
539
|
+
padding-left: $navbar-vertical-padding-x;
|
540
|
+
padding-right: $navbar-vertical-padding-x;
|
541
|
+
overflow-y: auto;
|
542
|
+
|
543
|
+
> [class*="container"] {
|
544
|
+
flex-direction: column;
|
545
|
+
align-items: stretch;
|
546
|
+
min-height: 100%;
|
547
|
+
padding-left: 0;
|
548
|
+
padding-right: 0;
|
549
|
+
|
550
|
+
// Target IE 10 & 11
|
551
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
552
|
+
min-height: none;
|
553
|
+
height: 100%;
|
554
|
+
}
|
555
|
+
}
|
556
|
+
|
557
|
+
&.fixed-left {
|
558
|
+
left: 0;
|
559
|
+
border-width: 0 1px 0 0;
|
560
|
+
}
|
561
|
+
|
562
|
+
&.fixed-right {
|
563
|
+
right: 0;
|
564
|
+
border-width: 0 0 0 1px;
|
565
|
+
}
|
566
|
+
|
567
|
+
.navbar-collapse {
|
568
|
+
flex: 1;
|
569
|
+
display: flex;
|
570
|
+
flex-direction: column;
|
571
|
+
align-items: stretch;
|
572
|
+
margin-left: -$navbar-vertical-padding-x;
|
573
|
+
margin-right: -$navbar-vertical-padding-x;
|
574
|
+
padding-left: $navbar-vertical-padding-x;
|
575
|
+
padding-right: $navbar-vertical-padding-x;
|
576
|
+
|
577
|
+
> * {
|
578
|
+
min-width: 100%;
|
579
|
+
}
|
580
|
+
}
|
581
|
+
|
582
|
+
.navbar-nav {
|
583
|
+
flex-direction: column;
|
584
|
+
margin-left: -$navbar-vertical-padding-x;
|
585
|
+
margin-right: -$navbar-vertical-padding-x;
|
586
|
+
}
|
587
|
+
|
588
|
+
.navbar-nav .nav-link {
|
589
|
+
padding: $nav-link-padding-y $navbar-vertical-padding-x;
|
590
|
+
|
591
|
+
&.active {
|
592
|
+
|
593
|
+
&:before {
|
594
|
+
top: $nav-link-padding-y;
|
595
|
+
bottom: $nav-link-padding-y;
|
596
|
+
left: 0;
|
597
|
+
right: auto;
|
598
|
+
border-left: 2px solid $primary;
|
599
|
+
border-bottom: 0;
|
600
|
+
}
|
601
|
+
}
|
602
|
+
}
|
603
|
+
|
604
|
+
.navbar-nav .nav .nav-link {
|
605
|
+
padding-left: $navbar-vertical-padding-x + $navbar-icon-min-width;
|
606
|
+
}
|
607
|
+
|
608
|
+
.navbar-nav .nav .nav .nav-link {
|
609
|
+
padding-left: $navbar-vertical-padding-x * 1.5 + $navbar-icon-min-width;
|
610
|
+
}
|
611
|
+
|
612
|
+
.navbar-nav .nav .nav .nav .nav-link {
|
613
|
+
padding-left: $navbar-vertical-padding-x * 2 + $navbar-icon-min-width;
|
614
|
+
}
|
615
|
+
|
616
|
+
.navbar-brand {
|
617
|
+
display: block;
|
618
|
+
text-align: center;
|
619
|
+
padding-top: (2rem - $navbar-padding-y);
|
620
|
+
padding-bottom: (2rem - $navbar-padding-y);
|
621
|
+
}
|
622
|
+
|
623
|
+
.navbar-brand-img {
|
624
|
+
max-height: 3rem;
|
625
|
+
}
|
626
|
+
|
627
|
+
.navbar-user {
|
628
|
+
margin-left: -$navbar-vertical-padding-x;
|
629
|
+
margin-right: -$navbar-vertical-padding-x;
|
630
|
+
padding-top: $spacer;
|
631
|
+
padding-bottom: $spacer - $navbar-padding-y;
|
632
|
+
padding-left: $navbar-vertical-padding-x;
|
633
|
+
padding-right: $navbar-vertical-padding-x;
|
634
|
+
border-top-width: 1px;
|
635
|
+
border-top-style: solid;
|
636
|
+
|
637
|
+
.dropup .dropdown-menu {
|
638
|
+
left: 50%;
|
639
|
+
transform: translateX(-50%);
|
640
|
+
}
|
641
|
+
}
|
642
|
+
}
|
643
|
+
}
|
644
|
+
}
|
645
|
+
}
|
646
|
+
}
|
647
|
+
|
648
|
+
|
649
|
+
// Vertical small
|
650
|
+
//
|
651
|
+
// Creates a small vertion of the vertical navbar
|
652
|
+
|
653
|
+
.navbar-vertical-sm {
|
654
|
+
|
655
|
+
// Expanded
|
656
|
+
//
|
657
|
+
// Expanded navbar specific styles
|
658
|
+
|
659
|
+
&.navbar-expand {
|
660
|
+
|
661
|
+
@each $breakpoint, $value in $grid-breakpoints {
|
662
|
+
|
663
|
+
&-#{$breakpoint} {
|
664
|
+
|
665
|
+
@include media-breakpoint-up(#{$breakpoint}) {
|
666
|
+
max-width: $navbar-vertical-width-sm;
|
667
|
+
padding-left: $navbar-vertical-padding-x-sm;
|
668
|
+
padding-right: $navbar-vertical-padding-x-sm;
|
669
|
+
overflow: visible;
|
670
|
+
|
671
|
+
.navbar-brand {
|
672
|
+
padding-top: ($nav-link-padding-y * 2 + $font-size-base * $line-height-base) / 2 - $navbar-padding-y;
|
673
|
+
padding-bottom: ($nav-link-padding-y * 2 + $font-size-base * $line-height-base) / 2;
|
674
|
+
}
|
675
|
+
|
676
|
+
.navbar-brand-img {
|
677
|
+
width: auto;
|
678
|
+
max-height: 1.5rem;
|
679
|
+
}
|
680
|
+
|
681
|
+
.navbar-collapse {
|
682
|
+
margin-left: -$navbar-vertical-padding-x-sm;
|
683
|
+
margin-right: -$navbar-vertical-padding-x-sm;
|
684
|
+
padding-left: $navbar-vertical-padding-x-sm;
|
685
|
+
padding-right: $navbar-vertical-padding-x-sm;
|
686
|
+
}
|
687
|
+
|
688
|
+
.navbar-nav {
|
689
|
+
margin-left: -$navbar-vertical-padding-x-sm;
|
690
|
+
margin-right: -$navbar-vertical-padding-x-sm;
|
691
|
+
}
|
692
|
+
|
693
|
+
.navbar-nav > .nav-item > .nav-link {
|
694
|
+
justify-content: center;
|
695
|
+
padding-left: $navbar-vertical-padding-x-sm;
|
696
|
+
padding-right: $navbar-vertical-padding-x-sm;
|
697
|
+
text-align: center;
|
698
|
+
}
|
699
|
+
|
700
|
+
.navbar-nav > .nav-item > .dropdown-toggle {
|
701
|
+
|
702
|
+
&::after {
|
703
|
+
display: none;
|
704
|
+
}
|
705
|
+
}
|
706
|
+
|
707
|
+
.navbar-user {
|
708
|
+
margin-left: -$navbar-vertical-padding-x-sm;
|
709
|
+
margin-right: -$navbar-vertical-padding-x-sm;
|
710
|
+
padding-left: $navbar-vertical-padding-x-sm;
|
711
|
+
padding-right: $navbar-vertical-padding-x-sm;
|
712
|
+
}
|
713
|
+
|
714
|
+
.navbar-user .dropright .dropdown-menu {
|
715
|
+
top: auto;
|
716
|
+
bottom: 0;
|
717
|
+
}
|
718
|
+
}
|
719
|
+
}
|
720
|
+
}
|
721
|
+
}
|
722
|
+
}
|