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,78 @@
|
|
1
|
+
// Name: Badge
|
2
|
+
// Description: Component to create notification badges
|
3
|
+
//
|
4
|
+
// Component: `uk-badge`
|
5
|
+
//
|
6
|
+
// ========================================================================
|
7
|
+
|
8
|
+
|
9
|
+
// Variables
|
10
|
+
// ========================================================================
|
11
|
+
|
12
|
+
$badge-size: 18px !default;
|
13
|
+
$badge-padding-vertical: 0 !default;
|
14
|
+
$badge-padding-horizontal: 5px !default;
|
15
|
+
$badge-border-radius: 500px !default;
|
16
|
+
$badge-background: $global-primary-background !default;
|
17
|
+
$badge-color: $global-inverse-color !default;
|
18
|
+
$badge-font-size: 11px !default;
|
19
|
+
|
20
|
+
|
21
|
+
/* ========================================================================
|
22
|
+
Component: Badge
|
23
|
+
========================================================================== */
|
24
|
+
|
25
|
+
/*
|
26
|
+
* 1. Style
|
27
|
+
* 2. Center child vertically and horizontally
|
28
|
+
*/
|
29
|
+
|
30
|
+
.uk-badge {
|
31
|
+
box-sizing: border-box;
|
32
|
+
min-width: $badge-size;
|
33
|
+
height: $badge-size;
|
34
|
+
padding: $badge-padding-vertical $badge-padding-horizontal;
|
35
|
+
border-radius: $badge-border-radius;
|
36
|
+
vertical-align: middle;
|
37
|
+
/* 1 */
|
38
|
+
background: $badge-background;
|
39
|
+
color: $badge-color !important;
|
40
|
+
font-size: $badge-font-size;
|
41
|
+
/* 2 */
|
42
|
+
display: inline-flex;
|
43
|
+
justify-content: center;
|
44
|
+
align-items: center;
|
45
|
+
line-height: 0;
|
46
|
+
@if(mixin-exists(hook-badge)) {@include hook-badge();}
|
47
|
+
}
|
48
|
+
|
49
|
+
/*
|
50
|
+
* Required for `a`
|
51
|
+
*/
|
52
|
+
|
53
|
+
.uk-badge:hover {
|
54
|
+
text-decoration: none;
|
55
|
+
@if(mixin-exists(hook-badge-hover)) {@include hook-badge-hover();}
|
56
|
+
}
|
57
|
+
|
58
|
+
|
59
|
+
// Hooks
|
60
|
+
// ========================================================================
|
61
|
+
|
62
|
+
@if(mixin-exists(hook-badge-misc)) {@include hook-badge-misc();}
|
63
|
+
|
64
|
+
// @mixin hook-badge(){}
|
65
|
+
// @mixin hook-badge-hover(){}
|
66
|
+
// @mixin hook-badge-misc(){}
|
67
|
+
|
68
|
+
|
69
|
+
// Inverse
|
70
|
+
// ========================================================================
|
71
|
+
|
72
|
+
$inverse-badge-background: $inverse-global-primary-background !default;
|
73
|
+
$inverse-badge-color: $inverse-global-inverse-color !default;
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
// @mixin hook-inverse-badge(){}
|
78
|
+
// @mixin hook-inverse-badge-hover(){}
|
@@ -0,0 +1,611 @@
|
|
1
|
+
// Name: Base
|
2
|
+
// Description: Default values for HTML elements
|
3
|
+
//
|
4
|
+
// Component: `uk-link`
|
5
|
+
// `uk-h1`, `uk-h2`, `uk-h3`, `uk-h4`, `uk-h5`, `uk-h6`
|
6
|
+
// `uk-hr`
|
7
|
+
//
|
8
|
+
// ========================================================================
|
9
|
+
|
10
|
+
|
11
|
+
// Variables
|
12
|
+
// ========================================================================
|
13
|
+
|
14
|
+
$base-body-background: $global-background !default;
|
15
|
+
$base-body-font-family: $global-font-family !default;
|
16
|
+
$base-body-font-weight: normal !default;
|
17
|
+
$base-body-font-size: $global-font-size !default;
|
18
|
+
$base-body-line-height: $global-line-height !default;
|
19
|
+
$base-body-color: $global-color !default;
|
20
|
+
|
21
|
+
$base-link-color: $global-link-color !default;
|
22
|
+
$base-link-text-decoration: none !default;
|
23
|
+
$base-link-hover-color: $global-link-hover-color !default;
|
24
|
+
$base-link-hover-text-decoration: underline !default;
|
25
|
+
|
26
|
+
$base-strong-font-weight: bolder !default;
|
27
|
+
$base-code-font-size: $global-small-font-size !default;
|
28
|
+
$base-code-font-family: Consolas, monaco, monospace !default;
|
29
|
+
$base-code-color: $global-danger-background !default;
|
30
|
+
$base-em-color: $global-danger-background !default;
|
31
|
+
$base-ins-background: #ffd !default;
|
32
|
+
$base-ins-color: $global-color !default;
|
33
|
+
$base-mark-background: #ffd !default;
|
34
|
+
$base-mark-color: $global-color !default;
|
35
|
+
$base-quote-font-style: italic !default;
|
36
|
+
$base-small-font-size: 80% !default;
|
37
|
+
|
38
|
+
$base-margin-vertical: $global-margin !default;
|
39
|
+
|
40
|
+
$base-heading-font-family: $global-font-family !default;
|
41
|
+
$base-heading-font-weight: normal !default;
|
42
|
+
$base-heading-color: $global-emphasis-color !default;
|
43
|
+
$base-heading-text-transform: none !default;
|
44
|
+
$base-heading-margin-top: $global-medium-margin !default;
|
45
|
+
$base-h1-font-size-m: $global-2xlarge-font-size !default;
|
46
|
+
$base-h1-font-size: $base-h1-font-size-m * 0.85 !default;
|
47
|
+
$base-h1-line-height: 1.2 !default;
|
48
|
+
$base-h2-font-size-m: $global-xlarge-font-size !default;
|
49
|
+
$base-h2-font-size: $base-h2-font-size-m * 0.85 !default;
|
50
|
+
$base-h2-line-height: 1.3 !default;
|
51
|
+
$base-h3-font-size: $global-large-font-size !default;
|
52
|
+
$base-h3-line-height: 1.4 !default;
|
53
|
+
$base-h4-font-size: $global-medium-font-size !default;
|
54
|
+
$base-h4-line-height: 1.4 !default;
|
55
|
+
$base-h5-font-size: $global-font-size !default;
|
56
|
+
$base-h5-line-height: 1.4 !default;
|
57
|
+
$base-h6-font-size: $global-small-font-size !default;
|
58
|
+
$base-h6-line-height: 1.4 !default;
|
59
|
+
|
60
|
+
$base-list-padding-left: 30px !default;
|
61
|
+
|
62
|
+
$base-hr-margin-vertical: $global-margin !default;
|
63
|
+
$base-hr-border-width: $global-border-width !default;
|
64
|
+
$base-hr-border: $global-border !default;
|
65
|
+
|
66
|
+
$base-blockquote-font-size: $global-medium-font-size !default;
|
67
|
+
$base-blockquote-line-height: 1.5 !default;
|
68
|
+
$base-blockquote-font-style: italic !default;
|
69
|
+
$base-blockquote-margin-vertical: $global-margin !default;
|
70
|
+
$base-blockquote-footer-margin-top: $global-small-margin !default;
|
71
|
+
$base-blockquote-footer-font-size: $global-small-font-size !default;
|
72
|
+
$base-blockquote-footer-line-height: 1.5 !default;
|
73
|
+
|
74
|
+
$base-pre-font-size: $global-small-font-size !default;
|
75
|
+
$base-pre-line-height: 1.5 !default;
|
76
|
+
$base-pre-font-family: $base-code-font-family !default;
|
77
|
+
$base-pre-color: $global-color !default;
|
78
|
+
|
79
|
+
$base-focus-outline-width: 2px !default;
|
80
|
+
$base-focus-outline-style: dotted !default;
|
81
|
+
$base-focus-outline: $global-emphasis-color !default;
|
82
|
+
$base-focus-outline-offset: 1px !default;
|
83
|
+
|
84
|
+
$base-selection-background: #39f !default;
|
85
|
+
$base-selection-color: $global-inverse-color !default;
|
86
|
+
|
87
|
+
|
88
|
+
/* ========================================================================
|
89
|
+
Component: Base
|
90
|
+
========================================================================== */
|
91
|
+
|
92
|
+
/*
|
93
|
+
* 1. Set `font-size` to support `rem` units
|
94
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
95
|
+
* 3. Style
|
96
|
+
*/
|
97
|
+
|
98
|
+
html {
|
99
|
+
/* 1 */
|
100
|
+
font-family: $base-body-font-family;
|
101
|
+
font-size: $base-body-font-size;
|
102
|
+
font-weight: $base-body-font-weight;
|
103
|
+
line-height: $base-body-line-height;
|
104
|
+
/* 2 */
|
105
|
+
-webkit-text-size-adjust: 100%;
|
106
|
+
/* 3 */
|
107
|
+
background: $base-body-background;
|
108
|
+
color: $base-body-color;
|
109
|
+
@if(mixin-exists(hook-base-body)) {@include hook-base-body();}
|
110
|
+
}
|
111
|
+
|
112
|
+
/*
|
113
|
+
* Remove the margin in all browsers.
|
114
|
+
*/
|
115
|
+
|
116
|
+
body { margin: 0; }
|
117
|
+
|
118
|
+
|
119
|
+
/* Links
|
120
|
+
========================================================================== */
|
121
|
+
|
122
|
+
/*
|
123
|
+
* Style
|
124
|
+
*/
|
125
|
+
|
126
|
+
a,
|
127
|
+
.uk-link {
|
128
|
+
color: $base-link-color;
|
129
|
+
text-decoration: $base-link-text-decoration;
|
130
|
+
cursor: pointer;
|
131
|
+
@if(mixin-exists(hook-base-link)) {@include hook-base-link();}
|
132
|
+
}
|
133
|
+
|
134
|
+
a:hover,
|
135
|
+
.uk-link:hover,
|
136
|
+
.uk-link-toggle:hover .uk-link {
|
137
|
+
color: $base-link-hover-color;
|
138
|
+
text-decoration: $base-link-hover-text-decoration;
|
139
|
+
@if(mixin-exists(hook-base-link-hover)) {@include hook-base-link-hover();}
|
140
|
+
}
|
141
|
+
|
142
|
+
|
143
|
+
/* Text-level semantics
|
144
|
+
========================================================================== */
|
145
|
+
|
146
|
+
/*
|
147
|
+
* 1. Add the correct text decoration in Edge.
|
148
|
+
* 2. The shorthand declaration `underline dotted` is not supported in Safari.
|
149
|
+
*/
|
150
|
+
|
151
|
+
abbr[title] {
|
152
|
+
/* 1 */
|
153
|
+
text-decoration: underline dotted;
|
154
|
+
/* 2 */
|
155
|
+
-webkit-text-decoration-style: dotted;
|
156
|
+
}
|
157
|
+
|
158
|
+
/*
|
159
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
160
|
+
*/
|
161
|
+
|
162
|
+
b,
|
163
|
+
strong { font-weight: $base-strong-font-weight; }
|
164
|
+
|
165
|
+
/*
|
166
|
+
* 1. Consolas has a better baseline in running text compared to `Courier`
|
167
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
168
|
+
* 3. Style
|
169
|
+
*/
|
170
|
+
|
171
|
+
:not(pre) > code,
|
172
|
+
:not(pre) > kbd,
|
173
|
+
:not(pre) > samp {
|
174
|
+
/* 1 */
|
175
|
+
font-family: $base-code-font-family;
|
176
|
+
/* 2 */
|
177
|
+
font-size: $base-code-font-size;
|
178
|
+
/* 3 */
|
179
|
+
color: $base-code-color;
|
180
|
+
white-space: nowrap;
|
181
|
+
@if(mixin-exists(hook-base-code)) {@include hook-base-code();}
|
182
|
+
}
|
183
|
+
|
184
|
+
/*
|
185
|
+
* Emphasize
|
186
|
+
*/
|
187
|
+
|
188
|
+
em { color: $base-em-color; }
|
189
|
+
|
190
|
+
/*
|
191
|
+
* Insert
|
192
|
+
*/
|
193
|
+
|
194
|
+
ins {
|
195
|
+
background: $base-ins-background;
|
196
|
+
color: $base-ins-color;
|
197
|
+
text-decoration: none;
|
198
|
+
}
|
199
|
+
|
200
|
+
/*
|
201
|
+
* Mark
|
202
|
+
*/
|
203
|
+
|
204
|
+
mark {
|
205
|
+
background: $base-mark-background;
|
206
|
+
color: $base-mark-color;
|
207
|
+
}
|
208
|
+
|
209
|
+
/*
|
210
|
+
* Quote
|
211
|
+
*/
|
212
|
+
|
213
|
+
q { font-style: $base-quote-font-style; }
|
214
|
+
|
215
|
+
/*
|
216
|
+
* Add the correct font size in all browsers.
|
217
|
+
*/
|
218
|
+
|
219
|
+
small { font-size: $base-small-font-size; }
|
220
|
+
|
221
|
+
/*
|
222
|
+
* Prevents `sub` and `sup` affecting `line-height` in all browsers.
|
223
|
+
*/
|
224
|
+
|
225
|
+
sub,
|
226
|
+
sup {
|
227
|
+
font-size: 75%;
|
228
|
+
line-height: 0;
|
229
|
+
position: relative;
|
230
|
+
vertical-align: baseline;
|
231
|
+
}
|
232
|
+
|
233
|
+
sup { top: -0.5em; }
|
234
|
+
sub { bottom: -0.25em; }
|
235
|
+
|
236
|
+
|
237
|
+
/* Embedded content
|
238
|
+
========================================================================== */
|
239
|
+
|
240
|
+
/*
|
241
|
+
* Remove the gap between the element and the bottom of its parent container.
|
242
|
+
*/
|
243
|
+
|
244
|
+
audio,
|
245
|
+
canvas,
|
246
|
+
iframe,
|
247
|
+
img,
|
248
|
+
svg,
|
249
|
+
video { vertical-align: middle; }
|
250
|
+
|
251
|
+
/*
|
252
|
+
* 1. Constrain the element to its parent width.
|
253
|
+
* 2. Preserve the intrinsic aspect ratio and auto-scale the height of an image if the `height` attribute is present.
|
254
|
+
* 3. Take border and padding into account.
|
255
|
+
*/
|
256
|
+
|
257
|
+
canvas,
|
258
|
+
img,
|
259
|
+
svg,
|
260
|
+
video {
|
261
|
+
/* 1 */
|
262
|
+
max-width: 100%;
|
263
|
+
/* 2 */
|
264
|
+
height: auto;
|
265
|
+
/* 3 */
|
266
|
+
box-sizing: border-box;
|
267
|
+
}
|
268
|
+
|
269
|
+
/*
|
270
|
+
* Deprecated: only needed for `img` elements with `uk-img`
|
271
|
+
* 1. Hide `alt` text for lazy load images.
|
272
|
+
* 2. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
|
273
|
+
*/
|
274
|
+
|
275
|
+
img:not([src]) {
|
276
|
+
/* 1 */
|
277
|
+
visibility: hidden;
|
278
|
+
/* 2 */
|
279
|
+
min-width: 1px;
|
280
|
+
}
|
281
|
+
|
282
|
+
/*
|
283
|
+
* Iframe
|
284
|
+
* Remove border in all browsers
|
285
|
+
*/
|
286
|
+
|
287
|
+
iframe { border: 0; }
|
288
|
+
|
289
|
+
|
290
|
+
/* Block elements
|
291
|
+
========================================================================== */
|
292
|
+
|
293
|
+
/*
|
294
|
+
* Margins
|
295
|
+
*/
|
296
|
+
|
297
|
+
p,
|
298
|
+
ul,
|
299
|
+
ol,
|
300
|
+
dl,
|
301
|
+
pre,
|
302
|
+
address,
|
303
|
+
fieldset,
|
304
|
+
figure { margin: 0 0 $base-margin-vertical 0; }
|
305
|
+
|
306
|
+
/* Add margin if adjacent element */
|
307
|
+
* + p,
|
308
|
+
* + ul,
|
309
|
+
* + ol,
|
310
|
+
* + dl,
|
311
|
+
* + pre,
|
312
|
+
* + address,
|
313
|
+
* + fieldset,
|
314
|
+
* + figure { margin-top: $base-margin-vertical; }
|
315
|
+
|
316
|
+
|
317
|
+
/* Headings
|
318
|
+
========================================================================== */
|
319
|
+
|
320
|
+
h1, .uk-h1,
|
321
|
+
h2, .uk-h2,
|
322
|
+
h3, .uk-h3,
|
323
|
+
h4, .uk-h4,
|
324
|
+
h5, .uk-h5,
|
325
|
+
h6, .uk-h6,
|
326
|
+
.uk-heading-small,
|
327
|
+
.uk-heading-medium,
|
328
|
+
.uk-heading-large,
|
329
|
+
.uk-heading-xlarge,
|
330
|
+
.uk-heading-2xlarge {
|
331
|
+
margin: 0 0 $base-margin-vertical 0;
|
332
|
+
font-family: $base-heading-font-family;
|
333
|
+
font-weight: $base-heading-font-weight;
|
334
|
+
color: $base-heading-color;
|
335
|
+
text-transform: $base-heading-text-transform;
|
336
|
+
@if(mixin-exists(hook-base-heading)) {@include hook-base-heading();}
|
337
|
+
}
|
338
|
+
|
339
|
+
/* Add margin if adjacent element */
|
340
|
+
* + h1, * + .uk-h1,
|
341
|
+
* + h2, * + .uk-h2,
|
342
|
+
* + h3, * + .uk-h3,
|
343
|
+
* + h4, * + .uk-h4,
|
344
|
+
* + h5, * + .uk-h5,
|
345
|
+
* + h6, * + .uk-h6,
|
346
|
+
* + .uk-heading-small,
|
347
|
+
* + .uk-heading-medium,
|
348
|
+
* + .uk-heading-large,
|
349
|
+
* + .uk-heading-xlarge,
|
350
|
+
* + .uk-heading-2xlarge { margin-top: $base-heading-margin-top; }
|
351
|
+
|
352
|
+
/*
|
353
|
+
* Sizes
|
354
|
+
*/
|
355
|
+
|
356
|
+
h1, .uk-h1 {
|
357
|
+
font-size: $base-h1-font-size;
|
358
|
+
line-height: $base-h1-line-height;
|
359
|
+
@if(mixin-exists(hook-base-h1)) {@include hook-base-h1();}
|
360
|
+
}
|
361
|
+
|
362
|
+
h2, .uk-h2 {
|
363
|
+
font-size: $base-h2-font-size;
|
364
|
+
line-height: $base-h2-line-height;
|
365
|
+
@if(mixin-exists(hook-base-h2)) {@include hook-base-h2();}
|
366
|
+
}
|
367
|
+
|
368
|
+
h3, .uk-h3 {
|
369
|
+
font-size: $base-h3-font-size;
|
370
|
+
line-height: $base-h3-line-height;
|
371
|
+
@if(mixin-exists(hook-base-h3)) {@include hook-base-h3();}
|
372
|
+
}
|
373
|
+
|
374
|
+
h4, .uk-h4 {
|
375
|
+
font-size: $base-h4-font-size;
|
376
|
+
line-height: $base-h4-line-height;
|
377
|
+
@if(mixin-exists(hook-base-h4)) {@include hook-base-h4();}
|
378
|
+
}
|
379
|
+
|
380
|
+
h5, .uk-h5 {
|
381
|
+
font-size: $base-h5-font-size;
|
382
|
+
line-height: $base-h5-line-height;
|
383
|
+
@if(mixin-exists(hook-base-h5)) {@include hook-base-h5();}
|
384
|
+
}
|
385
|
+
|
386
|
+
h6, .uk-h6 {
|
387
|
+
font-size: $base-h6-font-size;
|
388
|
+
line-height: $base-h6-line-height;
|
389
|
+
@if(mixin-exists(hook-base-h6)) {@include hook-base-h6();}
|
390
|
+
}
|
391
|
+
|
392
|
+
/* Tablet landscape and bigger */
|
393
|
+
@media (min-width: $breakpoint-medium) {
|
394
|
+
|
395
|
+
h1, .uk-h1 { font-size: $base-h1-font-size-m; }
|
396
|
+
h2, .uk-h2 { font-size: $base-h2-font-size-m; }
|
397
|
+
|
398
|
+
}
|
399
|
+
|
400
|
+
|
401
|
+
/* Lists
|
402
|
+
========================================================================== */
|
403
|
+
|
404
|
+
ul,
|
405
|
+
ol { padding-left: $base-list-padding-left; }
|
406
|
+
|
407
|
+
/*
|
408
|
+
* Reset margin for nested lists
|
409
|
+
*/
|
410
|
+
|
411
|
+
ul > li > ul,
|
412
|
+
ul > li > ol,
|
413
|
+
ol > li > ol,
|
414
|
+
ol > li > ul { margin: 0; }
|
415
|
+
|
416
|
+
|
417
|
+
/* Description lists
|
418
|
+
========================================================================== */
|
419
|
+
|
420
|
+
dt { font-weight: bold; }
|
421
|
+
dd { margin-left: 0; }
|
422
|
+
|
423
|
+
|
424
|
+
/* Horizontal rules
|
425
|
+
========================================================================== */
|
426
|
+
|
427
|
+
/*
|
428
|
+
* 1. Show the overflow in Chrome, Edge and IE.
|
429
|
+
* 2. Add the correct text-align in Edge and IE.
|
430
|
+
* 3. Style
|
431
|
+
*/
|
432
|
+
|
433
|
+
hr, .uk-hr {
|
434
|
+
/* 1 */
|
435
|
+
overflow: visible;
|
436
|
+
/* 2 */
|
437
|
+
text-align: inherit;
|
438
|
+
/* 3 */
|
439
|
+
margin: 0 0 $base-hr-margin-vertical 0;
|
440
|
+
border: 0;
|
441
|
+
border-top: $base-hr-border-width solid $base-hr-border;
|
442
|
+
@if(mixin-exists(hook-base-hr)) {@include hook-base-hr();}
|
443
|
+
}
|
444
|
+
|
445
|
+
/* Add margin if adjacent element */
|
446
|
+
* + hr,
|
447
|
+
* + .uk-hr { margin-top: $base-hr-margin-vertical }
|
448
|
+
|
449
|
+
|
450
|
+
/* Address
|
451
|
+
========================================================================== */
|
452
|
+
|
453
|
+
address { font-style: normal; }
|
454
|
+
|
455
|
+
|
456
|
+
/* Blockquotes
|
457
|
+
========================================================================== */
|
458
|
+
|
459
|
+
blockquote {
|
460
|
+
margin: 0 0 $base-blockquote-margin-vertical 0;
|
461
|
+
font-size: $base-blockquote-font-size;
|
462
|
+
line-height: $base-blockquote-line-height;
|
463
|
+
font-style: $base-blockquote-font-style;
|
464
|
+
@if(mixin-exists(hook-base-blockquote)) {@include hook-base-blockquote();}
|
465
|
+
}
|
466
|
+
|
467
|
+
/* Add margin if adjacent element */
|
468
|
+
* + blockquote { margin-top: $base-blockquote-margin-vertical; }
|
469
|
+
|
470
|
+
/*
|
471
|
+
* Content
|
472
|
+
*/
|
473
|
+
|
474
|
+
blockquote p:last-of-type { margin-bottom: 0; }
|
475
|
+
|
476
|
+
blockquote footer {
|
477
|
+
margin-top: $base-blockquote-footer-margin-top;
|
478
|
+
font-size: $base-blockquote-footer-font-size;
|
479
|
+
line-height: $base-blockquote-footer-line-height;
|
480
|
+
@if(mixin-exists(hook-base-blockquote-footer)) {@include hook-base-blockquote-footer();}
|
481
|
+
}
|
482
|
+
|
483
|
+
|
484
|
+
/* Preformatted text
|
485
|
+
========================================================================== */
|
486
|
+
|
487
|
+
/*
|
488
|
+
* 1. Contain overflow in all browsers.
|
489
|
+
*/
|
490
|
+
|
491
|
+
pre {
|
492
|
+
font: $base-pre-font-size unquote("/") $base-pre-line-height $base-pre-font-family;
|
493
|
+
color: $base-pre-color;
|
494
|
+
-moz-tab-size: 4;
|
495
|
+
tab-size: 4;
|
496
|
+
/* 1 */
|
497
|
+
overflow: auto;
|
498
|
+
@if(mixin-exists(hook-base-pre)) {@include hook-base-pre();}
|
499
|
+
}
|
500
|
+
|
501
|
+
pre code { font-family: $base-pre-font-family; }
|
502
|
+
|
503
|
+
|
504
|
+
/* Focus
|
505
|
+
========================================================================== */
|
506
|
+
|
507
|
+
:focus { outline: none; }
|
508
|
+
|
509
|
+
:focus-visible { outline: $base-focus-outline-width $base-focus-outline-style $base-focus-outline; }
|
510
|
+
|
511
|
+
|
512
|
+
/* Selection pseudo-element
|
513
|
+
========================================================================== */
|
514
|
+
|
515
|
+
::selection {
|
516
|
+
background: $base-selection-background;
|
517
|
+
color: $base-selection-color;
|
518
|
+
text-shadow: none;
|
519
|
+
}
|
520
|
+
|
521
|
+
|
522
|
+
/* HTML5 elements
|
523
|
+
========================================================================== */
|
524
|
+
|
525
|
+
/*
|
526
|
+
* 1. Add the correct display in Edge, IE 10+, and Firefox.
|
527
|
+
* 2. Add the correct display in IE.
|
528
|
+
*/
|
529
|
+
|
530
|
+
details, /* 1 */
|
531
|
+
main { /* 2 */
|
532
|
+
display: block;
|
533
|
+
}
|
534
|
+
|
535
|
+
/*
|
536
|
+
* Add the correct display in all browsers.
|
537
|
+
*/
|
538
|
+
|
539
|
+
summary { display: list-item; }
|
540
|
+
|
541
|
+
/*
|
542
|
+
* Add the correct display in IE.
|
543
|
+
*/
|
544
|
+
|
545
|
+
template { display: none; }
|
546
|
+
|
547
|
+
|
548
|
+
/* Pass media breakpoints to JS
|
549
|
+
========================================================================== */
|
550
|
+
|
551
|
+
/*
|
552
|
+
* Breakpoints
|
553
|
+
*/
|
554
|
+
|
555
|
+
:root {
|
556
|
+
--uk-breakpoint-s: #{$breakpoint-small};
|
557
|
+
--uk-breakpoint-m: #{$breakpoint-medium};
|
558
|
+
--uk-breakpoint-l: #{$breakpoint-large};
|
559
|
+
--uk-breakpoint-xl: #{$breakpoint-xlarge};
|
560
|
+
}
|
561
|
+
|
562
|
+
// Hooks
|
563
|
+
// ========================================================================
|
564
|
+
|
565
|
+
@if(mixin-exists(hook-base-misc)) {@include hook-base-misc();}
|
566
|
+
|
567
|
+
// @mixin hook-base-body(){}
|
568
|
+
// @mixin hook-base-link(){}
|
569
|
+
// @mixin hook-base-link-hover(){}
|
570
|
+
// @mixin hook-base-code(){}
|
571
|
+
// @mixin hook-base-heading(){}
|
572
|
+
// @mixin hook-base-h1(){}
|
573
|
+
// @mixin hook-base-h2(){}
|
574
|
+
// @mixin hook-base-h3(){}
|
575
|
+
// @mixin hook-base-h4(){}
|
576
|
+
// @mixin hook-base-h5(){}
|
577
|
+
// @mixin hook-base-h6(){}
|
578
|
+
// @mixin hook-base-hr(){}
|
579
|
+
// @mixin hook-base-blockquote(){}
|
580
|
+
// @mixin hook-base-blockquote-footer(){}
|
581
|
+
// @mixin hook-base-pre(){}
|
582
|
+
// @mixin hook-base-misc(){}
|
583
|
+
|
584
|
+
|
585
|
+
// Inverse
|
586
|
+
// ========================================================================
|
587
|
+
|
588
|
+
$inverse-base-color: $inverse-global-color !default;
|
589
|
+
$inverse-base-link-color: $inverse-global-emphasis-color !default;
|
590
|
+
$inverse-base-link-hover-color: $inverse-global-emphasis-color !default;
|
591
|
+
$inverse-base-code-color: $inverse-global-color !default;
|
592
|
+
$inverse-base-em-color: $inverse-global-emphasis-color !default;
|
593
|
+
$inverse-base-heading-color: $inverse-global-emphasis-color !default;
|
594
|
+
$inverse-base-hr-border: $inverse-global-border !default;
|
595
|
+
$inverse-base-focus-outline: $inverse-global-emphasis-color !default;
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
// @mixin hook-inverse-base-link(){}
|
600
|
+
// @mixin hook-inverse-base-link-hover(){}
|
601
|
+
// @mixin hook-inverse-base-code(){}
|
602
|
+
// @mixin hook-inverse-base-heading(){}
|
603
|
+
// @mixin hook-inverse-base-h1(){}
|
604
|
+
// @mixin hook-inverse-base-h2(){}
|
605
|
+
// @mixin hook-inverse-base-h3(){}
|
606
|
+
// @mixin hook-inverse-base-h4(){}
|
607
|
+
// @mixin hook-inverse-base-h5(){}
|
608
|
+
// @mixin hook-inverse-base-h6(){}
|
609
|
+
// @mixin hook-inverse-base-blockquote(){}
|
610
|
+
// @mixin hook-inverse-base-blockquote-footer(){}
|
611
|
+
// @mixin hook-inverse-base-hr(){}
|