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,321 @@
|
|
1
|
+
// Name: Heading
|
2
|
+
// Description: Styles for headings
|
3
|
+
//
|
4
|
+
// Component: `uk-heading-primary`
|
5
|
+
// `uk-heading-hero`
|
6
|
+
// `uk-heading-divider`
|
7
|
+
// `uk-heading-bullet`
|
8
|
+
// `uk-heading-line`
|
9
|
+
//
|
10
|
+
// ========================================================================
|
11
|
+
|
12
|
+
|
13
|
+
// Variables
|
14
|
+
// ========================================================================
|
15
|
+
|
16
|
+
$heading-small-font-size: $heading-small-font-size-m * 0.8 !default; // 38px 0.73
|
17
|
+
$heading-medium-font-size: $heading-medium-font-size-m * 0.825 !default; // 40px 0.714
|
18
|
+
$heading-large-font-size: $heading-large-font-size-m * 0.85 !default; // 50px 0.78
|
19
|
+
$heading-xlarge-font-size: $heading-large-font-size-m !default; // 4rem / 64px
|
20
|
+
$heading-2xlarge-font-size: $heading-xlarge-font-size-m !default; // 6rem / 96px
|
21
|
+
|
22
|
+
$heading-small-font-size-m: $heading-medium-font-size-l * 0.8125 !default; // 3.25rem / 52px
|
23
|
+
$heading-medium-font-size-m: $heading-medium-font-size-l * 0.875 !default; // 3.5rem / 56px
|
24
|
+
$heading-large-font-size-m: $heading-medium-font-size-l !default; // 4rem / 64px
|
25
|
+
$heading-xlarge-font-size-m: $heading-large-font-size-l !default; // 6rem / 96px
|
26
|
+
$heading-2xlarge-font-size-m: $heading-xlarge-font-size-l !default; // 8rem / 128px
|
27
|
+
|
28
|
+
$heading-medium-font-size-l: 4rem !default; // 64px
|
29
|
+
$heading-large-font-size-l: 6rem !default; // 96px
|
30
|
+
$heading-xlarge-font-size-l: 8rem !default; // 128px
|
31
|
+
$heading-2xlarge-font-size-l: 11rem !default; // 176px
|
32
|
+
|
33
|
+
$heading-small-line-height: 1.2 !default;
|
34
|
+
$heading-medium-line-height: 1.1 !default;
|
35
|
+
$heading-large-line-height: 1.1 !default;
|
36
|
+
$heading-xlarge-line-height: 1 !default;
|
37
|
+
$heading-2xlarge-line-height: 1 !default;
|
38
|
+
|
39
|
+
$heading-divider-padding-bottom: unquote('calc(5px + 0.1em)') !default;
|
40
|
+
$heading-divider-border-width: unquote('calc(0.2px + 0.05em)') !default;
|
41
|
+
$heading-divider-border: $global-border !default;
|
42
|
+
|
43
|
+
$heading-bullet-top: unquote('calc(-0.1 * 1em)') !default;
|
44
|
+
$heading-bullet-height: unquote('calc(4px + 0.7em)') !default;
|
45
|
+
$heading-bullet-margin-right: unquote('calc(5px + 0.2em)') !default;
|
46
|
+
$heading-bullet-border-width: unquote('calc(5px + 0.1em)') !default;
|
47
|
+
$heading-bullet-border: $global-border !default;
|
48
|
+
|
49
|
+
$heading-line-top: 50% !default;
|
50
|
+
$heading-line-height: $heading-line-border-width !default;
|
51
|
+
$heading-line-width: 2000px !default;
|
52
|
+
$heading-line-border-width: unquote('calc(0.2px + 0.05em)') !default;
|
53
|
+
$heading-line-border: $global-border !default;
|
54
|
+
$heading-line-margin-horizontal: unquote('calc(5px + 0.3em)') !default;
|
55
|
+
|
56
|
+
|
57
|
+
/* ========================================================================
|
58
|
+
Component: Heading
|
59
|
+
========================================================================== */
|
60
|
+
|
61
|
+
.uk-heading-small {
|
62
|
+
font-size: $heading-small-font-size;
|
63
|
+
line-height: $heading-small-line-height;
|
64
|
+
@if(mixin-exists(hook-heading-small)) {@include hook-heading-small();}
|
65
|
+
}
|
66
|
+
|
67
|
+
.uk-heading-medium {
|
68
|
+
font-size: $heading-medium-font-size;
|
69
|
+
line-height: $heading-medium-line-height;
|
70
|
+
@if(mixin-exists(hook-heading-medium)) {@include hook-heading-medium();}
|
71
|
+
}
|
72
|
+
|
73
|
+
.uk-heading-large {
|
74
|
+
font-size: $heading-large-font-size;
|
75
|
+
line-height: $heading-large-line-height;
|
76
|
+
@if(mixin-exists(hook-heading-large)) {@include hook-heading-large();}
|
77
|
+
}
|
78
|
+
|
79
|
+
.uk-heading-xlarge {
|
80
|
+
font-size: $heading-xlarge-font-size;
|
81
|
+
line-height: $heading-xlarge-line-height;
|
82
|
+
@if(mixin-exists(hook-heading-xlarge)) {@include hook-heading-xlarge();}
|
83
|
+
}
|
84
|
+
|
85
|
+
.uk-heading-2xlarge {
|
86
|
+
font-size: $heading-2xlarge-font-size;
|
87
|
+
line-height: $heading-2xlarge-line-height;
|
88
|
+
@if(mixin-exists(hook-heading-2xlarge)) {@include hook-heading-2xlarge();}
|
89
|
+
}
|
90
|
+
|
91
|
+
/* Tablet Landscape and bigger */
|
92
|
+
@media (min-width: $breakpoint-medium) {
|
93
|
+
|
94
|
+
.uk-heading-small { font-size: $heading-small-font-size-m; }
|
95
|
+
.uk-heading-medium { font-size: $heading-medium-font-size-m; }
|
96
|
+
.uk-heading-large { font-size: $heading-large-font-size-m; }
|
97
|
+
.uk-heading-xlarge { font-size: $heading-xlarge-font-size-m; }
|
98
|
+
.uk-heading-2xlarge { font-size: $heading-2xlarge-font-size-m; }
|
99
|
+
|
100
|
+
}
|
101
|
+
|
102
|
+
/* Laptop and bigger */
|
103
|
+
@media (min-width: $breakpoint-large) {
|
104
|
+
|
105
|
+
.uk-heading-medium { font-size: $heading-medium-font-size-l; }
|
106
|
+
.uk-heading-large { font-size: $heading-large-font-size-l; }
|
107
|
+
.uk-heading-xlarge { font-size: $heading-xlarge-font-size-l; }
|
108
|
+
.uk-heading-2xlarge { font-size: $heading-2xlarge-font-size-l; }
|
109
|
+
|
110
|
+
}
|
111
|
+
|
112
|
+
|
113
|
+
/* Primary
|
114
|
+
Deprecated: Use `uk-heading-medium` instead
|
115
|
+
========================================================================== */
|
116
|
+
|
117
|
+
$heading-primary-font-size-l: 3.75rem !default; // 60px
|
118
|
+
$heading-primary-line-height-l: 1.1 !default;
|
119
|
+
|
120
|
+
$heading-primary-font-size-m: $heading-primary-font-size-l * 0.9 !default; // 54px
|
121
|
+
|
122
|
+
$heading-primary-font-size: $heading-primary-font-size-l * 0.8 !default; // 48px
|
123
|
+
$heading-primary-line-height: 1.2 !default;
|
124
|
+
|
125
|
+
@if ($deprecated == true) {
|
126
|
+
.uk-heading-primary {
|
127
|
+
font-size: $heading-primary-font-size;
|
128
|
+
line-height: $heading-primary-line-height;
|
129
|
+
@if(mixin-exists(hook-heading-primary)) {@include hook-heading-primary();}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
/* Tablet landscape and bigger */
|
134
|
+
@media (min-width: $breakpoint-medium) {
|
135
|
+
|
136
|
+
@if ($deprecated == true) {
|
137
|
+
.uk-heading-primary { font-size: $heading-primary-font-size-m; }
|
138
|
+
}
|
139
|
+
|
140
|
+
}
|
141
|
+
|
142
|
+
/* Desktop and bigger */
|
143
|
+
@media (min-width: $breakpoint-large) {
|
144
|
+
|
145
|
+
@if ($deprecated == true) {
|
146
|
+
.uk-heading-primary {
|
147
|
+
font-size: $heading-primary-font-size-l;
|
148
|
+
line-height: $heading-primary-line-height-l;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
}
|
153
|
+
|
154
|
+
|
155
|
+
/* Hero
|
156
|
+
Deprecated: Use `uk-heading-xlarge` instead
|
157
|
+
========================================================================== */
|
158
|
+
|
159
|
+
$heading-hero-font-size-l: 8rem !default; // 128px
|
160
|
+
$heading-hero-line-height-l: 1 !default;
|
161
|
+
|
162
|
+
$heading-hero-font-size-m: $heading-hero-font-size-l * 0.75 !default; // 96px
|
163
|
+
$heading-hero-line-height-m: 1 !default;
|
164
|
+
|
165
|
+
$heading-hero-font-size: $heading-hero-font-size-l * 0.5 !default; // 64px
|
166
|
+
$heading-hero-line-height: 1.1 !default;
|
167
|
+
|
168
|
+
@if ($deprecated == true) {
|
169
|
+
.uk-heading-hero {
|
170
|
+
font-size: $heading-hero-font-size;
|
171
|
+
line-height: $heading-hero-line-height;
|
172
|
+
@if(mixin-exists(hook-heading-hero)) {@include hook-heading-hero();}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
/* Tablet landscape and bigger */
|
177
|
+
@media (min-width: $breakpoint-medium) {
|
178
|
+
|
179
|
+
@if ($deprecated == true) {
|
180
|
+
.uk-heading-hero {
|
181
|
+
font-size: $heading-hero-font-size-m;
|
182
|
+
line-height: $heading-hero-line-height-m;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
186
|
+
}
|
187
|
+
|
188
|
+
/* Desktop and bigger */
|
189
|
+
@media (min-width: $breakpoint-large) {
|
190
|
+
|
191
|
+
@if ($deprecated == true) {
|
192
|
+
.uk-heading-hero {
|
193
|
+
font-size: $heading-hero-font-size-l;
|
194
|
+
line-height: $heading-hero-line-height-l;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
}
|
199
|
+
|
200
|
+
|
201
|
+
/* Divider
|
202
|
+
========================================================================== */
|
203
|
+
|
204
|
+
.uk-heading-divider {
|
205
|
+
padding-bottom: $heading-divider-padding-bottom;
|
206
|
+
border-bottom: $heading-divider-border-width solid $heading-divider-border;
|
207
|
+
@if(mixin-exists(hook-heading-divider)) {@include hook-heading-divider();}
|
208
|
+
}
|
209
|
+
|
210
|
+
|
211
|
+
/* Bullet
|
212
|
+
========================================================================== */
|
213
|
+
|
214
|
+
.uk-heading-bullet { position: relative; }
|
215
|
+
|
216
|
+
/*
|
217
|
+
* 1. Using `inline-block` to make it work with text alignment
|
218
|
+
* 2. Center vertically
|
219
|
+
* 3. Style
|
220
|
+
*/
|
221
|
+
|
222
|
+
.uk-heading-bullet::before {
|
223
|
+
content: "";
|
224
|
+
/* 1 */
|
225
|
+
display: inline-block;
|
226
|
+
/* 2 */
|
227
|
+
position: relative;
|
228
|
+
top: $heading-bullet-top;
|
229
|
+
vertical-align: middle;
|
230
|
+
/* 3 */
|
231
|
+
height: $heading-bullet-height;
|
232
|
+
margin-right: $heading-bullet-margin-right;
|
233
|
+
border-left: $heading-bullet-border-width solid $heading-bullet-border;
|
234
|
+
@if(mixin-exists(hook-heading-bullet)) {@include hook-heading-bullet();}
|
235
|
+
}
|
236
|
+
|
237
|
+
|
238
|
+
/* Line
|
239
|
+
========================================================================== */
|
240
|
+
|
241
|
+
/*
|
242
|
+
* Clip the child element
|
243
|
+
*/
|
244
|
+
|
245
|
+
.uk-heading-line { overflow: hidden; }
|
246
|
+
|
247
|
+
/*
|
248
|
+
* Extra markup is needed to make it work with text align
|
249
|
+
*/
|
250
|
+
|
251
|
+
.uk-heading-line > * {
|
252
|
+
display: inline-block;
|
253
|
+
position: relative;
|
254
|
+
}
|
255
|
+
|
256
|
+
/*
|
257
|
+
* 1. Center vertically
|
258
|
+
* 2. Make the element as large as possible. It's clipped by the container.
|
259
|
+
* 3. Style
|
260
|
+
*/
|
261
|
+
|
262
|
+
.uk-heading-line > ::before,
|
263
|
+
.uk-heading-line > ::after {
|
264
|
+
content: "";
|
265
|
+
/* 1 */
|
266
|
+
position: absolute;
|
267
|
+
top: unquote('calc(#{$heading-line-top} - (#{$heading-line-height} / 2))');
|
268
|
+
/* 2 */
|
269
|
+
width: $heading-line-width;
|
270
|
+
/* 3 */
|
271
|
+
border-bottom: $heading-line-border-width solid $heading-line-border;
|
272
|
+
@if(mixin-exists(hook-heading-line)) {@include hook-heading-line();}
|
273
|
+
}
|
274
|
+
|
275
|
+
.uk-heading-line > ::before {
|
276
|
+
right: 100%;
|
277
|
+
margin-right: $heading-line-margin-horizontal;
|
278
|
+
}
|
279
|
+
.uk-heading-line > ::after {
|
280
|
+
left: 100%;
|
281
|
+
margin-left: $heading-line-margin-horizontal;
|
282
|
+
}
|
283
|
+
|
284
|
+
|
285
|
+
// Hooks
|
286
|
+
// ========================================================================
|
287
|
+
|
288
|
+
@if(mixin-exists(hook-heading-misc)) {@include hook-heading-misc();}
|
289
|
+
|
290
|
+
// @mixin hook-heading-small(){}
|
291
|
+
// @mixin hook-heading-medium(){}
|
292
|
+
// @mixin hook-heading-large(){}
|
293
|
+
// @mixin hook-heading-xlarge(){}
|
294
|
+
// @mixin hook-heading-2xlarge(){}
|
295
|
+
// @mixin hook-heading-primary(){}
|
296
|
+
// @mixin hook-heading-hero(){}
|
297
|
+
// @mixin hook-heading-divider(){}
|
298
|
+
// @mixin hook-heading-bullet(){}
|
299
|
+
// @mixin hook-heading-line(){}
|
300
|
+
// @mixin hook-heading-misc(){}
|
301
|
+
|
302
|
+
|
303
|
+
// Inverse
|
304
|
+
// ========================================================================
|
305
|
+
|
306
|
+
$inverse-heading-divider-border: $inverse-global-border !default;
|
307
|
+
$inverse-heading-bullet-border: $inverse-global-border !default;
|
308
|
+
$inverse-heading-line-border: $inverse-global-border !default;
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
// @mixin hook-inverse-heading-small(){}
|
313
|
+
// @mixin hook-inverse-heading-medium(){}
|
314
|
+
// @mixin hook-inverse-heading-large(){}
|
315
|
+
// @mixin hook-inverse-heading-xlarge(){}
|
316
|
+
// @mixin hook-inverse-heading-2xlarge(){}
|
317
|
+
// @mixin hook-inverse-heading-primary(){}
|
318
|
+
// @mixin hook-inverse-heading-hero(){}
|
319
|
+
// @mixin hook-inverse-heading-divider(){}
|
320
|
+
// @mixin hook-inverse-heading-bullet(){}
|
321
|
+
// @mixin hook-inverse-heading-line(){}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
// Name: Height
|
2
|
+
// Description: Utilities for heights
|
3
|
+
//
|
4
|
+
// Component: `uk-height-*`
|
5
|
+
//
|
6
|
+
// ========================================================================
|
7
|
+
|
8
|
+
|
9
|
+
// Variables
|
10
|
+
// ========================================================================
|
11
|
+
|
12
|
+
$height-small-height: 150px !default;
|
13
|
+
$height-medium-height: 300px !default;
|
14
|
+
$height-large-height: 450px !default;
|
15
|
+
|
16
|
+
|
17
|
+
/* ========================================================================
|
18
|
+
Component: Height
|
19
|
+
========================================================================== */
|
20
|
+
|
21
|
+
[class*='uk-height'] { box-sizing: border-box; }
|
22
|
+
|
23
|
+
/*
|
24
|
+
* Only works if parent element has a height set
|
25
|
+
*/
|
26
|
+
|
27
|
+
.uk-height-1-1 { height: 100%; }
|
28
|
+
|
29
|
+
/*
|
30
|
+
* Useful to create image teasers
|
31
|
+
*/
|
32
|
+
|
33
|
+
.uk-height-viewport { min-height: 100vh; }
|
34
|
+
.uk-height-viewport-2 { min-height: 200vh; }
|
35
|
+
.uk-height-viewport-3 { min-height: 300vh; }
|
36
|
+
.uk-height-viewport-4 { min-height: 400vh; }
|
37
|
+
|
38
|
+
/*
|
39
|
+
* Pixel
|
40
|
+
* Useful for `overflow: auto`
|
41
|
+
*/
|
42
|
+
|
43
|
+
.uk-height-small { height: $height-small-height; }
|
44
|
+
.uk-height-medium { height: $height-medium-height; }
|
45
|
+
.uk-height-large { height: $height-large-height; }
|
46
|
+
|
47
|
+
.uk-height-max-small { max-height: $height-small-height; }
|
48
|
+
.uk-height-max-medium { max-height: $height-medium-height; }
|
49
|
+
.uk-height-max-large { max-height: $height-large-height; }
|
50
|
+
|
51
|
+
|
52
|
+
// Hooks
|
53
|
+
// ========================================================================
|
54
|
+
|
55
|
+
@if(mixin-exists(hook-height-misc)) {@include hook-height-misc();}
|
56
|
+
|
57
|
+
// @mixin hook-height-misc(){}
|
@@ -0,0 +1,225 @@
|
|
1
|
+
// Name: Icon
|
2
|
+
// Description: Component to create icons
|
3
|
+
//
|
4
|
+
// Component: `uk-icon`
|
5
|
+
//
|
6
|
+
// Modifiers: `uk-icon-image`
|
7
|
+
// `uk-icon-link`
|
8
|
+
// `uk-icon-button`
|
9
|
+
//
|
10
|
+
// States: `uk-preserve`
|
11
|
+
//
|
12
|
+
// ========================================================================
|
13
|
+
|
14
|
+
|
15
|
+
// Variables
|
16
|
+
// ========================================================================
|
17
|
+
|
18
|
+
$icon-image-size: 20px !default;
|
19
|
+
|
20
|
+
$icon-link-color: $global-muted-color !default;
|
21
|
+
$icon-link-hover-color: $global-color !default;
|
22
|
+
$icon-link-active-color: darken($global-color, 5%) !default;
|
23
|
+
|
24
|
+
$icon-button-size: 36px !default;
|
25
|
+
$icon-button-border-radius: 500px !default;
|
26
|
+
$icon-button-background: $global-muted-background !default;
|
27
|
+
$icon-button-color: $global-muted-color !default;
|
28
|
+
|
29
|
+
$icon-button-hover-background: darken($icon-button-background, 5%) !default;
|
30
|
+
$icon-button-hover-color: $global-color !default;
|
31
|
+
|
32
|
+
$icon-button-active-background: darken($icon-button-background, 10%) !default;
|
33
|
+
$icon-button-active-color: $global-color !default;
|
34
|
+
|
35
|
+
|
36
|
+
/* ========================================================================
|
37
|
+
Component: Icon
|
38
|
+
========================================================================== */
|
39
|
+
|
40
|
+
/*
|
41
|
+
* Note: 1. - 7. is required for `button` elements. Needed for Close and Form Icon component.
|
42
|
+
* 1. Remove margins in Chrome, Safari and Opera.
|
43
|
+
* 2. Remove borders for `button`.
|
44
|
+
* 3. Remove border-radius in Chrome.
|
45
|
+
* 4. Address `overflow` set to `hidden` in IE.
|
46
|
+
* 5. Correct `font` properties and `color` not being inherited for `button`.
|
47
|
+
* 6. Remove the inheritance of text transform in Edge, Firefox, and IE.
|
48
|
+
* 7. Remove default `button` padding and background color
|
49
|
+
* 8. Style
|
50
|
+
* 9. Fill all SVG elements with the current text color if no `fill` attribute is set
|
51
|
+
* 10. Let the container fit the height of the icon
|
52
|
+
*/
|
53
|
+
|
54
|
+
.uk-icon {
|
55
|
+
/* 1 */
|
56
|
+
margin: 0;
|
57
|
+
/* 2 */
|
58
|
+
border: none;
|
59
|
+
/* 3 */
|
60
|
+
border-radius: 0;
|
61
|
+
/* 4 */
|
62
|
+
overflow: visible;
|
63
|
+
/* 5 */
|
64
|
+
font: inherit;
|
65
|
+
color: inherit;
|
66
|
+
/* 6 */
|
67
|
+
text-transform: none;
|
68
|
+
/* 7. */
|
69
|
+
padding: 0;
|
70
|
+
background-color: transparent;
|
71
|
+
/* 8 */
|
72
|
+
display: inline-block;
|
73
|
+
/* 9 */
|
74
|
+
fill: currentcolor;
|
75
|
+
/* 10 */
|
76
|
+
line-height: 0;
|
77
|
+
}
|
78
|
+
|
79
|
+
/* Required for `button`. */
|
80
|
+
button.uk-icon:not(:disabled) { cursor: pointer; }
|
81
|
+
|
82
|
+
/*
|
83
|
+
* Remove the inner border and padding in Firefox.
|
84
|
+
*/
|
85
|
+
|
86
|
+
.uk-icon::-moz-focus-inner {
|
87
|
+
border: 0;
|
88
|
+
padding: 0;
|
89
|
+
}
|
90
|
+
|
91
|
+
/*
|
92
|
+
* Set the fill and stroke color of all SVG elements to the current text color
|
93
|
+
*/
|
94
|
+
|
95
|
+
.uk-icon:not(.uk-preserve) [fill*='#']:not(.uk-preserve) { fill: currentcolor; }
|
96
|
+
.uk-icon:not(.uk-preserve) [stroke*='#']:not(.uk-preserve) { stroke: currentcolor; }
|
97
|
+
|
98
|
+
/*
|
99
|
+
* Fix Firefox blurry SVG rendering: https://bugzilla.mozilla.org/show_bug.cgi?id=1046835
|
100
|
+
*/
|
101
|
+
|
102
|
+
.uk-icon > * { transform: translate(0,0); }
|
103
|
+
|
104
|
+
|
105
|
+
/* Image modifier
|
106
|
+
========================================================================== */
|
107
|
+
|
108
|
+
/*
|
109
|
+
* Display images in icon dimensions
|
110
|
+
* 1. Required for `span` with background image
|
111
|
+
* 2. Required for `image`
|
112
|
+
*/
|
113
|
+
|
114
|
+
.uk-icon-image {
|
115
|
+
width: $icon-image-size;
|
116
|
+
height: $icon-image-size;
|
117
|
+
/* 1 */
|
118
|
+
background-position: 50% 50%;
|
119
|
+
background-repeat: no-repeat;
|
120
|
+
background-size: contain;
|
121
|
+
vertical-align: middle;
|
122
|
+
/* 2 */
|
123
|
+
object-fit: scale-down;
|
124
|
+
max-width: none;
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
/* Style modifiers
|
129
|
+
========================================================================== */
|
130
|
+
|
131
|
+
/*
|
132
|
+
* Link
|
133
|
+
* 1. Allow text within link
|
134
|
+
*/
|
135
|
+
|
136
|
+
.uk-icon-link {
|
137
|
+
color: $icon-link-color;
|
138
|
+
/* 1 */
|
139
|
+
text-decoration: none !important;
|
140
|
+
@if(mixin-exists(hook-icon-link)) {@include hook-icon-link();}
|
141
|
+
}
|
142
|
+
|
143
|
+
.uk-icon-link:hover {
|
144
|
+
color: $icon-link-hover-color;
|
145
|
+
@if(mixin-exists(hook-icon-link-hover)) {@include hook-icon-link-hover();}
|
146
|
+
}
|
147
|
+
|
148
|
+
/* OnClick + Active */
|
149
|
+
.uk-icon-link:active,
|
150
|
+
.uk-active > .uk-icon-link {
|
151
|
+
color: $icon-link-active-color;
|
152
|
+
@if(mixin-exists(hook-icon-link-active)) {@include hook-icon-link-active();}
|
153
|
+
}
|
154
|
+
|
155
|
+
/*
|
156
|
+
* Button
|
157
|
+
* 1. Center icon vertically and horizontally
|
158
|
+
*/
|
159
|
+
|
160
|
+
.uk-icon-button {
|
161
|
+
box-sizing: border-box;
|
162
|
+
width: $icon-button-size;
|
163
|
+
height: $icon-button-size;
|
164
|
+
border-radius: $icon-button-border-radius;
|
165
|
+
background: $icon-button-background;
|
166
|
+
color: $icon-button-color;
|
167
|
+
vertical-align: middle;
|
168
|
+
/* 1 */
|
169
|
+
display: inline-flex;
|
170
|
+
justify-content: center;
|
171
|
+
align-items: center;
|
172
|
+
@if(mixin-exists(hook-icon-button)) {@include hook-icon-button();}
|
173
|
+
}
|
174
|
+
|
175
|
+
/* Hover */
|
176
|
+
.uk-icon-button:hover {
|
177
|
+
background-color: $icon-button-hover-background;
|
178
|
+
color: $icon-button-hover-color;
|
179
|
+
@if(mixin-exists(hook-icon-button-hover)) {@include hook-icon-button-hover();}
|
180
|
+
}
|
181
|
+
|
182
|
+
/* OnClick + Active */
|
183
|
+
.uk-icon-button:active,
|
184
|
+
.uk-active > .uk-icon-button {
|
185
|
+
background-color: $icon-button-active-background;
|
186
|
+
color: $icon-button-active-color;
|
187
|
+
@if(mixin-exists(hook-icon-button-active)) {@include hook-icon-button-active();}
|
188
|
+
}
|
189
|
+
|
190
|
+
|
191
|
+
// Hooks
|
192
|
+
// ========================================================================
|
193
|
+
|
194
|
+
@if(mixin-exists(hook-icon-misc)) {@include hook-icon-misc();}
|
195
|
+
|
196
|
+
// @mixin hook-icon-link(){}
|
197
|
+
// @mixin hook-icon-link-hover(){}
|
198
|
+
// @mixin hook-icon-link-active(){}
|
199
|
+
// @mixin hook-icon-button(){}
|
200
|
+
// @mixin hook-icon-button-hover(){}
|
201
|
+
// @mixin hook-icon-button-active(){}
|
202
|
+
// @mixin hook-icon-misc(){}
|
203
|
+
|
204
|
+
|
205
|
+
// Inverse
|
206
|
+
// ========================================================================
|
207
|
+
|
208
|
+
$inverse-icon-link-color: $inverse-global-muted-color !default;
|
209
|
+
$inverse-icon-link-hover-color: $inverse-global-color !default;
|
210
|
+
$inverse-icon-link-active-color: $inverse-global-color !default;
|
211
|
+
$inverse-icon-button-background: $inverse-global-muted-background !default;
|
212
|
+
$inverse-icon-button-color: $inverse-global-muted-color !default;
|
213
|
+
$inverse-icon-button-hover-background: fade-in($inverse-icon-button-background, 0.05) !default;
|
214
|
+
$inverse-icon-button-hover-color: $inverse-global-color !default;
|
215
|
+
$inverse-icon-button-active-background: fade-in($inverse-icon-button-background, 0.1) !default;
|
216
|
+
$inverse-icon-button-active-color: $inverse-global-color !default;
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
// @mixin hook-inverse-icon-link(){}
|
221
|
+
// @mixin hook-inverse-icon-link-hover(){}
|
222
|
+
// @mixin hook-inverse-icon-link-active(){}
|
223
|
+
// @mixin hook-inverse-icon-button(){}
|
224
|
+
// @mixin hook-inverse-icon-button-hover(){}
|
225
|
+
// @mixin hook-inverse-icon-button-active(){}
|