rails-active-ui 0.2.2 → 0.3.1

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 (226) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/datatables.css +15 -0
  3. data/app/assets/stylesheets.css +5 -1
  4. data/app/blocks/resource_list_block.rb +153 -0
  5. data/app/components/back_button_component.rb +34 -0
  6. data/app/components/button_component.rb +4 -2
  7. data/app/components/button_to_component.rb +3 -4
  8. data/app/components/column_component.rb +1 -1
  9. data/app/components/container_component.rb +1 -1
  10. data/app/components/dropdown_component.rb +8 -2
  11. data/app/components/grid_component.rb +5 -1
  12. data/app/components/link_to_component.rb +23 -0
  13. data/app/components/menu_item_component.rb +5 -1
  14. data/app/components/message_component.rb +3 -1
  15. data/app/components/modal_component.rb +23 -3
  16. data/app/components/paragraph_component.rb +13 -0
  17. data/app/components/row_component.rb +1 -1
  18. data/app/components/table_row_component.rb +3 -5
  19. data/app/components/template_component.rb +13 -0
  20. data/app/helpers/component_helper.rb +122 -76
  21. data/app/helpers/fui_helper.rb +37 -0
  22. data/app/javascript/datatables.js +10 -0
  23. data/app/javascript/ui/controllers/fui_datatable_controller.js +35 -0
  24. data/app/javascript/ui/controllers/fui_dropdown_controller.js +8 -1
  25. data/app/javascript/ui/controllers/fui_item_list_controller.js +40 -0
  26. data/app/javascript/ui/controllers/navigation_controller.js +23 -0
  27. data/app/javascript/ui/index.js +11 -0
  28. data/app/lib/component.rb +1 -1
  29. data/config/importmap.rb +3 -0
  30. data/config/initializers/ruby_template_handler.rb +4 -1
  31. data/formantic-ui/components/accordion.css +369 -0
  32. data/formantic-ui/components/accordion.js +595 -0
  33. data/formantic-ui/components/accordion.min.css +9 -0
  34. data/formantic-ui/components/accordion.min.js +11 -0
  35. data/formantic-ui/components/ad.css +264 -0
  36. data/formantic-ui/components/ad.min.css +10 -0
  37. data/formantic-ui/components/api.js +1225 -0
  38. data/formantic-ui/components/api.min.js +11 -0
  39. data/formantic-ui/components/breadcrumb.css +135 -0
  40. data/formantic-ui/components/breadcrumb.min.css +9 -0
  41. data/formantic-ui/components/button.css +4058 -0
  42. data/formantic-ui/components/button.min.css +9 -0
  43. data/formantic-ui/components/calendar.css +327 -0
  44. data/formantic-ui/components/calendar.js +2045 -0
  45. data/formantic-ui/components/calendar.min.css +9 -0
  46. data/formantic-ui/components/calendar.min.js +11 -0
  47. data/formantic-ui/components/card.css +1881 -0
  48. data/formantic-ui/components/card.min.css +9 -0
  49. data/formantic-ui/components/checkbox.css +785 -0
  50. data/formantic-ui/components/checkbox.js +888 -0
  51. data/formantic-ui/components/checkbox.min.css +9 -0
  52. data/formantic-ui/components/checkbox.min.js +11 -0
  53. data/formantic-ui/components/comment.css +283 -0
  54. data/formantic-ui/components/comment.min.css +9 -0
  55. data/formantic-ui/components/container.css +300 -0
  56. data/formantic-ui/components/container.min.css +9 -0
  57. data/formantic-ui/components/dimmer.css +367 -0
  58. data/formantic-ui/components/dimmer.js +732 -0
  59. data/formantic-ui/components/dimmer.min.css +9 -0
  60. data/formantic-ui/components/dimmer.min.js +11 -0
  61. data/formantic-ui/components/divider.css +287 -0
  62. data/formantic-ui/components/divider.min.css +9 -0
  63. data/formantic-ui/components/dropdown.css +2087 -0
  64. data/formantic-ui/components/dropdown.js +4432 -0
  65. data/formantic-ui/components/dropdown.min.css +9 -0
  66. data/formantic-ui/components/dropdown.min.js +11 -0
  67. data/formantic-ui/components/embed.css +155 -0
  68. data/formantic-ui/components/embed.js +688 -0
  69. data/formantic-ui/components/embed.min.css +9 -0
  70. data/formantic-ui/components/embed.min.js +11 -0
  71. data/formantic-ui/components/emoji.css +15311 -0
  72. data/formantic-ui/components/emoji.min.css +9 -0
  73. data/formantic-ui/components/feed.css +799 -0
  74. data/formantic-ui/components/feed.min.css +9 -0
  75. data/formantic-ui/components/flag.css +1149 -0
  76. data/formantic-ui/components/flag.min.css +9 -0
  77. data/formantic-ui/components/flyout.css +546 -0
  78. data/formantic-ui/components/flyout.js +1551 -0
  79. data/formantic-ui/components/flyout.min.css +9 -0
  80. data/formantic-ui/components/flyout.min.js +11 -0
  81. data/formantic-ui/components/form.css +1885 -0
  82. data/formantic-ui/components/form.js +2199 -0
  83. data/formantic-ui/components/form.min.css +9 -0
  84. data/formantic-ui/components/form.min.js +11 -0
  85. data/formantic-ui/components/grid.css +1952 -0
  86. data/formantic-ui/components/grid.min.css +9 -0
  87. data/formantic-ui/components/header.css +778 -0
  88. data/formantic-ui/components/header.min.css +9 -0
  89. data/formantic-ui/components/icon.css +7066 -0
  90. data/formantic-ui/components/icon.min.css +9 -0
  91. data/formantic-ui/components/image.css +315 -0
  92. data/formantic-ui/components/image.min.css +9 -0
  93. data/formantic-ui/components/input.css +1566 -0
  94. data/formantic-ui/components/input.min.css +9 -0
  95. data/formantic-ui/components/item.css +534 -0
  96. data/formantic-ui/components/item.min.css +9 -0
  97. data/formantic-ui/components/label.css +2114 -0
  98. data/formantic-ui/components/label.min.css +9 -0
  99. data/formantic-ui/components/list.css +955 -0
  100. data/formantic-ui/components/list.min.css +9 -0
  101. data/formantic-ui/components/loader.css +787 -0
  102. data/formantic-ui/components/loader.min.css +9 -0
  103. data/formantic-ui/components/menu.css +2131 -0
  104. data/formantic-ui/components/menu.min.css +9 -0
  105. data/formantic-ui/components/message.css +619 -0
  106. data/formantic-ui/components/message.min.css +9 -0
  107. data/formantic-ui/components/modal.css +779 -0
  108. data/formantic-ui/components/modal.js +1637 -0
  109. data/formantic-ui/components/modal.min.css +9 -0
  110. data/formantic-ui/components/modal.min.js +11 -0
  111. data/formantic-ui/components/nag.css +290 -0
  112. data/formantic-ui/components/nag.js +566 -0
  113. data/formantic-ui/components/nag.min.css +9 -0
  114. data/formantic-ui/components/nag.min.js +11 -0
  115. data/formantic-ui/components/placeholder.css +228 -0
  116. data/formantic-ui/components/placeholder.min.css +9 -0
  117. data/formantic-ui/components/popup.css +1184 -0
  118. data/formantic-ui/components/popup.js +1561 -0
  119. data/formantic-ui/components/popup.min.css +9 -0
  120. data/formantic-ui/components/popup.min.js +11 -0
  121. data/formantic-ui/components/progress.css +761 -0
  122. data/formantic-ui/components/progress.js +979 -0
  123. data/formantic-ui/components/progress.min.css +9 -0
  124. data/formantic-ui/components/progress.min.js +11 -0
  125. data/formantic-ui/components/rail.css +147 -0
  126. data/formantic-ui/components/rail.min.css +9 -0
  127. data/formantic-ui/components/rating.css +414 -0
  128. data/formantic-ui/components/rating.js +540 -0
  129. data/formantic-ui/components/rating.min.css +9 -0
  130. data/formantic-ui/components/rating.min.js +11 -0
  131. data/formantic-ui/components/reset.css +386 -0
  132. data/formantic-ui/components/reset.min.css +9 -0
  133. data/formantic-ui/components/reveal.css +277 -0
  134. data/formantic-ui/components/reveal.min.css +9 -0
  135. data/formantic-ui/components/search.css +541 -0
  136. data/formantic-ui/components/search.js +1641 -0
  137. data/formantic-ui/components/search.min.css +9 -0
  138. data/formantic-ui/components/search.min.js +11 -0
  139. data/formantic-ui/components/segment.css +1053 -0
  140. data/formantic-ui/components/segment.min.css +9 -0
  141. data/formantic-ui/components/shape.css +144 -0
  142. data/formantic-ui/components/shape.js +797 -0
  143. data/formantic-ui/components/shape.min.css +9 -0
  144. data/formantic-ui/components/shape.min.js +11 -0
  145. data/formantic-ui/components/sidebar.css +539 -0
  146. data/formantic-ui/components/sidebar.js +1054 -0
  147. data/formantic-ui/components/sidebar.min.css +9 -0
  148. data/formantic-ui/components/sidebar.min.js +11 -0
  149. data/formantic-ui/components/site.css +286 -0
  150. data/formantic-ui/components/site.js +455 -0
  151. data/formantic-ui/components/site.min.css +9 -0
  152. data/formantic-ui/components/site.min.js +11 -0
  153. data/formantic-ui/components/slider.css +926 -0
  154. data/formantic-ui/components/slider.js +1546 -0
  155. data/formantic-ui/components/slider.min.css +9 -0
  156. data/formantic-ui/components/slider.min.js +11 -0
  157. data/formantic-ui/components/state.js +697 -0
  158. data/formantic-ui/components/state.min.js +11 -0
  159. data/formantic-ui/components/statistic.css +586 -0
  160. data/formantic-ui/components/statistic.min.css +9 -0
  161. data/formantic-ui/components/step.css +1538 -0
  162. data/formantic-ui/components/step.min.css +9 -0
  163. data/formantic-ui/components/sticky.css +73 -0
  164. data/formantic-ui/components/sticky.js +917 -0
  165. data/formantic-ui/components/sticky.min.css +9 -0
  166. data/formantic-ui/components/sticky.min.js +11 -0
  167. data/formantic-ui/components/tab.css +84 -0
  168. data/formantic-ui/components/tab.js +967 -0
  169. data/formantic-ui/components/tab.min.css +9 -0
  170. data/formantic-ui/components/tab.min.js +11 -0
  171. data/formantic-ui/components/table.css +3473 -0
  172. data/formantic-ui/components/table.min.css +9 -0
  173. data/formantic-ui/components/text.css +155 -0
  174. data/formantic-ui/components/text.min.css +9 -0
  175. data/formantic-ui/components/toast.css +751 -0
  176. data/formantic-ui/components/toast.js +964 -0
  177. data/formantic-ui/components/toast.min.css +9 -0
  178. data/formantic-ui/components/toast.min.js +11 -0
  179. data/formantic-ui/components/transition.css +1148 -0
  180. data/formantic-ui/components/transition.js +1034 -0
  181. data/formantic-ui/components/transition.min.css +9 -0
  182. data/formantic-ui/components/transition.min.js +11 -0
  183. data/formantic-ui/components/visibility.js +1292 -0
  184. data/formantic-ui/components/visibility.min.js +11 -0
  185. data/formantic-ui/semantic.css +78485 -0
  186. data/formantic-ui/semantic.js +31036 -0
  187. data/formantic-ui/semantic.min.css +11 -0
  188. data/formantic-ui/semantic.min.js +11 -0
  189. data/formantic-ui/themes/basic/assets/fonts/LICENSE.txt +91 -0
  190. data/formantic-ui/themes/basic/assets/fonts/icons.woff +0 -0
  191. data/formantic-ui/themes/basic/assets/fonts/icons.woff2 +0 -0
  192. data/formantic-ui/themes/default/assets/fonts/LICENSE_Lato.txt +94 -0
  193. data/formantic-ui/themes/default/assets/fonts/LICENSE_icons.txt +165 -0
  194. data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  195. data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  196. data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  197. data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  198. data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  199. data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  200. data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  201. data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  202. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  203. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  204. data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  205. data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  206. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  207. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  208. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  209. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  210. data/formantic-ui/themes/default/assets/fonts/brand-icons.woff +0 -0
  211. data/formantic-ui/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  212. data/formantic-ui/themes/default/assets/fonts/icons.woff +0 -0
  213. data/formantic-ui/themes/default/assets/fonts/icons.woff2 +0 -0
  214. data/formantic-ui/themes/default/assets/fonts/outline-icons.woff +0 -0
  215. data/formantic-ui/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  216. data/formantic-ui/themes/famfamfam/assets/images/flags.png +0 -0
  217. data/formantic-ui/themes/github/assets/fonts/LICENSE.txt +94 -0
  218. data/formantic-ui/themes/github/assets/fonts/octicons.woff +0 -0
  219. data/formantic-ui/themes/github/assets/fonts/octicons.woff2 +0 -0
  220. data/formantic-ui/themes/material/assets/fonts/LICENSE.txt +202 -0
  221. data/formantic-ui/themes/material/assets/fonts/icons.woff +0 -0
  222. data/formantic-ui/themes/material/assets/fonts/icons.woff2 +0 -0
  223. data/lib/ui/engine.rb +7 -2
  224. data/lib/ui/version.rb +1 -1
  225. metadata +205 -7
  226. data/app/components/link_component.rb +0 -23
@@ -0,0 +1,751 @@
1
+ /*!
2
+ * # Fomantic-UI 2.9.4 - Toast
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
+ Toast container
14
+ *******************************/
15
+
16
+ .ui.toast-container {
17
+ position: fixed;
18
+ z-index: 9999;
19
+ }
20
+ .ui.toast-container.absolute {
21
+ position: absolute;
22
+ }
23
+ .ui.toast-container.ui.attached {
24
+ width: 100%;
25
+ left: 0;
26
+ }
27
+ .ui.toast-container.ui.attached .vertical.attached {
28
+ border-radius: 0;
29
+ }
30
+ .ui.toast-container.ui.attached.ui.ui .attached.actions .button {
31
+ border-radius: 0;
32
+ }
33
+ .ui.toast-container.ui.attached .toast-box {
34
+ margin: 0;
35
+ width: 100%;
36
+ border-radius: 0;
37
+ }
38
+ .ui.toast-container.ui.attached .toast-box > .ui.toast,
39
+ .ui.toast-container.ui.attached .toast-box > .ui.message {
40
+ margin-left: 0;
41
+ }
42
+ .ui.toast-container.ui.attached .toast-box.floating,
43
+ .ui.toast-container.ui.attached .toast-box.hoverfloating:hover {
44
+ border: none;
45
+ }
46
+ .ui.toast-container.ui.attached .toast-box > .vertical > .content {
47
+ flex: 1;
48
+ }
49
+ .ui.toast-container.ui.attached .toast-box > * {
50
+ width: 100%;
51
+ border-radius: 0;
52
+ }
53
+ .ui.toast-container.ui.attached .toast-box > * > .vertical:not(.actions) {
54
+ flex: 1;
55
+ }
56
+ .ui.toast-container.ui.attached .toast-box > .attached.actions {
57
+ margin-right: 1px;
58
+ }
59
+ .ui.toast-container.ui.attached.top {
60
+ top: 0;
61
+ }
62
+ .ui.toast-container.ui.attached.bottom {
63
+ bottom: 0;
64
+ }
65
+ .ui.toast-container.top.right {
66
+ top: 0.85714286em;
67
+ right: 0.85714286em;
68
+ margin-left: 0.85714286em;
69
+ }
70
+ .ui.toast-container.top.left {
71
+ top: 0.85714286em;
72
+ left: 0.85714286em;
73
+ margin-right: 0.85714286em;
74
+ }
75
+ .ui.toast-container.top.center {
76
+ left: 50%;
77
+ transform: translate(-50%, 0);
78
+ top: 0.85714286em;
79
+ }
80
+ .ui.toast-container.bottom.right {
81
+ bottom: 0.85714286em;
82
+ right: 0.85714286em;
83
+ margin-left: 0.85714286em;
84
+ }
85
+ .ui.toast-container.bottom.left {
86
+ bottom: 0.85714286em;
87
+ left: 0.85714286em;
88
+ margin-right: 0.85714286em;
89
+ }
90
+ .ui.toast-container.bottom.center {
91
+ left: 50%;
92
+ transform: translate(-50%, 0);
93
+ bottom: 0.85714286em;
94
+ }
95
+ .ui.toast-container.centered {
96
+ transform: translate(-50%, -50%);
97
+ top: 50%;
98
+ left: 50%;
99
+ }
100
+ .ui.toast-container .visible.toast-box,
101
+ .ui.toast-container .animating.toast-box,
102
+ .ui.toast-container .toast-box {
103
+ display: table !important;
104
+ }
105
+ .ui.toast-container.horizontal {
106
+ display: flex;
107
+ flex-direction: row;
108
+ }
109
+ .ui.toast-container.horizontal .toast-box {
110
+ margin-right: 0.5em;
111
+ }
112
+ .ui.toast-container .toast-box {
113
+ margin-bottom: 0.5em;
114
+ border-radius: 0.28571429rem;
115
+ cursor: default;
116
+ will-change: transform, opacity;
117
+ }
118
+ .ui.toast-container .toast-box:hover {
119
+ opacity: 1;
120
+ }
121
+ .ui.toast-container .toast-box:not(.unclickable):hover {
122
+ cursor: pointer;
123
+ }
124
+ .ui.toast-container .toast-box.floating,
125
+ .ui.toast-container .toast-box.hoverfloating:hover {
126
+ box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
127
+ border: 1px solid rgba(34, 36, 38, 0.12);
128
+ }
129
+ .ui.toast-container .toast-box.inverted.floating,
130
+ .ui.toast-container .toast-box.inverted.hoverfloating:hover {
131
+ box-shadow: 0 2px 4px 0 rgba(225, 225, 225, 0.1), 0 2px 10px 0 rgba(225, 225, 225, 0.5);
132
+ border: 1px solid rgba(225, 225, 225, 0.5);
133
+ }
134
+ .ui.toast-container .toast-box.compact,
135
+ .ui.toast-container .toast-box > .compact {
136
+ width: 350px;
137
+ }
138
+ .ui.toast-container .toast-box > .ui.toast,
139
+ .ui.toast-container .toast-box > .ui.message {
140
+ margin: 0 -1px -0.01em;
141
+ position: relative;
142
+ }
143
+ .ui.toast-container .toast-box > .attached.progress {
144
+ z-index: 1;
145
+ }
146
+ .ui.toast-container .toast-box > .attached.progress.bottom {
147
+ margin: -0.2em -1px -0.01em;
148
+ }
149
+ .ui.toast-container .toast-box > .attached.progress.top {
150
+ margin: -0.01em -1px -0.2em;
151
+ }
152
+ .ui.toast-container .toast-box > .attached.progress .bar {
153
+ min-width: 0;
154
+ }
155
+ .ui.toast-container .toast-box > .attached.progress.info .bar.bar.bar {
156
+ background: #12a1bf;
157
+ }
158
+ .ui.toast-container .toast-box > .attached.progress.warning .bar.bar.bar {
159
+ background: #cf9b0d;
160
+ }
161
+ .ui.toast-container .toast-box > .attached.progress.success .bar.bar.bar {
162
+ background: #15792d;
163
+ }
164
+ .ui.toast-container .toast-box > .attached.progress.error .bar.bar.bar {
165
+ background: #9c1a1a;
166
+ }
167
+ .ui.toast-container .toast-box > .attached.progress.neutral .bar.bar.bar {
168
+ background: #d9d9d9;
169
+ }
170
+ .ui.toast-container .toast-box > .ui.message > .close.icon {
171
+ top: 0.3em;
172
+ right: 0.3em;
173
+ }
174
+ .ui.toast-container .toast-box > .ui.message > .actions:last-child {
175
+ margin-bottom: -1em;
176
+ }
177
+ .ui.toast-container .toast-box > .ui.message.icon {
178
+ align-items: inherit;
179
+ }
180
+ .ui.toast-container .toast-box > .ui.message.icon > :not(.icon):not(.actions) {
181
+ padding-left: 5rem;
182
+ }
183
+ .ui.toast-container .toast-box > .ui.message.icon > i.icon:not(.close) {
184
+ display: inline-block;
185
+ position: absolute;
186
+ width: 4rem;
187
+ top: 50%;
188
+ transform: translateY(-50%);
189
+ }
190
+ .ui.toast-container .toast-box > .ui.message.icon:not(.vertical).actions > i.icon:not(.close) {
191
+ top: calc(50% - 1.2em);
192
+ transform: none;
193
+ }
194
+ .ui.toast-container .toast-box > .ui.message.icon:not(.vertical).icon.icon.icon {
195
+ display: block;
196
+ }
197
+ .ui.toast-container .toast-box .ui.toast > .close.icon {
198
+ cursor: pointer;
199
+ margin: 0;
200
+ opacity: 0.7;
201
+ transition: opacity 0.1s ease;
202
+ }
203
+ .ui.toast-container .toast-box .ui.toast > .close.icon:hover {
204
+ opacity: 1;
205
+ }
206
+ .ui.toast-container .toast-box .ui.toast.vertical > .close.icon {
207
+ margin-top: -0.3em;
208
+ margin-right: -0.3em;
209
+ }
210
+ .ui.toast-container .toast-box .ui.toast:not(.vertical) > .close.icon {
211
+ position: absolute;
212
+ top: 0.3em;
213
+ }
214
+ .ui.toast-container .toast-box .ui.toast:not(.vertical) > .close.icon:not(.left) {
215
+ right: 0.3em;
216
+ }
217
+ .ui.toast-container .toast-box .ui.toast:not(.vertical) > .close.icon.left {
218
+ margin-left: -0.3em;
219
+ }
220
+ .ui.toast-container .toast-box .ui.card {
221
+ margin: 0;
222
+ }
223
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).bottom {
224
+ border-top-left-radius: 0;
225
+ border-top-right-radius: 0;
226
+ }
227
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).bottom.horizontal > .image > img {
228
+ border-top-left-radius: 0;
229
+ }
230
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).bottom.horizontal > .image:last-child > img {
231
+ border-top-right-radius: 0;
232
+ }
233
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).top {
234
+ border-bottom-left-radius: 0;
235
+ border-bottom-right-radius: 0;
236
+ }
237
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).top.horizontal > .image > img {
238
+ border-bottom-left-radius: 0;
239
+ }
240
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).top.horizontal > .image:last-child > img {
241
+ border-bottom-right-radius: 0;
242
+ }
243
+ .ui.toast-container .toast-box .ui.card.horizontal.actions > .image > img {
244
+ border-bottom-left-radius: 0;
245
+ }
246
+ .ui.toast-container .toast-box .ui.card.horizontal.actions > .image:last-child > img {
247
+ border-bottom-right-radius: 0;
248
+ }
249
+ .ui.toast-container .toast-box .progressing {
250
+ animation-iteration-count: 1;
251
+ animation-timing-function: linear;
252
+ }
253
+ .ui.toast-container .toast-box .progressing.up {
254
+ animation-name: progressUp;
255
+ }
256
+ .ui.toast-container .toast-box .progressing.down {
257
+ animation-name: progressDown;
258
+ }
259
+ .ui.toast-container .toast-box .progressing.wait {
260
+ animation-name: progressWait;
261
+ }
262
+ .ui.toast-container .toast-box:hover .pausable.progressing {
263
+ animation-play-state: paused;
264
+ }
265
+ .ui.toast-container .toast-box .ui.toast:not(.vertical) {
266
+ display: block;
267
+ }
268
+ .ui.toast-container .toast-box :not(.comment):not(.card) .actions {
269
+ margin: 0.5em -1em -1em -1em;
270
+ }
271
+ .ui.toast-container .toast-box :not(.comment) .actions {
272
+ padding: 0.5em 0.5em 0.75em 0.5em;
273
+ text-align: right;
274
+ }
275
+ .ui.toast-container .toast-box :not(.comment) .actions.attached:not(.vertical) {
276
+ margin-right: 1px;
277
+ }
278
+ .ui.toast-container .toast-box :not(.comment) .actions:not(.basic):not(.attached) {
279
+ background: rgba(255, 255, 255, 0.25);
280
+ border-top: 1px solid rgba(0, 0, 0, 0.2);
281
+ }
282
+ .ui.toast-container .toast-box :not(.comment) .actions.left {
283
+ text-align: left;
284
+ }
285
+ .ui.toast-container .toast-box .vertical.actions > .button,
286
+ .ui.toast-container .toast-box > .vertical > .vertical.vertical,
287
+ .ui.toast-container .toast-box > .vertical.vertical.vertical {
288
+ display: flex;
289
+ }
290
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions {
291
+ flex-direction: column;
292
+ }
293
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions > .button {
294
+ justify-content: center;
295
+ }
296
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions.attached > .button {
297
+ align-items: center;
298
+ }
299
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions:not(.attached) {
300
+ border-top: 0;
301
+ margin-top: -0.75em;
302
+ margin-bottom: -0.75em;
303
+ margin-left: 1em;
304
+ justify-content: space-around;
305
+ }
306
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions:not(.attached):not(.basic) {
307
+ border-left: 1px solid rgba(0, 0, 0, 0.2);
308
+ }
309
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions:not(.attached) > .button:not(:last-child) {
310
+ margin-bottom: 0.3em;
311
+ }
312
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions:not(.attached).top {
313
+ justify-content: flex-start;
314
+ }
315
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions:not(.attached).bottom {
316
+ justify-content: flex-end;
317
+ }
318
+ .ui.vertical.attached:not(.left).card > .image > img {
319
+ border-top-right-radius: 0;
320
+ }
321
+ .ui.vertical.attached:not(.left).card.horizontal > .image:last-child > img {
322
+ border-top-right-radius: 0;
323
+ border-bottom-right-radius: 0;
324
+ }
325
+ .ui.vertical.attached:not(.left).card,
326
+ .ui.vertical.attached:not(.left).toast {
327
+ border-top-right-radius: 0;
328
+ border-bottom-right-radius: 0;
329
+ }
330
+ .ui.vertical.attached:not(.left).actions {
331
+ border-top-right-radius: 0.28571429rem;
332
+ border-bottom-right-radius: 0.28571429rem;
333
+ }
334
+ .ui.vertical.attached:not(.left).actions .button:first-child,
335
+ .ui.vertical.attached:not(.left).actions .button:last-child {
336
+ border-top-left-radius: 0;
337
+ border-bottom-left-radius: 0;
338
+ }
339
+ .ui.vertical.attached:not(.left).message {
340
+ border-top-right-radius: 0;
341
+ border-bottom-left-radius: 0.28571429rem;
342
+ }
343
+ .ui.vertical.attached.left.card > .image > img {
344
+ border-top-left-radius: 0;
345
+ }
346
+ .ui.vertical.attached.left.card.horizontal > .image > img {
347
+ border-top-left-radius: 0;
348
+ border-bottom-left-radius: 0;
349
+ }
350
+ .ui.vertical.attached.left.card,
351
+ .ui.vertical.attached.left.toast {
352
+ border-top-left-radius: 0;
353
+ border-bottom-left-radius: 0;
354
+ }
355
+ .ui.vertical.attached.left.actions {
356
+ border-top-left-radius: 0.28571429rem;
357
+ border-bottom-left-radius: 0.28571429rem;
358
+ }
359
+ .ui.vertical.attached.left.actions .button:first-child,
360
+ .ui.vertical.attached.left.actions .button:last-child {
361
+ border-top-right-radius: 0;
362
+ border-bottom-right-radius: 0;
363
+ }
364
+ .ui.vertical.attached.left.message.message.message {
365
+ border-top-right-radius: 0.28571429rem;
366
+ border-bottom-right-radius: 0.28571429rem;
367
+ }
368
+ .ui.attached:not(.vertical):not(.top).actions {
369
+ border-bottom-left-radius: 0.28571429rem;
370
+ border-bottom-right-radius: 0.28571429rem;
371
+ }
372
+ .ui.attached:not(.vertical):not(.top).actions .button:first-child {
373
+ border-bottom-left-radius: 0.28571429rem;
374
+ }
375
+ .ui.attached:not(.vertical):not(.top).actions .button:last-child {
376
+ border-bottom-right-radius: 0.28571429rem;
377
+ }
378
+ .ui.attached:not(.vertical).top.actions {
379
+ border-top-left-radius: 0.28571429rem;
380
+ border-top-right-radius: 0.28571429rem;
381
+ }
382
+ .ui.attached:not(.vertical).top.actions .button:first-child {
383
+ border-top-left-radius: 0.28571429rem;
384
+ }
385
+ .ui.attached:not(.vertical).top.actions .button:last-child {
386
+ border-top-right-radius: 0.28571429rem;
387
+ }
388
+
389
+
390
+ /*******************************
391
+ Toast
392
+ *******************************/
393
+
394
+ .ui.toast {
395
+ display: none;
396
+ border-radius: 0.28571429rem;
397
+ padding: 0.78571429em 1em;
398
+ margin: 0 -1px -0.01em;
399
+ color: rgba(0, 0, 0, 0.87);
400
+ background-color: #fff;
401
+ }
402
+ .ui.toast > .content > .header {
403
+ font-weight: bold;
404
+ color: inherit;
405
+ margin: 0;
406
+ }
407
+ .ui.toast.info {
408
+ background-color: #31ccec;
409
+ color: rgba(255, 255, 255, 0.9);
410
+ }
411
+ .ui.toast.warning {
412
+ background-color: #f2c037;
413
+ color: rgba(255, 255, 255, 0.9);
414
+ }
415
+ .ui.toast.success {
416
+ background-color: #21ba45;
417
+ color: rgba(255, 255, 255, 0.9);
418
+ }
419
+ .ui.toast.error {
420
+ background-color: #db2828;
421
+ color: rgba(255, 255, 255, 0.9);
422
+ }
423
+ .ui.toast.neutral {
424
+ background-color: #fff;
425
+ color: rgba(0, 0, 0, 0.87);
426
+ }
427
+ .ui.toast > i.icon:not(.close) {
428
+ font-size: 1.5em;
429
+ }
430
+ .ui.toast:not(.vertical):not(.centered):not(.center) > i.icon:not(.close) {
431
+ position: absolute;
432
+ }
433
+ .ui.toast:not(.vertical):not(.centered):not(.center) > .ui.image {
434
+ position: absolute;
435
+ }
436
+ .ui.toast:not(.vertical) > i.icon:not(.close) + .content {
437
+ padding-left: 3em;
438
+ }
439
+ .ui.toast:not(.vertical) > .close.icon + .content {
440
+ padding-left: 1.5em;
441
+ }
442
+ .ui.toast:not(.vertical) > .ui.image.avatar + .content {
443
+ padding-left: 3em;
444
+ min-height: 2em;
445
+ }
446
+ .ui.toast:not(.vertical) > .ui.image.mini + .content {
447
+ padding-left: 3.4em;
448
+ min-height: 35px;
449
+ }
450
+ .ui.toast:not(.vertical) > .ui.image.tiny + .content {
451
+ padding-left: 7em;
452
+ min-height: 80px;
453
+ }
454
+ .ui.toast:not(.vertical) > .ui.image.small + .content {
455
+ padding-left: 12em;
456
+ min-height: 150px;
457
+ }
458
+ .ui.toast:not(.vertical):not(.centered):not(.center) > .centered.image,
459
+ .ui.toast:not(.vertical):not(.centered):not(.center) > .centered.icon {
460
+ transform: translateY(-50%);
461
+ top: 50%;
462
+ }
463
+ .ui.toast:not(.vertical).actions > .centered.image {
464
+ top: calc(50% - 2em);
465
+ }
466
+ .ui.toast:not(.vertical).actions > .centered.icon {
467
+ top: calc(50% - 1.2em);
468
+ }
469
+ .ui.toast.vertical > .content {
470
+ flex-grow: 1;
471
+ }
472
+ .ui.toast.vertical.attached {
473
+ flex-grow: 1;
474
+ }
475
+ .ui.toast.vertical > .close.icon + .content {
476
+ padding-left: 1em;
477
+ }
478
+ .ui.toast.vertical > .ui.image + .content,
479
+ .ui.toast.vertical > i.icon:not(.close) + .content {
480
+ padding-left: 1em;
481
+ }
482
+ .ui.toast.vertical > .ui.image {
483
+ align-self: flex-start;
484
+ flex-shrink: 0;
485
+
486
+ /* IE11 fix */
487
+ }
488
+ .ui.toast.vertical > .centered.image,
489
+ .ui.toast.vertical > .centered.icon {
490
+ align-self: center;
491
+ }
492
+ .ui.toast.attached.bottom {
493
+ border-top-left-radius: 0;
494
+ border-top-right-radius: 0;
495
+ }
496
+ .ui.toast.attached.top {
497
+ border-bottom-left-radius: 0;
498
+ border-bottom-right-radius: 0;
499
+ }
500
+ .ui.toast.ui.ui.ui.image {
501
+ padding: 0;
502
+ }
503
+ .ui.toast.ui.ui.ui.image > .content {
504
+ padding-top: 0.78571429em;
505
+ padding-bottom: 0.78571429em;
506
+ padding-right: 1em;
507
+ }
508
+ .ui.toast.ui.ui.ui.image > .actions {
509
+ margin: 0;
510
+ }
511
+ .ui.toast.ui.ui.ui.image > .ui.image {
512
+ border-top-left-radius: 0.28571429rem;
513
+ border-bottom-left-radius: 0.28571429rem;
514
+ }
515
+ .ui.toast.ui.ui.ui.image > .ui.image.mini {
516
+ min-width: calc(0.7857142857142857em + 35px);
517
+ }
518
+ .ui.toast.ui.ui.ui.image > .ui.image.mini + .content {
519
+ min-height: calc(0.7857142857142857em + 35px);
520
+ padding-left: 4.4em;
521
+ }
522
+ .ui.hoverfloating.message:hover {
523
+ box-shadow: 0 0 0 1px inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
524
+ }
525
+ .ui.center.toast-container .toast-box,
526
+ .ui.right.toast-container .toast-box {
527
+ margin-left: auto;
528
+ }
529
+ .ui.center.toast-container .toast-box {
530
+ margin-right: auto;
531
+ }
532
+ .ui.ui.toast-container .toast-box .centered.toast,
533
+ .ui.ui.toast-container .toast-box .center.aligned.toast {
534
+ text-align: center;
535
+ display: flex;
536
+ justify-content: center;
537
+ }
538
+ .ui.ui.toast-container .toast-box .centered.toast > .content,
539
+ .ui.ui.toast-container .toast-box .center.aligned.toast > .content,
540
+ .ui.ui.toast-container .toast-box .centered.toast > .ui.image,
541
+ .ui.ui.toast-container .toast-box .center.aligned.toast > .ui.image,
542
+ .ui.ui.toast-container .toast-box .centered.toast > i.icon:not(.close),
543
+ .ui.ui.toast-container .toast-box .center.aligned.toast > i.icon:not(.close) {
544
+ align-self: center;
545
+ }
546
+ .ui.toast-container .toast-box .toast .centered.content,
547
+ .ui.toast-container .toast-box .toast .center.aligned.content {
548
+ text-align: center;
549
+ }
550
+ .ui.toast-container .toast-box .centered.actions,
551
+ .ui.toast-container .toast-box .center.aligned.actions {
552
+ text-align: center;
553
+ }
554
+ .ui.toast-container .toast-box .centered.actions:not(.attached) > .button:not(.fluid),
555
+ .ui.toast-container .toast-box .center.aligned.actions:not(.attached) > .button:not(.fluid) {
556
+ margin-left: 0.25em;
557
+ margin-right: 0.25em;
558
+ }
559
+
560
+ /* --------------
561
+ Colors
562
+ -------------- */
563
+ .ui.primary.toast {
564
+ background-color: #2185d0;
565
+ color: rgba(255, 255, 255, 0.9);
566
+ }
567
+ .ui.inverted.primary.toast,
568
+ .ui.toast-container .toast-box > .inverted.primary.attached.progress .bar {
569
+ background-color: #54c8ff;
570
+ color: rgba(0, 0, 0, 0.87);
571
+ }
572
+ .ui.secondary.toast {
573
+ background-color: #1b1c1d;
574
+ color: rgba(255, 255, 255, 0.9);
575
+ }
576
+ .ui.inverted.secondary.toast,
577
+ .ui.toast-container .toast-box > .inverted.secondary.attached.progress .bar {
578
+ background-color: #545454;
579
+ color: rgba(0, 0, 0, 0.87);
580
+ }
581
+ .ui.red.toast {
582
+ background-color: #db2828;
583
+ color: rgba(255, 255, 255, 0.9);
584
+ }
585
+ .ui.inverted.red.toast,
586
+ .ui.toast-container .toast-box > .inverted.red.attached.progress .bar {
587
+ background-color: #ff695e;
588
+ color: rgba(0, 0, 0, 0.87);
589
+ }
590
+ .ui.orange.toast {
591
+ background-color: #f2711c;
592
+ color: rgba(255, 255, 255, 0.9);
593
+ }
594
+ .ui.inverted.orange.toast,
595
+ .ui.toast-container .toast-box > .inverted.orange.attached.progress .bar {
596
+ background-color: #ff851b;
597
+ color: rgba(0, 0, 0, 0.87);
598
+ }
599
+ .ui.yellow.toast {
600
+ background-color: #fbbd08;
601
+ color: rgba(255, 255, 255, 0.9);
602
+ }
603
+ .ui.inverted.yellow.toast,
604
+ .ui.toast-container .toast-box > .inverted.yellow.attached.progress .bar {
605
+ background-color: #ffe21f;
606
+ color: rgba(0, 0, 0, 0.87);
607
+ }
608
+ .ui.olive.toast {
609
+ background-color: #b5cc18;
610
+ color: rgba(255, 255, 255, 0.9);
611
+ }
612
+ .ui.inverted.olive.toast,
613
+ .ui.toast-container .toast-box > .inverted.olive.attached.progress .bar {
614
+ background-color: #d9e778;
615
+ color: rgba(0, 0, 0, 0.87);
616
+ }
617
+ .ui.green.toast {
618
+ background-color: #21ba45;
619
+ color: rgba(255, 255, 255, 0.9);
620
+ }
621
+ .ui.inverted.green.toast,
622
+ .ui.toast-container .toast-box > .inverted.green.attached.progress .bar {
623
+ background-color: #2ecc40;
624
+ color: rgba(0, 0, 0, 0.87);
625
+ }
626
+ .ui.teal.toast {
627
+ background-color: #00b5ad;
628
+ color: rgba(255, 255, 255, 0.9);
629
+ }
630
+ .ui.inverted.teal.toast,
631
+ .ui.toast-container .toast-box > .inverted.teal.attached.progress .bar {
632
+ background-color: #6dffff;
633
+ color: rgba(0, 0, 0, 0.87);
634
+ }
635
+ .ui.blue.toast {
636
+ background-color: #2185d0;
637
+ color: rgba(255, 255, 255, 0.9);
638
+ }
639
+ .ui.inverted.blue.toast,
640
+ .ui.toast-container .toast-box > .inverted.blue.attached.progress .bar {
641
+ background-color: #54c8ff;
642
+ color: rgba(0, 0, 0, 0.87);
643
+ }
644
+ .ui.violet.toast {
645
+ background-color: #6435c9;
646
+ color: rgba(255, 255, 255, 0.9);
647
+ }
648
+ .ui.inverted.violet.toast,
649
+ .ui.toast-container .toast-box > .inverted.violet.attached.progress .bar {
650
+ background-color: #a291fb;
651
+ color: rgba(0, 0, 0, 0.87);
652
+ }
653
+ .ui.purple.toast {
654
+ background-color: #a333c8;
655
+ color: rgba(255, 255, 255, 0.9);
656
+ }
657
+ .ui.inverted.purple.toast,
658
+ .ui.toast-container .toast-box > .inverted.purple.attached.progress .bar {
659
+ background-color: #dc73ff;
660
+ color: rgba(0, 0, 0, 0.87);
661
+ }
662
+ .ui.pink.toast {
663
+ background-color: #e03997;
664
+ color: rgba(255, 255, 255, 0.9);
665
+ }
666
+ .ui.inverted.pink.toast,
667
+ .ui.toast-container .toast-box > .inverted.pink.attached.progress .bar {
668
+ background-color: #ff8edf;
669
+ color: rgba(0, 0, 0, 0.87);
670
+ }
671
+ .ui.brown.toast {
672
+ background-color: #a5673f;
673
+ color: rgba(255, 255, 255, 0.9);
674
+ }
675
+ .ui.inverted.brown.toast,
676
+ .ui.toast-container .toast-box > .inverted.brown.attached.progress .bar {
677
+ background-color: #d67c1c;
678
+ color: rgba(0, 0, 0, 0.87);
679
+ }
680
+ .ui.grey.toast {
681
+ background-color: #767676;
682
+ color: rgba(255, 255, 255, 0.9);
683
+ }
684
+ .ui.inverted.grey.toast,
685
+ .ui.toast-container .toast-box > .inverted.grey.attached.progress .bar {
686
+ background-color: #dcddde;
687
+ color: rgba(0, 0, 0, 0.87);
688
+ }
689
+ .ui.black.toast {
690
+ background-color: #1b1c1d;
691
+ color: rgba(255, 255, 255, 0.9);
692
+ }
693
+ .ui.inverted.black.toast,
694
+ .ui.toast-container .toast-box > .inverted.black.attached.progress .bar {
695
+ background-color: #545454;
696
+ color: rgba(0, 0, 0, 0.87);
697
+ }
698
+ .ui.inverted.toast {
699
+ color: rgba(255, 255, 255, 0.9);
700
+ background-color: #1b1c1d;
701
+ }
702
+ @media only screen and (max-width: 420px) {
703
+ .ui.toast-container .toast-box.toast-box,
704
+ .ui.toast-container .toast-box > .compact,
705
+ .ui.toast-container .toast-box > .vertical > *,
706
+ .ui.toast-container .toast-box > * {
707
+ width: auto;
708
+ max-width: 100%;
709
+ }
710
+ .ui.toast-container .toast-box > *:not(.vertical) {
711
+ min-width: 280px;
712
+ }
713
+ .ui.toast-container .toast-box > .ui.card.horizontal,
714
+ .ui.toast-container .toast-box > .vertical > .ui.horizontal.card {
715
+ min-width: initial;
716
+ }
717
+ }
718
+
719
+ /* ---------------
720
+ Progress Bar
721
+ ---------------- */
722
+ @keyframes progressDown {
723
+ 0% {
724
+ width: 100%;
725
+ }
726
+ 100% {
727
+ width: 0;
728
+ }
729
+ }
730
+ @keyframes progressUp {
731
+ 0% {
732
+ width: 0;
733
+ }
734
+ 100% {
735
+ width: 100%;
736
+ }
737
+ }
738
+ @keyframes progressWait {
739
+ 0% {
740
+ opacity: 1;
741
+ }
742
+ 100% {
743
+ opacity: 0;
744
+ }
745
+ }
746
+
747
+
748
+ /*******************************
749
+ Theme Overrides
750
+ *******************************/
751
+