fomantic-ui 2.9.1-beta.19 → 2.9.1-beta.20

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 (212) hide show
  1. package/.eslintrc.js +1 -0
  2. package/.stylelintrc.js +46 -0
  3. package/dist/components/accordion.css +19 -26
  4. package/dist/components/accordion.js +1 -1
  5. package/dist/components/accordion.min.css +1 -1
  6. package/dist/components/accordion.min.js +1 -1
  7. package/dist/components/ad.css +31 -41
  8. package/dist/components/ad.min.css +1 -1
  9. package/dist/components/api.js +1 -1
  10. package/dist/components/api.min.js +1 -1
  11. package/dist/components/breadcrumb.css +1 -1
  12. package/dist/components/breadcrumb.min.css +1 -1
  13. package/dist/components/button.css +71 -96
  14. package/dist/components/button.min.css +1 -1
  15. package/dist/components/calendar.css +6 -8
  16. package/dist/components/calendar.js +1 -1
  17. package/dist/components/calendar.min.css +1 -1
  18. package/dist/components/calendar.min.js +1 -1
  19. package/dist/components/card.css +83 -115
  20. package/dist/components/card.min.css +1 -1
  21. package/dist/components/checkbox.css +47 -64
  22. package/dist/components/checkbox.js +1 -1
  23. package/dist/components/checkbox.min.css +1 -1
  24. package/dist/components/checkbox.min.js +1 -1
  25. package/dist/components/comment.css +37 -51
  26. package/dist/components/comment.min.css +1 -1
  27. package/dist/components/container.css +4 -5
  28. package/dist/components/container.min.css +1 -1
  29. package/dist/components/dimmer.css +31 -41
  30. package/dist/components/dimmer.js +1 -1
  31. package/dist/components/dimmer.min.css +1 -1
  32. package/dist/components/dimmer.min.js +1 -1
  33. package/dist/components/divider.css +32 -44
  34. package/dist/components/divider.min.css +1 -1
  35. package/dist/components/dropdown.css +109 -152
  36. package/dist/components/dropdown.js +1 -1
  37. package/dist/components/dropdown.min.css +1 -1
  38. package/dist/components/dropdown.min.js +1 -1
  39. package/dist/components/embed.css +13 -19
  40. package/dist/components/embed.js +1 -1
  41. package/dist/components/embed.min.css +1 -1
  42. package/dist/components/embed.min.js +1 -1
  43. package/dist/components/emoji.css +7 -6
  44. package/dist/components/feed.css +24 -32
  45. package/dist/components/feed.min.css +1 -1
  46. package/dist/components/flag.css +5 -3
  47. package/dist/components/flag.min.css +1 -1
  48. package/dist/components/flyout.css +39 -56
  49. package/dist/components/flyout.js +1 -1
  50. package/dist/components/flyout.min.css +1 -1
  51. package/dist/components/flyout.min.js +1 -1
  52. package/dist/components/form.css +85 -111
  53. package/dist/components/form.js +1 -1
  54. package/dist/components/form.min.css +1 -1
  55. package/dist/components/form.min.js +1 -1
  56. package/dist/components/grid.css +70 -96
  57. package/dist/components/grid.min.css +1 -1
  58. package/dist/components/header.css +47 -65
  59. package/dist/components/header.min.css +1 -1
  60. package/dist/components/icon.css +42 -53
  61. package/dist/components/icon.min.css +1 -1
  62. package/dist/components/image.css +32 -42
  63. package/dist/components/image.min.css +1 -1
  64. package/dist/components/input.css +45 -58
  65. package/dist/components/input.min.css +1 -1
  66. package/dist/components/item.css +55 -77
  67. package/dist/components/item.min.css +1 -1
  68. package/dist/components/label.css +61 -90
  69. package/dist/components/label.min.css +1 -1
  70. package/dist/components/list.css +44 -59
  71. package/dist/components/list.min.css +1 -1
  72. package/dist/components/loader.css +16 -22
  73. package/dist/components/loader.min.css +1 -1
  74. package/dist/components/menu.css +126 -186
  75. package/dist/components/message.css +25 -35
  76. package/dist/components/message.min.css +1 -1
  77. package/dist/components/modal.css +33 -40
  78. package/dist/components/modal.js +1 -1
  79. package/dist/components/modal.min.css +1 -1
  80. package/dist/components/modal.min.js +1 -1
  81. package/dist/components/nag.css +19 -25
  82. package/dist/components/nag.js +1 -1
  83. package/dist/components/nag.min.css +1 -1
  84. package/dist/components/nag.min.js +1 -1
  85. package/dist/components/placeholder.css +10 -12
  86. package/dist/components/placeholder.min.css +1 -1
  87. package/dist/components/popup.css +49 -59
  88. package/dist/components/popup.js +1 -1
  89. package/dist/components/popup.min.css +1 -1
  90. package/dist/components/popup.min.js +1 -1
  91. package/dist/components/progress.css +29 -39
  92. package/dist/components/progress.js +1 -1
  93. package/dist/components/progress.min.css +1 -1
  94. package/dist/components/progress.min.js +1 -1
  95. package/dist/components/rail.css +15 -20
  96. package/dist/components/rail.min.css +1 -1
  97. package/dist/components/rating.css +9 -13
  98. package/dist/components/rating.js +1 -1
  99. package/dist/components/rating.min.css +1 -1
  100. package/dist/components/rating.min.js +1 -1
  101. package/dist/components/reset.css +1 -1
  102. package/dist/components/reset.min.css +1 -1
  103. package/dist/components/reveal.css +19 -26
  104. package/dist/components/reveal.min.css +1 -1
  105. package/dist/components/search.css +41 -58
  106. package/dist/components/search.js +1 -1
  107. package/dist/components/search.min.css +1 -1
  108. package/dist/components/search.min.js +1 -1
  109. package/dist/components/segment.css +62 -83
  110. package/dist/components/segment.min.css +1 -1
  111. package/dist/components/shape.css +10 -14
  112. package/dist/components/shape.js +1 -1
  113. package/dist/components/shape.min.css +1 -1
  114. package/dist/components/shape.min.js +1 -1
  115. package/dist/components/sidebar.css +41 -58
  116. package/dist/components/sidebar.js +1 -1
  117. package/dist/components/sidebar.min.css +1 -1
  118. package/dist/components/sidebar.min.js +1 -1
  119. package/dist/components/site.css +5 -5
  120. package/dist/components/site.js +1 -1
  121. package/dist/components/site.min.css +1 -1
  122. package/dist/components/site.min.js +1 -1
  123. package/dist/components/slider.css +27 -37
  124. package/dist/components/slider.js +1 -1
  125. package/dist/components/slider.min.js +1 -1
  126. package/dist/components/state.js +1 -1
  127. package/dist/components/state.min.js +1 -1
  128. package/dist/components/statistic.css +29 -41
  129. package/dist/components/statistic.min.css +1 -1
  130. package/dist/components/step.css +26 -35
  131. package/dist/components/step.min.css +1 -1
  132. package/dist/components/sticky.css +1 -1
  133. package/dist/components/sticky.js +1 -1
  134. package/dist/components/sticky.min.css +1 -1
  135. package/dist/components/sticky.min.js +1 -1
  136. package/dist/components/tab.css +6 -8
  137. package/dist/components/tab.js +1 -1
  138. package/dist/components/tab.min.css +1 -1
  139. package/dist/components/tab.min.js +1 -1
  140. package/dist/components/table.css +87 -117
  141. package/dist/components/table.min.css +1 -1
  142. package/dist/components/text.css +1 -1
  143. package/dist/components/text.min.css +1 -1
  144. package/dist/components/toast.css +4 -6
  145. package/dist/components/toast.js +1 -1
  146. package/dist/components/toast.min.css +1 -1
  147. package/dist/components/toast.min.js +1 -1
  148. package/dist/components/transition.css +4 -3
  149. package/dist/components/transition.js +1 -1
  150. package/dist/components/transition.min.css +1 -1
  151. package/dist/components/transition.min.js +1 -1
  152. package/dist/components/visibility.js +1 -1
  153. package/dist/components/visibility.min.js +1 -1
  154. package/dist/semantic.css +1719 -1719
  155. package/dist/semantic.js +26 -26
  156. package/dist/semantic.min.css +1 -1
  157. package/dist/semantic.min.js +1 -1
  158. package/package.json +8 -4
  159. package/src/definitions/collections/breadcrumb.less +41 -44
  160. package/src/definitions/collections/form.less +869 -879
  161. package/src/definitions/collections/grid.less +1690 -1695
  162. package/src/definitions/collections/menu.less +1493 -1503
  163. package/src/definitions/collections/message.less +292 -295
  164. package/src/definitions/collections/table.less +1616 -1622
  165. package/src/definitions/elements/button.less +1723 -1737
  166. package/src/definitions/elements/container.less +209 -210
  167. package/src/definitions/elements/divider.less +205 -206
  168. package/src/definitions/elements/emoji.less +38 -44
  169. package/src/definitions/elements/flag.less +44 -46
  170. package/src/definitions/elements/header.less +337 -345
  171. package/src/definitions/elements/icon.less +511 -512
  172. package/src/definitions/elements/image.less +221 -225
  173. package/src/definitions/elements/input.less +661 -667
  174. package/src/definitions/elements/label.less +800 -799
  175. package/src/definitions/elements/list.less +809 -809
  176. package/src/definitions/elements/loader.less +272 -266
  177. package/src/definitions/elements/placeholder.less +171 -168
  178. package/src/definitions/elements/rail.less +91 -91
  179. package/src/definitions/elements/reveal.less +192 -196
  180. package/src/definitions/elements/segment.less +743 -747
  181. package/src/definitions/elements/step.less +425 -433
  182. package/src/definitions/elements/text.less +32 -34
  183. package/src/definitions/globals/reset.less +9 -6
  184. package/src/definitions/globals/site.less +106 -108
  185. package/src/definitions/modules/accordion.less +242 -246
  186. package/src/definitions/modules/calendar.less +91 -92
  187. package/src/definitions/modules/checkbox.less +536 -542
  188. package/src/definitions/modules/dimmer.less +300 -297
  189. package/src/definitions/modules/dropdown.less +1577 -1591
  190. package/src/definitions/modules/embed.less +81 -82
  191. package/src/definitions/modules/flyout.less +443 -452
  192. package/src/definitions/modules/modal.less +459 -462
  193. package/src/definitions/modules/nag.less +134 -137
  194. package/src/definitions/modules/popup.less +738 -739
  195. package/src/definitions/modules/progress.less +521 -494
  196. package/src/definitions/modules/rating.less +94 -101
  197. package/src/definitions/modules/search.less +375 -383
  198. package/src/definitions/modules/shape.less +71 -76
  199. package/src/definitions/modules/sidebar.less +464 -474
  200. package/src/definitions/modules/slider.less +307 -308
  201. package/src/definitions/modules/sticky.less +21 -23
  202. package/src/definitions/modules/tab.less +51 -52
  203. package/src/definitions/modules/toast.less +584 -586
  204. package/src/definitions/modules/transition.less +55 -56
  205. package/src/definitions/views/ad.less +206 -206
  206. package/src/definitions/views/card.less +968 -970
  207. package/src/definitions/views/comment.less +190 -198
  208. package/src/definitions/views/feed.less +220 -224
  209. package/src/definitions/views/item.less +436 -446
  210. package/src/definitions/views/statistic.less +269 -280
  211. package/src/theme.less +29 -32
  212. package/src/themes/default/globals/colors.less +589 -589
@@ -12,7 +12,7 @@
12
12
  Theme
13
13
  *******************************/
14
14
 
15
- @type : 'view';
15
+ @type : 'view';
16
16
  @element : 'card';
17
17
 
18
18
  @import (multiple) '../../theme.config';
@@ -21,451 +21,449 @@
21
21
  Standard
22
22
  *******************************/
23
23
 
24
- /*--------------
24
+ /* --------------
25
25
  Card
26
- ---------------*/
26
+ --------------- */
27
27
 
28
28
  .ui.cards > .card,
29
29
  .ui.card {
30
- max-width: 100%;
31
- position: relative;
32
- display: @display;
33
- flex-direction: column;
34
-
35
- width: @width;
36
- min-height: @minHeight;
37
- background: @background;
38
- padding: @padding;
39
-
40
- border: @border;
41
- border-radius: @borderRadius;
42
- box-shadow: @boxShadow;
43
- transition: @transition;
44
- z-index: @zIndex;
45
- word-wrap: break-word;
30
+ max-width: 100%;
31
+ position: relative;
32
+ display: @display;
33
+ flex-direction: column;
34
+
35
+ width: @width;
36
+ min-height: @minHeight;
37
+ background: @background;
38
+ padding: @padding;
39
+
40
+ border: @border;
41
+ border-radius: @borderRadius;
42
+ box-shadow: @boxShadow;
43
+ transition: @transition;
44
+ z-index: @zIndex;
45
+ word-wrap: break-word;
46
46
  }
47
47
  .ui.card {
48
- margin: @margin;
48
+ margin: @margin;
49
49
  }
50
50
 
51
51
  .ui.cards > .card a,
52
52
  .ui.card a {
53
- cursor: pointer;
53
+ cursor: pointer;
54
54
  }
55
55
 
56
56
  .ui.card:first-child {
57
- margin-top: 0;
57
+ margin-top: 0;
58
58
  }
59
59
  .ui.card:last-child {
60
- margin-bottom: 0;
60
+ margin-bottom: 0;
61
61
  }
62
62
 
63
- /*--------------
63
+ /* --------------
64
64
  Cards
65
- ---------------*/
65
+ --------------- */
66
66
 
67
67
  .ui.cards {
68
- display: @groupDisplay;
69
- margin: @groupMargin;
70
- flex-wrap: wrap;
68
+ display: @groupDisplay;
69
+ margin: @groupMargin;
70
+ flex-wrap: wrap;
71
71
  }
72
72
 
73
73
  .ui.cards > .card {
74
- display: @groupCardDisplay;
75
- margin: @groupCardMargin;
76
- float: @groupCardFloat;
74
+ display: @groupCardDisplay;
75
+ margin: @groupCardMargin;
76
+ float: @groupCardFloat;
77
77
  }
78
78
 
79
79
  /* Clearing */
80
80
  .ui.cards::after,
81
81
  .ui.card::after {
82
- display: block;
83
- content: ' ';
84
- height: 0;
85
- clear: both;
86
- overflow: hidden;
87
- visibility: hidden;
82
+ display: block;
83
+ content: ' ';
84
+ height: 0;
85
+ clear: both;
86
+ overflow: hidden;
87
+ visibility: hidden;
88
88
  }
89
89
 
90
-
91
90
  /* Consecutive Card Groups Preserve Row Spacing */
92
91
  .ui.cards ~ .ui.cards {
93
- margin-top: @consecutiveGroupDistance;
92
+ margin-top: @consecutiveGroupDistance;
94
93
  }
95
94
 
96
-
97
- /*--------------
95
+ /* --------------
98
96
  Rounded Edges
99
- ---------------*/
97
+ --------------- */
100
98
 
101
99
  .ui.cards > .card > :first-child,
102
100
  .ui.card > :first-child {
103
- border-radius: @borderRadius @borderRadius 0 0 !important;
104
- border-top: none !important;
101
+ border-radius: @borderRadius @borderRadius 0 0 !important;
102
+ border-top: none !important;
105
103
  }
106
104
 
107
105
  .ui.cards > .card > :last-child,
108
106
  .ui.card > :last-child {
109
- border-radius: 0 0 @borderRadius @borderRadius !important;
107
+ border-radius: 0 0 @borderRadius @borderRadius !important;
110
108
  }
111
109
 
112
110
  .ui.cards > .card > :only-child,
113
111
  .ui.card > :only-child {
114
- border-radius: @borderRadius !important;
112
+ border-radius: @borderRadius !important;
115
113
  }
116
114
 
117
115
  & when (@variationCardImage) {
118
- /*--------------
119
- Images
120
- ---------------*/
121
-
122
- .ui.cards > .card > .image,
123
- .ui.card > .image {
124
- position: relative;
125
- display: block;
126
- flex: 0 0 auto;
127
- padding: @imagePadding;
128
- background: @imageBackground;
129
- }
130
- .ui.cards > .card > .image > img,
131
- .ui.card > .image > img {
132
- display: block;
133
- width: 100%;
134
- height: auto;
135
- border-radius: inherit;
136
- }
137
- .ui.cards > .card > .image:not(.ui) > img,
138
- .ui.card > .image:not(.ui) > img {
139
- border: @imageBorder;
140
- }
116
+ /* --------------
117
+ Images
118
+ --------------- */
119
+
120
+ .ui.cards > .card > .image,
121
+ .ui.card > .image {
122
+ position: relative;
123
+ display: block;
124
+ flex: 0 0 auto;
125
+ padding: @imagePadding;
126
+ background: @imageBackground;
127
+ }
128
+ .ui.cards > .card > .image > img,
129
+ .ui.card > .image > img {
130
+ display: block;
131
+ width: 100%;
132
+ height: auto;
133
+ border-radius: inherit;
134
+ }
135
+ .ui.cards > .card > .image:not(.ui) > img,
136
+ .ui.card > .image:not(.ui) > img {
137
+ border: @imageBorder;
138
+ }
141
139
  }
142
140
 
143
- /*--------------
141
+ /* --------------
144
142
  Content
145
- ---------------*/
143
+ --------------- */
146
144
 
147
145
  .ui.cards > .card > .content,
148
146
  .ui.card > .content {
149
- flex-grow: 1;
150
- border: @contentBorder;
151
- border-top: @contentDivider;
152
- background: @contentBackground;
153
- margin: @contentMargin;
154
- padding: @contentPadding;
155
- box-shadow: @contentBoxShadow;
156
- font-size: @contentFontSize;
157
- border-radius: @contentBorderRadius;
147
+ flex-grow: 1;
148
+ border: @contentBorder;
149
+ border-top: @contentDivider;
150
+ background: @contentBackground;
151
+ margin: @contentMargin;
152
+ padding: @contentPadding;
153
+ box-shadow: @contentBoxShadow;
154
+ font-size: @contentFontSize;
155
+ border-radius: @contentBorderRadius;
158
156
  }
159
157
 
160
158
  .ui.cards > .card > .content::after,
161
159
  .ui.card > .content::after {
162
- display: block;
163
- content: ' ';
164
- height: 0;
165
- clear: both;
166
- overflow: hidden;
167
- visibility: hidden;
160
+ display: block;
161
+ content: ' ';
162
+ height: 0;
163
+ clear: both;
164
+ overflow: hidden;
165
+ visibility: hidden;
168
166
  }
169
167
 
170
168
  & when (@variationCardHeader) {
171
- .ui.cards > .card > .content > .header,
172
- .ui.card > .content > .header {
173
- display: block;
174
- margin: @headerMargin;
175
- font-family: @headerFont;
176
- color: @headerColor;
177
- }
178
-
179
- /* Default Header Size */
180
- .ui.cards > .card > .content > .header:not(.ui),
181
- .ui.card > .content > .header:not(.ui) {
182
- font-weight: @headerFontWeight;
183
- font-size: @headerFontSize;
184
- margin-top: @headerLineHeightOffset;
185
- line-height: @headerLineHeight;
186
- }
169
+ .ui.cards > .card > .content > .header,
170
+ .ui.card > .content > .header {
171
+ display: block;
172
+ margin: @headerMargin;
173
+ font-family: @headerFont;
174
+ color: @headerColor;
175
+ }
176
+
177
+ /* Default Header Size */
178
+ .ui.cards > .card > .content > .header:not(.ui),
179
+ .ui.card > .content > .header:not(.ui) {
180
+ font-weight: @headerFontWeight;
181
+ font-size: @headerFontSize;
182
+ margin-top: @headerLineHeightOffset;
183
+ line-height: @headerLineHeight;
184
+ }
187
185
  }
188
186
 
189
187
  & when (@variationCardDescription) {
190
- .ui.cards > .card > .content > .meta + .description,
191
- .ui.cards > .card > .content > .header + .description,
192
- .ui.card > .content > .meta + .description,
193
- .ui.card > .content > .header + .description {
194
- margin-top: @descriptionDistance;
195
- }
188
+ .ui.cards > .card > .content > .meta + .description,
189
+ .ui.cards > .card > .content > .header + .description,
190
+ .ui.card > .content > .meta + .description,
191
+ .ui.card > .content > .header + .description {
192
+ margin-top: @descriptionDistance;
193
+ }
196
194
  }
197
195
 
198
196
  & when (@variationCardFloated) {
199
- /*----------------
200
- Floated Content
201
- -----------------*/
202
-
203
- .ui.cards > .card [class*="left floated"],
204
- .ui.card [class*="left floated"] {
205
- float: left;
206
- }
207
- .ui.cards > .card [class*="right floated"],
208
- .ui.card [class*="right floated"] {
209
- float: right;
210
- }
197
+ /* ----------------
198
+ Floated Content
199
+ ----------------- */
200
+
201
+ .ui.cards > .card [class*="left floated"],
202
+ .ui.card [class*="left floated"] {
203
+ float: left;
204
+ }
205
+ .ui.cards > .card [class*="right floated"],
206
+ .ui.card [class*="right floated"] {
207
+ float: right;
208
+ }
211
209
  }
212
210
 
213
211
  & when (@variationCardAligned) {
214
- /*--------------
215
- Aligned
216
- ---------------*/
217
-
218
- .ui.cards > .card [class*="left aligned"],
219
- .ui.card [class*="left aligned"] {
220
- text-align: left;
221
- }
222
- .ui.cards > .card [class*="center aligned"],
223
- .ui.card [class*="center aligned"] {
224
- text-align: center;
225
- }
226
- .ui.cards > .card [class*="right aligned"],
227
- .ui.card [class*="right aligned"] {
228
- text-align: right;
229
- }
212
+ /* --------------
213
+ Aligned
214
+ --------------- */
215
+
216
+ .ui.cards > .card [class*="left aligned"],
217
+ .ui.card [class*="left aligned"] {
218
+ text-align: left;
219
+ }
220
+ .ui.cards > .card [class*="center aligned"],
221
+ .ui.card [class*="center aligned"] {
222
+ text-align: center;
223
+ }
224
+ .ui.cards > .card [class*="right aligned"],
225
+ .ui.card [class*="right aligned"] {
226
+ text-align: right;
227
+ }
230
228
  }
231
229
 
232
230
  & when (@variationCardImage) {
233
- /*--------------
234
- Content Image
235
- ---------------*/
236
-
237
- .ui.cards > .card .content img,
238
- .ui.card .content img {
239
- display: inline-block;
240
- vertical-align: @contentImageVerticalAlign;
241
- width: @contentImageWidth;
242
- }
243
- .ui.cards > .card img.avatar,
244
- .ui.cards > .card .avatar img,
245
- .ui.card img.avatar,
246
- .ui.card .avatar img {
247
- width: @avatarSize;
248
- height: @avatarSize;
249
- border-radius: @avatarBorderRadius;
250
- }
231
+ /* --------------
232
+ Content Image
233
+ --------------- */
234
+
235
+ .ui.cards > .card .content img,
236
+ .ui.card .content img {
237
+ display: inline-block;
238
+ vertical-align: @contentImageVerticalAlign;
239
+ width: @contentImageWidth;
240
+ }
241
+ .ui.cards > .card img.avatar,
242
+ .ui.cards > .card .avatar img,
243
+ .ui.card img.avatar,
244
+ .ui.card .avatar img {
245
+ width: @avatarSize;
246
+ height: @avatarSize;
247
+ border-radius: @avatarBorderRadius;
248
+ }
251
249
  }
252
250
 
253
251
  & when (@variationCardDescription) {
254
- /*--------------
255
- Description
256
- ---------------*/
252
+ /* --------------
253
+ Description
254
+ --------------- */
257
255
 
258
- .ui.cards > .card > .content > .description,
259
- .ui.card > .content > .description {
260
- clear: both;
261
- color: @descriptionColor;
262
- }
256
+ .ui.cards > .card > .content > .description,
257
+ .ui.card > .content > .description {
258
+ clear: both;
259
+ color: @descriptionColor;
260
+ }
263
261
  }
264
262
 
265
- /*--------------
263
+ /* --------------
266
264
  Paragraph
267
- ---------------*/
265
+ --------------- */
268
266
 
269
267
  .ui.cards > .card > .content p,
270
268
  .ui.card > .content p {
271
- margin: 0 0 @paragraphDistance;
269
+ margin: 0 0 @paragraphDistance;
272
270
  }
273
271
  .ui.cards > .card > .content p:last-child,
274
272
  .ui.card > .content p:last-child {
275
- margin-bottom: 0;
273
+ margin-bottom: 0;
276
274
  }
277
275
  & when (@variationCardMeta) {
278
- /*--------------
279
- Meta
280
- ---------------*/
281
-
282
- .ui.cards > .card .meta,
283
- .ui.card .meta {
284
- font-size: @metaFontSize;
285
- color: @metaColor;
286
- }
287
- .ui.cards > .card .meta *,
288
- .ui.card .meta * {
289
- margin-right: @metaSpacing;
290
- }
291
- .ui.cards > .card .meta :last-child,
292
- .ui.card .meta :last-child {
293
- margin-right: 0;
294
- }
295
-
296
- & when (@variationCardFloated) {
297
- .ui.cards > .card .meta [class*="right floated"],
298
- .ui.card .meta [class*="right floated"] {
299
- margin-right: 0;
300
- margin-left: @metaSpacing;
301
- }
302
- }
276
+ /* --------------
277
+ Meta
278
+ --------------- */
279
+
280
+ .ui.cards > .card .meta,
281
+ .ui.card .meta {
282
+ font-size: @metaFontSize;
283
+ color: @metaColor;
284
+ }
285
+ .ui.cards > .card .meta *,
286
+ .ui.card .meta * {
287
+ margin-right: @metaSpacing;
288
+ }
289
+ .ui.cards > .card .meta :last-child,
290
+ .ui.card .meta :last-child {
291
+ margin-right: 0;
292
+ }
293
+
294
+ & when (@variationCardFloated) {
295
+ .ui.cards > .card .meta [class*="right floated"],
296
+ .ui.card .meta [class*="right floated"] {
297
+ margin-right: 0;
298
+ margin-left: @metaSpacing;
299
+ }
300
+ }
303
301
  }
304
302
 
305
- /*--------------
303
+ /* --------------
306
304
  Links
307
- ---------------*/
305
+ --------------- */
308
306
 
309
307
  /* Generic */
310
308
  .ui.cards > .card > .content a:not(.ui),
311
309
  .ui.card > .content a:not(.ui) {
312
- color: @contentLinkColor;
313
- transition: @contentLinkTransition;
310
+ color: @contentLinkColor;
311
+ transition: @contentLinkTransition;
314
312
  }
315
313
  .ui.cards > .card > .content a:not(.ui):hover,
316
314
  .ui.card > .content a:not(.ui):hover {
317
- color: @contentLinkHoverColor;
315
+ color: @contentLinkHoverColor;
318
316
  }
319
317
 
320
318
  & when (@variationCardHeader) {
321
- /* Header */
322
- .ui.cards > .card > .content > a.header,
323
- .ui.card > .content > a.header {
324
- color: @headerLinkColor;
325
- }
326
- .ui.cards > .card > .content > a.header:hover,
327
- .ui.card > .content > a.header:hover {
328
- color: @headerLinkHoverColor;
329
- }
319
+ /* Header */
320
+ .ui.cards > .card > .content > a.header,
321
+ .ui.card > .content > a.header {
322
+ color: @headerLinkColor;
323
+ }
324
+ .ui.cards > .card > .content > a.header:hover,
325
+ .ui.card > .content > a.header:hover {
326
+ color: @headerLinkHoverColor;
327
+ }
330
328
  }
331
329
 
332
330
  & when (@variationCardMeta) {
333
- /* Meta */
334
- .ui.cards > .card .meta > a:not(.ui),
335
- .ui.card .meta > a:not(.ui) {
336
- color: @metaLinkColor;
337
- }
338
- .ui.cards > .card .meta > a:not(.ui):hover,
339
- .ui.card .meta > a:not(.ui):hover {
340
- color: @metaLinkHoverColor;
341
- }
331
+ /* Meta */
332
+ .ui.cards > .card .meta > a:not(.ui),
333
+ .ui.card .meta > a:not(.ui) {
334
+ color: @metaLinkColor;
335
+ }
336
+ .ui.cards > .card .meta > a:not(.ui):hover,
337
+ .ui.card .meta > a:not(.ui):hover {
338
+ color: @metaLinkHoverColor;
339
+ }
342
340
  }
343
341
 
344
342
  & when (@variationCardButton) {
345
- /*--------------
346
- Buttons
347
- ---------------*/
348
-
349
- .ui.cards > .card > .buttons,
350
- .ui.card > .buttons,
351
- .ui.cards > .card > .button,
352
- .ui.card > .button {
353
- margin: @buttonMargin;
354
- width: @buttonWidth;
355
- &:last-child {
356
- margin-bottom: -@borderWidth;
357
- }
358
- }
343
+ /* --------------
344
+ Buttons
345
+ --------------- */
346
+
347
+ .ui.cards > .card > .buttons,
348
+ .ui.card > .buttons,
349
+ .ui.cards > .card > .button,
350
+ .ui.card > .button {
351
+ margin: @buttonMargin;
352
+ width: @buttonWidth;
353
+ &:last-child {
354
+ margin-bottom: -@borderWidth;
355
+ }
356
+ }
359
357
  }
360
358
 
361
359
  & when (@variationCardBasic) {
362
- /*--------------
363
- Basic
364
- ---------------*/
365
- .ui.cards:not(.raised) > .basic.card:not(.raised),
366
- .ui.ui.ui.basic.cards:not(.raised) > .card:not(.raised),
367
- .ui.ui.ui.basic.card:not(.raised) {
368
- box-shadow: none;
369
- & > .buttons,
370
- > .button {
371
- margin: 0;
372
- width: 100%;
373
- }
374
- }
375
- & when (@variationCardLink) {
376
- .ui.ui.ui.ui.ui.basic.card:not(.raised):hover,
377
- .ui.ui.ui.ui.ui.basic.cards:not(.raised) .card:not(.raised):hover {
378
- box-shadow: none;
379
- }
380
- }
360
+ /* --------------
361
+ Basic
362
+ --------------- */
363
+ .ui.cards:not(.raised) > .basic.card:not(.raised),
364
+ .ui.ui.ui.basic.cards:not(.raised) > .card:not(.raised),
365
+ .ui.ui.ui.basic.card:not(.raised) {
366
+ box-shadow: none;
367
+ & > .buttons,
368
+ > .button {
369
+ margin: 0;
370
+ width: 100%;
371
+ }
372
+ }
373
+ & when (@variationCardLink) {
374
+ .ui.ui.ui.ui.ui.basic.card:not(.raised):hover,
375
+ .ui.ui.ui.ui.ui.basic.cards:not(.raised) .card:not(.raised):hover {
376
+ box-shadow: none;
377
+ }
378
+ }
381
379
  }
382
380
 
383
- /*--------------
381
+ /* --------------
384
382
  Dimmer
385
- ---------------*/
383
+ --------------- */
386
384
 
387
385
  .ui.cards > .card .dimmer,
388
386
  .ui.card .dimmer {
389
- background: @dimmerColor;
390
- z-index: @dimmerZIndex;
387
+ background: @dimmerColor;
388
+ z-index: @dimmerZIndex;
391
389
  }
392
390
 
393
- /*--------------
391
+ /* --------------
394
392
  Labels
395
- ---------------*/
393
+ --------------- */
396
394
 
397
395
  & when (@variationCardStar) {
398
- /*-----Star----- */
396
+ /* -----Star----- */
399
397
 
400
- /* Icon */
401
- .ui.cards > .card > .content .star.icon,
402
- .ui.card > .content .star.icon {
403
- cursor: pointer;
404
- opacity: @actionOpacity;
405
- transition: @actionTransition;
406
- }
407
- .ui.cards > .card > .content .star.icon:hover,
408
- .ui.card > .content .star.icon:hover {
409
- opacity: @actionHoverOpacity;
410
- color: @starColor;
411
- }
412
- .ui.cards > .card > .content .active.star.icon,
413
- .ui.card > .content .active.star.icon {
414
- color: @starActiveColor;
415
- }
398
+ /* Icon */
399
+ .ui.cards > .card > .content .star.icon,
400
+ .ui.card > .content .star.icon {
401
+ cursor: pointer;
402
+ opacity: @actionOpacity;
403
+ transition: @actionTransition;
404
+ }
405
+ .ui.cards > .card > .content .star.icon:hover,
406
+ .ui.card > .content .star.icon:hover {
407
+ opacity: @actionHoverOpacity;
408
+ color: @starColor;
409
+ }
410
+ .ui.cards > .card > .content .active.star.icon,
411
+ .ui.card > .content .active.star.icon {
412
+ color: @starActiveColor;
413
+ }
416
414
  }
417
415
 
418
416
  & when (@variationCardLike) {
419
- /*-----Like----- */
417
+ /* -----Like----- */
420
418
 
421
- /* Icon */
422
- .ui.cards > .card > .content .like.icon,
423
- .ui.card > .content .like.icon {
424
- cursor: pointer;
425
- opacity: @actionOpacity;
426
- transition: @actionTransition;
427
- }
428
- .ui.cards > .card > .content .like.icon:hover,
429
- .ui.card > .content .like.icon:hover {
430
- opacity: @actionHoverOpacity;
431
- color: @likeColor;
432
- }
433
- .ui.cards > .card > .content .active.like.icon,
434
- .ui.card > .content .active.like.icon {
435
- color: @likeActiveColor;
436
- }
419
+ /* Icon */
420
+ .ui.cards > .card > .content .like.icon,
421
+ .ui.card > .content .like.icon {
422
+ cursor: pointer;
423
+ opacity: @actionOpacity;
424
+ transition: @actionTransition;
425
+ }
426
+ .ui.cards > .card > .content .like.icon:hover,
427
+ .ui.card > .content .like.icon:hover {
428
+ opacity: @actionHoverOpacity;
429
+ color: @likeColor;
430
+ }
431
+ .ui.cards > .card > .content .active.like.icon,
432
+ .ui.card > .content .active.like.icon {
433
+ color: @likeActiveColor;
434
+ }
437
435
  }
438
436
 
439
437
  & when (@variationCardExtra) {
440
- /*----------------
441
- Extra Content
442
- -----------------*/
443
-
444
- .ui.cards > .card > .extra,
445
- .ui.card > .extra {
446
- max-width: 100%;
447
- min-height: 0 !important;
448
- flex-grow: 0;
449
- border-top: @extraDivider !important;
450
- position: @extraPosition;
451
- background: @extraBackground;
452
- width: @extraWidth;
453
- margin: @extraMargin;
454
- padding: @extraPadding;
455
- top: @extraTop;
456
- left: @extraLeft;
457
- color: @extraColor;
458
- box-shadow: @extraBoxShadow;
459
- transition: @extraTransition;
460
- }
461
- .ui.cards > .card > .extra a:not(.ui),
462
- .ui.card > .extra a:not(.ui) {
463
- color: @extraLinkColor;
464
- }
465
- .ui.cards > .card > .extra a:not(.ui):hover,
466
- .ui.card > .extra a:not(.ui):hover {
467
- color: @extraLinkHoverColor;
468
- }
438
+ /* ----------------
439
+ Extra Content
440
+ ----------------- */
441
+
442
+ .ui.cards > .card > .extra,
443
+ .ui.card > .extra {
444
+ max-width: 100%;
445
+ min-height: 0 !important;
446
+ flex-grow: 0;
447
+ border-top: @extraDivider !important;
448
+ position: @extraPosition;
449
+ background: @extraBackground;
450
+ width: @extraWidth;
451
+ margin: @extraMargin;
452
+ padding: @extraPadding;
453
+ top: @extraTop;
454
+ left: @extraLeft;
455
+ color: @extraColor;
456
+ box-shadow: @extraBoxShadow;
457
+ transition: @extraTransition;
458
+ }
459
+ .ui.cards > .card > .extra a:not(.ui),
460
+ .ui.card > .extra a:not(.ui) {
461
+ color: @extraLinkColor;
462
+ }
463
+ .ui.cards > .card > .extra a:not(.ui):hover,
464
+ .ui.card > .extra a:not(.ui):hover {
465
+ color: @extraLinkHoverColor;
466
+ }
469
467
  }
470
468
 
471
469
  /*******************************
@@ -473,57 +471,57 @@
473
471
  *******************************/
474
472
 
475
473
  & when (@variationCardDisabled) {
476
- /*--------------
477
- Disabled
478
- ---------------*/
479
-
480
- .ui.disabled.card {
481
- opacity: @disabledOpacity;
482
- color: @disabledTextColor;
483
- pointer-events: none;
484
- }
474
+ /* --------------
475
+ Disabled
476
+ --------------- */
477
+
478
+ .ui.disabled.card {
479
+ opacity: @disabledOpacity;
480
+ color: @disabledTextColor;
481
+ pointer-events: none;
482
+ }
485
483
  }
486
484
 
487
485
  & when (@variationCardLoading) {
488
- /*--------------
489
- Loading
490
- ---------------*/
491
-
492
- .ui.loading.card {
493
- position: relative;
494
- cursor: default;
495
- pointer-events: none;
496
- transition: all 0s linear;
497
- }
498
- .ui.loading.card::before {
499
- position: absolute;
500
- content: '';
501
- top: 0;
502
- left: 0;
503
- background: @loaderDimmerColor;
504
- width: 100%;
505
- height: 100%;
506
- border-radius: @borderRadius;
507
- z-index: @loaderDimmerZIndex;
508
- }
509
- .ui.loading.card::after {
510
- position: absolute;
511
- content: '';
512
- top: 50%;
513
- left: 50%;
514
-
515
- margin: @loaderMargin;
516
- width: @loaderSize;
517
- height: @loaderSize;
518
-
519
- animation: loader @loaderSpeed infinite linear;
520
- border: @loaderLineWidth solid @loaderLineColor;
521
- border-radius: @circularRadius;
522
-
523
- box-shadow: 0 0 0 1px transparent;
524
- visibility: visible;
525
- z-index: @loaderLineZIndex;
526
- }
486
+ /* --------------
487
+ Loading
488
+ --------------- */
489
+
490
+ .ui.loading.card {
491
+ position: relative;
492
+ cursor: default;
493
+ pointer-events: none;
494
+ transition: all 0s linear;
495
+ }
496
+ .ui.loading.card::before {
497
+ position: absolute;
498
+ content: '';
499
+ top: 0;
500
+ left: 0;
501
+ background: @loaderDimmerColor;
502
+ width: 100%;
503
+ height: 100%;
504
+ border-radius: @borderRadius;
505
+ z-index: @loaderDimmerZIndex;
506
+ }
507
+ .ui.loading.card::after {
508
+ position: absolute;
509
+ content: '';
510
+ top: 50%;
511
+ left: 50%;
512
+
513
+ margin: @loaderMargin;
514
+ width: @loaderSize;
515
+ height: @loaderSize;
516
+
517
+ animation: loader @loaderSpeed infinite linear;
518
+ border: @loaderLineWidth solid @loaderLineColor;
519
+ border-radius: @circularRadius;
520
+
521
+ box-shadow: 0 0 0 1px transparent;
522
+ visibility: visible;
523
+ z-index: @loaderLineZIndex;
524
+ }
527
525
  }
528
526
 
529
527
  /*******************************
@@ -531,669 +529,669 @@
531
529
  *******************************/
532
530
 
533
531
  & when (@variationCardHorizontal) {
534
- /*-------------------
535
- Horizontal
536
- --------------------*/
537
-
538
- .ui.horizontal.cards > .card,
539
- .ui.card.horizontal {
540
- flex-direction: row;
541
- flex-wrap: wrap;
542
- min-width: @horizontalMinWidth;
543
- width: @horizontalWidth;
544
- max-width: 100%;
545
- }
546
-
547
- .ui.horizontal.cards > .card > .image,
548
- .ui.card.horizontal > .image {
549
- border-radius: @defaultBorderRadius 0 0 @defaultBorderRadius;
550
- width: @horizontalImageWidth;
551
- }
552
-
553
- .ui.horizontal.cards > .card > .image > img,
554
- .ui.card.horizontal > .image > img {
555
- background-size: cover;
556
- background-repeat: no-repeat;
557
- background-position: center;
558
- justify-content: center;
559
- align-items: center;
560
- display: -webkit-box;
561
- display: -moz-box;
562
- & when (@supportIE) {
563
- display: -ms-flexbox;
564
- }
565
- display: -webkit-flex;
566
- display: flex;
567
- width: 100%;
568
- border-radius: @defaultBorderRadius 0 0 @defaultBorderRadius;
569
- }
570
- .ui.horizontal.cards > .card > .image:last-child > img,
571
- .ui.card.horizontal > .image:last-child > img {
572
- border-radius: 0 @defaultBorderRadius @defaultBorderRadius 0;
573
- }
574
- .ui.horizontal.cards > .card > .content, .ui.horizontal.card > .content {
575
- border-top: none;
576
- flex-basis: 1px;
577
- }
578
- .ui.horizontal.cards > .card > .extra, .ui.horizontal.card > .extra {
579
- flex-basis: 100%;
580
- }
532
+ /* -------------------
533
+ Horizontal
534
+ -------------------- */
535
+
536
+ .ui.horizontal.cards > .card,
537
+ .ui.card.horizontal {
538
+ flex-direction: row;
539
+ flex-wrap: wrap;
540
+ min-width: @horizontalMinWidth;
541
+ width: @horizontalWidth;
542
+ max-width: 100%;
543
+ }
544
+
545
+ .ui.horizontal.cards > .card > .image,
546
+ .ui.card.horizontal > .image {
547
+ border-radius: @defaultBorderRadius 0 0 @defaultBorderRadius;
548
+ width: @horizontalImageWidth;
549
+ }
550
+
551
+ .ui.horizontal.cards > .card > .image > img,
552
+ .ui.card.horizontal > .image > img {
553
+ background-size: cover;
554
+ background-repeat: no-repeat;
555
+ background-position: center;
556
+ justify-content: center;
557
+ align-items: center;
558
+ display: -webkit-box;
559
+ display: -moz-box;
560
+ & when (@supportIE) {
561
+ display: -ms-flexbox;
562
+ }
563
+ display: -webkit-flex;
564
+ display: flex;
565
+ width: 100%;
566
+ border-radius: @defaultBorderRadius 0 0 @defaultBorderRadius;
567
+ }
568
+ .ui.horizontal.cards > .card > .image:last-child > img,
569
+ .ui.card.horizontal > .image:last-child > img {
570
+ border-radius: 0 @defaultBorderRadius @defaultBorderRadius 0;
571
+ }
572
+ .ui.horizontal.cards > .card > .content,
573
+ .ui.horizontal.card > .content {
574
+ border-top: none;
575
+ flex-basis: 1px;
576
+ }
577
+ .ui.horizontal.cards > .card > .extra,
578
+ .ui.horizontal.card > .extra {
579
+ flex-basis: 100%;
580
+ }
581
581
  }
582
582
 
583
583
  & when (@variationCardRaised) {
584
- /*-------------------
585
- Raised
586
- --------------------*/
587
-
588
- .ui.cards > .raised.card,
589
- .ui.raised.cards > .card,
590
- .ui.raised.card {
591
- box-shadow: @raisedShadow;
592
- }
593
- & when (@variationCardLink) {
594
- .ui.raised.cards a.card:hover,
595
- .ui.link.cards .raised.card:hover,
596
- a.ui.raised.card:hover,
597
- .ui.link.raised.card:hover {
598
- box-shadow: @raisedShadowHover;
599
- }
600
- }
601
- & when (@variationCardBasic) {
602
- .ui.basic.cards > .raised.card,
603
- .ui.basic.raised.cards > .card,
604
- .ui.raised.cards > .basic.card,
605
- .ui.basic.raised.card {
606
- box-shadow: @basicRaisedShadow;
584
+ /* -------------------
585
+ Raised
586
+ -------------------- */
587
+
588
+ .ui.cards > .raised.card,
589
+ .ui.raised.cards > .card,
590
+ .ui.raised.card {
591
+ box-shadow: @raisedShadow;
607
592
  }
608
593
  & when (@variationCardLink) {
609
- .ui.basic.raised.cards a.card:hover,
610
- .ui.link.cards .basic.raised.card:hover,
611
- .ui.link.basic.cards .raised.card:hover,
612
- .ui.link.basic.raised.cards .card:hover,
613
- a.ui.basic.raised.card:hover,
614
- .ui.link.basic.raised.card:hover {
615
- box-shadow: @basicRaisedShadowHover;
616
- }
617
- }
618
- }
594
+ .ui.raised.cards a.card:hover,
595
+ .ui.link.cards .raised.card:hover,
596
+ a.ui.raised.card:hover,
597
+ .ui.link.raised.card:hover {
598
+ box-shadow: @raisedShadowHover;
599
+ }
600
+ }
601
+ & when (@variationCardBasic) {
602
+ .ui.basic.cards > .raised.card,
603
+ .ui.basic.raised.cards > .card,
604
+ .ui.raised.cards > .basic.card,
605
+ .ui.basic.raised.card {
606
+ box-shadow: @basicRaisedShadow;
607
+ }
608
+ & when (@variationCardLink) {
609
+ .ui.basic.raised.cards a.card:hover,
610
+ .ui.link.cards .basic.raised.card:hover,
611
+ .ui.link.basic.cards .raised.card:hover,
612
+ .ui.link.basic.raised.cards .card:hover,
613
+ a.ui.basic.raised.card:hover,
614
+ .ui.link.basic.raised.card:hover {
615
+ box-shadow: @basicRaisedShadowHover;
616
+ }
617
+ }
618
+ }
619
619
  }
620
620
 
621
621
  & when (@variationCardCentered) {
622
- /*-------------------
623
- Centered
624
- --------------------*/
625
-
626
- .ui.centered.cards {
627
- justify-content: center;
628
- }
629
- .ui.centered.card {
630
- margin-left: auto;
631
- margin-right: auto;
632
- }
622
+ /* -------------------
623
+ Centered
624
+ -------------------- */
625
+
626
+ .ui.centered.cards {
627
+ justify-content: center;
628
+ }
629
+ .ui.centered.card {
630
+ margin-left: auto;
631
+ margin-right: auto;
632
+ }
633
633
  }
634
634
 
635
635
  & when (@variationCardFluid) {
636
- /*-------------------
637
- Fluid
638
- --------------------*/
639
-
640
- .ui.fluid.card {
641
- width: 100%;
642
- max-width: 9999px;
643
- }
636
+ /* -------------------
637
+ Fluid
638
+ -------------------- */
639
+
640
+ .ui.fluid.card {
641
+ width: 100%;
642
+ max-width: 9999px;
643
+ }
644
644
  }
645
645
 
646
646
  & when (@variationCardLink) {
647
- /*-------------------
648
- Link
649
- --------------------*/
650
-
651
- .ui.cards a.card,
652
- .ui.link.cards .card,
653
- a.ui.card,
654
- .ui.link.card {
655
- transform: none;
656
- }
657
-
658
-
659
- .ui.cards a.card:hover,
660
- .ui.link.cards .card:not(.icon):hover,
661
- a.ui.card:hover,
662
- .ui.link.card:hover {
663
- cursor: pointer;
664
- z-index: @linkHoverZIndex;
665
- background: @linkHoverBackground;
666
- border: @linkHoverBorder;
667
- box-shadow: @linkHoverBoxShadow;
668
- transform: @linkHoverTransform;
669
- }
647
+ /* -------------------
648
+ Link
649
+ -------------------- */
650
+
651
+ .ui.cards a.card,
652
+ .ui.link.cards .card,
653
+ a.ui.card,
654
+ .ui.link.card {
655
+ transform: none;
656
+ }
657
+
658
+ .ui.cards a.card:hover,
659
+ .ui.link.cards .card:not(.icon):hover,
660
+ a.ui.card:hover,
661
+ .ui.link.card:hover {
662
+ cursor: pointer;
663
+ z-index: @linkHoverZIndex;
664
+ background: @linkHoverBackground;
665
+ border: @linkHoverBorder;
666
+ box-shadow: @linkHoverBoxShadow;
667
+ transform: @linkHoverTransform;
668
+ }
670
669
  }
671
670
 
672
- /*-------------------
671
+ /* -------------------
673
672
  Colors
674
- --------------------*/
673
+ -------------------- */
675
674
  & when not (@variationCardColors = false) {
676
- each(@variationCardColors, {
677
- @color: @value;
678
- @c: @colors[@@color][color];
679
- @h: @colors[@@color][hover];
680
- @l: @colors[@@color][light];
681
- @lh: @colors[@@color][lightHover];
682
- @isVeryDark: @colors[@@color][isVeryDark];
683
-
684
- .ui.@{color}.cards > .card,
685
- .ui.cards > .@{color}.card,
686
- .ui.@{color}.card {
687
- box-shadow:
675
+ each(@variationCardColors, {
676
+ @color: @value;
677
+ @c: @colors[@@color][color];
678
+ @h: @colors[@@color][hover];
679
+ @l: @colors[@@color][light];
680
+ @lh: @colors[@@color][lightHover];
681
+ @isVeryDark: @colors[@@color][isVeryDark];
682
+
683
+ .ui.@{color}.cards > .card,
684
+ .ui.cards > .@{color}.card,
685
+ .ui.@{color}.card {
686
+ box-shadow:
688
687
  @borderShadow,
689
688
  0 @coloredShadowDistance 0 0 @c,
690
689
  @shadowBoxShadow
691
- ;
692
- }
693
- & when (@variationCardLink) {
694
- .ui.cards a.@{color}.card:hover,
695
- .ui.@{color}.cards a.card:hover,
696
- .ui.link.@{color}.cards .card:not(.icon):hover,
697
- .ui.link.cards .@{color}.card:not(.icon):hover,
698
- a.ui.@{color}.card:hover,
699
- .ui.link.@{color}.card:hover {
700
- box-shadow:
701
- @borderShadow,
702
- 0 @coloredShadowDistance 0 0 @h,
703
- @shadowHoverBoxShadow
704
- ;
705
- }
706
- }
707
- & when (@variationCardBasic) {
708
- .ui.cards > .basic.@{color}.card,
709
- .ui.basic.@{color}.cards > .card,
710
- .ui.basic.cards > .@{color}.card,
711
- .ui.basic.@{color}.card {
712
- background: @l;
713
- & when (@isVeryDark) {
714
- & .header,
715
- .content,
716
- .meta,
717
- .description {
718
- color: @white;
719
- }
720
- }
721
- }
722
- & when (@variationCardLink) {
723
- .ui.basic.cards a.@{color}.card:hover,
724
- .ui.cards a.basic.@{color}.card:hover,
725
- .ui.basic.@{color}.cards a.card:hover,
726
- .ui.link.cards .basic.@{color}.card:not(.icon):hover,
727
- .ui.link.basic.@{color}.cards .card:not(.icon):hover,
728
- .ui.link.basic.cards .@{color}.card:not(.icon):hover,
729
- a.ui.basic.@{color}.card:hover,
730
- .ui.link.basic.@{color}.card:hover {
731
- background: @lh;
732
- }
733
- }
734
- }
735
- & when (@variationCardInverted) {
736
- .ui.inverted.@{color}.cards > .card,
737
- .ui.inverted.cards > .@{color}.card,
738
- .ui.inverted.@{color}.card {
739
- box-shadow:
740
- 0 @shadowDistance 3px 0 @solidWhiteBorderColor,
741
- 0 @coloredShadowDistance 0 0 @l,
742
- 0 0 0 @borderWidth @solidWhiteBorderColor
743
- ;
744
- }
745
- & when (@variationCardLink) {
746
- .ui.inverted.cards a.@{color}.card:hover,
747
- .ui.inverted.@{color}.cards a.card:hover,
748
- .ui.link.inverted.@{color}.cards .card:not(.icon):hover,
749
- .ui.link.inverted.cards .@{color}.card:not(.icon):hover,
750
- a.ui.inverted.@{color}.card:hover,
751
- .ui.link.inverted.@{color}.card:hover {
752
- box-shadow:
753
- 0 @shadowDistance 3px 0 @solidWhiteBorderColor,
754
- 0 @coloredShadowDistance 0 0 @lh,
755
- 0 0 0 @borderWidth @solidWhiteBorderColor
756
- ;
757
- }
758
- }
759
- & when (@variationCardBasic) {
760
- .ui.inverted.cards > .basic.@{color}.card,
761
- .ui.basic.inverted.@{color}.cards > .card,
762
- .ui.basic.inverted.cards > .@{color}.card,
763
- .ui.basic.inverted.@{color}.card {
764
- background: @c;
690
+ ;
765
691
  }
766
692
  & when (@variationCardLink) {
767
- .ui.inverted.cards a.basic.@{color}.card:hover,
768
- .ui.basic.inverted.cards a.@{color}.card:hover,
769
- .ui.basic.inverted.@{color}.cards a.card:hover,
770
- .ui.link.inverted.cards .basic.@{color}.card:not(.icon):hover,
771
- .ui.link.basic.inverted.@{color}.cards .card:not(.icon):hover,
772
- .ui.link.basic.inverted.cards .@{color}.card:not(.icon):hover,
773
- a.ui.basic.inverted.@{color}.card:hover,
774
- .ui.link.basic.inverted.@{color}.card:hover {
775
- background: @h;
776
- }
777
- }
778
- }
779
- }
780
- })
693
+ .ui.cards a.@{color}.card:hover,
694
+ .ui.@{color}.cards a.card:hover,
695
+ .ui.link.@{color}.cards .card:not(.icon):hover,
696
+ .ui.link.cards .@{color}.card:not(.icon):hover,
697
+ a.ui.@{color}.card:hover,
698
+ .ui.link.@{color}.card:hover {
699
+ box-shadow:
700
+ @borderShadow,
701
+ 0 @coloredShadowDistance 0 0 @h,
702
+ @shadowHoverBoxShadow
703
+ ;
704
+ }
705
+ }
706
+ & when (@variationCardBasic) {
707
+ .ui.cards > .basic.@{color}.card,
708
+ .ui.basic.@{color}.cards > .card,
709
+ .ui.basic.cards > .@{color}.card,
710
+ .ui.basic.@{color}.card {
711
+ background: @l;
712
+ & when (@isVeryDark) {
713
+ & .header,
714
+ .content,
715
+ .meta,
716
+ .description {
717
+ color: @white;
718
+ }
719
+ }
720
+ }
721
+ & when (@variationCardLink) {
722
+ .ui.basic.cards a.@{color}.card:hover,
723
+ .ui.cards a.basic.@{color}.card:hover,
724
+ .ui.basic.@{color}.cards a.card:hover,
725
+ .ui.link.cards .basic.@{color}.card:not(.icon):hover,
726
+ .ui.link.basic.@{color}.cards .card:not(.icon):hover,
727
+ .ui.link.basic.cards .@{color}.card:not(.icon):hover,
728
+ a.ui.basic.@{color}.card:hover,
729
+ .ui.link.basic.@{color}.card:hover {
730
+ background: @lh;
731
+ }
732
+ }
733
+ }
734
+ & when (@variationCardInverted) {
735
+ .ui.inverted.@{color}.cards > .card,
736
+ .ui.inverted.cards > .@{color}.card,
737
+ .ui.inverted.@{color}.card {
738
+ box-shadow:
739
+ 0 @shadowDistance 3px 0 @solidWhiteBorderColor,
740
+ 0 @coloredShadowDistance 0 0 @l,
741
+ 0 0 0 @borderWidth @solidWhiteBorderColor
742
+ ;
743
+ }
744
+ & when (@variationCardLink) {
745
+ .ui.inverted.cards a.@{color}.card:hover,
746
+ .ui.inverted.@{color}.cards a.card:hover,
747
+ .ui.link.inverted.@{color}.cards .card:not(.icon):hover,
748
+ .ui.link.inverted.cards .@{color}.card:not(.icon):hover,
749
+ a.ui.inverted.@{color}.card:hover,
750
+ .ui.link.inverted.@{color}.card:hover {
751
+ box-shadow:
752
+ 0 @shadowDistance 3px 0 @solidWhiteBorderColor,
753
+ 0 @coloredShadowDistance 0 0 @lh,
754
+ 0 0 0 @borderWidth @solidWhiteBorderColor
755
+ ;
756
+ }
757
+ }
758
+ & when (@variationCardBasic) {
759
+ .ui.inverted.cards > .basic.@{color}.card,
760
+ .ui.basic.inverted.@{color}.cards > .card,
761
+ .ui.basic.inverted.cards > .@{color}.card,
762
+ .ui.basic.inverted.@{color}.card {
763
+ background: @c;
764
+ }
765
+ & when (@variationCardLink) {
766
+ .ui.inverted.cards a.basic.@{color}.card:hover,
767
+ .ui.basic.inverted.cards a.@{color}.card:hover,
768
+ .ui.basic.inverted.@{color}.cards a.card:hover,
769
+ .ui.link.inverted.cards .basic.@{color}.card:not(.icon):hover,
770
+ .ui.link.basic.inverted.@{color}.cards .card:not(.icon):hover,
771
+ .ui.link.basic.inverted.cards .@{color}.card:not(.icon):hover,
772
+ a.ui.basic.inverted.@{color}.card:hover,
773
+ .ui.link.basic.inverted.@{color}.card:hover {
774
+ background: @h;
775
+ }
776
+ }
777
+ }
778
+ }
779
+ })
781
780
  }
782
781
 
783
782
  & when (@variationCardEqualWidth) {
784
- /*--------------
785
- Card Count
786
- ---------------*/
787
-
788
- .ui.one.cards {
789
- margin-left: @oneCardOffset;
790
- margin-right: @oneCardOffset;
791
- }
792
- .ui.one.cards > .card {
793
- width: @oneCard;
794
- }
795
-
796
- .ui.two.cards {
797
- margin-left: @twoCardOffset;
798
- margin-right: @twoCardOffset;
799
- }
800
- .ui.two.cards > .card {
801
- width: @twoCard;
802
- margin-left: @twoCardSpacing;
803
- margin-right: @twoCardSpacing;
804
- }
805
-
806
- .ui.three.cards {
807
- margin-left: @threeCardOffset;
808
- margin-right: @threeCardOffset;
809
- }
810
- .ui.three.cards > .card {
811
- width: @threeCard;
812
- margin-left: @threeCardSpacing;
813
- margin-right: @threeCardSpacing;
814
- }
815
-
816
- .ui.four.cards {
817
- margin-left: @fourCardOffset;
818
- margin-right: @fourCardOffset;
819
- }
820
- .ui.four.cards > .card {
821
- width: @fourCard;
822
- margin-left: @fourCardSpacing;
823
- margin-right: @fourCardSpacing;
824
- }
825
-
826
- .ui.five.cards {
827
- margin-left: @fiveCardOffset;
828
- margin-right: @fiveCardOffset;
829
- }
830
- .ui.five.cards > .card {
831
- width: @fiveCard;
832
- margin-left: @fiveCardSpacing;
833
- margin-right: @fiveCardSpacing;
834
- }
835
-
836
- .ui.six.cards {
837
- margin-left: @sixCardOffset;
838
- margin-right: @sixCardOffset;
839
- }
840
- .ui.six.cards > .card {
841
- width: @sixCard;
842
- margin-left: @sixCardSpacing;
843
- margin-right: @sixCardSpacing;
844
- }
845
-
846
- .ui.seven.cards {
847
- margin-left: @sevenCardOffset;
848
- margin-right: @sevenCardOffset;
849
- }
850
- .ui.seven.cards > .card {
851
- width: @sevenCard;
852
- margin-left: @sevenCardSpacing;
853
- margin-right: @sevenCardSpacing;
854
- }
855
-
856
- .ui.eight.cards {
857
- margin-left: @eightCardOffset;
858
- margin-right: @eightCardOffset;
859
- }
860
- .ui.eight.cards > .card {
861
- width: @eightCard;
862
- margin-left: @eightCardSpacing;
863
- margin-right: @eightCardSpacing;
864
- font-size: 11px;
865
- }
866
-
867
- .ui.nine.cards {
868
- margin-left: @nineCardOffset;
869
- margin-right: @nineCardOffset;
870
- }
871
- .ui.nine.cards > .card {
872
- width: @nineCard;
873
- margin-left: @nineCardSpacing;
874
- margin-right: @nineCardSpacing;
875
- font-size: 10px;
876
- }
877
-
878
- .ui.ten.cards {
879
- margin-left: @tenCardOffset;
880
- margin-right: @tenCardOffset;
881
- }
882
- .ui.ten.cards > .card {
883
- width: @tenCard;
884
- margin-left: @tenCardSpacing;
885
- margin-right: @tenCardSpacing;
886
- }
783
+ /* --------------
784
+ Card Count
785
+ --------------- */
786
+
787
+ .ui.one.cards {
788
+ margin-left: @oneCardOffset;
789
+ margin-right: @oneCardOffset;
790
+ }
791
+ .ui.one.cards > .card {
792
+ width: @oneCard;
793
+ }
794
+
795
+ .ui.two.cards {
796
+ margin-left: @twoCardOffset;
797
+ margin-right: @twoCardOffset;
798
+ }
799
+ .ui.two.cards > .card {
800
+ width: @twoCard;
801
+ margin-left: @twoCardSpacing;
802
+ margin-right: @twoCardSpacing;
803
+ }
804
+
805
+ .ui.three.cards {
806
+ margin-left: @threeCardOffset;
807
+ margin-right: @threeCardOffset;
808
+ }
809
+ .ui.three.cards > .card {
810
+ width: @threeCard;
811
+ margin-left: @threeCardSpacing;
812
+ margin-right: @threeCardSpacing;
813
+ }
814
+
815
+ .ui.four.cards {
816
+ margin-left: @fourCardOffset;
817
+ margin-right: @fourCardOffset;
818
+ }
819
+ .ui.four.cards > .card {
820
+ width: @fourCard;
821
+ margin-left: @fourCardSpacing;
822
+ margin-right: @fourCardSpacing;
823
+ }
824
+
825
+ .ui.five.cards {
826
+ margin-left: @fiveCardOffset;
827
+ margin-right: @fiveCardOffset;
828
+ }
829
+ .ui.five.cards > .card {
830
+ width: @fiveCard;
831
+ margin-left: @fiveCardSpacing;
832
+ margin-right: @fiveCardSpacing;
833
+ }
834
+
835
+ .ui.six.cards {
836
+ margin-left: @sixCardOffset;
837
+ margin-right: @sixCardOffset;
838
+ }
839
+ .ui.six.cards > .card {
840
+ width: @sixCard;
841
+ margin-left: @sixCardSpacing;
842
+ margin-right: @sixCardSpacing;
843
+ }
844
+
845
+ .ui.seven.cards {
846
+ margin-left: @sevenCardOffset;
847
+ margin-right: @sevenCardOffset;
848
+ }
849
+ .ui.seven.cards > .card {
850
+ width: @sevenCard;
851
+ margin-left: @sevenCardSpacing;
852
+ margin-right: @sevenCardSpacing;
853
+ }
854
+
855
+ .ui.eight.cards {
856
+ margin-left: @eightCardOffset;
857
+ margin-right: @eightCardOffset;
858
+ }
859
+ .ui.eight.cards > .card {
860
+ width: @eightCard;
861
+ margin-left: @eightCardSpacing;
862
+ margin-right: @eightCardSpacing;
863
+ font-size: 11px;
864
+ }
865
+
866
+ .ui.nine.cards {
867
+ margin-left: @nineCardOffset;
868
+ margin-right: @nineCardOffset;
869
+ }
870
+ .ui.nine.cards > .card {
871
+ width: @nineCard;
872
+ margin-left: @nineCardSpacing;
873
+ margin-right: @nineCardSpacing;
874
+ font-size: 10px;
875
+ }
876
+
877
+ .ui.ten.cards {
878
+ margin-left: @tenCardOffset;
879
+ margin-right: @tenCardOffset;
880
+ }
881
+ .ui.ten.cards > .card {
882
+ width: @tenCard;
883
+ margin-left: @tenCardSpacing;
884
+ margin-right: @tenCardSpacing;
885
+ }
887
886
  }
888
887
 
889
888
  & when (@variationCardDoubling) {
890
- /*-------------------
891
- Doubling
892
- --------------------*/
893
-
894
- /* Mobile Only */
895
- @media only screen and (max-width : @largestMobileScreen) {
896
- .ui.two.doubling.cards {
897
- margin-left: @oneCardOffset;
898
- margin-right: @oneCardOffset;
899
- }
900
- .ui.two.doubling.cards > .card {
901
- width: @oneCard;
902
- margin-left: @oneCardSpacing;
903
- margin-right: @oneCardSpacing;
904
- }
905
- .ui.three.doubling.cards {
906
- margin-left: @twoCardOffset;
907
- margin-right: @twoCardOffset;
908
- }
909
- .ui.three.doubling.cards > .card {
910
- width: @twoCard;
911
- margin-left: @twoCardSpacing;
912
- margin-right: @twoCardSpacing;
913
- }
914
- .ui.four.doubling.cards {
915
- margin-left: @twoCardOffset;
916
- margin-right: @twoCardOffset;
917
- }
918
- .ui.four.doubling.cards > .card {
919
- width: @twoCard;
920
- margin-left: @twoCardSpacing;
921
- margin-right: @twoCardSpacing;
922
- }
923
- .ui.five.doubling.cards {
924
- margin-left: @twoCardOffset;
925
- margin-right: @twoCardOffset;
926
- }
927
- .ui.five.doubling.cards > .card {
928
- width: @twoCard;
929
- margin-left: @twoCardSpacing;
930
- margin-right: @twoCardSpacing;
931
- }
932
- .ui.six.doubling.cards {
933
- margin-left: @twoCardOffset;
934
- margin-right: @twoCardOffset;
935
- }
936
- .ui.six.doubling.cards > .card {
937
- width: @twoCard;
938
- margin-left: @twoCardSpacing;
939
- margin-right: @twoCardSpacing;
940
- }
941
- .ui.seven.doubling.cards {
942
- margin-left: @threeCardOffset;
943
- margin-right: @threeCardOffset;
944
- }
945
- .ui.seven.doubling.cards > .card {
946
- width: @threeCard;
947
- margin-left: @threeCardSpacing;
948
- margin-right: @threeCardSpacing;
949
- }
950
- .ui.eight.doubling.cards {
951
- margin-left: @threeCardOffset;
952
- margin-right: @threeCardOffset;
953
- }
954
- .ui.eight.doubling.cards > .card {
955
- width: @threeCard;
956
- margin-left: @threeCardSpacing;
957
- margin-right: @threeCardSpacing;
958
- }
959
- .ui.nine.doubling.cards {
960
- margin-left: @threeCardOffset;
961
- margin-right: @threeCardOffset;
962
- }
963
- .ui.nine.doubling.cards > .card {
964
- width: @threeCard;
965
- margin-left: @threeCardSpacing;
966
- margin-right: @threeCardSpacing;
967
- }
968
- .ui.ten.doubling.cards {
969
- margin-left: @threeCardOffset;
970
- margin-right: @threeCardOffset;
971
- }
972
- .ui.ten.doubling.cards > .card {
973
- width: @threeCard;
974
- margin-left: @threeCardSpacing;
975
- margin-right: @threeCardSpacing;
976
- }
977
- }
978
-
979
- /* Tablet Only */
980
- @media only screen and (min-width : @tabletBreakpoint) and (max-width : @largestTabletScreen) {
981
- .ui.two.doubling.cards {
982
- margin-left: @oneCardOffset;
983
- margin-right: @oneCardOffset;
984
- }
985
- .ui.two.doubling.cards > .card {
986
- width: @oneCard;
987
- margin-left: @oneCardSpacing;
988
- margin-right: @oneCardSpacing;
989
- }
990
- .ui.three.doubling.cards {
991
- margin-left: @twoCardOffset;
992
- margin-right: @twoCardOffset;
993
- }
994
- .ui.three.doubling.cards > .card {
995
- width: @twoCard;
996
- margin-left: @twoCardSpacing;
997
- margin-right: @twoCardSpacing;
998
- }
999
- .ui.four.doubling.cards {
1000
- margin-left: @twoCardOffset;
1001
- margin-right: @twoCardOffset;
1002
- }
1003
- .ui.four.doubling.cards > .card {
1004
- width: @twoCard;
1005
- margin-left: @twoCardSpacing;
1006
- margin-right: @twoCardSpacing;
1007
- }
1008
- .ui.five.doubling.cards {
1009
- margin-left: @threeCardOffset;
1010
- margin-right: @threeCardOffset;
1011
- }
1012
- .ui.five.doubling.cards > .card {
1013
- width: @threeCard;
1014
- margin-left: @threeCardSpacing;
1015
- margin-right: @threeCardSpacing;
1016
- }
1017
- .ui.six.doubling.cards {
1018
- margin-left: @threeCardOffset;
1019
- margin-right: @threeCardOffset;
1020
- }
1021
- .ui.six.doubling.cards > .card {
1022
- width: @threeCard;
1023
- margin-left: @threeCardSpacing;
1024
- margin-right: @threeCardSpacing;
1025
- }
1026
- .ui.eight.doubling.cards {
1027
- margin-left: @threeCardOffset;
1028
- margin-right: @threeCardOffset;
1029
- }
1030
- .ui.eight.doubling.cards > .card {
1031
- width: @threeCard;
1032
- margin-left: @threeCardSpacing;
1033
- margin-right: @threeCardSpacing;
1034
- }
1035
- .ui.eight.doubling.cards {
1036
- margin-left: @fourCardOffset;
1037
- margin-right: @fourCardOffset;
1038
- }
1039
- .ui.eight.doubling.cards > .card {
1040
- width: @fourCard;
1041
- margin-left: @fourCardSpacing;
1042
- margin-right: @fourCardSpacing;
1043
- }
1044
- .ui.nine.doubling.cards {
1045
- margin-left: @fourCardOffset;
1046
- margin-right: @fourCardOffset;
1047
- }
1048
- .ui.nine.doubling.cards > .card {
1049
- width: @fourCard;
1050
- margin-left: @fourCardSpacing;
1051
- margin-right: @fourCardSpacing;
1052
- }
1053
- .ui.ten.doubling.cards {
1054
- margin-left: @fiveCardOffset;
1055
- margin-right: @fiveCardOffset;
1056
- }
1057
- .ui.ten.doubling.cards > .card {
1058
- width: @fiveCard;
1059
- margin-left: @fiveCardSpacing;
1060
- margin-right: @fiveCardSpacing;
1061
- }
1062
- }
889
+ /* -------------------
890
+ Doubling
891
+ -------------------- */
892
+
893
+ /* Mobile Only */
894
+ @media only screen and (max-width: @largestMobileScreen) {
895
+ .ui.two.doubling.cards {
896
+ margin-left: @oneCardOffset;
897
+ margin-right: @oneCardOffset;
898
+ }
899
+ .ui.two.doubling.cards > .card {
900
+ width: @oneCard;
901
+ margin-left: @oneCardSpacing;
902
+ margin-right: @oneCardSpacing;
903
+ }
904
+ .ui.three.doubling.cards {
905
+ margin-left: @twoCardOffset;
906
+ margin-right: @twoCardOffset;
907
+ }
908
+ .ui.three.doubling.cards > .card {
909
+ width: @twoCard;
910
+ margin-left: @twoCardSpacing;
911
+ margin-right: @twoCardSpacing;
912
+ }
913
+ .ui.four.doubling.cards {
914
+ margin-left: @twoCardOffset;
915
+ margin-right: @twoCardOffset;
916
+ }
917
+ .ui.four.doubling.cards > .card {
918
+ width: @twoCard;
919
+ margin-left: @twoCardSpacing;
920
+ margin-right: @twoCardSpacing;
921
+ }
922
+ .ui.five.doubling.cards {
923
+ margin-left: @twoCardOffset;
924
+ margin-right: @twoCardOffset;
925
+ }
926
+ .ui.five.doubling.cards > .card {
927
+ width: @twoCard;
928
+ margin-left: @twoCardSpacing;
929
+ margin-right: @twoCardSpacing;
930
+ }
931
+ .ui.six.doubling.cards {
932
+ margin-left: @twoCardOffset;
933
+ margin-right: @twoCardOffset;
934
+ }
935
+ .ui.six.doubling.cards > .card {
936
+ width: @twoCard;
937
+ margin-left: @twoCardSpacing;
938
+ margin-right: @twoCardSpacing;
939
+ }
940
+ .ui.seven.doubling.cards {
941
+ margin-left: @threeCardOffset;
942
+ margin-right: @threeCardOffset;
943
+ }
944
+ .ui.seven.doubling.cards > .card {
945
+ width: @threeCard;
946
+ margin-left: @threeCardSpacing;
947
+ margin-right: @threeCardSpacing;
948
+ }
949
+ .ui.eight.doubling.cards {
950
+ margin-left: @threeCardOffset;
951
+ margin-right: @threeCardOffset;
952
+ }
953
+ .ui.eight.doubling.cards > .card {
954
+ width: @threeCard;
955
+ margin-left: @threeCardSpacing;
956
+ margin-right: @threeCardSpacing;
957
+ }
958
+ .ui.nine.doubling.cards {
959
+ margin-left: @threeCardOffset;
960
+ margin-right: @threeCardOffset;
961
+ }
962
+ .ui.nine.doubling.cards > .card {
963
+ width: @threeCard;
964
+ margin-left: @threeCardSpacing;
965
+ margin-right: @threeCardSpacing;
966
+ }
967
+ .ui.ten.doubling.cards {
968
+ margin-left: @threeCardOffset;
969
+ margin-right: @threeCardOffset;
970
+ }
971
+ .ui.ten.doubling.cards > .card {
972
+ width: @threeCard;
973
+ margin-left: @threeCardSpacing;
974
+ margin-right: @threeCardSpacing;
975
+ }
976
+ }
977
+
978
+ /* Tablet Only */
979
+ @media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
980
+ .ui.two.doubling.cards {
981
+ margin-left: @oneCardOffset;
982
+ margin-right: @oneCardOffset;
983
+ }
984
+ .ui.two.doubling.cards > .card {
985
+ width: @oneCard;
986
+ margin-left: @oneCardSpacing;
987
+ margin-right: @oneCardSpacing;
988
+ }
989
+ .ui.three.doubling.cards {
990
+ margin-left: @twoCardOffset;
991
+ margin-right: @twoCardOffset;
992
+ }
993
+ .ui.three.doubling.cards > .card {
994
+ width: @twoCard;
995
+ margin-left: @twoCardSpacing;
996
+ margin-right: @twoCardSpacing;
997
+ }
998
+ .ui.four.doubling.cards {
999
+ margin-left: @twoCardOffset;
1000
+ margin-right: @twoCardOffset;
1001
+ }
1002
+ .ui.four.doubling.cards > .card {
1003
+ width: @twoCard;
1004
+ margin-left: @twoCardSpacing;
1005
+ margin-right: @twoCardSpacing;
1006
+ }
1007
+ .ui.five.doubling.cards {
1008
+ margin-left: @threeCardOffset;
1009
+ margin-right: @threeCardOffset;
1010
+ }
1011
+ .ui.five.doubling.cards > .card {
1012
+ width: @threeCard;
1013
+ margin-left: @threeCardSpacing;
1014
+ margin-right: @threeCardSpacing;
1015
+ }
1016
+ .ui.six.doubling.cards {
1017
+ margin-left: @threeCardOffset;
1018
+ margin-right: @threeCardOffset;
1019
+ }
1020
+ .ui.six.doubling.cards > .card {
1021
+ width: @threeCard;
1022
+ margin-left: @threeCardSpacing;
1023
+ margin-right: @threeCardSpacing;
1024
+ }
1025
+ .ui.eight.doubling.cards {
1026
+ margin-left: @threeCardOffset;
1027
+ margin-right: @threeCardOffset;
1028
+ }
1029
+ .ui.eight.doubling.cards > .card {
1030
+ width: @threeCard;
1031
+ margin-left: @threeCardSpacing;
1032
+ margin-right: @threeCardSpacing;
1033
+ }
1034
+ .ui.eight.doubling.cards {
1035
+ margin-left: @fourCardOffset;
1036
+ margin-right: @fourCardOffset;
1037
+ }
1038
+ .ui.eight.doubling.cards > .card {
1039
+ width: @fourCard;
1040
+ margin-left: @fourCardSpacing;
1041
+ margin-right: @fourCardSpacing;
1042
+ }
1043
+ .ui.nine.doubling.cards {
1044
+ margin-left: @fourCardOffset;
1045
+ margin-right: @fourCardOffset;
1046
+ }
1047
+ .ui.nine.doubling.cards > .card {
1048
+ width: @fourCard;
1049
+ margin-left: @fourCardSpacing;
1050
+ margin-right: @fourCardSpacing;
1051
+ }
1052
+ .ui.ten.doubling.cards {
1053
+ margin-left: @fiveCardOffset;
1054
+ margin-right: @fiveCardOffset;
1055
+ }
1056
+ .ui.ten.doubling.cards > .card {
1057
+ width: @fiveCard;
1058
+ margin-left: @fiveCardSpacing;
1059
+ margin-right: @fiveCardSpacing;
1060
+ }
1061
+ }
1063
1062
  }
1064
1063
 
1065
1064
  & when (@variationCardStackable) {
1066
- /*-------------------
1067
- Stackable
1068
- --------------------*/
1065
+ /* -------------------
1066
+ Stackable
1067
+ -------------------- */
1069
1068
 
1070
- @media only screen and (max-width : @largestMobileScreen) {
1071
- .ui.stackable.cards {
1072
- display: block !important;
1073
- }
1074
- .ui.stackable.cards .card:first-child {
1075
- margin-top: 0 !important;
1076
- }
1077
- .ui.stackable.cards > .card {
1078
- display: block !important;
1079
- height: auto !important;
1080
- margin: @stackableRowSpacing @stackableCardSpacing;
1081
- padding: 0 !important;
1082
- width: @stackableMargin !important;
1069
+ @media only screen and (max-width: @largestMobileScreen) {
1070
+ .ui.stackable.cards {
1071
+ display: block !important;
1072
+ }
1073
+ .ui.stackable.cards .card:first-child {
1074
+ margin-top: 0 !important;
1075
+ }
1076
+ .ui.stackable.cards > .card {
1077
+ display: block !important;
1078
+ height: auto !important;
1079
+ margin: @stackableRowSpacing @stackableCardSpacing;
1080
+ padding: 0 !important;
1081
+ width: @stackableMargin !important;
1082
+ }
1083
1083
  }
1084
- }
1085
1084
  }
1086
1085
 
1087
- /*--------------
1086
+ /* --------------
1088
1087
  Size
1089
- ---------------*/
1088
+ --------------- */
1090
1089
 
1091
1090
  .ui.cards > .card {
1092
- font-size: @medium;
1091
+ font-size: @medium;
1093
1092
  }
1094
1093
  & when not (@variationCardSizes = false) {
1095
- each(@variationCardSizes, {
1096
- @s: @@value;
1097
- .ui.@{value}.card,
1098
- .ui.@{value}.cards .card {
1099
- font-size: @s;
1100
- }
1101
- })
1094
+ each(@variationCardSizes, {
1095
+ @s: @@value;
1096
+ .ui.@{value}.card,
1097
+ .ui.@{value}.cards .card {
1098
+ font-size: @s;
1099
+ }
1100
+ })
1102
1101
  }
1103
1102
 
1104
1103
  & when (@variationCardInverted) {
1105
- /*-----------------
1106
- Inverted
1107
- ------------------*/
1108
-
1109
- .ui.inverted.cards > .card,
1110
- .ui.inverted.card {
1111
- background: @invertedBackground;
1112
- box-shadow: @invertedBoxShadow;
1113
- }
1114
-
1115
- /* Content */
1116
- .ui.inverted.cards > .card > .content,
1117
- .ui.inverted.card > .content {
1118
- border-top: @invertedContentDivider;
1119
- }
1120
-
1121
- & when (@variationCardHeader) {
1122
- /* Header */
1123
- .ui.inverted.cards > .card > .content > .header,
1124
- .ui.inverted.card > .content > .header {
1125
- color: @invertedHeaderColor;
1126
- }
1127
- .ui.inverted.cards > .card > .content > a.header,
1128
- .ui.inverted.card > .content > a.header {
1129
- color: @invertedHeaderLinkColor;
1130
- &:hover {
1131
- color: @invertedHeaderLinkHoverColor;
1132
- }
1133
- }
1134
- }
1104
+ /* -----------------
1105
+ Inverted
1106
+ ------------------ */
1135
1107
 
1136
- & when (@variationCardDescription) {
1137
- /* Description */
1138
- .ui.inverted.cards > .card > .content > .description,
1139
- .ui.inverted.card > .content > .description {
1140
- color: @invertedDescriptionColor;
1108
+ .ui.inverted.cards > .card,
1109
+ .ui.inverted.card {
1110
+ background: @invertedBackground;
1111
+ box-shadow: @invertedBoxShadow;
1141
1112
  }
1142
- }
1143
1113
 
1144
- & when (@variationCardMeta) {
1145
- /* Meta */
1146
- .ui.inverted.cards > .card .meta,
1147
- .ui.inverted.card .meta {
1148
- color: @invertedMetaColor;
1149
- }
1150
- .ui.inverted.cards > .card .meta > a:not(.ui),
1151
- .ui.inverted.card .meta > a:not(.ui) {
1152
- color: @invertedMetaLinkColor;
1114
+ /* Content */
1115
+ .ui.inverted.cards > .card > .content,
1116
+ .ui.inverted.card > .content {
1117
+ border-top: @invertedContentDivider;
1153
1118
  }
1154
- .ui.inverted.cards > .card .meta > a:not(.ui):hover,
1155
- .ui.inverted.card .meta > a:not(.ui):hover {
1156
- color: @invertedMetaLinkHoverColor;
1157
- }
1158
- }
1159
1119
 
1160
- & when (@variationCardExtra) {
1161
- /* Extra */
1162
- .ui.inverted.cards > .card > .extra,
1163
- .ui.inverted.card > .extra {
1164
- border-top: @invertedExtraDivider !important;
1165
- color: @invertedExtraColor;
1120
+ & when (@variationCardHeader) {
1121
+ /* Header */
1122
+ .ui.inverted.cards > .card > .content > .header,
1123
+ .ui.inverted.card > .content > .header {
1124
+ color: @invertedHeaderColor;
1125
+ }
1126
+ .ui.inverted.cards > .card > .content > a.header,
1127
+ .ui.inverted.card > .content > a.header {
1128
+ color: @invertedHeaderLinkColor;
1129
+ &:hover {
1130
+ color: @invertedHeaderLinkHoverColor;
1131
+ }
1132
+ }
1166
1133
  }
1167
- .ui.inverted.cards > .card > .extra a:not(.ui),
1168
- .ui.inverted.card > .extra a:not(.ui) {
1169
- color: @invertedExtraLinkColor;
1134
+
1135
+ & when (@variationCardDescription) {
1136
+ /* Description */
1137
+ .ui.inverted.cards > .card > .content > .description,
1138
+ .ui.inverted.card > .content > .description {
1139
+ color: @invertedDescriptionColor;
1140
+ }
1170
1141
  }
1171
- .ui.inverted.cards > .card > .extra a:not(.ui):hover,
1172
- .ui.inverted.card > .extra a:not(.ui):hover {
1173
- color: @extraLinkHoverColor;
1142
+
1143
+ & when (@variationCardMeta) {
1144
+ /* Meta */
1145
+ .ui.inverted.cards > .card .meta,
1146
+ .ui.inverted.card .meta {
1147
+ color: @invertedMetaColor;
1148
+ }
1149
+ .ui.inverted.cards > .card .meta > a:not(.ui),
1150
+ .ui.inverted.card .meta > a:not(.ui) {
1151
+ color: @invertedMetaLinkColor;
1152
+ }
1153
+ .ui.inverted.cards > .card .meta > a:not(.ui):hover,
1154
+ .ui.inverted.card .meta > a:not(.ui):hover {
1155
+ color: @invertedMetaLinkHoverColor;
1156
+ }
1174
1157
  }
1175
- }
1176
1158
 
1177
- & when (@variationCardLink) {
1178
- /* Link card(s) */
1179
- .ui.inverted.cards a.card:hover,
1180
- .ui.inverted.link.cards .card:not(.icon):hover,
1181
- a.inverted.ui.card:hover,
1182
- .ui.inverted.link.card:hover {
1183
- background: @invertedLinkHoverBackground;
1159
+ & when (@variationCardExtra) {
1160
+ /* Extra */
1161
+ .ui.inverted.cards > .card > .extra,
1162
+ .ui.inverted.card > .extra {
1163
+ border-top: @invertedExtraDivider !important;
1164
+ color: @invertedExtraColor;
1165
+ }
1166
+ .ui.inverted.cards > .card > .extra a:not(.ui),
1167
+ .ui.inverted.card > .extra a:not(.ui) {
1168
+ color: @invertedExtraLinkColor;
1169
+ }
1170
+ .ui.inverted.cards > .card > .extra a:not(.ui):hover,
1171
+ .ui.inverted.card > .extra a:not(.ui):hover {
1172
+ color: @extraLinkHoverColor;
1173
+ }
1184
1174
  }
1185
- }
1186
1175
 
1187
- & when (@variationCardLoading) {
1188
- /* Loading */
1189
- .ui.inverted.loading.card {
1190
- color: @invertedLoaderLineColor;
1176
+ & when (@variationCardLink) {
1177
+ /* Link card(s) */
1178
+ .ui.inverted.cards a.card:hover,
1179
+ .ui.inverted.link.cards .card:not(.icon):hover,
1180
+ a.inverted.ui.card:hover,
1181
+ .ui.inverted.link.card:hover {
1182
+ background: @invertedLinkHoverBackground;
1183
+ }
1191
1184
  }
1192
- .ui.inverted.loading.card::before {
1193
- background: @loaderInvertedDimmerColor;
1185
+
1186
+ & when (@variationCardLoading) {
1187
+ /* Loading */
1188
+ .ui.inverted.loading.card {
1189
+ color: @invertedLoaderLineColor;
1190
+ }
1191
+ .ui.inverted.loading.card::before {
1192
+ background: @loaderInvertedDimmerColor;
1193
+ }
1194
1194
  }
1195
- }
1196
1195
  }
1197
1196
 
1198
-
1199
1197
  .loadUIOverrides();