juicelang-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +37 -0
  4. data/_includes/logo.html +5 -0
  5. data/_layouts/default.html +97 -0
  6. data/_layouts/fullwidth_page.html +7 -0
  7. data/_layouts/page.html +7 -0
  8. data/_layouts/post.html +5 -0
  9. data/_sass/uikit/components/_import.components.scss +56 -0
  10. data/_sass/uikit/components/_import.scss +95 -0
  11. data/_sass/uikit/components/_import.utilities.scss +19 -0
  12. data/_sass/uikit/components/accordion.scss +105 -0
  13. data/_sass/uikit/components/alert.scss +146 -0
  14. data/_sass/uikit/components/align.scss +142 -0
  15. data/_sass/uikit/components/animation.scss +283 -0
  16. data/_sass/uikit/components/article.scss +99 -0
  17. data/_sass/uikit/components/background.scss +148 -0
  18. data/_sass/uikit/components/badge.scss +78 -0
  19. data/_sass/uikit/components/base.scss +611 -0
  20. data/_sass/uikit/components/breadcrumb.scss +122 -0
  21. data/_sass/uikit/components/button.scss +439 -0
  22. data/_sass/uikit/components/card.scss +384 -0
  23. data/_sass/uikit/components/close.scss +55 -0
  24. data/_sass/uikit/components/column.scss +139 -0
  25. data/_sass/uikit/components/comment.scss +160 -0
  26. data/_sass/uikit/components/container.scss +185 -0
  27. data/_sass/uikit/components/countdown.scss +131 -0
  28. data/_sass/uikit/components/cover.scss +63 -0
  29. data/_sass/uikit/components/description-list.scss +71 -0
  30. data/_sass/uikit/components/divider.scss +153 -0
  31. data/_sass/uikit/components/dotnav.scss +155 -0
  32. data/_sass/uikit/components/drop.scss +63 -0
  33. data/_sass/uikit/components/dropbar.scss +126 -0
  34. data/_sass/uikit/components/dropdown.scss +170 -0
  35. data/_sass/uikit/components/flex.scss +200 -0
  36. data/_sass/uikit/components/form-range.scss +139 -0
  37. data/_sass/uikit/components/form.scss +804 -0
  38. data/_sass/uikit/components/grid-masonry.scss +69 -0
  39. data/_sass/uikit/components/grid.scss +407 -0
  40. data/_sass/uikit/components/heading.scss +321 -0
  41. data/_sass/uikit/components/height.scss +57 -0
  42. data/_sass/uikit/components/icon.scss +225 -0
  43. data/_sass/uikit/components/iconnav.scss +146 -0
  44. data/_sass/uikit/components/inverse.scss +46 -0
  45. data/_sass/uikit/components/label.scss +102 -0
  46. data/_sass/uikit/components/leader.scss +69 -0
  47. data/_sass/uikit/components/lightbox.scss +248 -0
  48. data/_sass/uikit/components/link.scss +138 -0
  49. data/_sass/uikit/components/list.scss +240 -0
  50. data/_sass/uikit/components/margin.scss +249 -0
  51. data/_sass/uikit/components/marker.scss +61 -0
  52. data/_sass/uikit/components/mixin.scss +32 -0
  53. data/_sass/uikit/components/modal.scss +367 -0
  54. data/_sass/uikit/components/nav.scss +555 -0
  55. data/_sass/uikit/components/navbar.scss +634 -0
  56. data/_sass/uikit/components/notification.scss +191 -0
  57. data/_sass/uikit/components/offcanvas.scss +324 -0
  58. data/_sass/uikit/components/overlay.scss +85 -0
  59. data/_sass/uikit/components/padding.scss +81 -0
  60. data/_sass/uikit/components/pagination.scss +130 -0
  61. data/_sass/uikit/components/placeholder.scss +45 -0
  62. data/_sass/uikit/components/position.scss +230 -0
  63. data/_sass/uikit/components/print.scss +61 -0
  64. data/_sass/uikit/components/progress.scss +83 -0
  65. data/_sass/uikit/components/search.scss +339 -0
  66. data/_sass/uikit/components/section.scss +212 -0
  67. data/_sass/uikit/components/slidenav.scss +120 -0
  68. data/_sass/uikit/components/slider.scss +116 -0
  69. data/_sass/uikit/components/slideshow.scss +93 -0
  70. data/_sass/uikit/components/sortable.scss +90 -0
  71. data/_sass/uikit/components/spinner.scss +74 -0
  72. data/_sass/uikit/components/sticky.scss +71 -0
  73. data/_sass/uikit/components/subnav.scss +246 -0
  74. data/_sass/uikit/components/svg.scss +36 -0
  75. data/_sass/uikit/components/switcher.scss +47 -0
  76. data/_sass/uikit/components/tab.scss +196 -0
  77. data/_sass/uikit/components/table.scss +315 -0
  78. data/_sass/uikit/components/text.scss +268 -0
  79. data/_sass/uikit/components/thumbnav.scss +119 -0
  80. data/_sass/uikit/components/tile.scss +233 -0
  81. data/_sass/uikit/components/tooltip.scss +79 -0
  82. data/_sass/uikit/components/totop.scss +69 -0
  83. data/_sass/uikit/components/transition.scss +165 -0
  84. data/_sass/uikit/components/utility.scss +522 -0
  85. data/_sass/uikit/components/variables.scss +123 -0
  86. data/_sass/uikit/components/visibility.scss +146 -0
  87. data/_sass/uikit/components/width.scss +386 -0
  88. data/_sass/uikit/mixins-theme.scss +2170 -0
  89. data/_sass/uikit/mixins.scss +1812 -0
  90. data/_sass/uikit/theme/_import.scss +82 -0
  91. data/_sass/uikit/theme/accordion.scss +59 -0
  92. data/_sass/uikit/theme/alert.scss +46 -0
  93. data/_sass/uikit/theme/align.scss +14 -0
  94. data/_sass/uikit/theme/animation.scss +14 -0
  95. data/_sass/uikit/theme/article.scss +51 -0
  96. data/_sass/uikit/theme/background.scss +14 -0
  97. data/_sass/uikit/theme/badge.scss +29 -0
  98. data/_sass/uikit/theme/base.scss +116 -0
  99. data/_sass/uikit/theme/breadcrumb.scss +45 -0
  100. data/_sass/uikit/theme/button.scss +157 -0
  101. data/_sass/uikit/theme/card.scss +128 -0
  102. data/_sass/uikit/theme/close.scss +29 -0
  103. data/_sass/uikit/theme/column.scss +14 -0
  104. data/_sass/uikit/theme/comment.scss +69 -0
  105. data/_sass/uikit/theme/container.scss +14 -0
  106. data/_sass/uikit/theme/countdown.scss +53 -0
  107. data/_sass/uikit/theme/description-list.scss +32 -0
  108. data/_sass/uikit/theme/divider.scss +49 -0
  109. data/_sass/uikit/theme/dotnav.scss +52 -0
  110. data/_sass/uikit/theme/drop.scss +14 -0
  111. data/_sass/uikit/theme/dropbar.scss +44 -0
  112. data/_sass/uikit/theme/dropdown.scss +49 -0
  113. data/_sass/uikit/theme/form-range.scss +45 -0
  114. data/_sass/uikit/theme/form.scss +131 -0
  115. data/_sass/uikit/theme/grid.scss +28 -0
  116. data/_sass/uikit/theme/heading.scss +67 -0
  117. data/_sass/uikit/theme/height.scss +14 -0
  118. data/_sass/uikit/theme/icon.scss +50 -0
  119. data/_sass/uikit/theme/iconnav.scss +40 -0
  120. data/_sass/uikit/theme/inverse.scss +14 -0
  121. data/_sass/uikit/theme/label.scss +43 -0
  122. data/_sass/uikit/theme/leader.scss +26 -0
  123. data/_sass/uikit/theme/lightbox.scss +50 -0
  124. data/_sass/uikit/theme/link.scss +55 -0
  125. data/_sass/uikit/theme/list.scss +36 -0
  126. data/_sass/uikit/theme/margin.scss +14 -0
  127. data/_sass/uikit/theme/marker.scss +29 -0
  128. data/_sass/uikit/theme/modal.scss +84 -0
  129. data/_sass/uikit/theme/nav.scss +140 -0
  130. data/_sass/uikit/theme/navbar.scss +146 -0
  131. data/_sass/uikit/theme/notification.scss +44 -0
  132. data/_sass/uikit/theme/offcanvas.scss +32 -0
  133. data/_sass/uikit/theme/overlay.scss +33 -0
  134. data/_sass/uikit/theme/padding.scss +14 -0
  135. data/_sass/uikit/theme/pagination.scss +41 -0
  136. data/_sass/uikit/theme/placeholder.scss +29 -0
  137. data/_sass/uikit/theme/position.scss +14 -0
  138. data/_sass/uikit/theme/progress.scss +24 -0
  139. data/_sass/uikit/theme/search.scss +87 -0
  140. data/_sass/uikit/theme/section.scss +32 -0
  141. data/_sass/uikit/theme/slidenav.scss +52 -0
  142. data/_sass/uikit/theme/slider.scss +14 -0
  143. data/_sass/uikit/theme/sortable.scss +38 -0
  144. data/_sass/uikit/theme/spinner.scss +14 -0
  145. data/_sass/uikit/theme/sticky.scss +14 -0
  146. data/_sass/uikit/theme/subnav.scss +74 -0
  147. data/_sass/uikit/theme/tab.scss +74 -0
  148. data/_sass/uikit/theme/table.scss +69 -0
  149. data/_sass/uikit/theme/text.scss +50 -0
  150. data/_sass/uikit/theme/thumbnav.scss +42 -0
  151. data/_sass/uikit/theme/tile.scss +52 -0
  152. data/_sass/uikit/theme/tooltip.scss +20 -0
  153. data/_sass/uikit/theme/totop.scss +32 -0
  154. data/_sass/uikit/theme/transition.scss +14 -0
  155. data/_sass/uikit/theme/utility.scss +49 -0
  156. data/_sass/uikit/theme/variables.scss +36 -0
  157. data/_sass/uikit/theme/width.scss +14 -0
  158. data/_sass/uikit/uikit-theme.scss +9 -0
  159. data/_sass/uikit/uikit.scss +5 -0
  160. data/_sass/uikit/variables-theme.scss +1260 -0
  161. data/_sass/uikit/variables.scss +1142 -0
  162. data/assets/css/default.scss +220 -0
  163. data/assets/images/icons/android-chrome-192x192.png +0 -0
  164. data/assets/images/icons/android-chrome-512x512.png +0 -0
  165. data/assets/images/icons/apple-touch-icon.png +0 -0
  166. data/assets/images/icons/browserconfig.xml +9 -0
  167. data/assets/images/icons/favicon-16x16.png +0 -0
  168. data/assets/images/icons/favicon-32x32.png +0 -0
  169. data/assets/images/icons/favicon.ico +0 -0
  170. data/assets/images/icons/mstile-144x144.png +0 -0
  171. data/assets/images/icons/mstile-150x150.png +0 -0
  172. data/assets/images/icons/mstile-310x150.png +0 -0
  173. data/assets/images/icons/mstile-310x310.png +0 -0
  174. data/assets/images/icons/mstile-70x70.png +0 -0
  175. data/assets/images/icons/safari-pinned-tab.svg +46 -0
  176. data/assets/images/icons/site.webmanifest +18 -0
  177. data/assets/images/juice.svg +47 -0
  178. data/assets/js/default.js +0 -0
  179. metadata +248 -0
@@ -0,0 +1,122 @@
1
+ // Name: Breadcrumb
2
+ // Description: Component to create a breadcrumb navigation
3
+ //
4
+ // Component: `uk-breadcrumb`
5
+ //
6
+ // States: `uk-disabled`
7
+ //
8
+ // ========================================================================
9
+
10
+
11
+ // Variables
12
+ // ========================================================================
13
+
14
+ $breadcrumb-item-font-size: $global-small-font-size !default;
15
+ $breadcrumb-item-color: $global-muted-color !default;
16
+ $breadcrumb-item-hover-color: $global-color !default;
17
+ $breadcrumb-item-hover-text-decoration: none !default;
18
+ $breadcrumb-item-active-color: $global-color !default;
19
+
20
+ $breadcrumb-divider: "/" !default;
21
+ $breadcrumb-divider-margin-horizontal: 20px !default;
22
+ $breadcrumb-divider-font-size: $breadcrumb-item-font-size !default;
23
+ $breadcrumb-divider-color: $global-muted-color !default;
24
+
25
+
26
+ /* ========================================================================
27
+ Component: Breadcrumb
28
+ ========================================================================== */
29
+
30
+ /*
31
+ * Reset list
32
+ */
33
+
34
+ .uk-breadcrumb {
35
+ padding: 0;
36
+ list-style: none;
37
+ @if(mixin-exists(hook-breadcrumb)) {@include hook-breadcrumb();}
38
+ }
39
+
40
+ /*
41
+ * 1. Doesn't generate any box and replaced by child boxes
42
+ */
43
+
44
+ .uk-breadcrumb > * { display: contents; }
45
+
46
+
47
+ /* Items
48
+ ========================================================================== */
49
+
50
+ .uk-breadcrumb > * > * {
51
+ font-size: $breadcrumb-item-font-size;
52
+ color: $breadcrumb-item-color;
53
+ @if(mixin-exists(hook-breadcrumb-item)) {@include hook-breadcrumb-item();}
54
+ }
55
+
56
+ /* Hover */
57
+ .uk-breadcrumb > * > :hover {
58
+ color: $breadcrumb-item-hover-color;
59
+ text-decoration: $breadcrumb-item-hover-text-decoration;
60
+ @if(mixin-exists(hook-breadcrumb-item-hover)) {@include hook-breadcrumb-item-hover();}
61
+ }
62
+
63
+ /* Disabled */
64
+ .uk-breadcrumb > .uk-disabled > * {
65
+ @if(mixin-exists(hook-breadcrumb-item-disabled)) {@include hook-breadcrumb-item-disabled();}
66
+ }
67
+
68
+ /* Active */
69
+ .uk-breadcrumb > :last-child > span,
70
+ .uk-breadcrumb > :last-child > a:not([href]) {
71
+ color: $breadcrumb-item-active-color;
72
+ @if(mixin-exists(hook-breadcrumb-item-active)) {@include hook-breadcrumb-item-active();}
73
+ }
74
+
75
+ /*
76
+ * Divider
77
+ * `nth-child` makes it also work without JS if it's only one row
78
+ * 1. Remove space between inline block elements.
79
+ * 2. Style
80
+ */
81
+
82
+ .uk-breadcrumb > :nth-child(n+2):not(.uk-first-column)::before {
83
+ content: $breadcrumb-divider;
84
+ display: inline-block;
85
+ /* 1 */
86
+ margin: 0 $breadcrumb-divider-margin-horizontal 0 unquote('calc(#{$breadcrumb-divider-margin-horizontal} - 4px)');
87
+ /* 2 */
88
+ font-size: $breadcrumb-divider-font-size;
89
+ color: $breadcrumb-divider-color;
90
+ @if(mixin-exists(hook-breadcrumb-divider)) {@include hook-breadcrumb-divider();}
91
+ }
92
+
93
+
94
+ // Hooks
95
+ // ========================================================================
96
+
97
+ @if(mixin-exists(hook-breadcrumb-misc)) {@include hook-breadcrumb-misc();}
98
+
99
+ // @mixin hook-breadcrumb(){}
100
+ // @mixin hook-breadcrumb-item(){}
101
+ // @mixin hook-breadcrumb-item-hover(){}
102
+ // @mixin hook-breadcrumb-item-disabled(){}
103
+ // @mixin hook-breadcrumb-item-active(){}
104
+ // @mixin hook-breadcrumb-divider(){}
105
+ // @mixin hook-breadcrumb-misc(){}
106
+
107
+
108
+ // Inverse
109
+ // ========================================================================
110
+
111
+ $inverse-breadcrumb-item-color: $inverse-global-muted-color !default;
112
+ $inverse-breadcrumb-item-hover-color: $inverse-global-color !default;
113
+ $inverse-breadcrumb-item-active-color: $inverse-global-color !default;
114
+ $inverse-breadcrumb-divider-color: $inverse-global-muted-color !default;
115
+
116
+
117
+
118
+ // @mixin hook-inverse-breadcrumb-item(){}
119
+ // @mixin hook-inverse-breadcrumb-item-hover(){}
120
+ // @mixin hook-inverse-breadcrumb-item-disabled(){}
121
+ // @mixin hook-inverse-breadcrumb-item-active(){}
122
+ // @mixin hook-inverse-breadcrumb-divider(){}
@@ -0,0 +1,439 @@
1
+ // Name: Button
2
+ // Description: Styles for buttons
3
+ //
4
+ // Component: `uk-button`
5
+ //
6
+ // Sub-objects: `uk-button-group`
7
+ //
8
+ // Modifiers: `uk-button-default`
9
+ // `uk-button-primary`
10
+ // `uk-button-secondary`
11
+ // `uk-button-danger`
12
+ // `uk-button-text`
13
+ // `uk-button-link`
14
+ // `uk-button-small`
15
+ // `uk-button-large`
16
+ //
17
+ // States: `uk-active`
18
+ //
19
+ // ========================================================================
20
+
21
+
22
+ // Variables
23
+ // ========================================================================
24
+
25
+ $button-line-height: $global-control-height !default;
26
+ $button-small-line-height: $global-control-small-height !default;
27
+ $button-large-line-height: $global-control-large-height !default;
28
+
29
+ $button-font-size: $global-font-size !default;
30
+ $button-small-font-size: $global-small-font-size !default;
31
+ $button-large-font-size: $global-medium-font-size !default;
32
+
33
+ $button-padding-horizontal: $global-gutter !default;
34
+ $button-small-padding-horizontal: $global-small-gutter !default;
35
+ $button-large-padding-horizontal: $global-medium-gutter !default;
36
+
37
+ $button-default-background: $global-muted-background !default;
38
+ $button-default-color: $global-emphasis-color !default;
39
+ $button-default-hover-background: darken($button-default-background, 5%) !default;
40
+ $button-default-hover-color: $global-emphasis-color !default;
41
+ $button-default-active-background: darken($button-default-background, 10%) !default;
42
+ $button-default-active-color: $global-emphasis-color !default;
43
+
44
+ $button-primary-background: $global-primary-background !default;
45
+ $button-primary-color: $global-inverse-color !default;
46
+ $button-primary-hover-background: darken($button-primary-background, 5%) !default;
47
+ $button-primary-hover-color: $global-inverse-color !default;
48
+ $button-primary-active-background: darken($button-primary-background, 10%) !default;
49
+ $button-primary-active-color: $global-inverse-color !default;
50
+
51
+ $button-secondary-background: $global-secondary-background !default;
52
+ $button-secondary-color: $global-inverse-color !default;
53
+ $button-secondary-hover-background: darken($button-secondary-background, 5%) !default;
54
+ $button-secondary-hover-color: $global-inverse-color !default;
55
+ $button-secondary-active-background: darken($button-secondary-background, 10%) !default;
56
+ $button-secondary-active-color: $global-inverse-color !default;
57
+
58
+ $button-danger-background: $global-danger-background !default;
59
+ $button-danger-color: $global-inverse-color !default;
60
+ $button-danger-hover-background: darken($button-danger-background, 5%) !default;
61
+ $button-danger-hover-color: $global-inverse-color !default;
62
+ $button-danger-active-background: darken($button-danger-background, 10%) !default;
63
+ $button-danger-active-color: $global-inverse-color !default;
64
+
65
+ $button-disabled-background: $global-muted-background !default;
66
+ $button-disabled-color: $global-muted-color !default;
67
+
68
+ $button-text-line-height: $global-line-height !default;
69
+ $button-text-color: $global-emphasis-color !default;
70
+ $button-text-hover-color: $global-muted-color !default;
71
+ $button-text-disabled-color: $global-muted-color !default;
72
+
73
+ $button-link-line-height: $global-line-height !default;
74
+ $button-link-color: $global-emphasis-color !default;
75
+ $button-link-hover-color: $global-muted-color !default;
76
+ $button-link-hover-text-decoration: none !default;
77
+ $button-link-disabled-color: $global-muted-color !default;
78
+
79
+
80
+ /* ========================================================================
81
+ Component: Button
82
+ ========================================================================== */
83
+
84
+ /*
85
+ * 1. Remove margins in Chrome, Safari and Opera.
86
+ * 2. Remove borders for `button`.
87
+ * 3. Address `overflow` set to `hidden` in IE.
88
+ * 4. Correct `font` properties and `color` not being inherited for `button`.
89
+ * 5. Remove the inheritance of text transform in Edge, Firefox, and IE.
90
+ * 6. Remove default style for `input type="submit"`in iOS.
91
+ * 7. Style
92
+ * 8. `line-height` is used to create a height because it also centers the text vertically for `a` elements.
93
+ * Better would be to use height and flexbox to center the text vertically but flexbox doesn't work in Firefox on `button` elements.
94
+ * 9. Align text if button has a width
95
+ * 10. Required for `a`.
96
+ */
97
+
98
+ .uk-button {
99
+ /* 1 */
100
+ margin: 0;
101
+ /* 2 */
102
+ border: none;
103
+ /* 3 */
104
+ overflow: visible;
105
+ /* 4 */
106
+ font: inherit;
107
+ color: inherit;
108
+ /* 5 */
109
+ text-transform: none;
110
+ /* 6 */
111
+ -webkit-appearance: none;
112
+ border-radius: 0;
113
+ /* 7 */
114
+ display: inline-block;
115
+ box-sizing: border-box;
116
+ padding: 0 $button-padding-horizontal;
117
+ vertical-align: middle;
118
+ font-size: $button-font-size;
119
+ /* 8 */
120
+ line-height: $button-line-height;
121
+ /* 9 */
122
+ text-align: center;
123
+ /* 10 */
124
+ text-decoration: none;
125
+ @if(mixin-exists(hook-button)) {@include hook-button();}
126
+ }
127
+
128
+ .uk-button:not(:disabled) { cursor: pointer; }
129
+
130
+ /*
131
+ * Remove the inner border and padding in Firefox.
132
+ */
133
+
134
+ .uk-button::-moz-focus-inner {
135
+ border: 0;
136
+ padding: 0;
137
+ }
138
+
139
+ /* Hover */
140
+ .uk-button:hover {
141
+ /* 9 */
142
+ text-decoration: none;
143
+ @if(mixin-exists(hook-button-hover)) {@include hook-button-hover();}
144
+ }
145
+
146
+ /* OnClick + Active */
147
+ .uk-button:active,
148
+ .uk-button.uk-active {
149
+ @if(mixin-exists(hook-button-active)) {@include hook-button-active();}
150
+ }
151
+
152
+
153
+ /* Style modifiers
154
+ ========================================================================== */
155
+
156
+ /*
157
+ * Default
158
+ */
159
+
160
+ .uk-button-default {
161
+ background-color: $button-default-background;
162
+ color: $button-default-color;
163
+ @if(mixin-exists(hook-button-default)) {@include hook-button-default();}
164
+ }
165
+
166
+ /* Hover */
167
+ .uk-button-default:hover {
168
+ background-color: $button-default-hover-background;
169
+ color: $button-default-hover-color;
170
+ @if(mixin-exists(hook-button-default-hover)) {@include hook-button-default-hover();}
171
+ }
172
+
173
+ /* OnClick + Active */
174
+ .uk-button-default:active,
175
+ .uk-button-default.uk-active {
176
+ background-color: $button-default-active-background;
177
+ color: $button-default-active-color;
178
+ @if(mixin-exists(hook-button-default-active)) {@include hook-button-default-active();}
179
+ }
180
+
181
+ /*
182
+ * Primary
183
+ */
184
+
185
+ .uk-button-primary {
186
+ background-color: $button-primary-background;
187
+ color: $button-primary-color;
188
+ @if(mixin-exists(hook-button-primary)) {@include hook-button-primary();}
189
+ }
190
+
191
+ /* Hover */
192
+ .uk-button-primary:hover {
193
+ background-color: $button-primary-hover-background;
194
+ color: $button-primary-hover-color;
195
+ @if(mixin-exists(hook-button-primary-hover)) {@include hook-button-primary-hover();}
196
+ }
197
+
198
+ /* OnClick + Active */
199
+ .uk-button-primary:active,
200
+ .uk-button-primary.uk-active {
201
+ background-color: $button-primary-active-background;
202
+ color: $button-primary-active-color;
203
+ @if(mixin-exists(hook-button-primary-active)) {@include hook-button-primary-active();}
204
+ }
205
+
206
+ /*
207
+ * Secondary
208
+ */
209
+
210
+ .uk-button-secondary {
211
+ background-color: $button-secondary-background;
212
+ color: $button-secondary-color;
213
+ @if(mixin-exists(hook-button-secondary)) {@include hook-button-secondary();}
214
+ }
215
+
216
+ /* Hover */
217
+ .uk-button-secondary:hover {
218
+ background-color: $button-secondary-hover-background;
219
+ color: $button-secondary-hover-color;
220
+ @if(mixin-exists(hook-button-secondary-hover)) {@include hook-button-secondary-hover();}
221
+ }
222
+
223
+ /* OnClick + Active */
224
+ .uk-button-secondary:active,
225
+ .uk-button-secondary.uk-active {
226
+ background-color: $button-secondary-active-background;
227
+ color: $button-secondary-active-color;
228
+ @if(mixin-exists(hook-button-secondary-active)) {@include hook-button-secondary-active();}
229
+ }
230
+
231
+ /*
232
+ * Danger
233
+ */
234
+
235
+ .uk-button-danger {
236
+ background-color: $button-danger-background;
237
+ color: $button-danger-color;
238
+ @if(mixin-exists(hook-button-danger)) {@include hook-button-danger();}
239
+ }
240
+
241
+ /* Hover */
242
+ .uk-button-danger:hover {
243
+ background-color: $button-danger-hover-background;
244
+ color: $button-danger-hover-color;
245
+ @if(mixin-exists(hook-button-danger-hover)) {@include hook-button-danger-hover();}
246
+ }
247
+
248
+ /* OnClick + Active */
249
+ .uk-button-danger:active,
250
+ .uk-button-danger.uk-active {
251
+ background-color: $button-danger-active-background;
252
+ color: $button-danger-active-color;
253
+ @if(mixin-exists(hook-button-danger-active)) {@include hook-button-danger-active();}
254
+ }
255
+
256
+ /*
257
+ * Disabled
258
+ * The same for all style modifiers
259
+ */
260
+
261
+ .uk-button-default:disabled,
262
+ .uk-button-primary:disabled,
263
+ .uk-button-secondary:disabled,
264
+ .uk-button-danger:disabled {
265
+ background-color: $button-disabled-background;
266
+ color: $button-disabled-color;
267
+ @if(mixin-exists(hook-button-disabled)) {@include hook-button-disabled();}
268
+ }
269
+
270
+
271
+ /* Size modifiers
272
+ ========================================================================== */
273
+
274
+ .uk-button-small {
275
+ padding: 0 $button-small-padding-horizontal;
276
+ line-height: $button-small-line-height;
277
+ font-size: $button-small-font-size;
278
+ @if(mixin-exists(hook-button-small)) {@include hook-button-small();}
279
+ }
280
+
281
+ .uk-button-large {
282
+ padding: 0 $button-large-padding-horizontal;
283
+ line-height: $button-large-line-height;
284
+ font-size: $button-large-font-size;
285
+ @if(mixin-exists(hook-button-large)) {@include hook-button-large();}
286
+ }
287
+
288
+
289
+ /* Text modifiers
290
+ ========================================================================== */
291
+
292
+ /*
293
+ * Text
294
+ * 1. Reset
295
+ * 2. Style
296
+ */
297
+
298
+ .uk-button-text {
299
+ /* 1 */
300
+ padding: 0;
301
+ line-height: $button-text-line-height;
302
+ background: none;
303
+ /* 2 */
304
+ color: $button-text-color;
305
+ @if(mixin-exists(hook-button-text)) {@include hook-button-text();}
306
+ }
307
+
308
+ /* Hover */
309
+ .uk-button-text:hover {
310
+ color: $button-text-hover-color;
311
+ @if(mixin-exists(hook-button-text-hover)) {@include hook-button-text-hover();}
312
+ }
313
+
314
+ /* Disabled */
315
+ .uk-button-text:disabled {
316
+ color: $button-text-disabled-color;
317
+ @if(mixin-exists(hook-button-text-disabled)) {@include hook-button-text-disabled();}
318
+ }
319
+
320
+ /*
321
+ * Link
322
+ * 1. Reset
323
+ * 2. Style
324
+ */
325
+
326
+ .uk-button-link {
327
+ /* 1 */
328
+ padding: 0;
329
+ line-height: $button-link-line-height;
330
+ background: none;
331
+ /* 2 */
332
+ color: $button-link-color;
333
+ @if(mixin-exists(hook-button-link)) {@include hook-button-link();}
334
+ }
335
+
336
+ /* Hover */
337
+ .uk-button-link:hover {
338
+ color: $button-link-hover-color;
339
+ text-decoration: $button-link-hover-text-decoration;
340
+ }
341
+
342
+ /* Disabled */
343
+ .uk-button-link:disabled {
344
+ color: $button-link-disabled-color;
345
+ text-decoration: none;
346
+ }
347
+
348
+
349
+ /* Group
350
+ ========================================================================== */
351
+
352
+ /*
353
+ * 1. Using `flex` instead of `inline-block` to prevent whitespace betweent child elements
354
+ * 2. Behave like button
355
+ * 3. Create position context
356
+ */
357
+
358
+ .uk-button-group {
359
+ /* 1 */
360
+ display: inline-flex;
361
+ /* 2 */
362
+ vertical-align: middle;
363
+ /* 3 */
364
+ position: relative;
365
+ }
366
+
367
+
368
+ // Hooks
369
+ // ========================================================================
370
+
371
+ @if(mixin-exists(hook-button-misc)) {@include hook-button-misc();}
372
+
373
+ // @mixin hook-button(){}
374
+ // @mixin hook-button-hover(){}
375
+ // @mixin hook-button-active(){}
376
+ // @mixin hook-button-default(){}
377
+ // @mixin hook-button-default-hover(){}
378
+ // @mixin hook-button-default-active(){}
379
+ // @mixin hook-button-primary(){}
380
+ // @mixin hook-button-primary-hover(){}
381
+ // @mixin hook-button-primary-active(){}
382
+ // @mixin hook-button-secondary(){}
383
+ // @mixin hook-button-secondary-hover(){}
384
+ // @mixin hook-button-secondary-active(){}
385
+ // @mixin hook-button-danger(){}
386
+ // @mixin hook-button-danger-hover(){}
387
+ // @mixin hook-button-danger-active(){}
388
+ // @mixin hook-button-disabled(){}
389
+ // @mixin hook-button-small(){}
390
+ // @mixin hook-button-large(){}
391
+ // @mixin hook-button-text(){}
392
+ // @mixin hook-button-text-hover(){}
393
+ // @mixin hook-button-text-disabled(){}
394
+ // @mixin hook-button-link(){}
395
+ // @mixin hook-button-misc(){}
396
+
397
+
398
+ // Inverse
399
+ // ========================================================================
400
+
401
+ $inverse-button-default-background: $inverse-global-primary-background !default;
402
+ $inverse-button-default-color: $inverse-global-inverse-color !default;
403
+ $inverse-button-default-hover-background: darken($inverse-button-default-background, 5%) !default;
404
+ $inverse-button-default-hover-color: $inverse-global-inverse-color !default;
405
+ $inverse-button-default-active-background: darken($inverse-button-default-background, 10%) !default;
406
+ $inverse-button-default-active-color: $inverse-global-inverse-color !default;
407
+ $inverse-button-primary-background: $inverse-global-primary-background !default;
408
+ $inverse-button-primary-color: $inverse-global-inverse-color !default;
409
+ $inverse-button-primary-hover-background: darken($inverse-button-primary-background, 5%) !default;
410
+ $inverse-button-primary-hover-color: $inverse-global-inverse-color !default;
411
+ $inverse-button-primary-active-background: darken($inverse-button-primary-background, 10%) !default;
412
+ $inverse-button-primary-active-color: $inverse-global-inverse-color !default;
413
+ $inverse-button-secondary-background: $inverse-global-primary-background !default;
414
+ $inverse-button-secondary-color: $inverse-global-inverse-color !default;
415
+ $inverse-button-secondary-hover-background: darken($inverse-button-secondary-background, 5%) !default;
416
+ $inverse-button-secondary-hover-color: $inverse-global-inverse-color !default;
417
+ $inverse-button-secondary-active-background: darken($inverse-button-secondary-background, 10%) !default;
418
+ $inverse-button-secondary-active-color: $inverse-global-inverse-color !default;
419
+ $inverse-button-text-color: $inverse-global-emphasis-color !default;
420
+ $inverse-button-text-hover-color: $inverse-global-muted-color !default;
421
+ $inverse-button-text-disabled-color: $inverse-global-muted-color !default;
422
+ $inverse-button-link-color: $inverse-global-emphasis-color !default;
423
+ $inverse-button-link-hover-color: $inverse-global-muted-color !default;
424
+
425
+
426
+
427
+ // @mixin hook-inverse-button-default(){}
428
+ // @mixin hook-inverse-button-default-hover(){}
429
+ // @mixin hook-inverse-button-default-active(){}
430
+ // @mixin hook-inverse-button-primary(){}
431
+ // @mixin hook-inverse-button-primary-hover(){}
432
+ // @mixin hook-inverse-button-primary-active(){}
433
+ // @mixin hook-inverse-button-secondary(){}
434
+ // @mixin hook-inverse-button-secondary-hover(){}
435
+ // @mixin hook-inverse-button-secondary-active(){}
436
+ // @mixin hook-inverse-button-text(){}
437
+ // @mixin hook-inverse-button-text-hover(){}
438
+ // @mixin hook-inverse-button-text-disabled(){}
439
+ // @mixin hook-inverse-button-link(){}