fomantic-ui 2.9.1-beta.0 → 2.9.1-beta.10

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 (277) hide show
  1. package/.github/workflows/ci.yml +1 -1
  2. package/README.md +2 -2
  3. package/dist/components/accordion.css +3 -3
  4. package/dist/components/accordion.js +3 -3
  5. package/dist/components/accordion.min.css +3 -3
  6. package/dist/components/accordion.min.js +3 -3
  7. package/dist/components/ad.css +3 -3
  8. package/dist/components/ad.min.css +3 -3
  9. package/dist/components/api.js +3 -3
  10. package/dist/components/api.min.js +3 -3
  11. package/dist/components/breadcrumb.css +3 -3
  12. package/dist/components/breadcrumb.min.css +3 -3
  13. package/dist/components/button.css +3 -13
  14. package/dist/components/button.min.css +3 -3
  15. package/dist/components/calendar.css +15 -11
  16. package/dist/components/calendar.js +19 -10
  17. package/dist/components/calendar.min.css +4 -4
  18. package/dist/components/calendar.min.js +4 -4
  19. package/dist/components/card.css +3 -3
  20. package/dist/components/card.min.css +3 -3
  21. package/dist/components/checkbox.css +3 -3
  22. package/dist/components/checkbox.js +3 -3
  23. package/dist/components/checkbox.min.css +3 -3
  24. package/dist/components/checkbox.min.js +3 -3
  25. package/dist/components/comment.css +3 -3
  26. package/dist/components/comment.min.css +3 -3
  27. package/dist/components/container.css +3 -3
  28. package/dist/components/container.min.css +3 -3
  29. package/dist/components/dimmer.css +3 -3
  30. package/dist/components/dimmer.js +3 -3
  31. package/dist/components/dimmer.min.css +3 -3
  32. package/dist/components/dimmer.min.js +3 -3
  33. package/dist/components/divider.css +3 -3
  34. package/dist/components/divider.min.css +3 -3
  35. package/dist/components/dropdown.css +3 -3
  36. package/dist/components/dropdown.js +3 -3
  37. package/dist/components/dropdown.min.css +3 -3
  38. package/dist/components/dropdown.min.js +3 -3
  39. package/dist/components/embed.css +3 -3
  40. package/dist/components/embed.js +3 -3
  41. package/dist/components/embed.min.css +3 -3
  42. package/dist/components/embed.min.js +3 -3
  43. package/dist/components/feed.css +3 -3
  44. package/dist/components/feed.min.css +3 -3
  45. package/dist/components/flag.css +3 -3
  46. package/dist/components/flag.min.css +3 -3
  47. package/dist/components/flyout.css +3 -3
  48. package/dist/components/flyout.js +3 -3
  49. package/dist/components/flyout.min.css +3 -3
  50. package/dist/components/flyout.min.js +3 -3
  51. package/dist/components/form.css +3 -3
  52. package/dist/components/form.js +3 -3
  53. package/dist/components/form.min.css +3 -3
  54. package/dist/components/form.min.js +3 -3
  55. package/dist/components/grid.css +3 -3
  56. package/dist/components/grid.min.css +3 -3
  57. package/dist/components/header.css +3 -3
  58. package/dist/components/header.min.css +3 -3
  59. package/dist/components/icon.css +6 -16
  60. package/dist/components/icon.min.css +4 -4
  61. package/dist/components/image.css +3 -3
  62. package/dist/components/image.min.css +3 -3
  63. package/dist/components/input.css +3 -3
  64. package/dist/components/input.min.css +3 -3
  65. package/dist/components/item.css +3 -3
  66. package/dist/components/item.min.css +3 -3
  67. package/dist/components/label.css +3 -3
  68. package/dist/components/label.min.css +3 -3
  69. package/dist/components/list.css +3 -3
  70. package/dist/components/list.min.css +3 -3
  71. package/dist/components/loader.css +3 -3
  72. package/dist/components/loader.min.css +3 -3
  73. package/dist/components/menu.css +2 -2
  74. package/dist/components/message.css +3 -3
  75. package/dist/components/message.min.css +3 -3
  76. package/dist/components/modal.css +3 -3
  77. package/dist/components/modal.js +3 -3
  78. package/dist/components/modal.min.css +3 -3
  79. package/dist/components/modal.min.js +3 -3
  80. package/dist/components/nag.css +5 -6
  81. package/dist/components/nag.js +3 -3
  82. package/dist/components/nag.min.css +4 -4
  83. package/dist/components/nag.min.js +3 -3
  84. package/dist/components/placeholder.css +3 -3
  85. package/dist/components/placeholder.min.css +3 -3
  86. package/dist/components/popup.css +303 -3
  87. package/dist/components/popup.js +3 -3
  88. package/dist/components/popup.min.css +4 -4
  89. package/dist/components/popup.min.js +3 -3
  90. package/dist/components/progress.css +3 -3
  91. package/dist/components/progress.js +3 -3
  92. package/dist/components/progress.min.css +3 -3
  93. package/dist/components/progress.min.js +3 -3
  94. package/dist/components/rail.css +3 -3
  95. package/dist/components/rail.min.css +3 -3
  96. package/dist/components/rating.css +4 -4
  97. package/dist/components/rating.js +3 -3
  98. package/dist/components/rating.min.css +4 -4
  99. package/dist/components/rating.min.js +3 -3
  100. package/dist/components/reset.css +3 -3
  101. package/dist/components/reset.min.css +3 -3
  102. package/dist/components/reveal.css +3 -3
  103. package/dist/components/reveal.min.css +3 -3
  104. package/dist/components/search.css +3 -3
  105. package/dist/components/search.js +3 -3
  106. package/dist/components/search.min.css +3 -3
  107. package/dist/components/search.min.js +3 -3
  108. package/dist/components/segment.css +3 -3
  109. package/dist/components/segment.min.css +3 -3
  110. package/dist/components/shape.css +3 -3
  111. package/dist/components/shape.js +3 -3
  112. package/dist/components/shape.min.css +3 -3
  113. package/dist/components/shape.min.js +3 -3
  114. package/dist/components/sidebar.css +3 -3
  115. package/dist/components/sidebar.js +3 -3
  116. package/dist/components/sidebar.min.css +3 -3
  117. package/dist/components/sidebar.min.js +3 -3
  118. package/dist/components/site.css +3 -3
  119. package/dist/components/site.js +3 -3
  120. package/dist/components/site.min.css +3 -3
  121. package/dist/components/site.min.js +3 -3
  122. package/dist/components/slider.js +3 -3
  123. package/dist/components/slider.min.js +3 -3
  124. package/dist/components/state.js +3 -3
  125. package/dist/components/state.min.js +3 -3
  126. package/dist/components/statistic.css +3 -3
  127. package/dist/components/statistic.min.css +3 -3
  128. package/dist/components/step.css +3 -3
  129. package/dist/components/step.min.css +3 -3
  130. package/dist/components/sticky.css +3 -3
  131. package/dist/components/sticky.js +3 -3
  132. package/dist/components/sticky.min.css +3 -3
  133. package/dist/components/sticky.min.js +3 -3
  134. package/dist/components/tab.css +3 -3
  135. package/dist/components/tab.js +3 -3
  136. package/dist/components/tab.min.css +3 -3
  137. package/dist/components/tab.min.js +3 -3
  138. package/dist/components/table.css +5 -5
  139. package/dist/components/table.min.css +4 -4
  140. package/dist/components/text.css +2 -2
  141. package/dist/components/text.min.css +2 -2
  142. package/dist/components/toast.css +3 -3
  143. package/dist/components/toast.js +3 -3
  144. package/dist/components/toast.min.css +3 -3
  145. package/dist/components/toast.min.js +3 -3
  146. package/dist/components/transition.css +149 -3
  147. package/dist/components/transition.js +3 -3
  148. package/dist/components/transition.min.css +4 -4
  149. package/dist/components/transition.min.js +3 -3
  150. package/dist/components/visibility.js +3 -3
  151. package/dist/components/visibility.min.js +3 -3
  152. package/dist/semantic.css +697 -185
  153. package/dist/semantic.js +94 -85
  154. package/dist/semantic.min.css +4 -4
  155. package/dist/semantic.min.js +4 -4
  156. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  157. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  158. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  159. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  160. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  161. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  162. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  163. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  164. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  165. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  166. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  167. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  168. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  169. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  170. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  171. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  172. package/package.json +3 -5
  173. package/src/definitions/behaviors/api.js +2 -2
  174. package/src/definitions/behaviors/form.js +2 -2
  175. package/src/definitions/behaviors/state.js +2 -2
  176. package/src/definitions/behaviors/visibility.js +2 -2
  177. package/src/definitions/collections/breadcrumb.less +2 -2
  178. package/src/definitions/collections/form.less +4 -4
  179. package/src/definitions/collections/grid.less +2 -2
  180. package/src/definitions/collections/menu.less +2 -2
  181. package/src/definitions/collections/message.less +2 -2
  182. package/src/definitions/collections/table.less +4 -4
  183. package/src/definitions/elements/button.less +86 -94
  184. package/src/definitions/elements/container.less +2 -2
  185. package/src/definitions/elements/divider.less +2 -2
  186. package/src/definitions/elements/flag.less +2 -2
  187. package/src/definitions/elements/header.less +2 -2
  188. package/src/definitions/elements/icon.less +80 -6
  189. package/src/definitions/elements/image.less +2 -2
  190. package/src/definitions/elements/input.less +11 -10
  191. package/src/definitions/elements/label.less +2 -2
  192. package/src/definitions/elements/list.less +2 -2
  193. package/src/definitions/elements/loader.less +2 -2
  194. package/src/definitions/elements/placeholder.less +2 -2
  195. package/src/definitions/elements/rail.less +2 -2
  196. package/src/definitions/elements/reveal.less +2 -2
  197. package/src/definitions/elements/segment.less +2 -2
  198. package/src/definitions/elements/step.less +2 -2
  199. package/src/definitions/elements/text.less +1 -1
  200. package/src/definitions/globals/reset.less +2 -2
  201. package/src/definitions/globals/site.js +2 -2
  202. package/src/definitions/globals/site.less +2 -2
  203. package/src/definitions/modules/accordion.js +2 -2
  204. package/src/definitions/modules/accordion.less +2 -2
  205. package/src/definitions/modules/calendar.js +18 -9
  206. package/src/definitions/modules/calendar.less +14 -10
  207. package/src/definitions/modules/checkbox.js +2 -2
  208. package/src/definitions/modules/checkbox.less +2 -2
  209. package/src/definitions/modules/dimmer.js +2 -2
  210. package/src/definitions/modules/dimmer.less +2 -2
  211. package/src/definitions/modules/dropdown.js +2 -2
  212. package/src/definitions/modules/dropdown.less +2 -2
  213. package/src/definitions/modules/embed.js +2 -2
  214. package/src/definitions/modules/embed.less +2 -2
  215. package/src/definitions/modules/flyout.js +2 -2
  216. package/src/definitions/modules/flyout.less +2 -2
  217. package/src/definitions/modules/modal.js +2 -2
  218. package/src/definitions/modules/modal.less +2 -2
  219. package/src/definitions/modules/nag.js +2 -2
  220. package/src/definitions/modules/nag.less +2 -3
  221. package/src/definitions/modules/popup.js +2 -2
  222. package/src/definitions/modules/popup.less +52 -2
  223. package/src/definitions/modules/progress.js +2 -2
  224. package/src/definitions/modules/progress.less +2 -2
  225. package/src/definitions/modules/rating.js +2 -2
  226. package/src/definitions/modules/rating.less +3 -3
  227. package/src/definitions/modules/search.js +2 -2
  228. package/src/definitions/modules/search.less +2 -2
  229. package/src/definitions/modules/shape.js +2 -2
  230. package/src/definitions/modules/shape.less +2 -2
  231. package/src/definitions/modules/sidebar.js +2 -2
  232. package/src/definitions/modules/sidebar.less +2 -2
  233. package/src/definitions/modules/slider.js +2 -2
  234. package/src/definitions/modules/sticky.js +2 -2
  235. package/src/definitions/modules/sticky.less +2 -2
  236. package/src/definitions/modules/tab.js +2 -2
  237. package/src/definitions/modules/tab.less +2 -2
  238. package/src/definitions/modules/toast.js +2 -2
  239. package/src/definitions/modules/toast.less +2 -2
  240. package/src/definitions/modules/transition.js +2 -2
  241. package/src/definitions/modules/transition.less +38 -3
  242. package/src/definitions/views/ad.less +2 -2
  243. package/src/definitions/views/card.less +2 -2
  244. package/src/definitions/views/comment.less +2 -2
  245. package/src/definitions/views/feed.less +2 -2
  246. package/src/definitions/views/item.less +2 -2
  247. package/src/definitions/views/statistic.less +2 -2
  248. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  249. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  250. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  251. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  252. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  253. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  254. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  255. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  256. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  257. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  258. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  259. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  260. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  261. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  262. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  263. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  264. package/src/themes/default/elements/icon.variables +18 -0
  265. package/src/themes/default/globals/site.variables +1 -0
  266. package/src/themes/default/globals/variation.variables +9 -1
  267. package/src/themes/default/modules/calendar.variables +2 -0
  268. package/src/themes/default/modules/nag.variables +1 -1
  269. package/src/themes/default/modules/transition.variables +8 -1
  270. package/tasks/build/css.js +3 -3
  271. package/tasks/build/javascript.js +3 -3
  272. package/tasks/config/defaults.js +2 -0
  273. package/tasks/config/project/config.js +2 -2
  274. package/tasks/config/project/release.js +2 -2
  275. package/tasks/config/tasks.js +17 -7
  276. package/tasks/config/user.js +4 -1
  277. package/tasks/install.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fomantic-ui",
3
- "version": "2.9.1-beta.0+a290620",
3
+ "version": "2.9.1-beta.10+0533782",
4
4
  "description": "Fomantic empowers designers and developers by creating a shared vocabulary for UI.",
5
5
  "keywords": [
6
6
  "fomantic-ui",
@@ -29,11 +29,11 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@actions/core": "^1.6.0",
32
- "@octokit/core": ">=3",
32
+ "@octokit/core": "^3.6.0",
33
33
  "@octokit/rest": "^16.16.0",
34
34
  "better-console": "1.0.1",
35
35
  "browserslist": "^4.19.1",
36
- "del": "^3.0.0",
36
+ "del": "^6.1.1",
37
37
  "extend": "^3.0.2",
38
38
  "gulp": "^4.0.0",
39
39
  "gulp-autoprefixer": "^6.0.0",
@@ -44,7 +44,6 @@
44
44
  "gulp-concat-css": "^3.1.0",
45
45
  "gulp-concat-filenames": "^1.2.0",
46
46
  "gulp-copy": "^4.0.0",
47
- "gulp-debug": "^4.0.0",
48
47
  "gulp-dedupe": "0.0.2",
49
48
  "gulp-flatten": "^0.4.0",
50
49
  "gulp-git": "^2.9.0",
@@ -52,7 +51,6 @@
52
51
  "gulp-if": "^2.0.2",
53
52
  "gulp-json-editor": "^2.4.3",
54
53
  "gulp-less": "^5.0.0",
55
- "gulp-notify": "^3.0.0",
56
54
  "gulp-plumber": "^1.1.0",
57
55
  "gulp-print": "^5.0.0",
58
56
  "gulp-rename": "^1.4.0",
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - API
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Form Validation
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - State
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Visibility
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Breadcrumb
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Form
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -591,7 +591,7 @@
591
591
  border-radius: @formStates[@@state][borderRadius];
592
592
  box-shadow: @formStates[@@state][boxShadow];
593
593
  }
594
- & when (@state=error) {
594
+ & when (@state=error) and (@variationFormInvalid) {
595
595
  .ui.form .field input:not(:placeholder-shown):invalid {
596
596
  color: @c;
597
597
  background: @bg;
@@ -760,7 +760,7 @@
760
760
  .ui.form .disabled.fields .field,
761
761
  .ui.form .disabled.field,
762
762
  .ui.form .field :disabled {
763
- pointer-events: none;
763
+ pointer-events: @disabledPointerEvents;
764
764
  opacity: @disabledOpacity;
765
765
  }
766
766
  .ui.form .field.disabled > label,
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Grid
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * # Fomantic - Menu
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Copyright 2015 Contributor
7
7
  * Released under the MIT license
8
- * http://opensource.org/licenses/MIT
8
+ * https://opensource.org/licenses/MIT
9
9
  *
10
10
  */
11
11
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Message
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Table
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1556,8 +1556,8 @@
1556
1556
  border-color: @invertedCellBorderColor;
1557
1557
  }
1558
1558
  & when (@variationTableDisabled) {
1559
- .ui.inverted.table tr.disabled td,
1560
- .ui.inverted.table tr td.disabled,
1559
+ .ui.ui.ui.inverted.table tr.disabled td,
1560
+ .ui.ui.ui.inverted.table tr td.disabled,
1561
1561
  .ui.inverted.table tr.disabled:hover td,
1562
1562
  .ui.inverted.table tr:hover td.disabled {
1563
1563
  pointer-events: none;
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Button
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1756,101 +1756,93 @@
1756
1756
  })
1757
1757
  }
1758
1758
 
1759
- .addConsequence(@consequence) {
1760
-
1761
- @_backgroundColor: "@{consequence}Color";
1762
- @_backgroundColorHover: "@{consequence}ColorHover";
1763
- @_backgroundColorFocus: "@{consequence}ColorFocus";
1764
- @_backgroundColorDown: "@{consequence}ColorDown";
1765
- @_backgroundColorActive: "@{consequence}ColorActive";
1766
- @_textColor: "@{consequence}TextColor";
1767
- @_textShadow: "@{consequence}TextShadow";
1768
-
1769
- /* Standard */
1770
- .ui.@{consequence}.buttons .button,
1771
- .ui.@{consequence}.button {
1772
- background-color: @@_backgroundColor;
1773
- color: @@_textColor;
1774
- text-shadow: @@_textShadow;
1775
- background-image: @coloredBackgroundImage;
1776
- }
1777
- .ui.@{consequence}.button {
1778
- box-shadow: @coloredBoxShadow;
1779
- }
1780
- .ui.@{consequence}.buttons .button:hover,
1781
- .ui.@{consequence}.button:hover {
1782
- background-color: @@_backgroundColorHover;
1783
- color: @@_textColor;
1784
- text-shadow: @@_textShadow;
1785
- }
1786
- .ui.@{consequence}.buttons .button:focus,
1787
- .ui.@{consequence}.button:focus {
1788
- background-color: @@_backgroundColorFocus;
1789
- color: @@_textColor;
1790
- text-shadow: @@_textShadow;
1791
- }
1792
- .ui.@{consequence}.buttons .button:active,
1793
- .ui.@{consequence}.button:active {
1794
- background-color: @@_backgroundColorDown;
1795
- color: @@_textColor;
1796
- text-shadow: @@_textShadow;
1797
- }
1798
- .ui.@{consequence}.buttons .active.button,
1799
- .ui.@{consequence}.buttons .active.button:active,
1800
- .ui.@{consequence}.active.button,
1801
- .ui.@{consequence}.button .active.button:active {
1802
- background-color: @@_backgroundColorActive;
1803
- color: @@_textColor;
1804
- text-shadow: @@_textShadow;
1805
- }
1806
- & when (@variationButtonBasic) {
1807
- /* Basic */
1808
- .ui.basic.@{consequence}.buttons .button,
1809
- .ui.basic.@{consequence}.button {
1810
- background: transparent;
1811
- box-shadow: 0 0 0 @basicBorderSize @@_backgroundColor inset;
1812
- color: @@_backgroundColor;
1813
- }
1814
- .ui.basic.@{consequence}.buttons .button:hover,
1815
- .ui.basic.@{consequence}.button:hover {
1816
- background: transparent;
1817
- box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorHover inset;
1818
- color: @@_backgroundColorHover;
1819
- }
1820
- .ui.basic.@{consequence}.buttons .button:focus,
1821
- .ui.basic.@{consequence}.button:focus {
1822
- background: transparent;
1823
- box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorFocus inset;
1824
- color: @@_backgroundColorHover;
1825
- }
1826
- .ui.basic.@{consequence}.buttons .active.button,
1827
- .ui.basic.@{consequence}.active.button {
1828
- background: transparent;
1829
- box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorActive inset;
1830
- color: @@_backgroundColorDown;
1831
- }
1832
- .ui.basic.@{consequence}.buttons .button:active,
1833
- .ui.basic.@{consequence}.button:active {
1834
- box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorDown inset;
1835
- color: @@_backgroundColorDown;
1836
- }
1837
- .ui.buttons:not(.vertical) > .basic.@{consequence}.button:not(:first-child) {
1838
- margin-left: -@basicColoredBorderSize;
1759
+ & when not (@variationButtonConsequences = false) {
1760
+ each(@variationButtonConsequences, {
1761
+ @consequence: @value;
1762
+
1763
+ @_backgroundColor: "@{consequence}Color";
1764
+ @_backgroundColorHover: "@{consequence}ColorHover";
1765
+ @_backgroundColorFocus: "@{consequence}ColorFocus";
1766
+ @_backgroundColorDown: "@{consequence}ColorDown";
1767
+ @_backgroundColorActive: "@{consequence}ColorActive";
1768
+ @_textColor: "@{consequence}TextColor";
1769
+ @_textShadow: "@{consequence}TextShadow";
1770
+
1771
+ /* Standard */
1772
+ .ui.@{consequence}.buttons .button,
1773
+ .ui.@{consequence}.button {
1774
+ background-color: @@_backgroundColor;
1775
+ color: @@_textColor;
1776
+ text-shadow: @@_textShadow;
1777
+ background-image: @coloredBackgroundImage;
1839
1778
  }
1840
- }
1779
+ .ui.@{consequence}.button {
1780
+ box-shadow: @coloredBoxShadow;
1781
+ }
1782
+ .ui.@{consequence}.buttons .button:hover,
1783
+ .ui.@{consequence}.button:hover {
1784
+ background-color: @@_backgroundColorHover;
1785
+ color: @@_textColor;
1786
+ text-shadow: @@_textShadow;
1787
+ }
1788
+ .ui.@{consequence}.buttons .button:focus,
1789
+ .ui.@{consequence}.button:focus {
1790
+ background-color: @@_backgroundColorFocus;
1791
+ color: @@_textColor;
1792
+ text-shadow: @@_textShadow;
1793
+ }
1794
+ .ui.@{consequence}.buttons .button:active,
1795
+ .ui.@{consequence}.button:active {
1796
+ background-color: @@_backgroundColorDown;
1797
+ color: @@_textColor;
1798
+ text-shadow: @@_textShadow;
1799
+ }
1800
+ .ui.@{consequence}.buttons .active.button,
1801
+ .ui.@{consequence}.buttons .active.button:active,
1802
+ .ui.@{consequence}.active.button,
1803
+ .ui.@{consequence}.button .active.button:active {
1804
+ background-color: @@_backgroundColorActive;
1805
+ color: @@_textColor;
1806
+ text-shadow: @@_textShadow;
1807
+ }
1808
+ & when (@variationButtonBasic) {
1809
+ /* Basic */
1810
+ .ui.basic.@{consequence}.buttons .button,
1811
+ .ui.basic.@{consequence}.button {
1812
+ background: transparent;
1813
+ box-shadow: 0 0 0 @basicBorderSize @@_backgroundColor inset;
1814
+ color: @@_backgroundColor;
1815
+ }
1816
+ .ui.basic.@{consequence}.buttons .button:hover,
1817
+ .ui.basic.@{consequence}.button:hover {
1818
+ background: transparent;
1819
+ box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorHover inset;
1820
+ color: @@_backgroundColorHover;
1821
+ }
1822
+ .ui.basic.@{consequence}.buttons .button:focus,
1823
+ .ui.basic.@{consequence}.button:focus {
1824
+ background: transparent;
1825
+ box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorFocus inset;
1826
+ color: @@_backgroundColorHover;
1827
+ }
1828
+ .ui.basic.@{consequence}.buttons .active.button,
1829
+ .ui.basic.@{consequence}.active.button {
1830
+ background: transparent;
1831
+ box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorActive inset;
1832
+ color: @@_backgroundColorDown;
1833
+ }
1834
+ .ui.basic.@{consequence}.buttons .button:active,
1835
+ .ui.basic.@{consequence}.button:active {
1836
+ box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorDown inset;
1837
+ color: @@_backgroundColorDown;
1838
+ }
1839
+ .ui.buttons:not(.vertical) > .basic.@{consequence}.button:not(:first-child) {
1840
+ margin-left: -@basicColoredBorderSize;
1841
+ }
1842
+ }
1843
+ })
1841
1844
  }
1842
1845
 
1843
- /*---------------
1844
- Positive
1845
- ----------------*/
1846
-
1847
- .addConsequence(positive);
1848
-
1849
- /*---------------
1850
- Negative
1851
- ----------------*/
1852
-
1853
- .addConsequence(negative);
1854
1846
 
1855
1847
  & when (@variationButtonGroups) {
1856
1848
  /*******************************
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Container
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Divider
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Flag
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Header
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Icon
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10
 
@@ -163,7 +163,7 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
163
163
  transform: scale(1, -1);
164
164
  }
165
165
 
166
- & when(@variationIconGroups) {
166
+ & when (@variationIconGroups) {
167
167
  .icons i.flipped.icon:not(.corner):not(:first-child),
168
168
  .icons i.horizontally.flipped.icon:not(.corner):not(:first-child) {
169
169
  transform: translateX(-50%) translateY(-50%) scale(-1, 1);
@@ -194,7 +194,7 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
194
194
  transform: rotate(180deg);
195
195
  }
196
196
 
197
- & when(@variationIconGroups) {
197
+ & when (@variationIconGroups) {
198
198
  .icons i.rotated.rotated.icon:not(.corner):not(:first-child),
199
199
  .icons i.right.rotated.icon:not(.corner):not(:first-child),
200
200
  .icons i.clockwise.rotated.icon:not(.corner):not(:first-child) {
@@ -245,7 +245,7 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
245
245
  transform: scale(1, -1) rotate(180deg);
246
246
  }
247
247
 
248
- & when(@variationIconGroups) {
248
+ & when (@variationIconGroups) {
249
249
  .icons i.rotated.flipped.icon:not(.corner):not(:first-child),
250
250
  .icons i.right.rotated.flipped.icon:not(.corner):not(:first-child),
251
251
  .icons i.clockwise.rotated.flipped.icon:not(.corner):not(:first-child) {
@@ -529,6 +529,16 @@ i.icons {
529
529
  });
530
530
  };
531
531
 
532
+ .generateSecondaryIcons(@map) {
533
+ each(@map,{
534
+ @escapedKey: replace(@key,'^([0-9])','\3$1 ');
535
+ @normalizedKey: replace(@escapedKey,'_','.','g');
536
+ i.icon.@{normalizedKey}::after {
537
+ content: "@{value}";
538
+ }
539
+ });
540
+ };
541
+
532
542
  & when (@variationIconDeprecated) {
533
543
 
534
544
  /* Deprecated *In/Out Naming Conflict) */
@@ -584,7 +594,7 @@ i.icons {
584
594
  }
585
595
  }
586
596
 
587
- & when(@variationIconBrand) {
597
+ & when (@variationIconBrand) {
588
598
  /*******************************
589
599
  Brand Icons
590
600
  *******************************/
@@ -598,4 +608,68 @@ i.icons {
598
608
  }
599
609
  }
600
610
 
611
+ & when (@variationIconDuotone) {
612
+ /*******************************
613
+ Duotone Icons
614
+ *******************************/
615
+
616
+ /* Make duotone icons use the proper font */
617
+ i.icon.duotone {
618
+ font-family: @duotoneFontName;
619
+ /* To position the secondary layer on top of the first layer */
620
+ position: relative;
621
+ }
622
+
623
+ /* Set the default opacity levels and colors for each layer */
624
+ i.icon.duotone::before {
625
+ color: @duotonePrimaryColor;
626
+ opacity: @duotonePrimaryOpacity;
627
+ }
628
+
629
+ i.icon.duotone::after {
630
+ /* Position secondary layer to the left, centered horizontally and aligned vertically to flex with different line heights */
631
+ position: absolute;
632
+ left: 0;
633
+ top: 50%;
634
+ transform: translateY(-50%);
635
+ text-align: center;
636
+
637
+ color: @duotoneSecondaryColor;
638
+ opacity: @duotoneSecondaryOpacity;
639
+ }
640
+
641
+ .generateIcons(@icon-duotone-map,false);
642
+ .generateSecondaryIcons(@icon-duotone-secondary-map);
643
+
644
+ & when (@variationIconAliases) {
645
+
646
+ /* Aliases */
647
+ .generateIcons(@icon-duotone-aliases-map,false);
648
+ .generateSecondaryIcons(@icon-duotone-secondary-aliases-map);
649
+ }
650
+
651
+ /*
652
+ * Colors for duotone icons, in the form `primary-secondary`(e.g. `black-grey duotone icon`).
653
+ */
654
+ & when not (@variationIconColors = false) {
655
+ each(@variationIconColors, {
656
+ @color: @value;
657
+ @c: @colors[@@color][color];
658
+ @l: @colors[@@color][light];
659
+
660
+ i.icon.duotone[class*="@{color}-"]::before,
661
+ i.icon.duotone[class*="-@{color}"]::after {
662
+ color: @c;
663
+ }
664
+
665
+ & when (@variationIconInverted) {
666
+ i.icon.inverted.duotone[class*="@{color}-"]::before,
667
+ i.icon.inverted.duotone[class*="-@{color}"]::after {
668
+ color: @l;
669
+ }
670
+ }
671
+ })
672
+ }
673
+ }
674
+
601
675
  .loadUIOverrides();
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * # Fomantic-UI - Image
3
- * http://github.com/fomantic/Fomantic-UI/
3
+ * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
- * http://opensource.org/licenses/MIT
7
+ * https://opensource.org/licenses/MIT
8
8
  *
9
9
  */
10
10