juicelang-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +37 -0
- data/_includes/logo.html +5 -0
- data/_layouts/default.html +97 -0
- data/_layouts/fullwidth_page.html +7 -0
- data/_layouts/page.html +7 -0
- data/_layouts/post.html +5 -0
- data/_sass/uikit/components/_import.components.scss +56 -0
- data/_sass/uikit/components/_import.scss +95 -0
- data/_sass/uikit/components/_import.utilities.scss +19 -0
- data/_sass/uikit/components/accordion.scss +105 -0
- data/_sass/uikit/components/alert.scss +146 -0
- data/_sass/uikit/components/align.scss +142 -0
- data/_sass/uikit/components/animation.scss +283 -0
- data/_sass/uikit/components/article.scss +99 -0
- data/_sass/uikit/components/background.scss +148 -0
- data/_sass/uikit/components/badge.scss +78 -0
- data/_sass/uikit/components/base.scss +611 -0
- data/_sass/uikit/components/breadcrumb.scss +122 -0
- data/_sass/uikit/components/button.scss +439 -0
- data/_sass/uikit/components/card.scss +384 -0
- data/_sass/uikit/components/close.scss +55 -0
- data/_sass/uikit/components/column.scss +139 -0
- data/_sass/uikit/components/comment.scss +160 -0
- data/_sass/uikit/components/container.scss +185 -0
- data/_sass/uikit/components/countdown.scss +131 -0
- data/_sass/uikit/components/cover.scss +63 -0
- data/_sass/uikit/components/description-list.scss +71 -0
- data/_sass/uikit/components/divider.scss +153 -0
- data/_sass/uikit/components/dotnav.scss +155 -0
- data/_sass/uikit/components/drop.scss +63 -0
- data/_sass/uikit/components/dropbar.scss +126 -0
- data/_sass/uikit/components/dropdown.scss +170 -0
- data/_sass/uikit/components/flex.scss +200 -0
- data/_sass/uikit/components/form-range.scss +139 -0
- data/_sass/uikit/components/form.scss +804 -0
- data/_sass/uikit/components/grid-masonry.scss +69 -0
- data/_sass/uikit/components/grid.scss +407 -0
- data/_sass/uikit/components/heading.scss +321 -0
- data/_sass/uikit/components/height.scss +57 -0
- data/_sass/uikit/components/icon.scss +225 -0
- data/_sass/uikit/components/iconnav.scss +146 -0
- data/_sass/uikit/components/inverse.scss +46 -0
- data/_sass/uikit/components/label.scss +102 -0
- data/_sass/uikit/components/leader.scss +69 -0
- data/_sass/uikit/components/lightbox.scss +248 -0
- data/_sass/uikit/components/link.scss +138 -0
- data/_sass/uikit/components/list.scss +240 -0
- data/_sass/uikit/components/margin.scss +249 -0
- data/_sass/uikit/components/marker.scss +61 -0
- data/_sass/uikit/components/mixin.scss +32 -0
- data/_sass/uikit/components/modal.scss +367 -0
- data/_sass/uikit/components/nav.scss +555 -0
- data/_sass/uikit/components/navbar.scss +634 -0
- data/_sass/uikit/components/notification.scss +191 -0
- data/_sass/uikit/components/offcanvas.scss +324 -0
- data/_sass/uikit/components/overlay.scss +85 -0
- data/_sass/uikit/components/padding.scss +81 -0
- data/_sass/uikit/components/pagination.scss +130 -0
- data/_sass/uikit/components/placeholder.scss +45 -0
- data/_sass/uikit/components/position.scss +230 -0
- data/_sass/uikit/components/print.scss +61 -0
- data/_sass/uikit/components/progress.scss +83 -0
- data/_sass/uikit/components/search.scss +339 -0
- data/_sass/uikit/components/section.scss +212 -0
- data/_sass/uikit/components/slidenav.scss +120 -0
- data/_sass/uikit/components/slider.scss +116 -0
- data/_sass/uikit/components/slideshow.scss +93 -0
- data/_sass/uikit/components/sortable.scss +90 -0
- data/_sass/uikit/components/spinner.scss +74 -0
- data/_sass/uikit/components/sticky.scss +71 -0
- data/_sass/uikit/components/subnav.scss +246 -0
- data/_sass/uikit/components/svg.scss +36 -0
- data/_sass/uikit/components/switcher.scss +47 -0
- data/_sass/uikit/components/tab.scss +196 -0
- data/_sass/uikit/components/table.scss +315 -0
- data/_sass/uikit/components/text.scss +268 -0
- data/_sass/uikit/components/thumbnav.scss +119 -0
- data/_sass/uikit/components/tile.scss +233 -0
- data/_sass/uikit/components/tooltip.scss +79 -0
- data/_sass/uikit/components/totop.scss +69 -0
- data/_sass/uikit/components/transition.scss +165 -0
- data/_sass/uikit/components/utility.scss +522 -0
- data/_sass/uikit/components/variables.scss +123 -0
- data/_sass/uikit/components/visibility.scss +146 -0
- data/_sass/uikit/components/width.scss +386 -0
- data/_sass/uikit/mixins-theme.scss +2170 -0
- data/_sass/uikit/mixins.scss +1812 -0
- data/_sass/uikit/theme/_import.scss +82 -0
- data/_sass/uikit/theme/accordion.scss +59 -0
- data/_sass/uikit/theme/alert.scss +46 -0
- data/_sass/uikit/theme/align.scss +14 -0
- data/_sass/uikit/theme/animation.scss +14 -0
- data/_sass/uikit/theme/article.scss +51 -0
- data/_sass/uikit/theme/background.scss +14 -0
- data/_sass/uikit/theme/badge.scss +29 -0
- data/_sass/uikit/theme/base.scss +116 -0
- data/_sass/uikit/theme/breadcrumb.scss +45 -0
- data/_sass/uikit/theme/button.scss +157 -0
- data/_sass/uikit/theme/card.scss +128 -0
- data/_sass/uikit/theme/close.scss +29 -0
- data/_sass/uikit/theme/column.scss +14 -0
- data/_sass/uikit/theme/comment.scss +69 -0
- data/_sass/uikit/theme/container.scss +14 -0
- data/_sass/uikit/theme/countdown.scss +53 -0
- data/_sass/uikit/theme/description-list.scss +32 -0
- data/_sass/uikit/theme/divider.scss +49 -0
- data/_sass/uikit/theme/dotnav.scss +52 -0
- data/_sass/uikit/theme/drop.scss +14 -0
- data/_sass/uikit/theme/dropbar.scss +44 -0
- data/_sass/uikit/theme/dropdown.scss +49 -0
- data/_sass/uikit/theme/form-range.scss +45 -0
- data/_sass/uikit/theme/form.scss +131 -0
- data/_sass/uikit/theme/grid.scss +28 -0
- data/_sass/uikit/theme/heading.scss +67 -0
- data/_sass/uikit/theme/height.scss +14 -0
- data/_sass/uikit/theme/icon.scss +50 -0
- data/_sass/uikit/theme/iconnav.scss +40 -0
- data/_sass/uikit/theme/inverse.scss +14 -0
- data/_sass/uikit/theme/label.scss +43 -0
- data/_sass/uikit/theme/leader.scss +26 -0
- data/_sass/uikit/theme/lightbox.scss +50 -0
- data/_sass/uikit/theme/link.scss +55 -0
- data/_sass/uikit/theme/list.scss +36 -0
- data/_sass/uikit/theme/margin.scss +14 -0
- data/_sass/uikit/theme/marker.scss +29 -0
- data/_sass/uikit/theme/modal.scss +84 -0
- data/_sass/uikit/theme/nav.scss +140 -0
- data/_sass/uikit/theme/navbar.scss +146 -0
- data/_sass/uikit/theme/notification.scss +44 -0
- data/_sass/uikit/theme/offcanvas.scss +32 -0
- data/_sass/uikit/theme/overlay.scss +33 -0
- data/_sass/uikit/theme/padding.scss +14 -0
- data/_sass/uikit/theme/pagination.scss +41 -0
- data/_sass/uikit/theme/placeholder.scss +29 -0
- data/_sass/uikit/theme/position.scss +14 -0
- data/_sass/uikit/theme/progress.scss +24 -0
- data/_sass/uikit/theme/search.scss +87 -0
- data/_sass/uikit/theme/section.scss +32 -0
- data/_sass/uikit/theme/slidenav.scss +52 -0
- data/_sass/uikit/theme/slider.scss +14 -0
- data/_sass/uikit/theme/sortable.scss +38 -0
- data/_sass/uikit/theme/spinner.scss +14 -0
- data/_sass/uikit/theme/sticky.scss +14 -0
- data/_sass/uikit/theme/subnav.scss +74 -0
- data/_sass/uikit/theme/tab.scss +74 -0
- data/_sass/uikit/theme/table.scss +69 -0
- data/_sass/uikit/theme/text.scss +50 -0
- data/_sass/uikit/theme/thumbnav.scss +42 -0
- data/_sass/uikit/theme/tile.scss +52 -0
- data/_sass/uikit/theme/tooltip.scss +20 -0
- data/_sass/uikit/theme/totop.scss +32 -0
- data/_sass/uikit/theme/transition.scss +14 -0
- data/_sass/uikit/theme/utility.scss +49 -0
- data/_sass/uikit/theme/variables.scss +36 -0
- data/_sass/uikit/theme/width.scss +14 -0
- data/_sass/uikit/uikit-theme.scss +9 -0
- data/_sass/uikit/uikit.scss +5 -0
- data/_sass/uikit/variables-theme.scss +1260 -0
- data/_sass/uikit/variables.scss +1142 -0
- data/assets/css/default.scss +220 -0
- data/assets/images/icons/android-chrome-192x192.png +0 -0
- data/assets/images/icons/android-chrome-512x512.png +0 -0
- data/assets/images/icons/apple-touch-icon.png +0 -0
- data/assets/images/icons/browserconfig.xml +9 -0
- data/assets/images/icons/favicon-16x16.png +0 -0
- data/assets/images/icons/favicon-32x32.png +0 -0
- data/assets/images/icons/favicon.ico +0 -0
- data/assets/images/icons/mstile-144x144.png +0 -0
- data/assets/images/icons/mstile-150x150.png +0 -0
- data/assets/images/icons/mstile-310x150.png +0 -0
- data/assets/images/icons/mstile-310x310.png +0 -0
- data/assets/images/icons/mstile-70x70.png +0 -0
- data/assets/images/icons/safari-pinned-tab.svg +46 -0
- data/assets/images/icons/site.webmanifest +18 -0
- data/assets/images/juice.svg +47 -0
- data/assets/js/default.js +0 -0
- metadata +248 -0
@@ -0,0 +1,522 @@
|
|
1
|
+
// Name: Utility
|
2
|
+
// Description: Utilities collection
|
3
|
+
//
|
4
|
+
// Component: `uk-panel-*`
|
5
|
+
// `uk-clearfix`
|
6
|
+
// `uk-float-*`
|
7
|
+
// `uk-overflow-*`
|
8
|
+
// `uk-resize-*`
|
9
|
+
// `uk-display-*`
|
10
|
+
// `uk-inline-*`
|
11
|
+
// `uk-responsive-*`
|
12
|
+
// `uk-preserve-width`
|
13
|
+
// `uk-object-*`
|
14
|
+
// `uk-border-*`
|
15
|
+
// `uk-box-shadow-*`
|
16
|
+
// `uk-box-shadow-bottom`
|
17
|
+
// `uk-dropcap`
|
18
|
+
// `uk-logo`
|
19
|
+
// `uk-blend-*`
|
20
|
+
// `uk-transform-*`
|
21
|
+
// `uk-transform-origin-*`
|
22
|
+
//
|
23
|
+
// States: `uk-disabled`
|
24
|
+
// `uk-drag`
|
25
|
+
// `uk-dragover`
|
26
|
+
// `uk-preserve`
|
27
|
+
//
|
28
|
+
// ========================================================================
|
29
|
+
|
30
|
+
|
31
|
+
// Variables
|
32
|
+
// ========================================================================
|
33
|
+
|
34
|
+
$panel-scrollable-height: 170px !default;
|
35
|
+
$panel-scrollable-padding: 10px !default;
|
36
|
+
$panel-scrollable-border-width: $global-border-width !default;
|
37
|
+
$panel-scrollable-border: $global-border !default;
|
38
|
+
|
39
|
+
$border-rounded-border-radius: 5px !default;
|
40
|
+
|
41
|
+
$box-shadow-duration: 0.1s !default;
|
42
|
+
|
43
|
+
$box-shadow-bottom-height: 30px !default;
|
44
|
+
$box-shadow-bottom-bottom: (-$box-shadow-bottom-height) !default;
|
45
|
+
$box-shadow-bottom-border-radius: 100% !default;
|
46
|
+
$box-shadow-bottom-background: #444 !default;
|
47
|
+
$box-shadow-bottom-blur: 20px !default;
|
48
|
+
|
49
|
+
$dropcap-margin-right: 10px !default;
|
50
|
+
$dropcap-font-size: (($global-line-height * 3) * 1em) !default;
|
51
|
+
|
52
|
+
$logo-font-size: $global-large-font-size !default;
|
53
|
+
$logo-font-family: $global-font-family !default;
|
54
|
+
$logo-color: $global-emphasis-color !default;
|
55
|
+
$logo-hover-color: $global-emphasis-color !default;
|
56
|
+
|
57
|
+
$dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3) !default;
|
58
|
+
|
59
|
+
|
60
|
+
/* ========================================================================
|
61
|
+
Component: Utility
|
62
|
+
========================================================================== */
|
63
|
+
|
64
|
+
|
65
|
+
/* Panel
|
66
|
+
========================================================================== */
|
67
|
+
|
68
|
+
.uk-panel {
|
69
|
+
display: flow-root;
|
70
|
+
position: relative;
|
71
|
+
box-sizing: border-box;
|
72
|
+
}
|
73
|
+
|
74
|
+
/*
|
75
|
+
* Remove margin from the last-child
|
76
|
+
*/
|
77
|
+
|
78
|
+
.uk-panel > :last-child { margin-bottom: 0; }
|
79
|
+
|
80
|
+
|
81
|
+
/*
|
82
|
+
* Scrollable
|
83
|
+
*/
|
84
|
+
|
85
|
+
.uk-panel-scrollable {
|
86
|
+
height: $panel-scrollable-height;
|
87
|
+
padding: $panel-scrollable-padding;
|
88
|
+
border: $panel-scrollable-border-width solid $panel-scrollable-border;
|
89
|
+
overflow: auto;
|
90
|
+
-webkit-overflow-scrolling: touch;
|
91
|
+
resize: both;
|
92
|
+
@if(mixin-exists(hook-panel-scrollable)) {@include hook-panel-scrollable();}
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
/* Clearfix
|
97
|
+
========================================================================== */
|
98
|
+
|
99
|
+
/*
|
100
|
+
* 1. `table-cell` is used with `::before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit
|
101
|
+
* 2. `table` is used again with `::after` because `clear` only works with block elements.
|
102
|
+
* Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari
|
103
|
+
*/
|
104
|
+
|
105
|
+
/* 1 */
|
106
|
+
.uk-clearfix::before {
|
107
|
+
content: "";
|
108
|
+
display: table-cell;
|
109
|
+
}
|
110
|
+
|
111
|
+
/* 2 */
|
112
|
+
.uk-clearfix::after {
|
113
|
+
content: "";
|
114
|
+
display: table;
|
115
|
+
clear: both;
|
116
|
+
}
|
117
|
+
|
118
|
+
|
119
|
+
/* Float
|
120
|
+
========================================================================== */
|
121
|
+
|
122
|
+
/*
|
123
|
+
* 1. Prevent content overflow
|
124
|
+
*/
|
125
|
+
|
126
|
+
.uk-float-left { float: left; }
|
127
|
+
.uk-float-right { float: right; }
|
128
|
+
|
129
|
+
/* 1 */
|
130
|
+
[class*='uk-float-'] { max-width: 100%; }
|
131
|
+
|
132
|
+
|
133
|
+
/* Overfow
|
134
|
+
========================================================================== */
|
135
|
+
|
136
|
+
.uk-overflow-hidden { overflow: hidden; }
|
137
|
+
|
138
|
+
/*
|
139
|
+
* Enable scrollbars if content is clipped
|
140
|
+
*/
|
141
|
+
|
142
|
+
.uk-overflow-auto {
|
143
|
+
overflow: auto;
|
144
|
+
-webkit-overflow-scrolling: touch;
|
145
|
+
}
|
146
|
+
|
147
|
+
.uk-overflow-auto > :last-child { margin-bottom: 0; }
|
148
|
+
|
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
|
+
|
157
|
+
/* Resize
|
158
|
+
========================================================================== */
|
159
|
+
|
160
|
+
.uk-resize { resize: both; }
|
161
|
+
.uk-resize-horizontal { resize: horizontal; }
|
162
|
+
.uk-resize-vertical { resize: vertical; }
|
163
|
+
|
164
|
+
|
165
|
+
/* Display
|
166
|
+
========================================================================== */
|
167
|
+
|
168
|
+
.uk-display-block { display: block !important; }
|
169
|
+
.uk-display-inline { display: inline !important; }
|
170
|
+
.uk-display-inline-block { display: inline-block !important; }
|
171
|
+
|
172
|
+
|
173
|
+
/* Inline
|
174
|
+
========================================================================== */
|
175
|
+
|
176
|
+
/*
|
177
|
+
* 1. Container fits its content
|
178
|
+
* 2. Create position context
|
179
|
+
* 3. Prevent content overflow
|
180
|
+
* 4. Behave like most inline-block elements
|
181
|
+
* 5. Force new layer without creating a new stacking context
|
182
|
+
* to fix 1px glitch when combined with overlays and transitions in Webkit
|
183
|
+
* 6. Clip child elements
|
184
|
+
*/
|
185
|
+
|
186
|
+
[class*='uk-inline'] {
|
187
|
+
/* 1 */
|
188
|
+
display: inline-block;
|
189
|
+
/* 2 */
|
190
|
+
position: relative;
|
191
|
+
/* 3 */
|
192
|
+
max-width: 100%;
|
193
|
+
/* 4 */
|
194
|
+
vertical-align: middle;
|
195
|
+
/* 5 */
|
196
|
+
-webkit-backface-visibility: hidden;
|
197
|
+
}
|
198
|
+
|
199
|
+
.uk-inline-clip {
|
200
|
+
/* 6 */
|
201
|
+
overflow: hidden;
|
202
|
+
}
|
203
|
+
|
204
|
+
|
205
|
+
/* Responsive objects
|
206
|
+
========================================================================== */
|
207
|
+
|
208
|
+
/*
|
209
|
+
* Preserve original dimensions
|
210
|
+
* Because `img, `video`, `canvas` and `audio` are already responsive by default, see Base component
|
211
|
+
*/
|
212
|
+
|
213
|
+
.uk-preserve-width,
|
214
|
+
.uk-preserve-width canvas,
|
215
|
+
.uk-preserve-width img,
|
216
|
+
.uk-preserve-width svg,
|
217
|
+
.uk-preserve-width video { max-width: none; }
|
218
|
+
|
219
|
+
/*
|
220
|
+
* Responsiveness
|
221
|
+
* Corrects `max-width` and `max-height` behavior if padding and border are used
|
222
|
+
*/
|
223
|
+
|
224
|
+
.uk-responsive-width,
|
225
|
+
.uk-responsive-height { box-sizing: border-box; }
|
226
|
+
|
227
|
+
/*
|
228
|
+
* 1. Set a maximum width. `important` needed to override `uk-preserve-width img`
|
229
|
+
* 2. Auto scale the height. Only needed if `height` attribute is present
|
230
|
+
*/
|
231
|
+
|
232
|
+
.uk-responsive-width {
|
233
|
+
/* 1 */
|
234
|
+
max-width: 100% !important;
|
235
|
+
/* 2 */
|
236
|
+
height: auto;
|
237
|
+
}
|
238
|
+
|
239
|
+
/*
|
240
|
+
* 1. Set a maximum height. Only works if the parent element has a fixed height
|
241
|
+
* 2. Auto scale the width. Only needed if `width` attribute is present
|
242
|
+
* 3. Reset max-width, which `img, `video`, `canvas` and `audio` already have by default
|
243
|
+
*/
|
244
|
+
|
245
|
+
.uk-responsive-height {
|
246
|
+
/* 1 */
|
247
|
+
max-height: 100%;
|
248
|
+
/* 2 */
|
249
|
+
width: auto;
|
250
|
+
/* 3 */
|
251
|
+
max-width: none;
|
252
|
+
}
|
253
|
+
|
254
|
+
/*
|
255
|
+
* Fix initial iframe width. Without the viewport is expanded on iOS devices
|
256
|
+
*/
|
257
|
+
|
258
|
+
[uk-responsive],
|
259
|
+
[data-uk-responsive] { max-width: 100%; }
|
260
|
+
|
261
|
+
|
262
|
+
/* Object
|
263
|
+
========================================================================== */
|
264
|
+
|
265
|
+
.uk-object-cover { object-fit: cover; }
|
266
|
+
.uk-object-contain { object-fit: contain; }
|
267
|
+
.uk-object-fill { object-fit: fill; }
|
268
|
+
.uk-object-none { object-fit: none; }
|
269
|
+
.uk-object-scale-down { object-fit: scale-down; }
|
270
|
+
|
271
|
+
/*
|
272
|
+
* Position
|
273
|
+
*/
|
274
|
+
|
275
|
+
.uk-object-top-left { object-position: 0 0; }
|
276
|
+
.uk-object-top-center { object-position: 50% 0; }
|
277
|
+
.uk-object-top-right { object-position: 100% 0; }
|
278
|
+
.uk-object-center-left { object-position: 0 50%; }
|
279
|
+
.uk-object-center-center { object-position: 50% 50%; }
|
280
|
+
.uk-object-center-right { object-position: 100% 50%; }
|
281
|
+
.uk-object-bottom-left { object-position: 0 100%; }
|
282
|
+
.uk-object-bottom-center { object-position: 50% 100%; }
|
283
|
+
.uk-object-bottom-right { object-position: 100% 100%; }
|
284
|
+
|
285
|
+
|
286
|
+
/* Border
|
287
|
+
========================================================================== */
|
288
|
+
|
289
|
+
.uk-border-circle { border-radius: 50%; }
|
290
|
+
.uk-border-pill { border-radius: 500px; }
|
291
|
+
.uk-border-rounded { border-radius: $border-rounded-border-radius; }
|
292
|
+
|
293
|
+
/*
|
294
|
+
* Fix `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit
|
295
|
+
*/
|
296
|
+
|
297
|
+
.uk-inline-clip[class*='uk-border-'] { -webkit-transform: translateZ(0); }
|
298
|
+
|
299
|
+
|
300
|
+
/* Box-shadow
|
301
|
+
========================================================================== */
|
302
|
+
|
303
|
+
.uk-box-shadow-small { box-shadow: $global-small-box-shadow; }
|
304
|
+
.uk-box-shadow-medium { box-shadow: $global-medium-box-shadow; }
|
305
|
+
.uk-box-shadow-large { box-shadow: $global-large-box-shadow; }
|
306
|
+
.uk-box-shadow-xlarge { box-shadow: $global-xlarge-box-shadow; }
|
307
|
+
|
308
|
+
/*
|
309
|
+
* Hover
|
310
|
+
*/
|
311
|
+
|
312
|
+
[class*='uk-box-shadow-hover'] { transition: box-shadow $box-shadow-duration ease-in-out; }
|
313
|
+
|
314
|
+
.uk-box-shadow-hover-small:hover { box-shadow: $global-small-box-shadow; }
|
315
|
+
.uk-box-shadow-hover-medium:hover { box-shadow: $global-medium-box-shadow; }
|
316
|
+
.uk-box-shadow-hover-large:hover { box-shadow: $global-large-box-shadow; }
|
317
|
+
.uk-box-shadow-hover-xlarge:hover { box-shadow: $global-xlarge-box-shadow; }
|
318
|
+
|
319
|
+
|
320
|
+
/* Box-shadow bottom
|
321
|
+
========================================================================== */
|
322
|
+
|
323
|
+
/*
|
324
|
+
* 1. Set position.
|
325
|
+
* 2. Set style
|
326
|
+
* 3. Fix shadow being clipped in Safari if container is animated
|
327
|
+
*/
|
328
|
+
|
329
|
+
@supports (filter: blur(0)) {
|
330
|
+
|
331
|
+
.uk-box-shadow-bottom {
|
332
|
+
display: inline-block;
|
333
|
+
position: relative;
|
334
|
+
z-index: 0;
|
335
|
+
max-width: 100%;
|
336
|
+
vertical-align: middle;
|
337
|
+
}
|
338
|
+
|
339
|
+
.uk-box-shadow-bottom::after {
|
340
|
+
content: "";
|
341
|
+
/* 1 */
|
342
|
+
position: absolute;
|
343
|
+
bottom: $box-shadow-bottom-bottom;
|
344
|
+
left: 0;
|
345
|
+
right: 0;
|
346
|
+
z-index: -1;
|
347
|
+
/* 2 */
|
348
|
+
height: $box-shadow-bottom-height;
|
349
|
+
border-radius: $box-shadow-bottom-border-radius;
|
350
|
+
background: $box-shadow-bottom-background;
|
351
|
+
filter: blur($box-shadow-bottom-blur);
|
352
|
+
/* 3 */
|
353
|
+
will-change: filter;
|
354
|
+
@if(mixin-exists(hook-box-shadow-bottom)) {@include hook-box-shadow-bottom();}
|
355
|
+
}
|
356
|
+
|
357
|
+
}
|
358
|
+
|
359
|
+
|
360
|
+
/* Drop cap
|
361
|
+
========================================================================== */
|
362
|
+
|
363
|
+
/*
|
364
|
+
* 1. Firefox doesn't apply `::first-letter` if the first letter is inside child elements
|
365
|
+
* https://bugzilla.mozilla.org/show_bug.cgi?id=214004
|
366
|
+
* 2. In Firefox, a floating `::first-letter` doesn't have a line box and there for no `line-height`
|
367
|
+
* https://bugzilla.mozilla.org/show_bug.cgi?id=317933
|
368
|
+
*/
|
369
|
+
|
370
|
+
.uk-dropcap::first-letter,
|
371
|
+
/* 1 */
|
372
|
+
.uk-dropcap > p:first-of-type::first-letter {
|
373
|
+
display: block;
|
374
|
+
margin-right: $dropcap-margin-right;
|
375
|
+
float: left;
|
376
|
+
font-size: $dropcap-font-size;
|
377
|
+
line-height: 1;
|
378
|
+
@if(mixin-exists(hook-dropcap)) {@include hook-dropcap();}
|
379
|
+
}
|
380
|
+
|
381
|
+
/* 2 */
|
382
|
+
@-moz-document url-prefix() {
|
383
|
+
|
384
|
+
.uk-dropcap::first-letter,
|
385
|
+
.uk-dropcap > p:first-of-type::first-letter { margin-top: 1.1%; }
|
386
|
+
|
387
|
+
}
|
388
|
+
|
389
|
+
|
390
|
+
/* Logo
|
391
|
+
========================================================================== */
|
392
|
+
|
393
|
+
/*
|
394
|
+
* 1. Style
|
395
|
+
* 2. Required for `a`
|
396
|
+
* 3. Behave like image but can be overridden through flex utility classes
|
397
|
+
*/
|
398
|
+
|
399
|
+
.uk-logo {
|
400
|
+
/* 1 */
|
401
|
+
font-size: $logo-font-size;
|
402
|
+
font-family: $logo-font-family;
|
403
|
+
color: $logo-color;
|
404
|
+
/* 2 */
|
405
|
+
text-decoration: none;
|
406
|
+
@if(mixin-exists(hook-logo)) {@include hook-logo();}
|
407
|
+
}
|
408
|
+
|
409
|
+
/* 3 */
|
410
|
+
:where(.uk-logo) {
|
411
|
+
display: inline-block;
|
412
|
+
vertical-align: middle;
|
413
|
+
}
|
414
|
+
|
415
|
+
/* Hover */
|
416
|
+
.uk-logo:hover {
|
417
|
+
color: $logo-hover-color;
|
418
|
+
/* 1 */
|
419
|
+
text-decoration: none;
|
420
|
+
@if(mixin-exists(hook-logo-hover)) {@include hook-logo-hover();}
|
421
|
+
}
|
422
|
+
|
423
|
+
.uk-logo :where(img, svg, video) { display: block; }
|
424
|
+
|
425
|
+
.uk-logo-inverse { display: none; }
|
426
|
+
|
427
|
+
|
428
|
+
/* Disabled State
|
429
|
+
========================================================================== */
|
430
|
+
|
431
|
+
.uk-disabled { pointer-events: none; }
|
432
|
+
|
433
|
+
|
434
|
+
/* Drag State
|
435
|
+
========================================================================== */
|
436
|
+
|
437
|
+
/*
|
438
|
+
* 1. Needed if moving over elements with have their own cursor on hover, e.g. links or buttons
|
439
|
+
* 2. Fix dragging over iframes
|
440
|
+
*/
|
441
|
+
|
442
|
+
.uk-drag,
|
443
|
+
/* 1 */
|
444
|
+
.uk-drag * { cursor: move; }
|
445
|
+
|
446
|
+
/* 2 */
|
447
|
+
.uk-drag iframe { pointer-events: none; }
|
448
|
+
|
449
|
+
|
450
|
+
/* Dragover State
|
451
|
+
========================================================================== */
|
452
|
+
|
453
|
+
/*
|
454
|
+
* Create a box-shadow when dragging a file over the upload area
|
455
|
+
*/
|
456
|
+
|
457
|
+
.uk-dragover { box-shadow: $dragover-box-shadow; }
|
458
|
+
|
459
|
+
|
460
|
+
/* Blend modes
|
461
|
+
========================================================================== */
|
462
|
+
|
463
|
+
.uk-blend-multiply { mix-blend-mode: multiply; }
|
464
|
+
.uk-blend-screen { mix-blend-mode: screen; }
|
465
|
+
.uk-blend-overlay { mix-blend-mode: overlay; }
|
466
|
+
.uk-blend-darken { mix-blend-mode: darken; }
|
467
|
+
.uk-blend-lighten { mix-blend-mode: lighten; }
|
468
|
+
.uk-blend-color-dodge { mix-blend-mode: color-dodge; }
|
469
|
+
.uk-blend-color-burn { mix-blend-mode: color-burn; }
|
470
|
+
.uk-blend-hard-light { mix-blend-mode: hard-light; }
|
471
|
+
.uk-blend-soft-light { mix-blend-mode: soft-light; }
|
472
|
+
.uk-blend-difference { mix-blend-mode: difference; }
|
473
|
+
.uk-blend-exclusion { mix-blend-mode: exclusion; }
|
474
|
+
.uk-blend-hue { mix-blend-mode: hue; }
|
475
|
+
.uk-blend-saturation { mix-blend-mode: saturation; }
|
476
|
+
.uk-blend-color { mix-blend-mode: color; }
|
477
|
+
.uk-blend-luminosity { mix-blend-mode: luminosity; }
|
478
|
+
|
479
|
+
|
480
|
+
/* Transform
|
481
|
+
========================================================================== */
|
482
|
+
|
483
|
+
.uk-transform-center { transform: translate(-50%, -50%); }
|
484
|
+
|
485
|
+
|
486
|
+
/* Transform Origin
|
487
|
+
========================================================================== */
|
488
|
+
|
489
|
+
.uk-transform-origin-top-left { transform-origin: 0 0; }
|
490
|
+
.uk-transform-origin-top-center { transform-origin: 50% 0; }
|
491
|
+
.uk-transform-origin-top-right { transform-origin: 100% 0; }
|
492
|
+
.uk-transform-origin-center-left { transform-origin: 0 50%; }
|
493
|
+
.uk-transform-origin-center-right { transform-origin: 100% 50%; }
|
494
|
+
.uk-transform-origin-bottom-left { transform-origin: 0 100%; }
|
495
|
+
.uk-transform-origin-bottom-center { transform-origin: 50% 100%; }
|
496
|
+
.uk-transform-origin-bottom-right { transform-origin: 100% 100%; }
|
497
|
+
|
498
|
+
|
499
|
+
// Hooks
|
500
|
+
// ========================================================================
|
501
|
+
|
502
|
+
@if(mixin-exists(hook-utility-misc)) {@include hook-utility-misc();}
|
503
|
+
|
504
|
+
// @mixin hook-panel-scrollable(){}
|
505
|
+
// @mixin hook-box-shadow-bottom(){}
|
506
|
+
// @mixin hook-dropcap(){}
|
507
|
+
// @mixin hook-logo(){}
|
508
|
+
// @mixin hook-logo-hover(){}
|
509
|
+
// @mixin hook-utility-misc(){}
|
510
|
+
|
511
|
+
|
512
|
+
// Inverse
|
513
|
+
// ========================================================================
|
514
|
+
|
515
|
+
$inverse-logo-color: $inverse-global-emphasis-color !default;
|
516
|
+
$inverse-logo-hover-color: $inverse-global-emphasis-color !default;
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
// @mixin hook-inverse-dropcap(){}
|
521
|
+
// @mixin hook-inverse-logo(){}
|
522
|
+
// @mixin hook-inverse-logo-hover(){}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
//
|
2
|
+
// Component: Variables
|
3
|
+
// Description: Defines common values which are used across all components
|
4
|
+
//
|
5
|
+
// ========================================================================
|
6
|
+
|
7
|
+
|
8
|
+
// Load deprecated components
|
9
|
+
// ========================================================================
|
10
|
+
|
11
|
+
$deprecated: false !default;
|
12
|
+
|
13
|
+
|
14
|
+
// Breakpoints
|
15
|
+
// ========================================================================
|
16
|
+
|
17
|
+
// Phone Portrait: Galaxy (360x640), iPhone 6 (375x667), iPhone 6+ (414x736)
|
18
|
+
// Phone Landscape: Galaxy (640x360), iPhone 6 (667x375), iPhone 6+ (736x414)
|
19
|
+
// Tablet Portrait: iPad (768x1024), Galaxy Tab (800x1280),
|
20
|
+
// Tablet Landscape: iPad (1024x768), iPad Pro (1024x1366),
|
21
|
+
// Desktop: Galaxy Tab (1280x800), iPad Pro (1366x1024)
|
22
|
+
|
23
|
+
$breakpoint-small: 640px !default; // Phone landscape
|
24
|
+
$breakpoint-medium: 960px !default; // Tablet Landscape
|
25
|
+
$breakpoint-large: 1200px !default; // Desktop
|
26
|
+
$breakpoint-xlarge: 1600px !default; // Large Screens
|
27
|
+
|
28
|
+
$breakpoint-xsmall-max: ($breakpoint-small - 1) !default;
|
29
|
+
$breakpoint-small-max: ($breakpoint-medium - 1) !default;
|
30
|
+
$breakpoint-medium-max: ($breakpoint-large - 1) !default;
|
31
|
+
$breakpoint-large-max: ($breakpoint-xlarge - 1) !default;
|
32
|
+
|
33
|
+
|
34
|
+
// Global variables
|
35
|
+
// ========================================================================
|
36
|
+
|
37
|
+
//
|
38
|
+
// Typography
|
39
|
+
//
|
40
|
+
|
41
|
+
$global-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
42
|
+
$global-font-size: 16px !default;
|
43
|
+
$global-line-height: 1.5 !default; // 24px
|
44
|
+
|
45
|
+
$global-2xlarge-font-size: 2.625rem !default; // 42px
|
46
|
+
$global-xlarge-font-size: 2rem !default; // 32px
|
47
|
+
$global-large-font-size: 1.5rem !default; // 24px
|
48
|
+
$global-medium-font-size: 1.25rem !default; // 20px
|
49
|
+
$global-small-font-size: 0.875rem !default; // 14px
|
50
|
+
|
51
|
+
//
|
52
|
+
// Colors
|
53
|
+
//
|
54
|
+
|
55
|
+
$global-color: #666 !default;
|
56
|
+
$global-emphasis-color: #333 !default;
|
57
|
+
$global-muted-color: #999 !default;
|
58
|
+
|
59
|
+
$global-link-color: #1e87f0 !default;
|
60
|
+
$global-link-hover-color: #0f6ecd !default;
|
61
|
+
|
62
|
+
$global-inverse-color: #fff !default;
|
63
|
+
|
64
|
+
//
|
65
|
+
// Backgrounds
|
66
|
+
//
|
67
|
+
|
68
|
+
$global-background: #fff !default;
|
69
|
+
|
70
|
+
$global-muted-background: #f8f8f8 !default;
|
71
|
+
$global-primary-background: #1e87f0 !default;
|
72
|
+
$global-secondary-background: #222 !default;
|
73
|
+
|
74
|
+
$global-success-background: #32d296 !default;
|
75
|
+
$global-warning-background: #faa05a !default;
|
76
|
+
$global-danger-background: #f0506e !default;
|
77
|
+
|
78
|
+
//
|
79
|
+
// Borders
|
80
|
+
//
|
81
|
+
|
82
|
+
$global-border-width: 1px !default;
|
83
|
+
$global-border: #e5e5e5 !default;
|
84
|
+
|
85
|
+
//
|
86
|
+
// Box-Shadows
|
87
|
+
//
|
88
|
+
|
89
|
+
$global-small-box-shadow: 0 2px 8px rgba(0,0,0,0.08) !default;
|
90
|
+
$global-medium-box-shadow: 0 5px 15px rgba(0,0,0,0.08) !default;
|
91
|
+
$global-large-box-shadow: 0 14px 25px rgba(0,0,0,0.16) !default;
|
92
|
+
$global-xlarge-box-shadow: 0 28px 50px rgba(0,0,0,0.16) !default;
|
93
|
+
|
94
|
+
//
|
95
|
+
// Spacings
|
96
|
+
//
|
97
|
+
|
98
|
+
// Used in margin, section, list
|
99
|
+
$global-margin: 20px !default;
|
100
|
+
$global-small-margin: 10px !default;
|
101
|
+
$global-medium-margin: 40px !default;
|
102
|
+
$global-large-margin: 70px !default;
|
103
|
+
$global-xlarge-margin: 140px !default;
|
104
|
+
|
105
|
+
// Used in grid, column, container, align, card, padding
|
106
|
+
$global-gutter: 30px !default;
|
107
|
+
$global-small-gutter: 15px !default;
|
108
|
+
$global-medium-gutter: 40px !default;
|
109
|
+
$global-large-gutter: 70px !default;
|
110
|
+
|
111
|
+
//
|
112
|
+
// Controls
|
113
|
+
//
|
114
|
+
|
115
|
+
$global-control-height: 40px !default;
|
116
|
+
$global-control-small-height: 30px !default;
|
117
|
+
$global-control-large-height: 55px !default;
|
118
|
+
|
119
|
+
//
|
120
|
+
// Z-index
|
121
|
+
//
|
122
|
+
|
123
|
+
$global-z-index: 1000 !default;
|