fomantic-ui 2.9.1-beta.2 → 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 (339) hide show
  1. package/.eslintrc.js +110 -0
  2. package/.github/workflows/ci.yml +14 -4
  3. package/.stylelintrc.js +46 -0
  4. package/dist/components/accordion.css +19 -26
  5. package/dist/components/accordion.js +568 -595
  6. package/dist/components/accordion.min.css +1 -1
  7. package/dist/components/accordion.min.js +2 -2
  8. package/dist/components/ad.css +31 -41
  9. package/dist/components/ad.min.css +1 -1
  10. package/dist/components/api.js +1161 -1179
  11. package/dist/components/api.min.js +2 -2
  12. package/dist/components/breadcrumb.css +1 -1
  13. package/dist/components/breadcrumb.min.css +1 -1
  14. package/dist/components/button.css +71 -106
  15. package/dist/components/button.min.css +1 -1
  16. package/dist/components/calendar.css +18 -16
  17. package/dist/components/calendar.js +1895 -1809
  18. package/dist/components/calendar.min.css +2 -2
  19. package/dist/components/calendar.min.js +2 -2
  20. package/dist/components/card.css +83 -115
  21. package/dist/components/card.min.css +1 -1
  22. package/dist/components/checkbox.css +47 -64
  23. package/dist/components/checkbox.js +842 -841
  24. package/dist/components/checkbox.min.css +1 -1
  25. package/dist/components/checkbox.min.js +2 -2
  26. package/dist/components/comment.css +37 -51
  27. package/dist/components/comment.min.css +1 -1
  28. package/dist/components/container.css +6 -5
  29. package/dist/components/container.min.css +2 -2
  30. package/dist/components/dimmer.css +31 -41
  31. package/dist/components/dimmer.js +708 -737
  32. package/dist/components/dimmer.min.css +1 -1
  33. package/dist/components/dimmer.min.js +2 -2
  34. package/dist/components/divider.css +32 -44
  35. package/dist/components/divider.min.css +1 -1
  36. package/dist/components/dropdown.css +129 -166
  37. package/dist/components/dropdown.js +4161 -4234
  38. package/dist/components/dropdown.min.css +2 -2
  39. package/dist/components/dropdown.min.js +2 -2
  40. package/dist/components/embed.css +13 -19
  41. package/dist/components/embed.js +651 -675
  42. package/dist/components/embed.min.css +1 -1
  43. package/dist/components/embed.min.js +2 -2
  44. package/dist/components/emoji.css +7 -6
  45. package/dist/components/feed.css +24 -32
  46. package/dist/components/feed.min.css +1 -1
  47. package/dist/components/flag.css +5 -3
  48. package/dist/components/flag.min.css +1 -1
  49. package/dist/components/flyout.css +44 -58
  50. package/dist/components/flyout.js +1464 -1465
  51. package/dist/components/flyout.min.css +2 -2
  52. package/dist/components/flyout.min.js +2 -2
  53. package/dist/components/form.css +85 -111
  54. package/dist/components/form.js +1979 -2004
  55. package/dist/components/form.min.css +1 -1
  56. package/dist/components/form.min.js +2 -2
  57. package/dist/components/grid.css +70 -96
  58. package/dist/components/grid.min.css +1 -1
  59. package/dist/components/header.css +47 -65
  60. package/dist/components/header.min.css +1 -1
  61. package/dist/components/icon.css +45 -66
  62. package/dist/components/icon.min.css +2 -2
  63. package/dist/components/image.css +32 -42
  64. package/dist/components/image.min.css +1 -1
  65. package/dist/components/input.css +182 -65
  66. package/dist/components/input.min.css +2 -2
  67. package/dist/components/item.css +55 -77
  68. package/dist/components/item.min.css +1 -1
  69. package/dist/components/label.css +68 -91
  70. package/dist/components/label.min.css +2 -2
  71. package/dist/components/list.css +44 -59
  72. package/dist/components/list.min.css +1 -1
  73. package/dist/components/loader.css +16 -22
  74. package/dist/components/loader.min.css +1 -1
  75. package/dist/components/menu.css +126 -186
  76. package/dist/components/message.css +25 -35
  77. package/dist/components/message.min.css +1 -1
  78. package/dist/components/modal.css +39 -40
  79. package/dist/components/modal.js +1491 -1485
  80. package/dist/components/modal.min.css +2 -2
  81. package/dist/components/modal.min.js +2 -2
  82. package/dist/components/nag.css +21 -28
  83. package/dist/components/nag.js +518 -526
  84. package/dist/components/nag.min.css +2 -2
  85. package/dist/components/nag.min.js +2 -2
  86. package/dist/components/placeholder.css +10 -12
  87. package/dist/components/placeholder.min.css +1 -1
  88. package/dist/components/popup.css +352 -59
  89. package/dist/components/popup.js +1437 -1456
  90. package/dist/components/popup.min.css +2 -2
  91. package/dist/components/popup.min.js +2 -2
  92. package/dist/components/progress.css +29 -39
  93. package/dist/components/progress.js +969 -997
  94. package/dist/components/progress.min.css +1 -1
  95. package/dist/components/progress.min.js +2 -2
  96. package/dist/components/rail.css +15 -20
  97. package/dist/components/rail.min.css +1 -1
  98. package/dist/components/rating.css +9 -13
  99. package/dist/components/rating.js +505 -523
  100. package/dist/components/rating.min.css +1 -1
  101. package/dist/components/rating.min.js +2 -2
  102. package/dist/components/reset.css +1 -1
  103. package/dist/components/reset.min.css +1 -1
  104. package/dist/components/reveal.css +19 -26
  105. package/dist/components/reveal.min.css +1 -1
  106. package/dist/components/search.css +43 -58
  107. package/dist/components/search.js +1498 -1534
  108. package/dist/components/search.min.css +2 -2
  109. package/dist/components/search.min.js +2 -2
  110. package/dist/components/segment.css +64 -83
  111. package/dist/components/segment.min.css +2 -2
  112. package/dist/components/shape.css +10 -14
  113. package/dist/components/shape.js +792 -809
  114. package/dist/components/shape.min.css +1 -1
  115. package/dist/components/shape.min.js +2 -2
  116. package/dist/components/sidebar.css +43 -58
  117. package/dist/components/sidebar.js +1071 -1098
  118. package/dist/components/sidebar.min.css +2 -2
  119. package/dist/components/sidebar.min.js +2 -2
  120. package/dist/components/site.css +5 -5
  121. package/dist/components/site.js +462 -476
  122. package/dist/components/site.min.css +1 -1
  123. package/dist/components/site.min.js +2 -2
  124. package/dist/components/slider.css +27 -37
  125. package/dist/components/slider.js +1287 -1306
  126. package/dist/components/slider.min.js +2 -2
  127. package/dist/components/state.js +639 -657
  128. package/dist/components/state.min.js +2 -2
  129. package/dist/components/statistic.css +32 -41
  130. package/dist/components/statistic.min.css +2 -2
  131. package/dist/components/step.css +26 -35
  132. package/dist/components/step.min.css +1 -1
  133. package/dist/components/sticky.css +1 -1
  134. package/dist/components/sticky.js +857 -902
  135. package/dist/components/sticky.min.css +1 -1
  136. package/dist/components/sticky.min.js +2 -2
  137. package/dist/components/tab.css +6 -8
  138. package/dist/components/tab.js +922 -963
  139. package/dist/components/tab.min.css +1 -1
  140. package/dist/components/tab.min.js +2 -2
  141. package/dist/components/table.css +93 -119
  142. package/dist/components/table.min.css +2 -2
  143. package/dist/components/text.css +1 -1
  144. package/dist/components/text.min.css +1 -1
  145. package/dist/components/toast.css +4 -6
  146. package/dist/components/toast.js +886 -887
  147. package/dist/components/toast.min.css +1 -1
  148. package/dist/components/toast.min.js +2 -2
  149. package/dist/components/transition.css +150 -3
  150. package/dist/components/transition.js +1041 -1077
  151. package/dist/components/transition.min.css +2 -2
  152. package/dist/components/transition.min.js +2 -2
  153. package/dist/components/visibility.js +1220 -1244
  154. package/dist/components/visibility.min.js +2 -2
  155. package/dist/semantic.css +2529 -1778
  156. package/dist/semantic.js +28928 -29383
  157. package/dist/semantic.min.css +2 -2
  158. package/dist/semantic.min.js +2 -2
  159. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  160. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  161. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  162. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  163. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  164. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  165. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  166. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  167. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  168. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  169. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  170. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  171. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  172. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  173. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  174. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  175. package/examples/assets/show-examples.js +13 -13
  176. package/gulpfile.js +9 -10
  177. package/package.json +13 -8
  178. package/scripts/nightly-version.js +81 -75
  179. package/src/definitions/behaviors/api.js +1162 -1180
  180. package/src/definitions/behaviors/form.js +1978 -2003
  181. package/src/definitions/behaviors/state.js +645 -663
  182. package/src/definitions/behaviors/visibility.js +1219 -1243
  183. package/src/definitions/collections/breadcrumb.less +41 -44
  184. package/src/definitions/collections/form.less +869 -879
  185. package/src/definitions/collections/grid.less +1690 -1695
  186. package/src/definitions/collections/menu.less +1493 -1503
  187. package/src/definitions/collections/message.less +292 -295
  188. package/src/definitions/collections/table.less +1616 -1620
  189. package/src/definitions/elements/button.less +1721 -1743
  190. package/src/definitions/elements/container.less +209 -209
  191. package/src/definitions/elements/divider.less +205 -206
  192. package/src/definitions/elements/emoji.less +38 -44
  193. package/src/definitions/elements/flag.less +44 -46
  194. package/src/definitions/elements/header.less +337 -345
  195. package/src/definitions/elements/icon.less +516 -443
  196. package/src/definitions/elements/image.less +221 -225
  197. package/src/definitions/elements/input.less +663 -659
  198. package/src/definitions/elements/label.less +803 -793
  199. package/src/definitions/elements/list.less +809 -809
  200. package/src/definitions/elements/loader.less +272 -266
  201. package/src/definitions/elements/placeholder.less +171 -168
  202. package/src/definitions/elements/rail.less +91 -91
  203. package/src/definitions/elements/reveal.less +192 -196
  204. package/src/definitions/elements/segment.less +743 -746
  205. package/src/definitions/elements/step.less +425 -433
  206. package/src/definitions/elements/text.less +32 -34
  207. package/src/definitions/globals/reset.less +9 -6
  208. package/src/definitions/globals/site.js +461 -475
  209. package/src/definitions/globals/site.less +106 -108
  210. package/src/definitions/modules/accordion.js +567 -594
  211. package/src/definitions/modules/accordion.less +242 -246
  212. package/src/definitions/modules/calendar.js +1894 -1808
  213. package/src/definitions/modules/calendar.less +98 -95
  214. package/src/definitions/modules/checkbox.js +841 -840
  215. package/src/definitions/modules/checkbox.less +536 -542
  216. package/src/definitions/modules/dimmer.js +707 -736
  217. package/src/definitions/modules/dimmer.less +300 -297
  218. package/src/definitions/modules/dropdown.js +4160 -4233
  219. package/src/definitions/modules/dropdown.less +1577 -1589
  220. package/src/definitions/modules/embed.js +650 -674
  221. package/src/definitions/modules/embed.less +81 -82
  222. package/src/definitions/modules/flyout.js +1463 -1464
  223. package/src/definitions/modules/flyout.less +445 -451
  224. package/src/definitions/modules/modal.js +1490 -1484
  225. package/src/definitions/modules/modal.less +459 -459
  226. package/src/definitions/modules/nag.js +517 -525
  227. package/src/definitions/modules/nag.less +134 -138
  228. package/src/definitions/modules/popup.js +1436 -1455
  229. package/src/definitions/modules/popup.less +742 -687
  230. package/src/definitions/modules/progress.js +968 -996
  231. package/src/definitions/modules/progress.less +521 -494
  232. package/src/definitions/modules/rating.js +504 -522
  233. package/src/definitions/modules/rating.less +94 -101
  234. package/src/definitions/modules/search.js +1497 -1533
  235. package/src/definitions/modules/search.less +375 -382
  236. package/src/definitions/modules/shape.js +791 -808
  237. package/src/definitions/modules/shape.less +71 -76
  238. package/src/definitions/modules/sidebar.js +1070 -1097
  239. package/src/definitions/modules/sidebar.less +463 -472
  240. package/src/definitions/modules/slider.js +1286 -1305
  241. package/src/definitions/modules/slider.less +307 -308
  242. package/src/definitions/modules/sticky.js +873 -918
  243. package/src/definitions/modules/sticky.less +21 -23
  244. package/src/definitions/modules/tab.js +921 -962
  245. package/src/definitions/modules/tab.less +51 -52
  246. package/src/definitions/modules/toast.js +885 -886
  247. package/src/definitions/modules/toast.less +584 -586
  248. package/src/definitions/modules/transition.js +1040 -1076
  249. package/src/definitions/modules/transition.less +62 -28
  250. package/src/definitions/views/ad.less +206 -206
  251. package/src/definitions/views/card.less +968 -970
  252. package/src/definitions/views/comment.less +190 -198
  253. package/src/definitions/views/feed.less +220 -224
  254. package/src/definitions/views/item.less +436 -446
  255. package/src/definitions/views/statistic.less +271 -277
  256. package/src/theme.less +29 -32
  257. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  258. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  259. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  260. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  261. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  262. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  263. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  264. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  265. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  266. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  267. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  268. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  269. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  270. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  271. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  272. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  273. package/src/themes/default/elements/container.variables +0 -7
  274. package/src/themes/default/elements/icon.variables +18 -0
  275. package/src/themes/default/elements/segment.variables +0 -7
  276. package/src/themes/default/globals/colors.less +589 -589
  277. package/src/themes/default/globals/site.variables +8 -0
  278. package/src/themes/default/globals/variation.variables +13 -1
  279. package/src/themes/default/modules/calendar.variables +2 -0
  280. package/src/themes/default/modules/nag.variables +1 -1
  281. package/src/themes/default/modules/popup.variables +2 -0
  282. package/src/themes/default/modules/transition.variables +8 -1
  283. package/tasks/admin/components/create.js +274 -276
  284. package/tasks/admin/components/init.js +123 -130
  285. package/tasks/admin/components/update.js +149 -157
  286. package/tasks/admin/distributions/create.js +184 -187
  287. package/tasks/admin/distributions/init.js +123 -130
  288. package/tasks/admin/distributions/update.js +145 -152
  289. package/tasks/admin/publish.js +5 -7
  290. package/tasks/admin/register.js +36 -38
  291. package/tasks/admin/release.js +8 -10
  292. package/tasks/build/assets.js +42 -39
  293. package/tasks/build/css.js +225 -216
  294. package/tasks/build/javascript.js +118 -113
  295. package/tasks/build.js +10 -10
  296. package/tasks/check-install.js +14 -16
  297. package/tasks/clean.js +5 -5
  298. package/tasks/collections/admin.js +34 -36
  299. package/tasks/collections/build.js +18 -20
  300. package/tasks/collections/docs.js +9 -11
  301. package/tasks/collections/install.js +9 -11
  302. package/tasks/collections/rtl.js +9 -11
  303. package/tasks/collections/various.js +8 -10
  304. package/tasks/config/admin/github.js +17 -17
  305. package/tasks/config/admin/oauth.example.js +4 -4
  306. package/tasks/config/admin/release.js +98 -98
  307. package/tasks/config/admin/templates/component-package.js +9 -10
  308. package/tasks/config/admin/templates/css-package.js +18 -20
  309. package/tasks/config/admin/templates/less-package.js +11 -13
  310. package/tasks/config/defaults.js +116 -114
  311. package/tasks/config/docs.js +23 -23
  312. package/tasks/config/npm/gulpfile.js +8 -9
  313. package/tasks/config/project/config.js +127 -134
  314. package/tasks/config/project/install.js +715 -713
  315. package/tasks/config/project/release.js +32 -38
  316. package/tasks/config/tasks.js +165 -156
  317. package/tasks/config/user.js +23 -26
  318. package/tasks/docs/build.js +97 -95
  319. package/tasks/docs/metadata.js +90 -96
  320. package/tasks/docs/serve.js +80 -81
  321. package/tasks/install.js +370 -378
  322. package/tasks/rtl/build.js +2 -2
  323. package/tasks/rtl/watch.js +2 -2
  324. package/tasks/version.js +4 -4
  325. package/tasks/watch.js +28 -30
  326. package/test/meteor/assets.js +10 -13
  327. package/test/meteor/fonts.js +12 -13
  328. package/test/modules/accordion.spec.js +6 -8
  329. package/test/modules/checkbox.spec.js +5 -7
  330. package/test/modules/dropdown.spec.js +5 -7
  331. package/test/modules/modal.spec.js +6 -8
  332. package/test/modules/module.spec.js +158 -178
  333. package/test/modules/popup.spec.js +5 -7
  334. package/test/modules/search.spec.js +5 -7
  335. package/test/modules/shape.spec.js +5 -7
  336. package/test/modules/sidebar.spec.js +5 -7
  337. package/test/modules/tab.spec.js +6 -8
  338. package/test/modules/transition.spec.js +5 -7
  339. package/test/modules/video.spec.js +5 -7
@@ -8,12 +8,11 @@
8
8
  *
9
9
  */
10
10
 
11
-
12
11
  /*******************************
13
12
  Theme
14
13
  *******************************/
15
14
 
16
- @type : 'module';
15
+ @type : 'module';
17
16
  @element : 'modal';
18
17
 
19
18
  @import (multiple) '../../theme.config';
@@ -23,375 +22,375 @@
23
22
  *******************************/
24
23
 
25
24
  .ui.modal {
26
- position: absolute;
27
- display: none;
28
- z-index: @zIndex;
29
- text-align: left;
25
+ position: absolute;
26
+ display: none;
27
+ z-index: @zIndex;
28
+ text-align: left;
30
29
 
31
- background: @background;
32
- border: @border;
33
- box-shadow: @boxShadow;
34
- transform-origin: @transformOrigin;
30
+ background: @background;
31
+ border: @border;
32
+ box-shadow: @boxShadow;
33
+ transform-origin: @transformOrigin;
35
34
 
36
- flex: 0 0 auto;
35
+ flex: 0 0 auto;
37
36
 
38
- border-radius: @borderRadius;
39
- user-select: text;
40
- will-change: top, left, margin, transform, opacity;
37
+ border-radius: @borderRadius;
38
+ user-select: text;
39
+ will-change: top, left, margin, transform, opacity;
41
40
  }
42
41
 
43
42
  .ui.modal > :first-child:not(.close):not(.dimmer),
44
43
  .ui.modal > i.icon:first-child + *,
45
44
  .ui.modal > .dimmer:first-child + *:not(.close),
46
45
  .ui.modal > .dimmer:first-child + i.icon + * {
47
- border-top-left-radius: @borderRadius;
48
- border-top-right-radius: @borderRadius;
46
+ border-top-left-radius: @borderRadius;
47
+ border-top-right-radius: @borderRadius;
49
48
  }
50
49
 
51
50
  .ui.modal > :last-child {
52
- border-bottom-left-radius: @borderRadius;
53
- border-bottom-right-radius: @borderRadius;
51
+ border-bottom-left-radius: @borderRadius;
52
+ border-bottom-right-radius: @borderRadius;
54
53
  }
55
54
 
56
55
  .ui.modal > .ui.dimmer {
57
- border-radius: inherit;
56
+ border-radius: inherit;
58
57
  }
59
58
 
60
59
  /*******************************
61
60
  Content
62
61
  *******************************/
63
62
 
64
- /*--------------
63
+ /* --------------
65
64
  Close
66
- ---------------*/
65
+ --------------- */
67
66
 
68
67
  .ui.modal > .close {
69
- cursor: pointer;
70
- position: absolute;
71
- top: @closeTop;
72
- right: @closeRight;
73
- z-index: 1;
68
+ cursor: pointer;
69
+ position: absolute;
70
+ top: @closeTop;
71
+ right: @closeRight;
72
+ z-index: 1;
74
73
 
75
- opacity: @closeOpacity;
76
- font-size: @closeSize;
77
- color: @closeColor;
74
+ opacity: @closeOpacity;
75
+ font-size: @closeSize;
76
+ color: @closeColor;
78
77
 
79
- width: @closeHitbox;
80
- height: @closeHitbox;
81
- padding: @closePadding;
78
+ width: @closeHitbox;
79
+ height: @closeHitbox;
80
+ padding: @closePadding;
82
81
  }
83
82
  .ui.modal > .close:focus,
84
83
  .ui.modal > .close:hover {
85
- opacity: 1;
86
- outline: none;
84
+ opacity: 1;
85
+ outline: none;
87
86
  }
88
87
 
89
- /*--------------
88
+ /* --------------
90
89
  Header
91
- ---------------*/
90
+ --------------- */
92
91
 
93
92
  .ui.modal > .header {
94
- display: block;
95
- font-family: @headerFontFamily;
96
- background: @headerBackground;
97
- margin: @headerMargin;
98
- padding: @headerPadding;
99
- box-shadow: @headerBoxShadow;
93
+ display: block;
94
+ font-family: @headerFontFamily;
95
+ background: @headerBackground;
96
+ margin: @headerMargin;
97
+ padding: @headerPadding;
98
+ box-shadow: @headerBoxShadow;
100
99
 
101
- color: @headerColor;
102
- border-bottom: @headerBorder;
100
+ color: @headerColor;
101
+ border-bottom: @headerBorder;
103
102
  }
104
103
  .ui.modal > .header:not(.ui) {
105
- font-size: @headerFontSize;
106
- line-height: @headerLineHeight;
107
- font-weight: @headerFontWeight;
104
+ font-size: @headerFontSize;
105
+ line-height: @headerLineHeight;
106
+ font-weight: @headerFontWeight;
108
107
  }
109
108
 
110
- /*--------------
109
+ /* --------------
111
110
  Content
112
- ---------------*/
111
+ --------------- */
113
112
 
114
113
  .ui.modal > .content {
115
- display: block;
116
- width: 100%;
117
- font-size: @contentFontSize;
118
- line-height: @contentLineHeight;
119
- padding: @contentPadding;
120
- background: @contentBackground;
114
+ display: block;
115
+ width: 100%;
116
+ font-size: @contentFontSize;
117
+ line-height: @contentLineHeight;
118
+ padding: @contentPadding;
119
+ background: @contentBackground;
121
120
  }
122
121
  .ui.modal > .image.content {
123
- display: flex;
124
- flex-direction: row;
122
+ display: flex;
123
+ flex-direction: row;
125
124
  }
126
125
 
127
126
  /* Image */
128
127
  .ui.modal > .content > .image {
129
- display: block;
130
- flex: 0 1 auto;
131
- width: @imageWidth;
132
- align-self: @imageVerticalAlign;
133
- max-width: 100%;
128
+ display: block;
129
+ flex: 0 1 auto;
130
+ width: @imageWidth;
131
+ align-self: @imageVerticalAlign;
132
+ max-width: 100%;
134
133
  }
135
134
  .ui.modal > [class*="top aligned"] {
136
- align-self: start;
135
+ align-self: start;
137
136
  }
138
137
  .ui.modal > [class*="middle aligned"] {
139
- align-self: center;
138
+ align-self: center;
140
139
  }
141
140
  .ui.modal > [class*="stretched"] {
142
- align-self: stretch;
141
+ align-self: stretch;
143
142
  }
144
143
 
145
144
  /* Description */
146
145
  .ui.modal > .content > .description {
147
- display: block;
148
- flex: 1 0 auto;
149
- min-width: 0;
150
- align-self: @descriptionVerticalAlign;
146
+ display: block;
147
+ flex: 1 0 auto;
148
+ min-width: 0;
149
+ align-self: @descriptionVerticalAlign;
151
150
  }
152
151
 
153
152
  .ui.modal > .content > i.icon + .description,
154
153
  .ui.modal > .content > .image + .description {
155
- flex: 0 1 auto;
156
- min-width: @descriptionMinWidth;
157
- width: @descriptionWidth;
158
- padding-left: @descriptionDistance;
154
+ flex: 0 1 auto;
155
+ min-width: @descriptionMinWidth;
156
+ width: @descriptionWidth;
157
+ padding-left: @descriptionDistance;
159
158
  }
160
159
 
161
- /*rtl:ignore*/
160
+ /* rtl:ignore */
162
161
  .ui.modal > .content > .image > i.icon {
163
- margin: 0;
164
- opacity: 1;
165
- width: auto;
166
- line-height: 1;
167
- font-size: @imageIconSize;
162
+ margin: 0;
163
+ opacity: 1;
164
+ width: auto;
165
+ line-height: 1;
166
+ font-size: @imageIconSize;
168
167
  }
169
168
 
170
169
  & when (@variationModalActions) {
171
- /*--------------
172
- Actions
173
- ---------------*/
174
-
175
- .ui.modal > .actions {
176
- background: @actionBackground;
177
- padding: @actionPadding;
178
- border-top: @actionBorder;
179
- text-align: @actionAlign;
180
- }
181
- .ui.modal .actions > .button:not(.fluid) {
182
- margin-left: @buttonDistance;
183
- }
184
- .ui.ui.modal > .basic.actions,
185
- .ui.basic.modal > .actions {
186
- border-top: none;
187
- }
188
- & when (@variationModalLeftActions) {
189
- .ui.modal > .left.actions {
190
- text-align: left;
191
- & > .button:not(.fluid) {
192
- margin-left: @buttonLeftDistance;
193
- margin-right: @buttonLeftDistance;
194
- }
195
- }
196
- }
170
+ /* --------------
171
+ Actions
172
+ --------------- */
173
+
174
+ .ui.modal > .actions {
175
+ background: @actionBackground;
176
+ padding: @actionPadding;
177
+ border-top: @actionBorder;
178
+ text-align: @actionAlign;
179
+ }
180
+ .ui.modal .actions > .button:not(.fluid) {
181
+ margin-left: @buttonDistance;
182
+ }
183
+ .ui.ui.modal > .basic.actions,
184
+ .ui.basic.modal > .actions {
185
+ border-top: none;
186
+ }
187
+ & when (@variationModalLeftActions) {
188
+ .ui.modal > .left.actions {
189
+ text-align: left;
190
+ & > .button:not(.fluid) {
191
+ margin-left: @buttonLeftDistance;
192
+ margin-right: @buttonLeftDistance;
193
+ }
194
+ }
195
+ }
197
196
  }
198
197
 
199
198
  & when (@variationModalCentered) {
200
- .ui.modal > .centered,
201
- .ui.modal > .center.aligned {
202
- text-align: center;
203
- &.actions > .button:not(.fluid) when (@variationModalActions){
204
- margin-left: @buttonCenteredDistance;
205
- margin-right: @buttonCenteredDistance;
199
+ .ui.modal > .centered,
200
+ .ui.modal > .center.aligned {
201
+ text-align: center;
202
+ &.actions > .button:not(.fluid) when (@variationModalActions) {
203
+ margin-left: @buttonCenteredDistance;
204
+ margin-right: @buttonCenteredDistance;
205
+ }
206
206
  }
207
- }
208
207
  }
209
208
 
210
- /*-------------------
209
+ /* -------------------
211
210
  Responsive
212
- --------------------*/
211
+ -------------------- */
213
212
 
214
213
  /* Modal Width */
215
- @media only screen and (max-width : @largestMobileScreen) {
216
- .ui.modal:not(.fullscreen) {
217
- width: @mobileWidth;
218
- margin: @mobileMargin;
219
- }
220
- }
221
- @media only screen and (min-width : @tabletBreakpoint) {
222
- .ui.modal:not(.fullscreen) {
223
- width: @tabletWidth;
224
- margin: @tabletMargin;
225
- }
226
- }
227
- @media only screen and (min-width : @computerBreakpoint) {
228
- .ui.modal:not(.fullscreen) {
229
- width: @computerWidth;
230
- margin: @computerMargin;
231
- & > .active.dimmer + .close:not(.inside) {
232
- pointer-events: none;
233
- opacity: @closeOpacityDimmed;
234
- }
235
- }
236
- .ui.dimmer > .ui.modal:not(.fullscreen) > .close:not(.inside){
237
- text-shadow: @closeShadow;
238
- }
239
- .ui.inverted.dimmer > .ui.modal:not(.fullscreen) > .close:not(.inside){
240
- text-shadow: @invertedCloseShadow;
241
- }
242
- }
243
- @media only screen and (min-width : @largeMonitorBreakpoint) {
244
- .ui.modal:not(.fullscreen) {
245
- width: @largeMonitorWidth;
246
- margin: @largeMonitorMargin;
247
- }
248
- }
249
- @media only screen and (min-width : @widescreenMonitorBreakpoint) {
250
- .ui.modal:not(.fullscreen) {
251
- width: @widescreenMonitorWidth;
252
- margin: @widescreenMonitorMargin;
253
- }
214
+ @media only screen and (max-width: @largestMobileScreen) {
215
+ .ui.modal:not(.fullscreen) {
216
+ width: @mobileWidth;
217
+ margin: @mobileMargin;
218
+ }
219
+ }
220
+ @media only screen and (min-width: @tabletBreakpoint) {
221
+ .ui.modal:not(.fullscreen) {
222
+ width: @tabletWidth;
223
+ margin: @tabletMargin;
224
+ }
225
+ }
226
+ @media only screen and (min-width: @computerBreakpoint) {
227
+ .ui.modal:not(.fullscreen) {
228
+ width: @computerWidth;
229
+ margin: @computerMargin;
230
+ & > .active.dimmer + .close:not(.inside) {
231
+ pointer-events: none;
232
+ opacity: @closeOpacityDimmed;
233
+ }
234
+ }
235
+ .ui.dimmer > .ui.modal:not(.fullscreen) > .close:not(.inside) {
236
+ text-shadow: @closeShadow;
237
+ }
238
+ .ui.inverted.dimmer > .ui.modal:not(.fullscreen) > .close:not(.inside) {
239
+ text-shadow: @invertedCloseShadow;
240
+ }
241
+ }
242
+ @media only screen and (min-width: @largeMonitorBreakpoint) {
243
+ .ui.modal:not(.fullscreen) {
244
+ width: @largeMonitorWidth;
245
+ margin: @largeMonitorMargin;
246
+ }
247
+ }
248
+ @media only screen and (min-width: @widescreenMonitorBreakpoint) {
249
+ .ui.modal:not(.fullscreen) {
250
+ width: @widescreenMonitorWidth;
251
+ margin: @widescreenMonitorMargin;
252
+ }
254
253
  }
255
254
 
256
255
  /* Tablet and Mobile */
257
- @media only screen and (max-width : @largestTabletScreen) {
258
- .ui.modal > .close + .header {
259
- padding-right: @closeHitbox;
260
- }
261
- .ui.modal > .close {
262
- top: @innerCloseTop;
263
- right: @innerCloseRight;
264
- color: @innerCloseColor;
265
- }
256
+ @media only screen and (max-width: @largestTabletScreen) {
257
+ .ui.modal > .close + .header {
258
+ padding-right: @closeHitbox;
259
+ }
260
+ .ui.modal > .close {
261
+ top: @innerCloseTop;
262
+ right: @innerCloseRight;
263
+ color: @innerCloseColor;
264
+ }
266
265
  }
267
266
 
268
267
  /* Mobile */
269
- @media only screen and (max-width : @largestMobileScreen) {
270
-
271
- .ui.modal > .header {
272
- padding: @mobileHeaderPadding;
273
- }
274
- .ui.modal > .close + .header {
275
- padding-right: @closeHitbox;
276
- }
277
- .ui.overlay.fullscreen.modal > .content.content.content {
278
- min-height: @overlayFullscreenScrollingContentMaxHeightMobile;
279
- }
280
- .ui.overlay.fullscreen.modal > .scrolling.content.content.content {
281
- max-height: @overlayFullscreenScrollingContentMaxHeightMobile;
282
- }
283
- .ui.modal > .content {
284
- display: block;
285
- padding: @mobileContentPadding !important;
286
- }
287
- .ui.modal > .close {
288
- top: @mobileCloseTop !important;
289
- right: @mobileCloseRight !important;
290
- }
291
-
292
- /*rtl:ignore*/
293
- .ui.modal .image.content {
294
- flex-direction: column;
295
- }
296
- .ui.modal > .content > .image {
297
- display: block;
298
- max-width: 100%;
299
- margin: 0 auto !important;
300
- text-align: center;
301
- padding: @mobileImagePadding !important;
302
- }
303
- .ui.modal > .content > .image > i.icon {
304
- font-size: @mobileImageIconSize;
305
- text-align: center;
306
- }
307
-
308
- /*rtl:ignore*/
309
- .ui.modal > .content > .description {
310
- display: block;
311
- width: 100% !important;
312
- margin: 0 !important;
313
- padding: @mobileDescriptionPadding !important;
314
- box-shadow: none;
315
- }
316
- & when (@variationModalActions) {
317
- /* Let Buttons Stack */
318
- .ui.modal > .actions {
319
- padding: @mobileActionPadding !important;
268
+ @media only screen and (max-width: @largestMobileScreen) {
269
+
270
+ .ui.modal > .header {
271
+ padding: @mobileHeaderPadding;
272
+ }
273
+ .ui.modal > .close + .header {
274
+ padding-right: @closeHitbox;
320
275
  }
321
- .ui.modal .actions > .buttons,
322
- .ui.modal .actions > .button {
323
- margin-bottom: @mobileButtonDistance;
276
+ .ui.overlay.fullscreen.modal > .content.content.content {
277
+ min-height: @overlayFullscreenScrollingContentMaxHeightMobile;
278
+ }
279
+ .ui.overlay.fullscreen.modal > .scrolling.content.content.content {
280
+ max-height: @overlayFullscreenScrollingContentMaxHeightMobile;
281
+ }
282
+ .ui.modal > .content {
283
+ display: block;
284
+ padding: @mobileContentPadding !important;
285
+ }
286
+ .ui.modal > .close {
287
+ top: @mobileCloseTop !important;
288
+ right: @mobileCloseRight !important;
289
+ }
290
+
291
+ /* rtl:ignore */
292
+ .ui.modal .image.content {
293
+ flex-direction: column;
294
+ }
295
+ .ui.modal > .content > .image {
296
+ display: block;
297
+ max-width: 100%;
298
+ margin: 0 auto !important;
299
+ text-align: center;
300
+ padding: @mobileImagePadding !important;
301
+ }
302
+ .ui.modal > .content > .image > i.icon {
303
+ font-size: @mobileImageIconSize;
304
+ text-align: center;
305
+ }
306
+
307
+ /* rtl:ignore */
308
+ .ui.modal > .content > .description {
309
+ display: block;
310
+ width: 100% !important;
311
+ margin: 0 !important;
312
+ padding: @mobileDescriptionPadding !important;
313
+ box-shadow: none;
314
+ }
315
+ & when (@variationModalActions) {
316
+ /* Let Buttons Stack */
317
+ .ui.modal > .actions {
318
+ padding: @mobileActionPadding !important;
319
+ }
320
+ .ui.modal .actions > .buttons,
321
+ .ui.modal .actions > .button {
322
+ margin-bottom: @mobileButtonDistance;
323
+ }
324
324
  }
325
- }
326
325
  }
327
326
 
328
- /*--------------
327
+ /* --------------
329
328
  Coupling
330
- ---------------*/
329
+ --------------- */
331
330
 
332
331
  .ui.inverted.dimmer > .ui.modal {
333
- box-shadow: @invertedBoxShadow;
332
+ box-shadow: @invertedBoxShadow;
334
333
  }
335
334
 
336
335
  /*******************************
337
336
  Types
338
337
  *******************************/
339
338
  & when (@variationModalBasic) {
340
- .ui.basic.modal {
341
- background-color: transparent;
342
- border: none;
343
- border-radius: 0;
344
- box-shadow: none !important;
345
- color: @basicModalColor;
346
- }
347
- .ui.ui.modal > .basic.header,
348
- .ui.ui.modal > .basic.actions,
349
- .ui.basic.modal > .header,
350
- .ui.basic.modal > .content,
351
- .ui.basic.modal > .actions {
352
- background-color: transparent;
353
- }
354
- .ui.modal > .basic.header {
355
- border-bottom: none;
356
- }
357
- .ui.basic.modal > .header {
358
- color: @basicModalHeaderColor;
359
- border-bottom: none;
360
- }
361
- .ui.basic.modal > .close {
362
- top: @basicModalCloseTop;
363
- right: @basicModalCloseRight;
364
- color: @basicInnerCloseColor;
365
- }
366
- .ui.inverted.dimmer > .basic.modal {
367
- color: @basicInvertedModalColor;
368
- }
369
- .ui.inverted.dimmer > .ui.basic.modal > .header {
370
- color: @basicInvertedModalHeaderColor;
371
- }
339
+ .ui.basic.modal {
340
+ background-color: transparent;
341
+ border: none;
342
+ border-radius: 0;
343
+ box-shadow: none !important;
344
+ color: @basicModalColor;
345
+ }
346
+ .ui.ui.modal > .basic.header,
347
+ .ui.ui.modal > .basic.actions,
348
+ .ui.basic.modal > .header,
349
+ .ui.basic.modal > .content,
350
+ .ui.basic.modal > .actions {
351
+ background-color: transparent;
352
+ }
353
+ .ui.modal > .basic.header {
354
+ border-bottom: none;
355
+ }
356
+ .ui.basic.modal > .header {
357
+ color: @basicModalHeaderColor;
358
+ border-bottom: none;
359
+ }
360
+ .ui.basic.modal > .close {
361
+ top: @basicModalCloseTop;
362
+ right: @basicModalCloseRight;
363
+ color: @basicInnerCloseColor;
364
+ }
365
+ .ui.inverted.dimmer > .basic.modal {
366
+ color: @basicInvertedModalColor;
367
+ }
368
+ .ui.inverted.dimmer > .ui.basic.modal > .header {
369
+ color: @basicInvertedModalHeaderColor;
370
+ }
372
371
  }
373
372
 
374
373
  & when (@variationModalLegacy) {
375
- /* Resort to margin positioning if legacy */
376
- .ui.legacy.legacy.modal,
377
- .ui.legacy.legacy.page.dimmer > .ui.modal {
378
- left: 50% !important;
379
- }
380
- .ui.legacy.legacy.modal:not(.aligned),
381
- .ui.legacy.legacy.page.dimmer > .ui.modal:not(.aligned) {
382
- top: 50%;
383
- }
384
- .ui.legacy.legacy.page.dimmer > .ui.scrolling.modal:not(.aligned),
385
- .ui.page.dimmer > .ui.scrolling.legacy.legacy.modal:not(.aligned),
386
- .ui.top.aligned.legacy.legacy.page.dimmer > .ui.modal:not(.aligned),
387
- .ui.top.aligned.dimmer > .ui.legacy.legacy.modal:not(.aligned) {
388
- top: auto;
389
- }
390
- & when (@variationModalOverlay) {
391
- .ui.legacy.overlay.fullscreen.modal {
392
- margin-top: -@scrollingMargin !important;
393
- }
394
- }
374
+ /* Resort to margin positioning if legacy */
375
+ .ui.legacy.legacy.modal,
376
+ .ui.legacy.legacy.page.dimmer > .ui.modal {
377
+ left: 50% !important;
378
+ }
379
+ .ui.legacy.legacy.modal:not(.aligned),
380
+ .ui.legacy.legacy.page.dimmer > .ui.modal:not(.aligned) {
381
+ top: 50%;
382
+ }
383
+ .ui.legacy.legacy.page.dimmer > .ui.scrolling.modal:not(.aligned),
384
+ .ui.page.dimmer > .ui.scrolling.legacy.legacy.modal:not(.aligned),
385
+ .ui.top.aligned.legacy.legacy.page.dimmer > .ui.modal:not(.aligned),
386
+ .ui.top.aligned.dimmer > .ui.legacy.legacy.modal:not(.aligned) {
387
+ top: auto;
388
+ }
389
+ & when (@variationModalOverlay) {
390
+ .ui.legacy.overlay.fullscreen.modal {
391
+ margin-top: -@scrollingMargin !important;
392
+ }
393
+ }
395
394
  }
396
395
 
397
396
  /*******************************
@@ -399,13 +398,13 @@
399
398
  *******************************/
400
399
 
401
400
  .ui.loading.modal {
402
- display: block;
403
- visibility: hidden;
404
- z-index: @loadingZIndex;
401
+ display: block;
402
+ visibility: hidden;
403
+ z-index: @loadingZIndex;
405
404
  }
406
405
 
407
406
  .ui.active.modal {
408
- display: block;
407
+ display: block;
409
408
  }
410
409
 
411
410
  /*******************************
@@ -413,219 +412,220 @@
413
412
  *******************************/
414
413
 
415
414
  & when (@variationModalAligned) {
416
- /*--------------
417
- Aligned
418
- ---------------*/
419
-
420
- .modals.dimmer .ui.top.aligned.modal {
421
- top: @topAlignedMargin;
422
- }
423
- .modals.dimmer .ui.bottom.aligned.modal {
424
- bottom: @bottomAlignedMargin;
425
- }
426
-
427
- @media only screen and (max-width : @largestMobileScreen) {
415
+ /* --------------
416
+ Aligned
417
+ --------------- */
418
+
428
419
  .modals.dimmer .ui.top.aligned.modal {
429
- top: @mobileTopAlignedMargin;
420
+ top: @topAlignedMargin;
430
421
  }
431
422
  .modals.dimmer .ui.bottom.aligned.modal {
432
- bottom: @mobileBottomAlignedMargin;
423
+ bottom: @bottomAlignedMargin;
424
+ }
425
+
426
+ @media only screen and (max-width: @largestMobileScreen) {
427
+ .modals.dimmer .ui.top.aligned.modal {
428
+ top: @mobileTopAlignedMargin;
429
+ }
430
+ .modals.dimmer .ui.bottom.aligned.modal {
431
+ bottom: @mobileBottomAlignedMargin;
432
+ }
433
433
  }
434
- }
435
434
  }
436
435
 
437
436
  & when (@variationModalScrolling) {
438
- /*--------------
439
- Scrolling
440
- ---------------*/
441
-
442
- /* Scrolling Dimmer */
443
- .scrolling.dimmable.dimmed {
444
- overflow: hidden;
445
- }
446
- .scrolling.dimmable > .dimmer {
447
- justify-content: flex-start;
448
- position: fixed;
449
- }
450
- .scrolling.dimmable:not(body) > .dimmer {
451
- justify-content: center;
452
- position: absolute;
453
- }
454
- .scrolling.dimmable.dimmed > .dimmer {
455
- overflow: auto;
456
- -webkit-overflow-scrolling: touch;
457
- }
458
- .modals.dimmer .ui.scrolling.modal:not(.fullscreen) {
459
- margin: @scrollingMargin auto;
460
- }
461
- /* Fix for Firefox, Edge, IE11 */
462
- .modals.dimmer .ui.scrolling.modal:not([class*="overlay fullscreen"])::after {
463
- content:'\00A0';
464
- position: absolute;
465
- height: @scrollingMargin;
466
- }
467
- /* Undetached Scrolling */
468
- .scrolling.undetached.dimmable.dimmed {
469
- overflow: auto;
470
- -webkit-overflow-scrolling: touch;
471
- }
472
- .scrolling.undetached.dimmable.dimmed > .dimmer {
473
- overflow: hidden;
474
- }
475
- .scrolling.undetached.dimmable .ui.scrolling.modal:not(.fullscreen) {
476
- position: absolute;
477
- left: 50%;
437
+ /* --------------
438
+ Scrolling
439
+ --------------- */
478
440
 
479
- }
441
+ /* Scrolling Dimmer */
442
+ .scrolling.dimmable.dimmed {
443
+ overflow: hidden;
444
+ }
445
+ .scrolling.dimmable > .dimmer {
446
+ justify-content: flex-start;
447
+ position: fixed;
448
+ }
449
+ .scrolling.dimmable:not(body) > .dimmer {
450
+ justify-content: center;
451
+ position: absolute;
452
+ }
453
+ .scrolling.dimmable.dimmed > .dimmer {
454
+ overflow: auto;
455
+ overscroll-behavior: @overscrollBehavior;
456
+ -webkit-overflow-scrolling: touch;
457
+ }
458
+ .modals.dimmer .ui.scrolling.modal:not(.fullscreen) {
459
+ margin: @scrollingMargin auto;
460
+ }
480
461
 
481
- /* Scrolling Content */
482
- .ui.modal > .scrolling.content {
483
- max-height: @scrollingContentMaxHeight;
484
- overflow: auto;
485
- }
462
+ /* Fix for Firefox, Edge, IE11 */
463
+ .modals.dimmer .ui.scrolling.modal:not([class*="overlay fullscreen"])::after {
464
+ content: '\00A0';
465
+ position: absolute;
466
+ height: @scrollingMargin;
467
+ }
468
+
469
+ /* Undetached Scrolling */
470
+ .scrolling.undetached.dimmable.dimmed {
471
+ overflow: auto;
472
+ overscroll-behavior: @overscrollBehavior;
473
+ -webkit-overflow-scrolling: touch;
474
+ }
475
+ .scrolling.undetached.dimmable.dimmed > .dimmer {
476
+ overflow: hidden;
477
+ }
478
+ .scrolling.undetached.dimmable .ui.scrolling.modal:not(.fullscreen) {
479
+ position: absolute;
480
+ left: 50%;
481
+ }
482
+
483
+ /* Scrolling Content */
484
+ .ui.modal > .scrolling.content {
485
+ max-height: @scrollingContentMaxHeight;
486
+ overflow: auto;
487
+ overscroll-behavior: @overscrollBehavior;
488
+ }
486
489
  }
487
490
 
488
491
  & when (@variationModalOverlay) {
489
- .ui.overlay.fullscreen.modal > .content {
490
- min-height: @overlayFullscreenScrollingContentMaxHeight;
491
- }
492
- .ui.overlay.fullscreen.modal > .scrolling.content {
493
- max-height: @overlayFullscreenScrollingContentMaxHeight;
494
- }
492
+ .ui.overlay.fullscreen.modal > .content {
493
+ min-height: @overlayFullscreenScrollingContentMaxHeight;
494
+ }
495
+ .ui.overlay.fullscreen.modal > .scrolling.content {
496
+ max-height: @overlayFullscreenScrollingContentMaxHeight;
497
+ }
495
498
  }
496
499
 
497
500
  & when (@variationModalFullscreen) or (@variationModalOverlay) or (@variationModalCloseInside) {
498
- /*--------------
499
- Full Screen
500
- ---------------*/
501
-
502
- .ui.fullscreen.modal {
503
- width: @fullScreenWidth;
504
- left: @fullScreenOffset;
505
- margin: @fullScreenMargin;
506
- }
507
- & when (@variationModalOverlay) {
508
- .ui.overlay.fullscreen.modal {
509
- width: 100%;
510
- left: 0;
511
- margin: 0 auto;
512
- top: 0;
513
- border-radius:0;
514
- }
515
- }
516
- .ui.modal > .close.inside + .header:not(.centered):not(.center):not(.icon),
517
- .ui.fullscreen.modal > .close + .header:not(.centered):not(.center):not(.icon) {
518
- padding-right: @closeHitbox;
519
- }
520
- .ui.modal > .close.inside,
521
- .ui.fullscreen.modal > .close {
522
- top: @innerCloseTop;
523
- right: @innerCloseRight;
524
- color: @innerCloseColor;
525
- }
526
- & when (@variationModalBasic) {
527
- .ui.basic.fullscreen.modal > .close {
528
- color: @basicInnerCloseColor;
529
- }
530
- }
531
- }
532
- /*--------------
501
+ /* --------------
502
+ Full Screen
503
+ --------------- */
504
+
505
+ .ui.fullscreen.modal {
506
+ width: @fullScreenWidth;
507
+ left: @fullScreenOffset;
508
+ margin: @fullScreenMargin;
509
+ }
510
+ & when (@variationModalOverlay) {
511
+ .ui.overlay.fullscreen.modal {
512
+ width: 100%;
513
+ left: 0;
514
+ margin: 0 auto;
515
+ top: 0;
516
+ border-radius: 0;
517
+ }
518
+ }
519
+ .ui.modal > .close.inside + .header:not(.centered):not(.center):not(.icon),
520
+ .ui.fullscreen.modal > .close + .header:not(.centered):not(.center):not(.icon) {
521
+ padding-right: @closeHitbox;
522
+ }
523
+ .ui.modal > .close.inside,
524
+ .ui.fullscreen.modal > .close {
525
+ top: @innerCloseTop;
526
+ right: @innerCloseRight;
527
+ color: @innerCloseColor;
528
+ }
529
+ & when (@variationModalBasic) {
530
+ .ui.basic.fullscreen.modal > .close {
531
+ color: @basicInnerCloseColor;
532
+ }
533
+ }
534
+ }
535
+
536
+ /* --------------
533
537
  Size
534
- ---------------*/
538
+ --------------- */
535
539
 
536
540
  .ui.modal {
537
- font-size: @medium;
541
+ font-size: @medium;
538
542
  }
539
543
  & when not (@variationModalSizes = false) {
540
- each(@variationModalSizes, {
541
- @hs: @{value}HeaderSize;
542
- @mw: @{value}MobileWidth;
543
- @mm: @{value}MobileMargin;
544
- @tw: @{value}TabletWidth;
545
- @tm: @{value}TabletMargin;
546
- @cw: @{value}ComputerWidth;
547
- @cm: @{value}ComputerMargin;
548
- @lw: @{value}LargeMonitorWidth;
549
- @lm: @{value}LargeMonitorMargin;
550
- @ww: @{value}WidescreenMonitorWidth;
551
- @wm: @{value}WidescreenMonitorMargin;
552
- .ui.@{value}.modal > .header:not(.ui) {
553
- font-size: @@hs;
554
- }
555
- @media only screen and (max-width : @largestMobileScreen) {
556
- .ui.@{value}.modal {
557
- width: @@mw;
558
- margin: @@mm;
559
- }
560
- }
561
- @media only screen and (min-width : @tabletBreakpoint) {
562
- .ui.@{value}.modal {
563
- width: @@tw;
564
- margin: @@tm;
565
- }
566
- }
567
- @media only screen and (min-width : @computerBreakpoint) {
568
- .ui.@{value}.modal {
569
- width: @@cw;
570
- margin: @@cm;
571
- }
572
- }
573
- @media only screen and (min-width : @largeMonitorBreakpoint) {
574
- .ui.@{value}.modal {
575
- width: @@lw;
576
- margin: @@lm;
577
- }
578
- }
579
- @media only screen and (min-width : @widescreenMonitorBreakpoint) {
580
- .ui.@{value}.modal {
581
- width: @@ww;
582
- margin: @@wm;
583
- }
584
- }
585
- })
544
+ each(@variationModalSizes, {
545
+ @hs: @{value}HeaderSize;
546
+ @mw: @{value}MobileWidth;
547
+ @mm: @{value}MobileMargin;
548
+ @tw: @{value}TabletWidth;
549
+ @tm: @{value}TabletMargin;
550
+ @cw: @{value}ComputerWidth;
551
+ @cm: @{value}ComputerMargin;
552
+ @lw: @{value}LargeMonitorWidth;
553
+ @lm: @{value}LargeMonitorMargin;
554
+ @ww: @{value}WidescreenMonitorWidth;
555
+ @wm: @{value}WidescreenMonitorMargin;
556
+ .ui.@{value}.modal > .header:not(.ui) {
557
+ font-size: @@hs;
558
+ }
559
+ @media only screen and (max-width : @largestMobileScreen) {
560
+ .ui.@{value}.modal {
561
+ width: @@mw;
562
+ margin: @@mm;
563
+ }
564
+ }
565
+ @media only screen and (min-width : @tabletBreakpoint) {
566
+ .ui.@{value}.modal {
567
+ width: @@tw;
568
+ margin: @@tm;
569
+ }
570
+ }
571
+ @media only screen and (min-width : @computerBreakpoint) {
572
+ .ui.@{value}.modal {
573
+ width: @@cw;
574
+ margin: @@cm;
575
+ }
576
+ }
577
+ @media only screen and (min-width : @largeMonitorBreakpoint) {
578
+ .ui.@{value}.modal {
579
+ width: @@lw;
580
+ margin: @@lm;
581
+ }
582
+ }
583
+ @media only screen and (min-width : @widescreenMonitorBreakpoint) {
584
+ .ui.@{value}.modal {
585
+ width: @@ww;
586
+ margin: @@wm;
587
+ }
588
+ }
589
+ })
586
590
  }
587
591
 
588
592
  & when (@variationModalInverted) {
589
- /*****************************
590
- Inverted
591
- *******************************/
592
-
593
- .ui.inverted.modal {
594
- background: @invertedBackground;
595
- }
593
+ /*****************************
594
+ Inverted
595
+ *******************************/
596
596
 
597
- .ui.inverted.modal > .header,
598
- .ui.inverted.modal > .content {
599
- background: @invertedBackground;
600
- color: @invertedHeaderColor;
601
- }
602
- & when (@variationModalActions) {
603
- .ui.inverted.modal > .actions {
604
- background: @invertedActionBackground;
605
- border-top: @invertedActionBorder;
606
- color: @invertedActionColor;
597
+ .ui.inverted.modal {
598
+ background: @invertedBackground;
607
599
  }
608
- }
609
600
 
610
- .ui.inverted.dimmer > .modal > .close {
611
- color: @invertedDimmerCloseColor;
612
- }
601
+ .ui.inverted.modal > .header,
602
+ .ui.inverted.modal > .content {
603
+ background: @invertedBackground;
604
+ color: @invertedHeaderColor;
605
+ }
606
+ & when (@variationModalActions) {
607
+ .ui.inverted.modal > .actions {
608
+ background: @invertedActionBackground;
609
+ border-top: @invertedActionBorder;
610
+ color: @invertedActionColor;
611
+ }
612
+ }
613
613
 
614
+ .ui.inverted.dimmer > .modal > .close {
615
+ color: @invertedDimmerCloseColor;
616
+ }
614
617
 
615
- @media only screen and (max-width: @largestTabletScreen) {
616
- .ui.dimmer .inverted.modal > .close {
617
- color: @invertedCloseColor;
618
+ @media only screen and (max-width: @largestTabletScreen) {
619
+ .ui.dimmer .inverted.modal > .close {
620
+ color: @invertedCloseColor;
621
+ }
618
622
  }
619
- }
620
- & when (@variationModalFullscreen) or (@variationModalCloseInside) {
621
- .ui.inverted.modal > .close.inside,
622
- .ui.inverted.fullscreen.modal > .close {
623
- color: @invertedCloseColor;
623
+ & when (@variationModalFullscreen) or (@variationModalCloseInside) {
624
+ .ui.inverted.modal > .close.inside,
625
+ .ui.inverted.fullscreen.modal > .close {
626
+ color: @invertedCloseColor;
627
+ }
624
628
  }
625
- }
626
629
  }
627
630
 
628
-
629
-
630
-
631
631
  .loadUIOverrides();