juicelang-theme 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,36 @@
1
+ // Name: SVG
2
+ // Description: Component to style SVGs
3
+ //
4
+ // Component: `uk-svg`
5
+ //
6
+ // ========================================================================
7
+
8
+
9
+ /* ========================================================================
10
+ Component: SVG
11
+ ========================================================================== */
12
+
13
+ /*
14
+ * 1. Fill all SVG elements with the current text color if no `fill` attribute is set
15
+ * 2. Set the fill and stroke color of all SVG elements to the current text color
16
+ */
17
+
18
+ /* 1 */
19
+ .uk-svg,
20
+ /* 2 */
21
+ .uk-svg:not(.uk-preserve) [fill*='#']:not(.uk-preserve) { fill: currentcolor; }
22
+ .uk-svg:not(.uk-preserve) [stroke*='#']:not(.uk-preserve) { stroke: currentcolor; }
23
+
24
+ /*
25
+ * Fix Firefox blurry SVG rendering: https://bugzilla.mozilla.org/show_bug.cgi?id=1046835
26
+ */
27
+
28
+ .uk-svg { transform: translate(0,0); }
29
+
30
+
31
+ // Hooks
32
+ // ========================================================================
33
+
34
+ @if(mixin-exists(hook-svg-misc)) {@include hook-svg-misc();}
35
+
36
+ // @mixin hook-svg-misc(){}
@@ -0,0 +1,47 @@
1
+ // Name: Switcher
2
+ // Description: Component to navigate through different content panes
3
+ //
4
+ // Component: `uk-switcher`
5
+ //
6
+ // States: `uk-active`
7
+ //
8
+ // ========================================================================
9
+
10
+
11
+ /* ========================================================================
12
+ Component: Switcher
13
+ ========================================================================== */
14
+
15
+ /*
16
+ * Reset list
17
+ */
18
+
19
+ .uk-switcher {
20
+ margin: 0;
21
+ padding: 0;
22
+ list-style: none;
23
+ }
24
+
25
+
26
+ /* Items
27
+ ========================================================================== */
28
+
29
+ /*
30
+ * Hide not active items
31
+ */
32
+
33
+ .uk-switcher > :not(.uk-active) { display: none; }
34
+
35
+ /*
36
+ * Remove margin from the last-child
37
+ */
38
+
39
+ .uk-switcher > * > :last-child { margin-bottom: 0; }
40
+
41
+
42
+ // Hooks
43
+ // ========================================================================
44
+
45
+ @if(mixin-exists(hook-switcher-misc)) {@include hook-switcher-misc();}
46
+
47
+ // @mixin hook-switcher-misc(){}
@@ -0,0 +1,196 @@
1
+ // Name: Tab
2
+ // Description: Component to create a tabbed navigation
3
+ //
4
+ // Component: `uk-tab`
5
+ //
6
+ // Modifiers: `uk-tab-bottom`
7
+ // `uk-tab-left`
8
+ // `uk-tab-right`
9
+ //
10
+ // States: `uk-active`
11
+ // `uk-disabled`
12
+ //
13
+ // ========================================================================
14
+
15
+
16
+ // Variables
17
+ // ========================================================================
18
+
19
+ $tab-margin-horizontal: 20px !default;
20
+
21
+ $tab-item-padding-horizontal: 10px !default;
22
+ $tab-item-padding-vertical: 5px !default;
23
+ $tab-item-color: $global-muted-color !default;
24
+ $tab-item-hover-color: $global-color !default;
25
+ $tab-item-hover-text-decoration: none !default;
26
+ $tab-item-active-color: $global-emphasis-color !default;
27
+ $tab-item-disabled-color: $global-muted-color !default;
28
+
29
+
30
+ /* ========================================================================
31
+ Component: Tab
32
+ ========================================================================== */
33
+
34
+ /*
35
+ * 1. Allow items to wrap into the next line
36
+ * 2. Gutter
37
+ * 3. Reset list
38
+ */
39
+
40
+ .uk-tab {
41
+ display: flex;
42
+ /* 1 */
43
+ flex-wrap: wrap;
44
+ /* 2 */
45
+ margin-left: (-$tab-margin-horizontal);
46
+ /* 3 */
47
+ padding: 0;
48
+ list-style: none;
49
+ @if(mixin-exists(hook-tab)) {@include hook-tab();}
50
+ }
51
+
52
+ /*
53
+ * 1. Space is allocated solely based on content dimensions: 0 0 auto
54
+ * 2. Gutter
55
+ * 3. Create position context for dropdowns
56
+ */
57
+
58
+ .uk-tab > * {
59
+ /* 1 */
60
+ flex: none;
61
+ /* 2 */
62
+ padding-left: $tab-margin-horizontal;
63
+ /* 3 */
64
+ position: relative;
65
+ }
66
+
67
+
68
+ /* Items
69
+ ========================================================================== */
70
+
71
+ /*
72
+ * Items must target `a` elements to exclude other elements (e.g. dropdowns)
73
+ * 1. Center content vertically, e.g. an icon
74
+ * 2. Imitate white space gap when using flexbox
75
+ * 3. Center content if a width is set
76
+ * 4. Style
77
+ */
78
+
79
+ .uk-tab > * > a {
80
+ /* 1 */
81
+ display: flex;
82
+ align-items: center;
83
+ /* 2 */
84
+ column-gap: 0.25em;
85
+ /* 3 */
86
+ justify-content: center;
87
+ /* 4 */
88
+ padding: $tab-item-padding-vertical $tab-item-padding-horizontal;
89
+ color: $tab-item-color;
90
+ @if(mixin-exists(hook-tab-item)) {@include hook-tab-item();}
91
+ }
92
+
93
+ /* Hover */
94
+ .uk-tab > * > a:hover {
95
+ color: $tab-item-hover-color;
96
+ text-decoration: $tab-item-hover-text-decoration;
97
+ @if(mixin-exists(hook-tab-item-hover)) {@include hook-tab-item-hover();}
98
+ }
99
+
100
+ /* Active */
101
+ .uk-tab > .uk-active > a {
102
+ color: $tab-item-active-color;
103
+ @if(mixin-exists(hook-tab-item-active)) {@include hook-tab-item-active();}
104
+ }
105
+
106
+ /* Disabled */
107
+ .uk-tab > .uk-disabled > a {
108
+ color: $tab-item-disabled-color;
109
+ @if(mixin-exists(hook-tab-item-disabled)) {@include hook-tab-item-disabled();}
110
+ }
111
+
112
+
113
+ /* Position modifier
114
+ ========================================================================== */
115
+
116
+ /*
117
+ * Bottom
118
+ */
119
+
120
+ .uk-tab-bottom {
121
+ @if(mixin-exists(hook-tab-bottom)) {@include hook-tab-bottom();}
122
+ }
123
+
124
+ .uk-tab-bottom > * > a {
125
+ @if(mixin-exists(hook-tab-bottom-item)) {@include hook-tab-bottom-item();}
126
+ }
127
+
128
+ /*
129
+ * Left + Right
130
+ * 1. Reset Gutter
131
+ */
132
+
133
+ .uk-tab-left,
134
+ .uk-tab-right {
135
+ flex-direction: column;
136
+ /* 1 */
137
+ margin-left: 0;
138
+ }
139
+
140
+ /* 1 */
141
+ .uk-tab-left > *,
142
+ .uk-tab-right > * { padding-left: 0; }
143
+
144
+ .uk-tab-left {
145
+ @if(mixin-exists(hook-tab-left)) {@include hook-tab-left();}
146
+ }
147
+
148
+ .uk-tab-right {
149
+ @if(mixin-exists(hook-tab-right)) {@include hook-tab-right();}
150
+ }
151
+
152
+ .uk-tab-left > * > a {
153
+ justify-content: left;
154
+ @if(mixin-exists(hook-tab-left-item)) {@include hook-tab-left-item();}
155
+ }
156
+
157
+ .uk-tab-right > * > a {
158
+ justify-content: left;
159
+ @if(mixin-exists(hook-tab-right-item)) {@include hook-tab-right-item();}
160
+ }
161
+
162
+
163
+ // Hooks
164
+ // ========================================================================
165
+
166
+ @if(mixin-exists(hook-tab-misc)) {@include hook-tab-misc();}
167
+
168
+ // @mixin hook-tab(){}
169
+ // @mixin hook-tab-item(){}
170
+ // @mixin hook-tab-item-hover(){}
171
+ // @mixin hook-tab-item-active(){}
172
+ // @mixin hook-tab-item-disabled(){}
173
+ // @mixin hook-tab-bottom(){}
174
+ // @mixin hook-tab-bottom-item(){}
175
+ // @mixin hook-tab-left(){}
176
+ // @mixin hook-tab-left-item(){}
177
+ // @mixin hook-tab-right(){}
178
+ // @mixin hook-tab-right-item(){}
179
+ // @mixin hook-tab-misc(){}
180
+
181
+
182
+ // Inverse
183
+ // ========================================================================
184
+
185
+ $inverse-tab-item-color: $inverse-global-muted-color !default;
186
+ $inverse-tab-item-hover-color: $inverse-global-color !default;
187
+ $inverse-tab-item-active-color: $inverse-global-emphasis-color !default;
188
+ $inverse-tab-item-disabled-color: $inverse-global-muted-color !default;
189
+
190
+
191
+
192
+ // @mixin hook-inverse-tab(){}
193
+ // @mixin hook-inverse-tab-item(){}
194
+ // @mixin hook-inverse-tab-item-hover(){}
195
+ // @mixin hook-inverse-tab-item-active(){}
196
+ // @mixin hook-inverse-tab-item-disabled(){}
@@ -0,0 +1,315 @@
1
+ // Name: Table
2
+ // Description: Styles for tables
3
+ //
4
+ // Component: `uk-table`
5
+ //
6
+ // Modifiers: `uk-table-middle`
7
+ // `uk-table-divider`
8
+ // `uk-table-striped`
9
+ // `uk-table-hover`
10
+ // `uk-table-small`
11
+ // `uk-table-justify`
12
+ // `uk-table-shrink`
13
+ // `uk-table-expand`
14
+ // `uk-table-link`
15
+ // `uk-table-responsive`
16
+ //
17
+ // States: `uk-active`
18
+ //
19
+ // ========================================================================
20
+
21
+
22
+ // Variables
23
+ // ========================================================================
24
+
25
+ $table-margin-vertical: $global-margin !default;
26
+
27
+ $table-cell-padding-vertical: 16px !default;
28
+ $table-cell-padding-horizontal: 12px !default;
29
+
30
+ $table-header-cell-font-size: $global-font-size !default;
31
+ $table-header-cell-font-weight: bold !default;
32
+ $table-header-cell-color: $global-color !default;
33
+
34
+ $table-footer-font-size: $global-small-font-size !default;
35
+
36
+ $table-caption-font-size: $global-small-font-size !default;
37
+ $table-caption-color: $global-muted-color !default;
38
+
39
+ $table-row-active-background: #ffd !default;
40
+
41
+ $table-divider-border-width: $global-border-width !default;
42
+ $table-divider-border: $global-border !default;
43
+
44
+ $table-striped-row-background: $global-muted-background !default;
45
+
46
+ $table-hover-row-background: $table-row-active-background !default;
47
+
48
+ $table-small-cell-padding-vertical: 10px !default;
49
+ $table-small-cell-padding-horizontal: 12px !default;
50
+
51
+ $table-large-cell-padding-vertical: 22px !default;
52
+ $table-large-cell-padding-horizontal: 12px !default;
53
+
54
+ $table-expand-min-width: 150px !default;
55
+
56
+
57
+ /* ========================================================================
58
+ Component: Table
59
+ ========================================================================== */
60
+
61
+ /*
62
+ * 1. Remove most spacing between table cells.
63
+ * 2. Behave like a block element
64
+ * 3. Style
65
+ */
66
+
67
+ .uk-table {
68
+ /* 1 */
69
+ border-collapse: collapse;
70
+ border-spacing: 0;
71
+ /* 2 */
72
+ width: 100%;
73
+ /* 3 */
74
+ margin-bottom: $table-margin-vertical;
75
+ @if(mixin-exists(hook-table)) {@include hook-table();}
76
+ }
77
+
78
+ /* Add margin if adjacent element */
79
+ * + .uk-table { margin-top: $table-margin-vertical; }
80
+
81
+
82
+ /* Header cell
83
+ ========================================================================== */
84
+
85
+ /*
86
+ * 1. Style
87
+ */
88
+
89
+ .uk-table th {
90
+ padding: $table-cell-padding-vertical $table-cell-padding-horizontal;
91
+ text-align: left;
92
+ vertical-align: bottom;
93
+ /* 1 */
94
+ font-size: $table-header-cell-font-size;
95
+ font-weight: $table-header-cell-font-weight;
96
+ color: $table-header-cell-color;
97
+ @if(mixin-exists(hook-table-header-cell)) {@include hook-table-header-cell();}
98
+ }
99
+
100
+
101
+ /* Cell
102
+ ========================================================================== */
103
+
104
+ .uk-table td {
105
+ padding: $table-cell-padding-vertical $table-cell-padding-horizontal;
106
+ vertical-align: top;
107
+ @if(mixin-exists(hook-table-cell)) {@include hook-table-cell();}
108
+ }
109
+
110
+ /*
111
+ * Remove margin from the last-child
112
+ */
113
+
114
+ .uk-table td > :last-child { margin-bottom: 0; }
115
+
116
+
117
+ /* Footer
118
+ ========================================================================== */
119
+
120
+ .uk-table tfoot {
121
+ font-size: $table-footer-font-size;
122
+ @if(mixin-exists(hook-table-footer)) {@include hook-table-footer();}
123
+ }
124
+
125
+
126
+ /* Caption
127
+ ========================================================================== */
128
+
129
+ .uk-table caption {
130
+ font-size: $table-caption-font-size;
131
+ text-align: left;
132
+ color: $table-caption-color;
133
+ @if(mixin-exists(hook-table-caption)) {@include hook-table-caption();}
134
+ }
135
+
136
+
137
+ /* Alignment modifier
138
+ ========================================================================== */
139
+
140
+ .uk-table-middle,
141
+ .uk-table-middle td { vertical-align: middle !important; }
142
+
143
+
144
+ /* Style modifiers
145
+ ========================================================================== */
146
+
147
+ /*
148
+ * Divider
149
+ */
150
+
151
+ .uk-table-divider > tr:not(:first-child),
152
+ .uk-table-divider > :not(:first-child) > tr,
153
+ .uk-table-divider > :first-child > tr:not(:first-child) {
154
+ border-top: $table-divider-border-width solid $table-divider-border;
155
+ @if(mixin-exists(hook-table-divider)) {@include hook-table-divider();}
156
+ }
157
+
158
+ /*
159
+ * Striped
160
+ */
161
+
162
+ .uk-table-striped > tr:nth-of-type(odd),
163
+ .uk-table-striped tbody tr:nth-of-type(odd) {
164
+ background: $table-striped-row-background;
165
+ @if(mixin-exists(hook-table-striped)) {@include hook-table-striped();}
166
+ }
167
+
168
+ /*
169
+ * Hover
170
+ */
171
+
172
+ .uk-table-hover > tr:hover,
173
+ .uk-table-hover tbody tr:hover {
174
+ background: $table-hover-row-background;
175
+ @if(mixin-exists(hook-table-hover)) {@include hook-table-hover();}
176
+ }
177
+
178
+
179
+ /* Active state
180
+ ========================================================================== */
181
+
182
+ .uk-table > tr.uk-active,
183
+ .uk-table tbody tr.uk-active {
184
+ background: $table-row-active-background;
185
+ @if(mixin-exists(hook-table-row-active)) {@include hook-table-row-active();}
186
+ }
187
+
188
+ /* Size modifier
189
+ ========================================================================== */
190
+
191
+ .uk-table-small th,
192
+ .uk-table-small td {
193
+ padding: $table-small-cell-padding-vertical $table-small-cell-padding-horizontal;
194
+ @if(mixin-exists(hook-table-small)) {@include hook-table-small();}
195
+ }
196
+
197
+ .uk-table-large th,
198
+ .uk-table-large td {
199
+ padding: $table-large-cell-padding-vertical $table-large-cell-padding-horizontal;
200
+ @if(mixin-exists(hook-table-large)) {@include hook-table-large();}
201
+ }
202
+
203
+
204
+ /* Justify modifier
205
+ ========================================================================== */
206
+
207
+ .uk-table-justify th:first-child,
208
+ .uk-table-justify td:first-child { padding-left: 0; }
209
+
210
+ .uk-table-justify th:last-child,
211
+ .uk-table-justify td:last-child { padding-right: 0; }
212
+
213
+
214
+ /* Cell size modifier
215
+ ========================================================================== */
216
+
217
+ .uk-table-shrink { width: 1px; }
218
+ .uk-table-expand { min-width: $table-expand-min-width; }
219
+
220
+
221
+ /* Cell link modifier
222
+ ========================================================================== */
223
+
224
+ /*
225
+ * Does not work with `uk-table-justify` at the moment
226
+ */
227
+
228
+ .uk-table-link { padding: 0 !important; }
229
+
230
+ .uk-table-link > a {
231
+ display: block;
232
+ padding: $table-cell-padding-vertical $table-cell-padding-horizontal;
233
+ }
234
+
235
+ .uk-table-small .uk-table-link > a { padding: $table-small-cell-padding-vertical $table-small-cell-padding-horizontal; }
236
+
237
+
238
+ /* Responsive table
239
+ ========================================================================== */
240
+
241
+
242
+ /* Phone landscape and smaller */
243
+ @media (max-width: $breakpoint-small-max) {
244
+
245
+ .uk-table-responsive,
246
+ .uk-table-responsive tbody,
247
+ .uk-table-responsive th,
248
+ .uk-table-responsive td,
249
+ .uk-table-responsive tr { display: block; }
250
+
251
+ .uk-table-responsive thead { display: none; }
252
+
253
+ .uk-table-responsive th,
254
+ .uk-table-responsive td {
255
+ width: auto !important;
256
+ max-width: none !important;
257
+ min-width: 0 !important;
258
+ overflow: visible !important;
259
+ white-space: normal !important;
260
+ }
261
+
262
+ .uk-table-responsive th:not(:first-child):not(.uk-table-link),
263
+ .uk-table-responsive td:not(:first-child):not(.uk-table-link),
264
+ .uk-table-responsive .uk-table-link:not(:first-child) > a { padding-top: round(($table-cell-padding-vertical * 0.33333)) !important; }
265
+
266
+ .uk-table-responsive th:not(:last-child):not(.uk-table-link),
267
+ .uk-table-responsive td:not(:last-child):not(.uk-table-link),
268
+ .uk-table-responsive .uk-table-link:not(:last-child) > a { padding-bottom: round(($table-cell-padding-vertical * 0.33333)) !important; }
269
+
270
+ .uk-table-justify.uk-table-responsive th,
271
+ .uk-table-justify.uk-table-responsive td {
272
+ padding-left: 0;
273
+ padding-right: 0;
274
+ }
275
+
276
+ }
277
+
278
+
279
+ // Hooks
280
+ // ========================================================================
281
+
282
+ @if(mixin-exists(hook-table-misc)) {@include hook-table-misc();}
283
+
284
+ // @mixin hook-table(){}
285
+ // @mixin hook-table-header-cell(){}
286
+ // @mixin hook-table-cell(){}
287
+ // @mixin hook-table-footer(){}
288
+ // @mixin hook-table-caption(){}
289
+ // @mixin hook-table-row-active(){}
290
+ // @mixin hook-table-divider(){}
291
+ // @mixin hook-table-striped(){}
292
+ // @mixin hook-table-hover(){}
293
+ // @mixin hook-table-small(){}
294
+ // @mixin hook-table-large(){}
295
+ // @mixin hook-table-misc(){}
296
+
297
+
298
+ // Inverse
299
+ // ========================================================================
300
+
301
+ $inverse-table-header-cell-color: $inverse-global-color !default;
302
+ $inverse-table-caption-color: $inverse-global-muted-color !default;
303
+ $inverse-table-row-active-background: fade-out($inverse-global-muted-background, 0.02) !default;
304
+ $inverse-table-divider-border: $inverse-global-border !default;
305
+ $inverse-table-striped-row-background: $inverse-global-muted-background !default;
306
+ $inverse-table-hover-row-background: $inverse-table-row-active-background !default;
307
+
308
+
309
+
310
+ // @mixin hook-inverse-table-header-cell(){}
311
+ // @mixin hook-inverse-table-caption(){}
312
+ // @mixin hook-inverse-table-row-active(){}
313
+ // @mixin hook-inverse-table-divider(){}
314
+ // @mixin hook-inverse-table-striped(){}
315
+ // @mixin hook-inverse-table-hover(){}