viniBaxter-desk_front 33.0.0 → 38.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/viniBaxter/desk_front/version.rb +1 -1
- data/lib/viniBaxter/sass/desk_front-boostrap.scss +2 -0
- data/lib/viniBaxter/sass/desk_front-template.scss +2 -0
- data/lib/viniBaxter/sass/desk_front-v2lrf-dashboard.scss +6 -0
- data/lib/viniBaxter/sass/desk_front.scss +3 -10
- data/lib/viniBaxter/sass/desk_front/bootstrap/_card.scss +17 -19
- data/lib/viniBaxter/sass/desk_front/dashkit/_dashkit.scss +0 -3
- data/lib/viniBaxter/sass/desk_front/dashkit/_header.scss +2 -2
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_background.scss +9 -6
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/_mixins.scss +10 -10
- data/lib/viniBaxter/sass/desk_front/{dashkit → v2lrf-dashboard/custom-components}/_avatar.scss +24 -8
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/custom-components/_custom-dashboard-ui.scss +12 -7
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/custom-components/_form.scss +275 -0
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/custom-components/_index.scss +2 -0
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/custom-components/cards/_card-blured.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/custom-components/cards/_index.scss +2 -1
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_blur.scss +4 -0
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_nav-setup-normal.scss +21 -21
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_nav-setup-ntf.scss +0 -7
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_nav-setup.scss +10 -5
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/{opacity.scss → _opacity.scss} +4 -0
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_transparency.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/mixins/_vendor-prefixes.scss +284 -123
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/new_nav/_dropdown.scss +12 -12
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/new_nav/_navbar.scss +12 -1
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/new_nav/_sidebar-and-main-panel.scss +148 -57
- data/lib/viniBaxter/sass/desk_front/v2lrf-dashboard/new_nav/_white-content.scss +4 -4
- metadata +11 -9
- data/app/assets/images/desk_front/sidebar-cover.jpg +0 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_forms.scss +0 -279
- data/lib/viniBaxter/sass/desk_front/dashkit/_navbar.scss +0 -692
- data/lib/viniBaxter/sass/desk_front/dashkit/_variables.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/theme.scss +0 -14
Binary file
|
@@ -1,279 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// forms.scss
|
3
|
-
// Extended from Bootstrap
|
4
|
-
//
|
5
|
-
|
6
|
-
//
|
7
|
-
// Bootstrap Overrides ===================================
|
8
|
-
//
|
9
|
-
|
10
|
-
// Help text
|
11
|
-
|
12
|
-
.form-control:focus {
|
13
|
-
color: #12263F;
|
14
|
-
background-color: #FFFFFF;
|
15
|
-
border-color: $blue;
|
16
|
-
outline: 0;
|
17
|
-
box-shadow: transparent; }
|
18
|
-
|
19
|
-
.form-text {
|
20
|
-
margin-top: 0;
|
21
|
-
margin-bottom: $label-margin-bottom;
|
22
|
-
}
|
23
|
-
|
24
|
-
|
25
|
-
// Form validation
|
26
|
-
|
27
|
-
.was-validated .form-control:valid:focus, .form-control.is-valid:focus,
|
28
|
-
.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
|
29
|
-
box-shadow: none;
|
30
|
-
}
|
31
|
-
|
32
|
-
|
33
|
-
//
|
34
|
-
// Dashkit ===================================
|
35
|
-
//
|
36
|
-
|
37
|
-
// Form control flush
|
38
|
-
//
|
39
|
-
// Removes borders and paddings from inputs and text areas
|
40
|
-
|
41
|
-
.form-control-flush {
|
42
|
-
padding-left: 0;
|
43
|
-
padding-right: 0;
|
44
|
-
border-color: transparent !important;
|
45
|
-
background-color: transparent !important;
|
46
|
-
resize: none;
|
47
|
-
}
|
48
|
-
|
49
|
-
|
50
|
-
// Form control auto
|
51
|
-
//
|
52
|
-
// Sets the height of the input to auto
|
53
|
-
|
54
|
-
.form-control-auto {
|
55
|
-
height: auto;
|
56
|
-
padding-top: 0;
|
57
|
-
padding-bottom: 0;
|
58
|
-
}
|
59
|
-
|
60
|
-
|
61
|
-
// Form control rounded
|
62
|
-
//
|
63
|
-
// Makes input border radius round
|
64
|
-
|
65
|
-
.form-control-rounded {
|
66
|
-
border-radius: 20rem;
|
67
|
-
}
|
68
|
-
|
69
|
-
|
70
|
-
// Input group merge
|
71
|
-
//
|
72
|
-
// Makes input group text and form control visually the same element
|
73
|
-
|
74
|
-
.input-group.input-group-merge {
|
75
|
-
|
76
|
-
> .form-control {
|
77
|
-
border-radius: $input-border-radius;
|
78
|
-
|
79
|
-
&:focus {
|
80
|
-
box-shadow: none;
|
81
|
-
|
82
|
-
~ [class*="input-group"] {
|
83
|
-
|
84
|
-
> .input-group-text {
|
85
|
-
border-color: $input-focus-border-color!important;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
> .form-control.is-valid ~ [class*="input-group"] > .input-group-text {
|
92
|
-
border-color: $success;
|
93
|
-
}
|
94
|
-
|
95
|
-
> .form-control.is-invalid ~ [class*="input-group"] > .input-group-text {
|
96
|
-
border-color: $danger;
|
97
|
-
}
|
98
|
-
|
99
|
-
> .form-control-prepended {
|
100
|
-
padding-left: $input-padding-x / 2;
|
101
|
-
border-top-left-radius: 0 !important;
|
102
|
-
border-bottom-left-radius: 0 !important;
|
103
|
-
border-left-width: 0;
|
104
|
-
}
|
105
|
-
|
106
|
-
> .form-control-appended {
|
107
|
-
padding-right: $input-padding-x / 2;
|
108
|
-
border-top-right-radius: 0 !important;
|
109
|
-
border-bottom-right-radius: 0 !important;
|
110
|
-
border-right-width: 0;
|
111
|
-
}
|
112
|
-
|
113
|
-
> .input-group-prepend {
|
114
|
-
order: -1; // prepend always goes first
|
115
|
-
|
116
|
-
> .input-group-text {
|
117
|
-
padding-right: $input-padding-x / 2;
|
118
|
-
border-top-left-radius: $input-border-radius;
|
119
|
-
border-bottom-left-radius: $input-border-radius;
|
120
|
-
border-right-width: 0;
|
121
|
-
transition: $input-transition;
|
122
|
-
}
|
123
|
-
}
|
124
|
-
|
125
|
-
> .input-group-append {
|
126
|
-
|
127
|
-
> .input-group-text {
|
128
|
-
padding-left: $input-padding-x / 2;
|
129
|
-
border-top-right-radius: $input-border-radius;
|
130
|
-
border-bottom-right-radius: $input-border-radius;
|
131
|
-
border-left-width: 0;
|
132
|
-
transition: $input-transition;
|
133
|
-
}
|
134
|
-
}
|
135
|
-
}
|
136
|
-
|
137
|
-
.input-group-lg.input-group-merge {
|
138
|
-
|
139
|
-
> .form-control {
|
140
|
-
border-radius: $input-border-radius-lg;
|
141
|
-
}
|
142
|
-
|
143
|
-
> .form-control-prepended {
|
144
|
-
padding-left: $input-padding-x-lg / 2;
|
145
|
-
|
146
|
-
}
|
147
|
-
|
148
|
-
> .form-control-appended {
|
149
|
-
padding-right: $input-padding-x-lg / 2;
|
150
|
-
|
151
|
-
}
|
152
|
-
|
153
|
-
> .input-group-prepend {
|
154
|
-
|
155
|
-
> .input-group-text {
|
156
|
-
padding-right: $input-padding-x-lg / 2;
|
157
|
-
border-top-left-radius: $input-border-radius-lg;
|
158
|
-
border-bottom-left-radius: $input-border-radius-lg;
|
159
|
-
}
|
160
|
-
}
|
161
|
-
|
162
|
-
> .input-group-append {
|
163
|
-
|
164
|
-
> .input-group-text {
|
165
|
-
padding-left: $input-padding-x-lg / 2;
|
166
|
-
border-top-right-radius: $input-border-radius-lg;
|
167
|
-
border-bottom-right-radius: $input-border-radius-lg;
|
168
|
-
}
|
169
|
-
}
|
170
|
-
}
|
171
|
-
|
172
|
-
.input-group-sm.input-group-merge {
|
173
|
-
|
174
|
-
> .form-control {
|
175
|
-
border-radius: $input-border-radius-sm;
|
176
|
-
}
|
177
|
-
|
178
|
-
> .form-control-prepended {
|
179
|
-
padding-left: $input-padding-x-sm / 2;
|
180
|
-
|
181
|
-
}
|
182
|
-
|
183
|
-
> .form-control-appended {
|
184
|
-
padding-right: $input-padding-x-sm / 2;
|
185
|
-
}
|
186
|
-
|
187
|
-
> .input-group-prepend {
|
188
|
-
|
189
|
-
> .input-group-text {
|
190
|
-
padding-right: $input-padding-x-sm / 2;
|
191
|
-
border-top-left-radius: $input-border-radius-sm;
|
192
|
-
border-bottom-left-radius: $input-border-radius-sm;
|
193
|
-
}
|
194
|
-
}
|
195
|
-
|
196
|
-
> .input-group-append {
|
197
|
-
|
198
|
-
> .input-group-text {
|
199
|
-
padding-left: $input-padding-x-sm / 2;
|
200
|
-
border-top-right-radius: $input-border-radius-sm;
|
201
|
-
border-bottom-right-radius: $input-border-radius-sm;
|
202
|
-
}
|
203
|
-
}
|
204
|
-
}
|
205
|
-
|
206
|
-
.input-group-rounded.input-group-merge {
|
207
|
-
|
208
|
-
> .form-control {
|
209
|
-
border-radius: 20rem;
|
210
|
-
}
|
211
|
-
|
212
|
-
> .input-group-prepend {
|
213
|
-
|
214
|
-
> .input-group-text {
|
215
|
-
border-top-left-radius: 20rem;
|
216
|
-
border-bottom-left-radius: 20rem;
|
217
|
-
}
|
218
|
-
}
|
219
|
-
|
220
|
-
> .input-group-append {
|
221
|
-
|
222
|
-
> .input-group-text {
|
223
|
-
border-top-right-radius: 20rem;
|
224
|
-
border-bottom-right-radius: 20rem;
|
225
|
-
}
|
226
|
-
}
|
227
|
-
}
|
228
|
-
|
229
|
-
.input-group-flush {
|
230
|
-
|
231
|
-
> .form-control {
|
232
|
-
padding-top: 0;
|
233
|
-
padding-bottom: 0;
|
234
|
-
border-color: transparent !important;
|
235
|
-
background-color: transparent !important;
|
236
|
-
}
|
237
|
-
|
238
|
-
> .input-group-prepend,
|
239
|
-
> .input-group-append {
|
240
|
-
|
241
|
-
> .input-group-text {
|
242
|
-
padding: 0;
|
243
|
-
border-width: 0;
|
244
|
-
background-color: transparent;
|
245
|
-
}
|
246
|
-
}
|
247
|
-
}
|
248
|
-
|
249
|
-
|
250
|
-
// Font size
|
251
|
-
|
252
|
-
.form-control {
|
253
|
-
|
254
|
-
&.h1, &.h2, &.h3, &.h4, &.h5 {
|
255
|
-
margin-bottom: 0;
|
256
|
-
font-weight: $headings-font-weight;
|
257
|
-
letter-spacing: $headings-letter-spacing;
|
258
|
-
}
|
259
|
-
|
260
|
-
&.h1 {
|
261
|
-
font-size: $h1-font-size;
|
262
|
-
}
|
263
|
-
|
264
|
-
&.h2 {
|
265
|
-
font-size: $h2-font-size;
|
266
|
-
}
|
267
|
-
|
268
|
-
&.h3 {
|
269
|
-
font-size: $h3-font-size;
|
270
|
-
}
|
271
|
-
|
272
|
-
&.h4 {
|
273
|
-
font-size: $h4-font-size;
|
274
|
-
}
|
275
|
-
|
276
|
-
&.h5 {
|
277
|
-
font-size: $h5-font-size;
|
278
|
-
}
|
279
|
-
}
|
@@ -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
|
-
}
|