uikit 3.14.3 → 3.14.4-dev.07daf8fb8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +54 -3
- package/build/util.js +1 -0
- package/dist/css/uikit-core-rtl.css +428 -95
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +428 -95
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +444 -108
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +444 -108
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +7 -5
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +203 -76
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +203 -76
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +4 -5
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +4 -5
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +22 -7
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +4 -5
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +22 -7
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +3 -3
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +138 -76
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +1801 -1573
- package/dist/js/uikit-core.min.js +14 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +1081 -836
- package/dist/js/uikit.min.js +14 -1
- package/package.json +1 -1
- package/src/images/{backgrounds/nav-parent-open.svg → components/nav-parent-icon-large.svg} +0 -0
- package/src/images/components/nav-parent-icon.svg +3 -0
- package/src/images/components/navbar-parent-icon.svg +3 -0
- package/src/images/components/navbar-toggle-icon.svg +22 -3
- package/src/js/api/state.js +2 -2
- package/src/js/components/filter.js +5 -3
- package/src/js/components/sortable.js +2 -3
- package/src/js/core/accordion.js +9 -17
- package/src/js/core/alert.js +35 -14
- package/src/js/core/drop.js +102 -48
- package/src/js/core/height-viewport.js +22 -9
- package/src/js/core/icon.js +16 -0
- package/src/js/core/index.js +2 -0
- package/src/js/core/leader.js +2 -2
- package/src/js/core/navbar.js +47 -33
- package/src/js/core/offcanvas.js +1 -47
- package/src/js/core/scroll.js +37 -10
- package/src/js/core/sticky.js +8 -9
- package/src/js/core/switcher.js +1 -1
- package/src/js/mixin/media.js +4 -5
- package/src/js/mixin/modal.js +97 -8
- package/src/js/mixin/position.js +59 -14
- package/src/js/mixin/slider-drag.js +20 -8
- package/src/js/mixin/style.js +11 -0
- package/src/js/mixin/togglable.js +100 -72
- package/src/js/util/animation.js +5 -3
- package/src/js/util/dimensions.js +6 -6
- package/src/js/util/filter.js +3 -7
- package/src/js/util/position.js +43 -47
- package/src/js/util/style.js +4 -13
- package/src/js/util/viewport.js +21 -37
- package/src/less/components/_import.less +1 -0
- package/src/less/components/drop.less +3 -6
- package/src/less/components/dropbar.less +115 -0
- package/src/less/components/dropdown.less +22 -6
- package/src/less/components/leader.less +1 -1
- package/src/less/components/margin.less +13 -14
- package/src/less/components/modal.less +19 -4
- package/src/less/components/nav.less +241 -64
- package/src/less/components/navbar.less +111 -35
- package/src/less/components/offcanvas.less +21 -21
- package/src/less/components/position.less +1 -1
- package/src/less/components/utility.less +21 -5
- package/src/less/theme/_import.less +1 -0
- package/src/less/theme/dropbar.less +44 -0
- package/src/less/theme/nav.less +43 -9
- package/src/less/theme/navbar.less +9 -15
- package/src/scss/components/_import.scss +1 -0
- package/src/scss/components/drop.scss +3 -6
- package/src/scss/components/dropbar.scss +115 -0
- package/src/scss/components/dropdown.scss +22 -6
- package/src/scss/components/leader.scss +1 -1
- package/src/scss/components/margin.scss +13 -14
- package/src/scss/components/modal.scss +19 -4
- package/src/scss/components/nav.scss +190 -52
- package/src/scss/components/navbar.scss +88 -24
- package/src/scss/components/offcanvas.scss +21 -21
- package/src/scss/components/position.scss +1 -1
- package/src/scss/components/utility.scss +19 -4
- package/src/scss/mixins-theme.scss +93 -29
- package/src/scss/mixins.scss +89 -15
- package/src/scss/theme/_import.scss +1 -0
- package/src/scss/theme/dropbar.scss +44 -0
- package/src/scss/theme/nav.scss +41 -9
- package/src/scss/theme/navbar.scss +9 -3
- package/src/scss/variables-theme.scss +93 -25
- package/src/scss/variables.scss +82 -23
- package/tests/accordion.html +2 -2
- package/tests/alert.html +2 -2
- package/tests/countdown.html +1 -1
- package/tests/drop.html +484 -255
- package/tests/dropbar.html +456 -0
- package/tests/dropdown.html +29 -189
- package/tests/filter.html +9 -12
- package/tests/form.html +1 -1
- package/tests/height-viewport.html +62 -0
- package/tests/index.html +126 -107
- package/tests/js/index.js +1 -4
- package/tests/lightbox.html +5 -5
- package/tests/list.html +8 -8
- package/tests/modal.html +13 -13
- package/tests/nav.html +117 -75
- package/tests/navbar.html +2270 -1104
- package/tests/offcanvas.html +25 -29
- package/tests/parallax.html +1 -1
- package/tests/position.html +13 -24
- package/tests/progress.html +9 -9
- package/tests/scroll.html +7 -10
- package/tests/search.html +5 -5
- package/tests/slider.html +6 -5
- package/tests/slideshow.html +8 -8
- package/tests/sortable.html +6 -8
- package/tests/sticky-navbar.html +132 -0
- package/tests/sticky.html +8 -8
- package/tests/switcher.html +1 -1
- package/tests/tab.html +1 -1
- package/tests/table.html +7 -7
- package/tests/toggle.html +2 -2
- package/tests/tooltip.html +1 -1
- package/tests/upload.html +11 -11
- package/tests/utility.html +19 -0
- package/src/images/backgrounds/nav-parent-close.svg +0 -3
|
@@ -26,19 +26,19 @@
|
|
|
26
26
|
$offcanvas-z-index: $global-z-index !default;
|
|
27
27
|
|
|
28
28
|
$offcanvas-bar-width: 270px !default;
|
|
29
|
-
$offcanvas-bar-padding-vertical:
|
|
30
|
-
$offcanvas-bar-padding-horizontal:
|
|
29
|
+
$offcanvas-bar-padding-vertical: 20px !default;
|
|
30
|
+
$offcanvas-bar-padding-horizontal: 20px !default;
|
|
31
31
|
$offcanvas-bar-background: $global-secondary-background !default;
|
|
32
32
|
$offcanvas-bar-color-mode: light !default;
|
|
33
33
|
|
|
34
|
-
$offcanvas-bar-width-
|
|
35
|
-
$offcanvas-bar-padding-vertical-
|
|
36
|
-
$offcanvas-bar-padding-horizontal-
|
|
34
|
+
$offcanvas-bar-width-s: 350px !default;
|
|
35
|
+
$offcanvas-bar-padding-vertical-s: $global-gutter !default;
|
|
36
|
+
$offcanvas-bar-padding-horizontal-s: $global-gutter !default;
|
|
37
37
|
|
|
38
38
|
$offcanvas-close-position: 5px !default;
|
|
39
39
|
$offcanvas-close-padding: 5px !default;
|
|
40
40
|
|
|
41
|
-
$offcanvas-close-position-
|
|
41
|
+
$offcanvas-close-position-s: 10px !default;
|
|
42
42
|
|
|
43
43
|
$offcanvas-overlay-background: rgba(0,0,0,0.1) !default;
|
|
44
44
|
|
|
@@ -99,13 +99,13 @@ $offcanvas-overlay-background: rgba(0,0,0,0.1) !default;
|
|
|
99
99
|
@if(mixin-exists(hook-offcanvas-bar)) {@include hook-offcanvas-bar();}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
/*
|
|
103
|
-
@media (min-width: $breakpoint-
|
|
102
|
+
/* Phone landscape and bigger */
|
|
103
|
+
@media (min-width: $breakpoint-small) {
|
|
104
104
|
|
|
105
105
|
.uk-offcanvas-bar {
|
|
106
|
-
left: (-$offcanvas-bar-width-
|
|
107
|
-
width: $offcanvas-bar-width-
|
|
108
|
-
padding: $offcanvas-bar-padding-vertical-
|
|
106
|
+
left: (-$offcanvas-bar-width-s);
|
|
107
|
+
width: $offcanvas-bar-width-s;
|
|
108
|
+
padding: $offcanvas-bar-padding-vertical-s $offcanvas-bar-padding-horizontal-s;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
}
|
|
@@ -121,9 +121,9 @@ $offcanvas-overlay-background: rgba(0,0,0,0.1) !default;
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
/* Tablet landscape and bigger */
|
|
124
|
-
@media (min-width: $breakpoint-
|
|
124
|
+
@media (min-width: $breakpoint-small) {
|
|
125
125
|
|
|
126
|
-
.uk-offcanvas-flip .uk-offcanvas-bar { right: (-$offcanvas-bar-width-
|
|
126
|
+
.uk-offcanvas-flip .uk-offcanvas-bar { right: (-$offcanvas-bar-width-s); }
|
|
127
127
|
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -179,9 +179,9 @@ $offcanvas-overlay-background: rgba(0,0,0,0.1) !default;
|
|
|
179
179
|
.uk-open > .uk-offcanvas-reveal { width: $offcanvas-bar-width; }
|
|
180
180
|
|
|
181
181
|
/* Tablet landscape and bigger */
|
|
182
|
-
@media (min-width: $breakpoint-
|
|
182
|
+
@media (min-width: $breakpoint-small) {
|
|
183
183
|
|
|
184
|
-
.uk-open > .uk-offcanvas-reveal { width: $offcanvas-bar-width-
|
|
184
|
+
.uk-open > .uk-offcanvas-reveal { width: $offcanvas-bar-width-s; }
|
|
185
185
|
|
|
186
186
|
}
|
|
187
187
|
|
|
@@ -209,11 +209,11 @@ $offcanvas-overlay-background: rgba(0,0,0,0.1) !default;
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
/* Tablet landscape and bigger */
|
|
212
|
-
@media (min-width: $breakpoint-
|
|
212
|
+
@media (min-width: $breakpoint-small) {
|
|
213
213
|
|
|
214
214
|
.uk-offcanvas-close {
|
|
215
|
-
top: $offcanvas-close-position-
|
|
216
|
-
right: $offcanvas-close-position-
|
|
215
|
+
top: $offcanvas-close-position-s;
|
|
216
|
+
right: $offcanvas-close-position-s;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
}
|
|
@@ -304,11 +304,11 @@ $offcanvas-overlay-background: rgba(0,0,0,0.1) !default;
|
|
|
304
304
|
.uk-offcanvas-flip.uk-offcanvas-container-animation { left: (-$offcanvas-bar-width); }
|
|
305
305
|
|
|
306
306
|
/* Tablet landscape and bigger */
|
|
307
|
-
@media (min-width: $breakpoint-
|
|
307
|
+
@media (min-width: $breakpoint-small) {
|
|
308
308
|
|
|
309
|
-
:not(.uk-offcanvas-flip).uk-offcanvas-container-animation { left: $offcanvas-bar-width-
|
|
309
|
+
:not(.uk-offcanvas-flip).uk-offcanvas-container-animation { left: $offcanvas-bar-width-s; }
|
|
310
310
|
|
|
311
|
-
.uk-offcanvas-flip.uk-offcanvas-container-animation { left: (-$offcanvas-bar-width-
|
|
311
|
+
.uk-offcanvas-flip.uk-offcanvas-container-animation { left: (-$offcanvas-bar-width-s); }
|
|
312
312
|
|
|
313
313
|
}
|
|
314
314
|
|
|
@@ -218,7 +218,7 @@ $position-large-margin-l: 50px !default;
|
|
|
218
218
|
========================================================================== */
|
|
219
219
|
|
|
220
220
|
.uk-position-z-index { z-index: 1; }
|
|
221
|
-
|
|
221
|
+
.uk-position-z-index-zero { z-index: 0; }
|
|
222
222
|
.uk-position-z-index-negative { z-index: -1; }
|
|
223
223
|
|
|
224
224
|
|
|
@@ -137,7 +137,6 @@ $dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3)
|
|
|
137
137
|
|
|
138
138
|
/*
|
|
139
139
|
* Enable scrollbars if content is clipped
|
|
140
|
-
* Note: Firefox ignores `padding-bottom` for the scrollable overflow https://bugzilla.mozilla.org/show_bug.cgi?id=748518
|
|
141
140
|
*/
|
|
142
141
|
|
|
143
142
|
.uk-overflow-auto {
|
|
@@ -148,6 +147,13 @@ $dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3)
|
|
|
148
147
|
.uk-overflow-auto > :last-child { margin-bottom: 0; }
|
|
149
148
|
|
|
150
149
|
|
|
150
|
+
/* Box Sizing
|
|
151
|
+
========================================================================== */
|
|
152
|
+
|
|
153
|
+
.uk-box-sizing-content { box-sizing: content-box; }
|
|
154
|
+
.uk-box-sizing-border { box-sizing: border-box; }
|
|
155
|
+
|
|
156
|
+
|
|
151
157
|
/* Resize
|
|
152
158
|
========================================================================== */
|
|
153
159
|
|
|
@@ -385,18 +391,27 @@ $dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3)
|
|
|
385
391
|
========================================================================== */
|
|
386
392
|
|
|
387
393
|
/*
|
|
388
|
-
* 1.
|
|
394
|
+
* 1. Style
|
|
395
|
+
* 2. Required for `a`
|
|
396
|
+
* 3. Behave like image but can be overridden through flex utility classes
|
|
389
397
|
*/
|
|
390
398
|
|
|
391
399
|
.uk-logo {
|
|
400
|
+
/* 1 */
|
|
392
401
|
font-size: $logo-font-size;
|
|
393
402
|
font-family: $logo-font-family;
|
|
394
403
|
color: $logo-color;
|
|
395
|
-
/*
|
|
404
|
+
/* 2 */
|
|
396
405
|
text-decoration: none;
|
|
397
406
|
@if(mixin-exists(hook-logo)) {@include hook-logo();}
|
|
398
407
|
}
|
|
399
408
|
|
|
409
|
+
/* 3 */
|
|
410
|
+
:where(.uk-logo) {
|
|
411
|
+
display: inline-block;
|
|
412
|
+
vertical-align: middle;
|
|
413
|
+
}
|
|
414
|
+
|
|
400
415
|
/* Hover */
|
|
401
416
|
.uk-logo:hover {
|
|
402
417
|
color: $logo-hover-color;
|
|
@@ -405,7 +420,7 @@ $dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3)
|
|
|
405
420
|
@if(mixin-exists(hook-logo-hover)) {@include hook-logo-hover();}
|
|
406
421
|
}
|
|
407
422
|
|
|
408
|
-
.uk-logo
|
|
423
|
+
.uk-logo :where(img, svg, video) { display: block; }
|
|
409
424
|
|
|
410
425
|
.uk-logo-inverse { display: none; }
|
|
411
426
|
|
|
@@ -805,6 +805,12 @@
|
|
|
805
805
|
|
|
806
806
|
}
|
|
807
807
|
@mixin hook-drop-misc(){}
|
|
808
|
+
@mixin hook-dropbar(){}
|
|
809
|
+
@mixin hook-dropbar-top(){ box-shadow: $dropbar-top-box-shadow; }
|
|
810
|
+
@mixin hook-dropbar-bottom(){ box-shadow: $dropbar-bottom-box-shadow; }
|
|
811
|
+
@mixin hook-dropbar-left(){ box-shadow: $dropbar-left-box-shadow; }
|
|
812
|
+
@mixin hook-dropbar-right(){ box-shadow: $dropbar-right-box-shadow; }
|
|
813
|
+
@mixin hook-dropbar-misc(){}
|
|
808
814
|
@mixin hook-dropdown(){ box-shadow: $dropdown-box-shadow; }
|
|
809
815
|
@mixin hook-dropdown-nav(){ font-size: $dropdown-nav-font-size; }
|
|
810
816
|
@mixin hook-dropdown-nav-item(){}
|
|
@@ -1265,17 +1271,6 @@
|
|
|
1265
1271
|
}
|
|
1266
1272
|
@mixin hook-inverse-component-nav(){
|
|
1267
1273
|
|
|
1268
|
-
//
|
|
1269
|
-
// Parent icon modifier
|
|
1270
|
-
//
|
|
1271
|
-
|
|
1272
|
-
.uk-nav-parent-icon > .uk-parent > a::after {
|
|
1273
|
-
@include svg-fill($internal-nav-parent-close-image, "#000", $inverse-nav-parent-icon-color);
|
|
1274
|
-
@if(mixin-exists(hook-inverse-nav-parent-icon)) {@include hook-inverse-nav-parent-icon();}
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
.uk-nav-parent-icon > .uk-parent.uk-open > a::after { @include svg-fill($internal-nav-parent-open-image, "#000", $inverse-nav-parent-icon-color); }
|
|
1278
|
-
|
|
1279
1274
|
//
|
|
1280
1275
|
// Default
|
|
1281
1276
|
//
|
|
@@ -1346,18 +1341,72 @@
|
|
|
1346
1341
|
|
|
1347
1342
|
.uk-nav-primary .uk-nav-sub li.uk-active > a { color: $inverse-nav-primary-sublist-item-active-color; }
|
|
1348
1343
|
|
|
1344
|
+
//
|
|
1345
|
+
// Secondary
|
|
1346
|
+
//
|
|
1347
|
+
|
|
1348
|
+
.uk-nav-secondary > li > a {
|
|
1349
|
+
color: $inverse-nav-secondary-item-color;
|
|
1350
|
+
@if(mixin-exists(hook-inverse-nav-secondary-item)) {@include hook-inverse-nav-secondary-item();}
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
.uk-nav-secondary > li > a:hover {
|
|
1354
|
+
color: $inverse-nav-secondary-item-hover-color;
|
|
1355
|
+
@if(mixin-exists(hook-inverse-nav-secondary-item-hover)) {@include hook-inverse-nav-secondary-item-hover();}
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
.uk-nav-secondary > li.uk-active > a {
|
|
1359
|
+
color: $inverse-nav-secondary-item-active-color;
|
|
1360
|
+
@if(mixin-exists(hook-inverse-nav-secondary-item-active)) {@include hook-inverse-nav-secondary-item-active();}
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
.uk-nav-secondary .uk-nav-subtitle {
|
|
1364
|
+
color: $inverse-nav-secondary-subtitle-color;
|
|
1365
|
+
@if(mixin-exists(hook-inverse-nav-secondary-subtitle)) {@include hook-inverse-nav-secondary-subtitle();}
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
.uk-nav-secondary > li > a:hover .uk-nav-subtitle {
|
|
1369
|
+
color: $inverse-nav-secondary-subtitle-hover-color;
|
|
1370
|
+
@if(mixin-exists(hook-inverse-nav-secondary-subtitle-hover)) {@include hook-inverse-nav-secondary-subtitle-hover();}
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
.uk-nav-secondary > li.uk-active > a .uk-nav-subtitle {
|
|
1374
|
+
color: $inverse-nav-secondary-subtitle-active-color;
|
|
1375
|
+
@if(mixin-exists(hook-inverse-nav-secondary-subtitle-active)) {@include hook-inverse-nav-secondary-subtitle-active();}
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
.uk-nav-secondary .uk-nav-header {
|
|
1379
|
+
color: $inverse-nav-secondary-header-color;
|
|
1380
|
+
@if(mixin-exists(hook-inverse-nav-secondary-header)) {@include hook-inverse-nav-secondary-header();}
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
.uk-nav-secondary .uk-nav-divider {
|
|
1384
|
+
border-top-color: $inverse-nav-secondary-divider-border;
|
|
1385
|
+
@if(mixin-exists(hook-inverse-nav-secondary-divider)) {@include hook-inverse-nav-secondary-divider();}
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
.uk-nav-secondary .uk-nav-sub a { color: $inverse-nav-secondary-sublist-item-color; }
|
|
1389
|
+
|
|
1390
|
+
.uk-nav-secondary .uk-nav-sub a:hover { color: $inverse-nav-secondary-sublist-item-hover-color; }
|
|
1391
|
+
|
|
1392
|
+
.uk-nav-secondary .uk-nav-sub li.uk-active > a { color: $inverse-nav-secondary-sublist-item-active-color; }
|
|
1393
|
+
|
|
1349
1394
|
//
|
|
1350
1395
|
// Dividers
|
|
1351
1396
|
//
|
|
1352
1397
|
|
|
1353
1398
|
.uk-nav.uk-nav-divider > :not(.uk-nav-divider) + :not(.uk-nav-header, .uk-nav-divider) {
|
|
1354
1399
|
border-top-color: $inverse-nav-dividers-border;
|
|
1355
|
-
@if(mixin-exists(hook-nav-dividers)) {@include hook-nav-dividers();}
|
|
1400
|
+
@if(mixin-exists(hook-inverse-nav-dividers)) {@include hook-inverse-nav-dividers();}
|
|
1356
1401
|
}
|
|
1357
1402
|
|
|
1358
1403
|
}
|
|
1359
1404
|
@mixin hook-inverse-component-navbar(){
|
|
1360
1405
|
|
|
1406
|
+
//
|
|
1407
|
+
// Nav Item
|
|
1408
|
+
//
|
|
1409
|
+
|
|
1361
1410
|
.uk-navbar-nav > li > a {
|
|
1362
1411
|
color: $inverse-navbar-nav-item-color;
|
|
1363
1412
|
@if(mixin-exists(hook-inverse-navbar-nav-item)) {@include hook-inverse-navbar-nav-item();}
|
|
@@ -1379,11 +1428,19 @@
|
|
|
1379
1428
|
@if(mixin-exists(hook-inverse-navbar-nav-item-active)) {@include hook-inverse-navbar-nav-item-active();}
|
|
1380
1429
|
}
|
|
1381
1430
|
|
|
1431
|
+
//
|
|
1432
|
+
// Item
|
|
1433
|
+
//
|
|
1434
|
+
|
|
1382
1435
|
.uk-navbar-item {
|
|
1383
1436
|
color: $inverse-navbar-item-color;
|
|
1384
1437
|
@if(mixin-exists(hook-inverse-navbar-item)) {@include hook-inverse-navbar-item();}
|
|
1385
1438
|
}
|
|
1386
1439
|
|
|
1440
|
+
//
|
|
1441
|
+
// Toggle
|
|
1442
|
+
//
|
|
1443
|
+
|
|
1387
1444
|
.uk-navbar-toggle {
|
|
1388
1445
|
color: $inverse-navbar-toggle-color;
|
|
1389
1446
|
@if(mixin-exists(hook-inverse-navbar-toggle)) {@include hook-inverse-navbar-toggle();}
|
|
@@ -1563,7 +1620,8 @@
|
|
|
1563
1620
|
@if(mixin-exists(hook-inverse-logo-hover)) {@include hook-inverse-logo-hover();}
|
|
1564
1621
|
}
|
|
1565
1622
|
|
|
1566
|
-
.uk-logo > :not(
|
|
1623
|
+
.uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
|
|
1624
|
+
.uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type) { display: none; }
|
|
1567
1625
|
.uk-logo-inverse { display: block; }
|
|
1568
1626
|
|
|
1569
1627
|
}
|
|
@@ -1700,10 +1758,9 @@
|
|
|
1700
1758
|
@mixin hook-modal-close-full-hover(){}
|
|
1701
1759
|
@mixin hook-modal-misc(){}
|
|
1702
1760
|
@mixin hook-nav-sub(){}
|
|
1703
|
-
@mixin hook-nav-parent-icon(){}
|
|
1704
1761
|
@mixin hook-nav-header(){}
|
|
1705
1762
|
@mixin hook-nav-divider(){}
|
|
1706
|
-
@mixin hook-nav-default(){
|
|
1763
|
+
@mixin hook-nav-default(){}
|
|
1707
1764
|
@mixin hook-nav-default-item(){}
|
|
1708
1765
|
@mixin hook-nav-default-item-hover(){}
|
|
1709
1766
|
@mixin hook-nav-default-item-active(){}
|
|
@@ -1717,9 +1774,19 @@
|
|
|
1717
1774
|
@mixin hook-nav-primary-subtitle(){}
|
|
1718
1775
|
@mixin hook-nav-primary-header(){}
|
|
1719
1776
|
@mixin hook-nav-primary-divider(){}
|
|
1777
|
+
@mixin hook-nav-secondary(){
|
|
1778
|
+
> :not(.uk-nav-divider) + :not(.uk-nav-header, .uk-nav-divider) { margin-top: $nav-background-margin-top; }
|
|
1779
|
+
}
|
|
1780
|
+
@mixin hook-nav-secondary-item(){ padding: $nav-background-item-padding-vertical $nav-background-item-padding-horizontal; }
|
|
1781
|
+
@mixin hook-nav-secondary-item-hover(){ background-color: $nav-background-item-hover-background; }
|
|
1782
|
+
@mixin hook-nav-secondary-item-active(){ background-color: $nav-background-item-active-background; }
|
|
1783
|
+
@mixin hook-nav-secondary-subtitle(){}
|
|
1784
|
+
@mixin hook-nav-secondary-subtitle-hover(){}
|
|
1785
|
+
@mixin hook-nav-secondary-subtitle-active(){}
|
|
1786
|
+
@mixin hook-nav-secondary-header(){}
|
|
1787
|
+
@mixin hook-nav-secondary-divider(){}
|
|
1720
1788
|
@mixin hook-nav-dividers(){}
|
|
1721
1789
|
@mixin hook-nav-misc(){}
|
|
1722
|
-
@mixin hook-inverse-nav-parent-icon(){}
|
|
1723
1790
|
@mixin hook-inverse-nav-default-item(){}
|
|
1724
1791
|
@mixin hook-inverse-nav-default-item-hover(){}
|
|
1725
1792
|
@mixin hook-inverse-nav-default-item-active(){}
|
|
@@ -1730,6 +1797,15 @@
|
|
|
1730
1797
|
@mixin hook-inverse-nav-primary-item-active(){}
|
|
1731
1798
|
@mixin hook-inverse-nav-primary-header(){}
|
|
1732
1799
|
@mixin hook-inverse-nav-primary-divider(){}
|
|
1800
|
+
@mixin hook-inverse-nav-secondary-item(){}
|
|
1801
|
+
@mixin hook-inverse-nav-secondary-item-hover(){ background-color: $inverse-nav-background-item-hover-background; }
|
|
1802
|
+
@mixin hook-inverse-nav-secondary-item-active(){ background-color: $inverse-nav-background-item-active-background; }
|
|
1803
|
+
@mixin hook-inverse-nav-secondary-subtitle(){}
|
|
1804
|
+
@mixin hook-inverse-nav-secondary-subtitle-hover(){}
|
|
1805
|
+
@mixin hook-inverse-nav-secondary-subtitle-active(){}
|
|
1806
|
+
@mixin hook-inverse-nav-secondary-header(){}
|
|
1807
|
+
@mixin hook-inverse-nav-secondary-divider(){}
|
|
1808
|
+
@mixin hook-inverse-nav-dividers(){}
|
|
1733
1809
|
@mixin hook-navbar(){}
|
|
1734
1810
|
@mixin hook-navbar-container(){}
|
|
1735
1811
|
@mixin hook-navbar-nav-item(){
|
|
@@ -1758,21 +1834,9 @@
|
|
|
1758
1834
|
@mixin hook-navbar-dropdown-nav-subtitle(){}
|
|
1759
1835
|
@mixin hook-navbar-dropdown-nav-header(){}
|
|
1760
1836
|
@mixin hook-navbar-dropdown-nav-divider(){}
|
|
1761
|
-
@mixin hook-navbar-dropbar(){
|
|
1837
|
+
@mixin hook-navbar-dropbar(){}
|
|
1762
1838
|
@mixin hook-navbar-misc(){
|
|
1763
1839
|
|
|
1764
|
-
/*
|
|
1765
|
-
* Navbar
|
|
1766
|
-
*/
|
|
1767
|
-
|
|
1768
|
-
.uk-container > :not(.uk-navbar-justified) > .uk-navbar-left .uk-navbar-nav:first-child,
|
|
1769
|
-
.uk-container > :not(.uk-navbar-justified) > .uk-navbar-left .uk-navbar-item:first-child,
|
|
1770
|
-
.uk-container > :not(.uk-navbar-justified) > .uk-navbar-left .uk-navbar-toggle:first-child { margin-left: (-$navbar-nav-item-padding-horizontal); }
|
|
1771
|
-
|
|
1772
|
-
.uk-container > :not(.uk-navbar-justified) > .uk-navbar-right .uk-navbar-nav:last-child,
|
|
1773
|
-
.uk-container > :not(.uk-navbar-justified) > .uk-navbar-right .uk-navbar-item:last-child,
|
|
1774
|
-
.uk-container > :not(.uk-navbar-justified) > .uk-navbar-right .uk-navbar-toggle:last-child { margin-right: (-$navbar-nav-item-padding-horizontal); }
|
|
1775
|
-
|
|
1776
1840
|
/*
|
|
1777
1841
|
* Grid Divider
|
|
1778
1842
|
*/
|
package/src/scss/mixins.scss
CHANGED
|
@@ -580,6 +580,12 @@
|
|
|
580
580
|
|
|
581
581
|
}
|
|
582
582
|
@mixin hook-drop-misc(){}
|
|
583
|
+
@mixin hook-dropbar(){}
|
|
584
|
+
@mixin hook-dropbar-top(){}
|
|
585
|
+
@mixin hook-dropbar-bottom(){}
|
|
586
|
+
@mixin hook-dropbar-left(){}
|
|
587
|
+
@mixin hook-dropbar-right(){}
|
|
588
|
+
@mixin hook-dropbar-misc(){}
|
|
583
589
|
@mixin hook-dropdown(){}
|
|
584
590
|
@mixin hook-dropdown-nav(){}
|
|
585
591
|
@mixin hook-dropdown-nav-item(){}
|
|
@@ -1019,17 +1025,6 @@
|
|
|
1019
1025
|
}
|
|
1020
1026
|
@mixin hook-inverse-component-nav(){
|
|
1021
1027
|
|
|
1022
|
-
//
|
|
1023
|
-
// Parent icon modifier
|
|
1024
|
-
//
|
|
1025
|
-
|
|
1026
|
-
.uk-nav-parent-icon > .uk-parent > a::after {
|
|
1027
|
-
@include svg-fill($internal-nav-parent-close-image, "#000", $inverse-nav-parent-icon-color);
|
|
1028
|
-
@if(mixin-exists(hook-inverse-nav-parent-icon)) {@include hook-inverse-nav-parent-icon();}
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
.uk-nav-parent-icon > .uk-parent.uk-open > a::after { @include svg-fill($internal-nav-parent-open-image, "#000", $inverse-nav-parent-icon-color); }
|
|
1032
|
-
|
|
1033
1028
|
//
|
|
1034
1029
|
// Default
|
|
1035
1030
|
//
|
|
@@ -1100,18 +1095,72 @@
|
|
|
1100
1095
|
|
|
1101
1096
|
.uk-nav-primary .uk-nav-sub li.uk-active > a { color: $inverse-nav-primary-sublist-item-active-color; }
|
|
1102
1097
|
|
|
1098
|
+
//
|
|
1099
|
+
// Secondary
|
|
1100
|
+
//
|
|
1101
|
+
|
|
1102
|
+
.uk-nav-secondary > li > a {
|
|
1103
|
+
color: $inverse-nav-secondary-item-color;
|
|
1104
|
+
@if(mixin-exists(hook-inverse-nav-secondary-item)) {@include hook-inverse-nav-secondary-item();}
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
.uk-nav-secondary > li > a:hover {
|
|
1108
|
+
color: $inverse-nav-secondary-item-hover-color;
|
|
1109
|
+
@if(mixin-exists(hook-inverse-nav-secondary-item-hover)) {@include hook-inverse-nav-secondary-item-hover();}
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
.uk-nav-secondary > li.uk-active > a {
|
|
1113
|
+
color: $inverse-nav-secondary-item-active-color;
|
|
1114
|
+
@if(mixin-exists(hook-inverse-nav-secondary-item-active)) {@include hook-inverse-nav-secondary-item-active();}
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
.uk-nav-secondary .uk-nav-subtitle {
|
|
1118
|
+
color: $inverse-nav-secondary-subtitle-color;
|
|
1119
|
+
@if(mixin-exists(hook-inverse-nav-secondary-subtitle)) {@include hook-inverse-nav-secondary-subtitle();}
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
.uk-nav-secondary > li > a:hover .uk-nav-subtitle {
|
|
1123
|
+
color: $inverse-nav-secondary-subtitle-hover-color;
|
|
1124
|
+
@if(mixin-exists(hook-inverse-nav-secondary-subtitle-hover)) {@include hook-inverse-nav-secondary-subtitle-hover();}
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.uk-nav-secondary > li.uk-active > a .uk-nav-subtitle {
|
|
1128
|
+
color: $inverse-nav-secondary-subtitle-active-color;
|
|
1129
|
+
@if(mixin-exists(hook-inverse-nav-secondary-subtitle-active)) {@include hook-inverse-nav-secondary-subtitle-active();}
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.uk-nav-secondary .uk-nav-header {
|
|
1133
|
+
color: $inverse-nav-secondary-header-color;
|
|
1134
|
+
@if(mixin-exists(hook-inverse-nav-secondary-header)) {@include hook-inverse-nav-secondary-header();}
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
.uk-nav-secondary .uk-nav-divider {
|
|
1138
|
+
border-top-color: $inverse-nav-secondary-divider-border;
|
|
1139
|
+
@if(mixin-exists(hook-inverse-nav-secondary-divider)) {@include hook-inverse-nav-secondary-divider();}
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
.uk-nav-secondary .uk-nav-sub a { color: $inverse-nav-secondary-sublist-item-color; }
|
|
1143
|
+
|
|
1144
|
+
.uk-nav-secondary .uk-nav-sub a:hover { color: $inverse-nav-secondary-sublist-item-hover-color; }
|
|
1145
|
+
|
|
1146
|
+
.uk-nav-secondary .uk-nav-sub li.uk-active > a { color: $inverse-nav-secondary-sublist-item-active-color; }
|
|
1147
|
+
|
|
1103
1148
|
//
|
|
1104
1149
|
// Dividers
|
|
1105
1150
|
//
|
|
1106
1151
|
|
|
1107
1152
|
.uk-nav.uk-nav-divider > :not(.uk-nav-divider) + :not(.uk-nav-header, .uk-nav-divider) {
|
|
1108
1153
|
border-top-color: $inverse-nav-dividers-border;
|
|
1109
|
-
@if(mixin-exists(hook-nav-dividers)) {@include hook-nav-dividers();}
|
|
1154
|
+
@if(mixin-exists(hook-inverse-nav-dividers)) {@include hook-inverse-nav-dividers();}
|
|
1110
1155
|
}
|
|
1111
1156
|
|
|
1112
1157
|
}
|
|
1113
1158
|
@mixin hook-inverse-component-navbar(){
|
|
1114
1159
|
|
|
1160
|
+
//
|
|
1161
|
+
// Nav Item
|
|
1162
|
+
//
|
|
1163
|
+
|
|
1115
1164
|
.uk-navbar-nav > li > a {
|
|
1116
1165
|
color: $inverse-navbar-nav-item-color;
|
|
1117
1166
|
@if(mixin-exists(hook-inverse-navbar-nav-item)) {@include hook-inverse-navbar-nav-item();}
|
|
@@ -1133,11 +1182,19 @@
|
|
|
1133
1182
|
@if(mixin-exists(hook-inverse-navbar-nav-item-active)) {@include hook-inverse-navbar-nav-item-active();}
|
|
1134
1183
|
}
|
|
1135
1184
|
|
|
1185
|
+
//
|
|
1186
|
+
// Item
|
|
1187
|
+
//
|
|
1188
|
+
|
|
1136
1189
|
.uk-navbar-item {
|
|
1137
1190
|
color: $inverse-navbar-item-color;
|
|
1138
1191
|
@if(mixin-exists(hook-inverse-navbar-item)) {@include hook-inverse-navbar-item();}
|
|
1139
1192
|
}
|
|
1140
1193
|
|
|
1194
|
+
//
|
|
1195
|
+
// Toggle
|
|
1196
|
+
//
|
|
1197
|
+
|
|
1141
1198
|
.uk-navbar-toggle {
|
|
1142
1199
|
color: $inverse-navbar-toggle-color;
|
|
1143
1200
|
@if(mixin-exists(hook-inverse-navbar-toggle)) {@include hook-inverse-navbar-toggle();}
|
|
@@ -1317,7 +1374,8 @@
|
|
|
1317
1374
|
@if(mixin-exists(hook-inverse-logo-hover)) {@include hook-inverse-logo-hover();}
|
|
1318
1375
|
}
|
|
1319
1376
|
|
|
1320
|
-
.uk-logo > :not(
|
|
1377
|
+
.uk-logo > picture:not(:only-of-type) > :not(.uk-logo-inverse),
|
|
1378
|
+
.uk-logo > :not(picture):not(.uk-logo-inverse):not(:only-of-type) { display: none; }
|
|
1321
1379
|
.uk-logo-inverse { display: block; }
|
|
1322
1380
|
|
|
1323
1381
|
}
|
|
@@ -1430,7 +1488,6 @@
|
|
|
1430
1488
|
@mixin hook-modal-close-full-hover(){}
|
|
1431
1489
|
@mixin hook-modal-misc(){}
|
|
1432
1490
|
@mixin hook-nav-sub(){}
|
|
1433
|
-
@mixin hook-nav-parent-icon(){}
|
|
1434
1491
|
@mixin hook-nav-header(){}
|
|
1435
1492
|
@mixin hook-nav-divider(){}
|
|
1436
1493
|
@mixin hook-nav-default(){}
|
|
@@ -1447,9 +1504,17 @@
|
|
|
1447
1504
|
@mixin hook-nav-primary-subtitle(){}
|
|
1448
1505
|
@mixin hook-nav-primary-header(){}
|
|
1449
1506
|
@mixin hook-nav-primary-divider(){}
|
|
1507
|
+
@mixin hook-nav-secondary(){}
|
|
1508
|
+
@mixin hook-nav-secondary-item(){}
|
|
1509
|
+
@mixin hook-nav-secondary-item-hover(){}
|
|
1510
|
+
@mixin hook-nav-secondary-item-active(){}
|
|
1511
|
+
@mixin hook-nav-secondary-subtitle(){}
|
|
1512
|
+
@mixin hook-nav-secondary-subtitle-hover(){}
|
|
1513
|
+
@mixin hook-nav-secondary-subtitle-active(){}
|
|
1514
|
+
@mixin hook-nav-secondary-header(){}
|
|
1515
|
+
@mixin hook-nav-secondary-divider(){}
|
|
1450
1516
|
@mixin hook-nav-dividers(){}
|
|
1451
1517
|
@mixin hook-nav-misc(){}
|
|
1452
|
-
@mixin hook-inverse-nav-parent-icon(){}
|
|
1453
1518
|
@mixin hook-inverse-nav-default-item(){}
|
|
1454
1519
|
@mixin hook-inverse-nav-default-item-hover(){}
|
|
1455
1520
|
@mixin hook-inverse-nav-default-item-active(){}
|
|
@@ -1460,6 +1525,15 @@
|
|
|
1460
1525
|
@mixin hook-inverse-nav-primary-item-active(){}
|
|
1461
1526
|
@mixin hook-inverse-nav-primary-header(){}
|
|
1462
1527
|
@mixin hook-inverse-nav-primary-divider(){}
|
|
1528
|
+
@mixin hook-inverse-nav-secondary-item(){}
|
|
1529
|
+
@mixin hook-inverse-nav-secondary-item-hover(){}
|
|
1530
|
+
@mixin hook-inverse-nav-secondary-item-active(){}
|
|
1531
|
+
@mixin hook-inverse-nav-secondary-subtitle(){}
|
|
1532
|
+
@mixin hook-inverse-nav-secondary-subtitle-hover(){}
|
|
1533
|
+
@mixin hook-inverse-nav-secondary-subtitle-active(){}
|
|
1534
|
+
@mixin hook-inverse-nav-secondary-header(){}
|
|
1535
|
+
@mixin hook-inverse-nav-secondary-divider(){}
|
|
1536
|
+
@mixin hook-inverse-nav-dividers(){}
|
|
1463
1537
|
@mixin hook-navbar(){}
|
|
1464
1538
|
@mixin hook-navbar-container(){}
|
|
1465
1539
|
@mixin hook-navbar-nav-item(){}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Component: Dropbar
|
|
3
|
+
//
|
|
4
|
+
// ========================================================================
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
// Variables
|
|
8
|
+
// ========================================================================
|
|
9
|
+
|
|
10
|
+
$dropbar-padding-top: 25px !default;
|
|
11
|
+
$dropbar-background: $global-background !default;
|
|
12
|
+
|
|
13
|
+
//
|
|
14
|
+
// New
|
|
15
|
+
//
|
|
16
|
+
|
|
17
|
+
$dropbar-top-box-shadow: 0 12px 7px -6px rgba(0, 0, 0, 0.05) !default;
|
|
18
|
+
$dropbar-bottom-box-shadow: 0 -12px 7px -6px rgba(0, 0, 0, 0.05) !default;
|
|
19
|
+
$dropbar-left-box-shadow: 12px 0 7px -6px rgba(0, 0, 0, 0.05) !default;
|
|
20
|
+
$dropbar-right-box-shadow: -12px 0 7px -6px rgba(0, 0, 0, 0.05) !default;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
// Component
|
|
24
|
+
// ========================================================================
|
|
25
|
+
|
|
26
|
+
// @mixin hook-dropbar(){}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
// Direction modifier
|
|
30
|
+
// ========================================================================
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
// Miscellaneous
|
|
42
|
+
// ========================================================================
|
|
43
|
+
|
|
44
|
+
// @mixin hook-dropbar-misc(){}
|