rails-active-ui 0.3.0 → 0.3.2

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 (197) hide show
  1. checksums.yaml +4 -4
  2. data/app/javascript/ui/controllers/turbo_modal_controller.js +36 -0
  3. data/config/importmap.rb +1 -0
  4. data/formantic-ui/components/accordion.css +369 -0
  5. data/formantic-ui/components/accordion.js +595 -0
  6. data/formantic-ui/components/accordion.min.css +9 -0
  7. data/formantic-ui/components/accordion.min.js +11 -0
  8. data/formantic-ui/components/ad.css +264 -0
  9. data/formantic-ui/components/ad.min.css +10 -0
  10. data/formantic-ui/components/api.js +1225 -0
  11. data/formantic-ui/components/api.min.js +11 -0
  12. data/formantic-ui/components/breadcrumb.css +135 -0
  13. data/formantic-ui/components/breadcrumb.min.css +9 -0
  14. data/formantic-ui/components/button.css +4058 -0
  15. data/formantic-ui/components/button.min.css +9 -0
  16. data/formantic-ui/components/calendar.css +327 -0
  17. data/formantic-ui/components/calendar.js +2045 -0
  18. data/formantic-ui/components/calendar.min.css +9 -0
  19. data/formantic-ui/components/calendar.min.js +11 -0
  20. data/formantic-ui/components/card.css +1881 -0
  21. data/formantic-ui/components/card.min.css +9 -0
  22. data/formantic-ui/components/checkbox.css +785 -0
  23. data/formantic-ui/components/checkbox.js +888 -0
  24. data/formantic-ui/components/checkbox.min.css +9 -0
  25. data/formantic-ui/components/checkbox.min.js +11 -0
  26. data/formantic-ui/components/comment.css +283 -0
  27. data/formantic-ui/components/comment.min.css +9 -0
  28. data/formantic-ui/components/container.css +300 -0
  29. data/formantic-ui/components/container.min.css +9 -0
  30. data/formantic-ui/components/dimmer.css +367 -0
  31. data/formantic-ui/components/dimmer.js +732 -0
  32. data/formantic-ui/components/dimmer.min.css +9 -0
  33. data/formantic-ui/components/dimmer.min.js +11 -0
  34. data/formantic-ui/components/divider.css +287 -0
  35. data/formantic-ui/components/divider.min.css +9 -0
  36. data/formantic-ui/components/dropdown.css +2087 -0
  37. data/formantic-ui/components/dropdown.js +4432 -0
  38. data/formantic-ui/components/dropdown.min.css +9 -0
  39. data/formantic-ui/components/dropdown.min.js +11 -0
  40. data/formantic-ui/components/embed.css +155 -0
  41. data/formantic-ui/components/embed.js +688 -0
  42. data/formantic-ui/components/embed.min.css +9 -0
  43. data/formantic-ui/components/embed.min.js +11 -0
  44. data/formantic-ui/components/emoji.css +15311 -0
  45. data/formantic-ui/components/emoji.min.css +9 -0
  46. data/formantic-ui/components/feed.css +799 -0
  47. data/formantic-ui/components/feed.min.css +9 -0
  48. data/formantic-ui/components/flag.css +1149 -0
  49. data/formantic-ui/components/flag.min.css +9 -0
  50. data/formantic-ui/components/flyout.css +546 -0
  51. data/formantic-ui/components/flyout.js +1551 -0
  52. data/formantic-ui/components/flyout.min.css +9 -0
  53. data/formantic-ui/components/flyout.min.js +11 -0
  54. data/formantic-ui/components/form.css +1885 -0
  55. data/formantic-ui/components/form.js +2199 -0
  56. data/formantic-ui/components/form.min.css +9 -0
  57. data/formantic-ui/components/form.min.js +11 -0
  58. data/formantic-ui/components/grid.css +1952 -0
  59. data/formantic-ui/components/grid.min.css +9 -0
  60. data/formantic-ui/components/header.css +778 -0
  61. data/formantic-ui/components/header.min.css +9 -0
  62. data/formantic-ui/components/icon.css +7066 -0
  63. data/formantic-ui/components/icon.min.css +9 -0
  64. data/formantic-ui/components/image.css +315 -0
  65. data/formantic-ui/components/image.min.css +9 -0
  66. data/formantic-ui/components/input.css +1566 -0
  67. data/formantic-ui/components/input.min.css +9 -0
  68. data/formantic-ui/components/item.css +534 -0
  69. data/formantic-ui/components/item.min.css +9 -0
  70. data/formantic-ui/components/label.css +2114 -0
  71. data/formantic-ui/components/label.min.css +9 -0
  72. data/formantic-ui/components/list.css +955 -0
  73. data/formantic-ui/components/list.min.css +9 -0
  74. data/formantic-ui/components/loader.css +787 -0
  75. data/formantic-ui/components/loader.min.css +9 -0
  76. data/formantic-ui/components/menu.css +2131 -0
  77. data/formantic-ui/components/menu.min.css +9 -0
  78. data/formantic-ui/components/message.css +619 -0
  79. data/formantic-ui/components/message.min.css +9 -0
  80. data/formantic-ui/components/modal.css +779 -0
  81. data/formantic-ui/components/modal.js +1637 -0
  82. data/formantic-ui/components/modal.min.css +9 -0
  83. data/formantic-ui/components/modal.min.js +11 -0
  84. data/formantic-ui/components/nag.css +290 -0
  85. data/formantic-ui/components/nag.js +566 -0
  86. data/formantic-ui/components/nag.min.css +9 -0
  87. data/formantic-ui/components/nag.min.js +11 -0
  88. data/formantic-ui/components/placeholder.css +228 -0
  89. data/formantic-ui/components/placeholder.min.css +9 -0
  90. data/formantic-ui/components/popup.css +1184 -0
  91. data/formantic-ui/components/popup.js +1561 -0
  92. data/formantic-ui/components/popup.min.css +9 -0
  93. data/formantic-ui/components/popup.min.js +11 -0
  94. data/formantic-ui/components/progress.css +761 -0
  95. data/formantic-ui/components/progress.js +979 -0
  96. data/formantic-ui/components/progress.min.css +9 -0
  97. data/formantic-ui/components/progress.min.js +11 -0
  98. data/formantic-ui/components/rail.css +147 -0
  99. data/formantic-ui/components/rail.min.css +9 -0
  100. data/formantic-ui/components/rating.css +414 -0
  101. data/formantic-ui/components/rating.js +540 -0
  102. data/formantic-ui/components/rating.min.css +9 -0
  103. data/formantic-ui/components/rating.min.js +11 -0
  104. data/formantic-ui/components/reset.css +386 -0
  105. data/formantic-ui/components/reset.min.css +9 -0
  106. data/formantic-ui/components/reveal.css +277 -0
  107. data/formantic-ui/components/reveal.min.css +9 -0
  108. data/formantic-ui/components/search.css +541 -0
  109. data/formantic-ui/components/search.js +1641 -0
  110. data/formantic-ui/components/search.min.css +9 -0
  111. data/formantic-ui/components/search.min.js +11 -0
  112. data/formantic-ui/components/segment.css +1053 -0
  113. data/formantic-ui/components/segment.min.css +9 -0
  114. data/formantic-ui/components/shape.css +144 -0
  115. data/formantic-ui/components/shape.js +797 -0
  116. data/formantic-ui/components/shape.min.css +9 -0
  117. data/formantic-ui/components/shape.min.js +11 -0
  118. data/formantic-ui/components/sidebar.css +539 -0
  119. data/formantic-ui/components/sidebar.js +1054 -0
  120. data/formantic-ui/components/sidebar.min.css +9 -0
  121. data/formantic-ui/components/sidebar.min.js +11 -0
  122. data/formantic-ui/components/site.css +286 -0
  123. data/formantic-ui/components/site.js +455 -0
  124. data/formantic-ui/components/site.min.css +9 -0
  125. data/formantic-ui/components/site.min.js +11 -0
  126. data/formantic-ui/components/slider.css +926 -0
  127. data/formantic-ui/components/slider.js +1546 -0
  128. data/formantic-ui/components/slider.min.css +9 -0
  129. data/formantic-ui/components/slider.min.js +11 -0
  130. data/formantic-ui/components/state.js +697 -0
  131. data/formantic-ui/components/state.min.js +11 -0
  132. data/formantic-ui/components/statistic.css +586 -0
  133. data/formantic-ui/components/statistic.min.css +9 -0
  134. data/formantic-ui/components/step.css +1538 -0
  135. data/formantic-ui/components/step.min.css +9 -0
  136. data/formantic-ui/components/sticky.css +73 -0
  137. data/formantic-ui/components/sticky.js +917 -0
  138. data/formantic-ui/components/sticky.min.css +9 -0
  139. data/formantic-ui/components/sticky.min.js +11 -0
  140. data/formantic-ui/components/tab.css +84 -0
  141. data/formantic-ui/components/tab.js +967 -0
  142. data/formantic-ui/components/tab.min.css +9 -0
  143. data/formantic-ui/components/tab.min.js +11 -0
  144. data/formantic-ui/components/table.css +3473 -0
  145. data/formantic-ui/components/table.min.css +9 -0
  146. data/formantic-ui/components/text.css +155 -0
  147. data/formantic-ui/components/text.min.css +9 -0
  148. data/formantic-ui/components/toast.css +751 -0
  149. data/formantic-ui/components/toast.js +964 -0
  150. data/formantic-ui/components/toast.min.css +9 -0
  151. data/formantic-ui/components/toast.min.js +11 -0
  152. data/formantic-ui/components/transition.css +1148 -0
  153. data/formantic-ui/components/transition.js +1034 -0
  154. data/formantic-ui/components/transition.min.css +9 -0
  155. data/formantic-ui/components/transition.min.js +11 -0
  156. data/formantic-ui/components/visibility.js +1292 -0
  157. data/formantic-ui/components/visibility.min.js +11 -0
  158. data/formantic-ui/semantic.css +78485 -0
  159. data/formantic-ui/semantic.js +31036 -0
  160. data/formantic-ui/semantic.min.css +11 -0
  161. data/formantic-ui/semantic.min.js +11 -0
  162. data/formantic-ui/themes/basic/assets/fonts/LICENSE.txt +91 -0
  163. data/formantic-ui/themes/basic/assets/fonts/icons.woff +0 -0
  164. data/formantic-ui/themes/basic/assets/fonts/icons.woff2 +0 -0
  165. data/formantic-ui/themes/default/assets/fonts/LICENSE_Lato.txt +94 -0
  166. data/formantic-ui/themes/default/assets/fonts/LICENSE_icons.txt +165 -0
  167. data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  168. data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  169. data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  170. data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  171. data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  172. data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  173. data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  174. data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  175. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  176. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  177. data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  178. data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  179. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  180. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  181. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  182. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  183. data/formantic-ui/themes/default/assets/fonts/brand-icons.woff +0 -0
  184. data/formantic-ui/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  185. data/formantic-ui/themes/default/assets/fonts/icons.woff +0 -0
  186. data/formantic-ui/themes/default/assets/fonts/icons.woff2 +0 -0
  187. data/formantic-ui/themes/default/assets/fonts/outline-icons.woff +0 -0
  188. data/formantic-ui/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  189. data/formantic-ui/themes/famfamfam/assets/images/flags.png +0 -0
  190. data/formantic-ui/themes/github/assets/fonts/LICENSE.txt +94 -0
  191. data/formantic-ui/themes/github/assets/fonts/octicons.woff +0 -0
  192. data/formantic-ui/themes/github/assets/fonts/octicons.woff2 +0 -0
  193. data/formantic-ui/themes/material/assets/fonts/LICENSE.txt +202 -0
  194. data/formantic-ui/themes/material/assets/fonts/icons.woff +0 -0
  195. data/formantic-ui/themes/material/assets/fonts/icons.woff2 +0 -0
  196. data/lib/ui/version.rb +1 -1
  197. metadata +194 -1
@@ -0,0 +1,779 @@
1
+ /*!
2
+ * # Fomantic-UI 2.9.4 - Modal
3
+ * https://github.com/fomantic/Fomantic-UI/
4
+ *
5
+ *
6
+ * Released under the MIT license
7
+ * https://opensource.org/licenses/MIT
8
+ *
9
+ */
10
+
11
+
12
+ /*******************************
13
+ Modal
14
+ *******************************/
15
+
16
+ .ui.modal {
17
+ position: absolute;
18
+ display: none;
19
+ z-index: 1001;
20
+ text-align: left;
21
+ background: #fff;
22
+ border: none;
23
+ box-shadow: 1px 3px 3px 0 rgba(0, 0, 0, 0.2), 1px 3px 15px 2px rgba(0, 0, 0, 0.2);
24
+ transform-origin: 50% 25%;
25
+ flex: 0 0 auto;
26
+ border-radius: 0.28571429rem;
27
+ -webkit-user-select: text;
28
+ -ms-user-select: text;
29
+ user-select: text;
30
+ will-change: top, left, margin, transform, opacity;
31
+ outline: none;
32
+ }
33
+ .ui.modal > :first-child:not(.close):not(.dimmer),
34
+ .ui.modal > i.icon:first-child + *,
35
+ .ui.modal > .dimmer:first-child + *:not(.close),
36
+ .ui.modal > .dimmer:first-child + i.icon + * {
37
+ border-top-left-radius: 0.28571429rem;
38
+ border-top-right-radius: 0.28571429rem;
39
+ }
40
+ .ui.modal > :last-child {
41
+ border-bottom-left-radius: 0.28571429rem;
42
+ border-bottom-right-radius: 0.28571429rem;
43
+ }
44
+ .ui.modal > .ui.dimmer {
45
+ border-radius: inherit;
46
+ }
47
+
48
+
49
+ /*******************************
50
+ Content
51
+ *******************************/
52
+
53
+
54
+ /* --------------
55
+ Close
56
+ --------------- */
57
+ .ui.modal > .close {
58
+ cursor: pointer;
59
+ position: absolute;
60
+ top: -2.5rem;
61
+ right: -2.5rem;
62
+ z-index: 1;
63
+ opacity: 0.8;
64
+ font-size: 1.25em;
65
+ color: #fff;
66
+ width: 2.25rem;
67
+ height: 2.25rem;
68
+ padding: 0.625rem 0 0 0;
69
+ }
70
+ .ui.modal > .close:focus,
71
+ .ui.modal > .close:hover {
72
+ opacity: 1;
73
+ outline: none;
74
+ }
75
+
76
+ /* --------------
77
+ Header
78
+ --------------- */
79
+ .ui.modal > .header {
80
+ display: block;
81
+ font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
82
+ background: #fff;
83
+ margin: 0;
84
+ padding: 1.25rem 1.5rem;
85
+ box-shadow: none;
86
+ color: rgba(0, 0, 0, 0.85);
87
+ border-bottom: 1px solid rgba(34, 36, 38, 0.15);
88
+ }
89
+ .ui.modal > .header:not(.ui) {
90
+ font-size: 1.42857143rem;
91
+ line-height: 1.28571429em;
92
+ font-weight: bold;
93
+ }
94
+
95
+ /* --------------
96
+ Content
97
+ --------------- */
98
+ .ui.modal > .content {
99
+ display: block;
100
+ width: 100%;
101
+ font-size: 1em;
102
+ line-height: 1.4;
103
+ padding: 1.5rem;
104
+ background: #fff;
105
+ }
106
+ .ui.modal > .image.content {
107
+ display: flex;
108
+ flex-direction: row;
109
+ }
110
+
111
+ /* Image */
112
+ .ui.modal > .content > .image {
113
+ display: block;
114
+ flex: 0 1 auto;
115
+ width: "";
116
+ align-self: start;
117
+ max-width: 100%;
118
+ }
119
+ .ui.modal > [class*="top aligned"] {
120
+ align-self: start;
121
+ }
122
+ .ui.modal > [class*="middle aligned"] {
123
+ align-self: center;
124
+ }
125
+ .ui.modal > [class*="stretched"] {
126
+ align-self: stretch;
127
+ }
128
+
129
+ /* Description */
130
+ .ui.modal > .content > .description {
131
+ display: block;
132
+ flex: 1 0 auto;
133
+ min-width: 0;
134
+ align-self: start;
135
+ }
136
+ .ui.modal > .content > i.icon + .description,
137
+ .ui.modal > .content > .image + .description {
138
+ flex: 0 1 auto;
139
+ min-width: "";
140
+ width: auto;
141
+ padding-left: 2em;
142
+ }
143
+
144
+ /* rtl:ignore */
145
+ .ui.modal > .content > .image > i.icon {
146
+ margin: 0;
147
+ opacity: 1;
148
+ width: auto;
149
+ line-height: 1;
150
+ font-size: 8rem;
151
+ }
152
+
153
+ /* --------------
154
+ Actions
155
+ --------------- */
156
+ .ui.modal > .actions {
157
+ background: #f9fafb;
158
+ padding: 1rem;
159
+ border-top: 1px solid rgba(34, 36, 38, 0.15);
160
+ text-align: right;
161
+ }
162
+ .ui.modal .actions > .button:not(.fluid) {
163
+ margin-left: 0.75em;
164
+ }
165
+ .ui.ui.modal > .basic.actions,
166
+ .ui.basic.modal > .actions {
167
+ border-top: none;
168
+ }
169
+ .ui.modal > .left.actions {
170
+ text-align: left;
171
+ }
172
+ .ui.modal > .left.actions > .button:not(.fluid) {
173
+ margin-left: 0.5em;
174
+ margin-right: 0.5em;
175
+ }
176
+ .ui.modal > .centered,
177
+ .ui.modal > .center.aligned {
178
+ text-align: center;
179
+ }
180
+ .ui.modal > .centered.actions > .button:not(.fluid),
181
+ .ui.modal > .center.aligned.actions > .button:not(.fluid) {
182
+ margin-left: 0.5em;
183
+ margin-right: 0.5em;
184
+ }
185
+
186
+ /* -------------------
187
+ Responsive
188
+ -------------------- */
189
+
190
+ /* Modal Width */
191
+ @media only screen and (max-width: 767.98px) {
192
+ .ui.modal:not(.fullscreen) {
193
+ width: 95%;
194
+ margin: 0;
195
+ }
196
+ }
197
+ @media only screen and (min-width: 768px) {
198
+ .ui.modal:not(.fullscreen) {
199
+ width: 88%;
200
+ margin: 0;
201
+ }
202
+ }
203
+ @media only screen and (min-width: 992px) {
204
+ .ui.modal:not(.fullscreen) {
205
+ width: 850px;
206
+ margin: 0;
207
+ }
208
+ .ui.modal:not(.fullscreen) > .active.dimmer + .close:not(.inside) {
209
+ pointer-events: none;
210
+ opacity: 0.1;
211
+ }
212
+ .ui.dimmer > .ui.modal:not(.fullscreen) > .close:not(.inside) {
213
+ text-shadow: -1px -1px 2px rgba(0, 0, 0, 0.3), 1px -1px 2px rgba(0, 0, 0, 0.3), -1px 2px 2px rgba(0, 0, 0, 0.3), 1px 2px 2px rgba(0, 0, 0, 0.3);
214
+ }
215
+ .ui.inverted.dimmer > .ui.modal:not(.fullscreen) > .close:not(.inside) {
216
+ text-shadow: -1px -1px 2px rgba(255, 255, 255, 0.3), 1px -1px 2px rgba(255, 255, 255, 0.3), -1px 2px 2px rgba(255, 255, 255, 0.3), 1px 2px 2px rgba(255, 255, 255, 0.3);
217
+ }
218
+ }
219
+ @media only screen and (min-width: 1200px) {
220
+ .ui.modal:not(.fullscreen) {
221
+ width: 900px;
222
+ margin: 0;
223
+ }
224
+ }
225
+ @media only screen and (min-width: 1920px) {
226
+ .ui.modal:not(.fullscreen) {
227
+ width: 950px;
228
+ margin: 0;
229
+ }
230
+ }
231
+
232
+ /* Tablet and Mobile */
233
+ @media only screen and (max-width: 991.98px) {
234
+ .ui.modal > .close + .header {
235
+ padding-right: 2.25rem;
236
+ }
237
+ .ui.modal > .close {
238
+ top: 1.0535rem;
239
+ right: 1rem;
240
+ color: rgba(0, 0, 0, 0.87);
241
+ }
242
+ }
243
+
244
+ /* Mobile */
245
+ @media only screen and (max-width: 767.98px) {
246
+ .ui.modal > .header {
247
+ padding: 0.75rem 1rem;
248
+ }
249
+ .ui.modal > .close + .header {
250
+ padding-right: 2.25rem;
251
+ }
252
+ .ui.overlay.fullscreen.modal > .content.content.content {
253
+ min-height: calc(100vh - 8.1rem);
254
+ }
255
+ .ui.overlay.fullscreen.modal > .scrolling.content.content.content {
256
+ max-height: calc(100vh - 8.1rem);
257
+ }
258
+ .ui.modal > .content {
259
+ display: block;
260
+ padding: 1rem !important;
261
+ }
262
+ .ui.modal > .close {
263
+ top: 0.5rem !important;
264
+ right: 0.5rem !important;
265
+ }
266
+
267
+ /* rtl:ignore */
268
+ .ui.modal .image.content {
269
+ flex-direction: column;
270
+ }
271
+ .ui.modal > .content > .image {
272
+ display: block;
273
+ max-width: 100%;
274
+ margin: 0 auto !important;
275
+ text-align: center;
276
+ padding: 0 0 1rem !important;
277
+ }
278
+ .ui.modal > .content > .image > i.icon {
279
+ font-size: 5rem;
280
+ text-align: center;
281
+ }
282
+
283
+ /* rtl:ignore */
284
+ .ui.modal > .content > .description {
285
+ display: block;
286
+ width: 100% !important;
287
+ margin: 0 !important;
288
+ padding: 1rem 0 !important;
289
+ box-shadow: none;
290
+ }
291
+
292
+ /* Let Buttons Stack */
293
+ .ui.modal > .actions {
294
+ padding: 1rem 1rem 0rem !important;
295
+ }
296
+ .ui.modal .actions > .buttons,
297
+ .ui.modal .actions > .button {
298
+ margin-bottom: 1rem;
299
+ }
300
+ }
301
+
302
+ /* --------------
303
+ Coupling
304
+ --------------- */
305
+ .ui.inverted.dimmer > .ui.modal {
306
+ box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.2);
307
+ }
308
+
309
+
310
+ /*******************************
311
+ Types
312
+ *******************************/
313
+
314
+ .ui.basic.modal {
315
+ background-color: transparent;
316
+ border: none;
317
+ border-radius: 0;
318
+ box-shadow: none !important;
319
+ color: #fff;
320
+ }
321
+ .ui.ui.modal > .basic.header,
322
+ .ui.ui.modal > .basic.actions,
323
+ .ui.basic.modal > .header,
324
+ .ui.basic.modal > .content,
325
+ .ui.basic.modal > .actions {
326
+ background-color: transparent;
327
+ }
328
+ .ui.modal > .basic.header {
329
+ border-bottom: none;
330
+ }
331
+ .ui.basic.modal > .header {
332
+ color: #fff;
333
+ border-bottom: none;
334
+ }
335
+ .ui.basic.modal > .close {
336
+ top: 1rem;
337
+ right: 1.5rem;
338
+ color: #fff;
339
+ }
340
+ .ui.inverted.dimmer > .basic.modal {
341
+ color: rgba(0, 0, 0, 0.87);
342
+ }
343
+ .ui.inverted.dimmer > .ui.basic.modal > .header {
344
+ color: rgba(0, 0, 0, 0.85);
345
+ }
346
+
347
+ /* Resort to margin positioning if legacy */
348
+ .ui.legacy.legacy.modal,
349
+ .ui.legacy.legacy.page.dimmer > .ui.modal {
350
+ left: 50% !important;
351
+ }
352
+ .ui.legacy.legacy.modal:not(.aligned),
353
+ .ui.legacy.legacy.page.dimmer > .ui.modal:not(.aligned) {
354
+ top: 50%;
355
+ }
356
+ .ui.legacy.legacy.page.dimmer > .ui.scrolling.modal:not(.aligned),
357
+ .ui.page.dimmer > .ui.scrolling.legacy.legacy.modal:not(.aligned),
358
+ .ui.top.aligned.legacy.legacy.page.dimmer > .ui.modal:not(.aligned),
359
+ .ui.top.aligned.dimmer > .ui.legacy.legacy.modal:not(.aligned) {
360
+ top: auto;
361
+ }
362
+ .ui.legacy.overlay.fullscreen.modal {
363
+ margin-top: -2rem !important;
364
+ }
365
+
366
+
367
+ /*******************************
368
+ States
369
+ *******************************/
370
+
371
+ .ui.loading.modal {
372
+ display: block;
373
+ visibility: hidden;
374
+ z-index: -1;
375
+ }
376
+ .ui.active.modal {
377
+ display: block;
378
+ }
379
+
380
+
381
+ /*******************************
382
+ Variations
383
+ *******************************/
384
+
385
+
386
+ /* --------------
387
+ Aligned
388
+ --------------- */
389
+ .modals.dimmer .ui.top.aligned.modal {
390
+ top: 5vh;
391
+ }
392
+ .modals.dimmer .ui.bottom.aligned.modal {
393
+ bottom: 5vh;
394
+ }
395
+ @media only screen and (max-width: 767.98px) {
396
+ .modals.dimmer .ui.top.aligned.modal {
397
+ top: 1rem;
398
+ }
399
+ .modals.dimmer .ui.bottom.aligned.modal {
400
+ bottom: 1rem;
401
+ }
402
+ }
403
+
404
+ /* --------------
405
+ Scrolling
406
+ --------------- */
407
+
408
+ /* Scrolling Dimmer */
409
+ .scrolling.dimmable.dimmed {
410
+ overflow: hidden;
411
+ }
412
+ .scrolling.dimmable > .dimmer {
413
+ justify-content: center;
414
+ position: fixed;
415
+ }
416
+ .scrolling.dimmable:not(body) > .dimmer {
417
+ position: absolute;
418
+ }
419
+ .scrolling.dimmable.dimmed > .dimmer {
420
+ overflow: auto;
421
+ -ms-scroll-chaining: none;
422
+ overscroll-behavior: none;
423
+ }
424
+ .modals.dimmer .ui.scrolling.modal.fullscreen {
425
+ top: 0;
426
+ }
427
+ .modals.dimmer .ui.scrolling.modal:not(.fullscreen) {
428
+ margin: 2rem auto;
429
+ top: 1em;
430
+ }
431
+
432
+ /* Fix for Firefox, Edge, IE11 */
433
+ .modals.dimmer .ui.scrolling.modal:not([class*="overlay fullscreen"])::after {
434
+ content: "\00A0";
435
+ position: absolute;
436
+ height: 2rem;
437
+ }
438
+
439
+ /* Undetached Scrolling */
440
+ .scrolling.undetached.dimmable.dimmed {
441
+ overflow: auto;
442
+ -ms-scroll-chaining: none;
443
+ overscroll-behavior: none;
444
+ }
445
+ .scrolling.undetached.dimmable.dimmed > .dimmer {
446
+ overflow: hidden;
447
+ }
448
+ .scrolling.undetached.dimmable .ui.scrolling.modal:not(.fullscreen) {
449
+ position: absolute;
450
+ left: 50%;
451
+ }
452
+
453
+ /* Scrolling Content */
454
+ .ui.modal > .scrolling.content {
455
+ max-height: calc(80vh - 10rem);
456
+ overflow: auto;
457
+ -ms-scroll-chaining: none;
458
+ overscroll-behavior: none;
459
+ }
460
+ .ui.modal > .resizable.scrolling.content {
461
+ resize: vertical;
462
+ max-height: none;
463
+ }
464
+ .ui.overlay.fullscreen.modal > .content {
465
+ min-height: calc(100vh - 9.1rem);
466
+ }
467
+ .ui.overlay.fullscreen.modal > .scrolling.content {
468
+ max-height: calc(100vh - 9.1rem);
469
+ }
470
+
471
+ /* --------------
472
+ Full Screen
473
+ --------------- */
474
+ .ui.fullscreen.modal {
475
+ width: 95%;
476
+ left: 2.5%;
477
+ margin: 1em auto;
478
+ }
479
+ .ui.overlay.fullscreen.modal {
480
+ width: 100%;
481
+ left: 0;
482
+ margin: 0 auto;
483
+ top: 0;
484
+ border-radius: 0;
485
+ }
486
+ .ui.modal > .close.inside + .header:not(.centered):not(.center):not(.icon),
487
+ .ui.fullscreen.modal > .close + .header:not(.centered):not(.center):not(.icon) {
488
+ padding-right: 2.25rem;
489
+ }
490
+ .ui.modal > .close.inside,
491
+ .ui.fullscreen.modal > .close {
492
+ top: 1.0535rem;
493
+ right: 1rem;
494
+ color: rgba(0, 0, 0, 0.87);
495
+ }
496
+ .ui.basic.fullscreen.modal > .close {
497
+ color: #fff;
498
+ }
499
+
500
+ /* --------------
501
+ Size
502
+ --------------- */
503
+ .ui.modal {
504
+ font-size: 1rem;
505
+ }
506
+ .ui.mini.modal > .header:not(.ui) {
507
+ font-size: 1.3em;
508
+ }
509
+ @media only screen and (max-width: 767.98px) {
510
+ .ui.mini.modal {
511
+ width: 95%;
512
+ margin: 0;
513
+ }
514
+ }
515
+ @media only screen and (min-width: 768px) {
516
+ .ui.mini.modal {
517
+ width: 35.2%;
518
+ margin: 0;
519
+ }
520
+ }
521
+ @media only screen and (min-width: 992px) {
522
+ .ui.mini.modal {
523
+ width: 340px;
524
+ margin: 0;
525
+ }
526
+ }
527
+ @media only screen and (min-width: 1200px) {
528
+ .ui.mini.modal {
529
+ width: 360px;
530
+ margin: 0;
531
+ }
532
+ }
533
+ @media only screen and (min-width: 1920px) {
534
+ .ui.mini.modal {
535
+ width: 380px;
536
+ margin: 0;
537
+ }
538
+ }
539
+ .ui.tiny.modal > .header:not(.ui) {
540
+ font-size: 1.3em;
541
+ }
542
+ @media only screen and (max-width: 767.98px) {
543
+ .ui.tiny.modal {
544
+ width: 95%;
545
+ margin: 0;
546
+ }
547
+ }
548
+ @media only screen and (min-width: 768px) {
549
+ .ui.tiny.modal {
550
+ width: 52.8%;
551
+ margin: 0;
552
+ }
553
+ }
554
+ @media only screen and (min-width: 992px) {
555
+ .ui.tiny.modal {
556
+ width: 510px;
557
+ margin: 0;
558
+ }
559
+ }
560
+ @media only screen and (min-width: 1200px) {
561
+ .ui.tiny.modal {
562
+ width: 540px;
563
+ margin: 0;
564
+ }
565
+ }
566
+ @media only screen and (min-width: 1920px) {
567
+ .ui.tiny.modal {
568
+ width: 570px;
569
+ margin: 0;
570
+ }
571
+ }
572
+ .ui.small.modal > .header:not(.ui) {
573
+ font-size: 1.3em;
574
+ }
575
+ @media only screen and (max-width: 767.98px) {
576
+ .ui.small.modal {
577
+ width: 95%;
578
+ margin: 0;
579
+ }
580
+ }
581
+ @media only screen and (min-width: 768px) {
582
+ .ui.small.modal {
583
+ width: 70.4%;
584
+ margin: 0;
585
+ }
586
+ }
587
+ @media only screen and (min-width: 992px) {
588
+ .ui.small.modal {
589
+ width: 680px;
590
+ margin: 0;
591
+ }
592
+ }
593
+ @media only screen and (min-width: 1200px) {
594
+ .ui.small.modal {
595
+ width: 720px;
596
+ margin: 0;
597
+ }
598
+ }
599
+ @media only screen and (min-width: 1920px) {
600
+ .ui.small.modal {
601
+ width: 760px;
602
+ margin: 0;
603
+ }
604
+ }
605
+ .ui.large.modal > .header:not(.ui) {
606
+ font-size: 1.6em;
607
+ }
608
+ @media only screen and (max-width: 767.98px) {
609
+ .ui.large.modal {
610
+ width: 95%;
611
+ margin: 0;
612
+ }
613
+ }
614
+ @media only screen and (min-width: 768px) {
615
+ .ui.large.modal {
616
+ width: 88%;
617
+ margin: 0;
618
+ }
619
+ }
620
+ @media only screen and (min-width: 992px) {
621
+ .ui.large.modal {
622
+ width: 1020px;
623
+ margin: 0;
624
+ }
625
+ }
626
+ @media only screen and (min-width: 1200px) {
627
+ .ui.large.modal {
628
+ width: 1080px;
629
+ margin: 0;
630
+ }
631
+ }
632
+ @media only screen and (min-width: 1920px) {
633
+ .ui.large.modal {
634
+ width: 1140px;
635
+ margin: 0;
636
+ }
637
+ }
638
+ .ui.big.modal > .header:not(.ui) {
639
+ font-size: 1.6em;
640
+ }
641
+ @media only screen and (max-width: 767.98px) {
642
+ .ui.big.modal {
643
+ width: 95%;
644
+ margin: 0;
645
+ }
646
+ }
647
+ @media only screen and (min-width: 768px) {
648
+ .ui.big.modal {
649
+ width: 88%;
650
+ margin: 0;
651
+ }
652
+ }
653
+ @media only screen and (min-width: 992px) {
654
+ .ui.big.modal {
655
+ width: 1190px;
656
+ margin: 0;
657
+ }
658
+ }
659
+ @media only screen and (min-width: 1200px) {
660
+ .ui.big.modal {
661
+ width: 1260px;
662
+ margin: 0;
663
+ }
664
+ }
665
+ @media only screen and (min-width: 1920px) {
666
+ .ui.big.modal {
667
+ width: 1330px;
668
+ margin: 0;
669
+ }
670
+ }
671
+ .ui.huge.modal > .header:not(.ui) {
672
+ font-size: 1.6em;
673
+ }
674
+ @media only screen and (max-width: 767.98px) {
675
+ .ui.huge.modal {
676
+ width: 95%;
677
+ margin: 0;
678
+ }
679
+ }
680
+ @media only screen and (min-width: 768px) {
681
+ .ui.huge.modal {
682
+ width: 88%;
683
+ margin: 0;
684
+ }
685
+ }
686
+ @media only screen and (min-width: 992px) {
687
+ .ui.huge.modal {
688
+ width: 1360px;
689
+ margin: 0;
690
+ }
691
+ }
692
+ @media only screen and (min-width: 1200px) {
693
+ .ui.huge.modal {
694
+ width: 1440px;
695
+ margin: 0;
696
+ }
697
+ }
698
+ @media only screen and (min-width: 1920px) {
699
+ .ui.huge.modal {
700
+ width: 1520px;
701
+ margin: 0;
702
+ }
703
+ }
704
+ .ui.massive.modal > .header:not(.ui) {
705
+ font-size: 1.8em;
706
+ }
707
+ @media only screen and (max-width: 767.98px) {
708
+ .ui.massive.modal {
709
+ width: 95%;
710
+ margin: 0;
711
+ }
712
+ }
713
+ @media only screen and (min-width: 768px) {
714
+ .ui.massive.modal {
715
+ width: 88%;
716
+ margin: 0;
717
+ }
718
+ }
719
+ @media only screen and (min-width: 992px) {
720
+ .ui.massive.modal {
721
+ width: 1530px;
722
+ margin: 0;
723
+ }
724
+ }
725
+ @media only screen and (min-width: 1200px) {
726
+ .ui.massive.modal {
727
+ width: 1620px;
728
+ margin: 0;
729
+ }
730
+ }
731
+ @media only screen and (min-width: 1920px) {
732
+ .ui.massive.modal {
733
+ width: 1710px;
734
+ margin: 0;
735
+ }
736
+ }
737
+
738
+
739
+ /*****************************
740
+ Inverted
741
+ *******************************/
742
+
743
+ .ui.inverted.modal {
744
+ background: #000;
745
+ }
746
+ .ui.inverted.modal > .header,
747
+ .ui.inverted.modal > .content {
748
+ background: #000;
749
+ color: #fff;
750
+ }
751
+ .ui.inverted.modal > .actions {
752
+ background: #191a1b;
753
+ border-top: 1px solid rgba(34, 36, 38, 0.85);
754
+ color: #fff;
755
+ }
756
+ .ui.inverted.dimmer > .modal > .close {
757
+ color: rgba(0, 0, 0, 0.85);
758
+ }
759
+ @media only screen and (max-width: 991.98px) {
760
+ .ui.dimmer .inverted.modal > .close {
761
+ color: #fff;
762
+ }
763
+ }
764
+ .ui.inverted.modal > .close.inside,
765
+ .ui.inverted.fullscreen.modal > .close {
766
+ color: #fff;
767
+ }
768
+
769
+
770
+ /*******************************
771
+ Theme Overrides
772
+ *******************************/
773
+
774
+
775
+
776
+ /*******************************
777
+ Site Overrides
778
+ *******************************/
779
+