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,761 @@
1
+ /*!
2
+ * # Fomantic-UI 2.9.4 - Progress
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
+ Progress
14
+ *******************************/
15
+
16
+ .ui.progress {
17
+ position: relative;
18
+ display: flex;
19
+ max-width: 100%;
20
+ border: none;
21
+ margin: 1em 0 2.5em;
22
+ box-shadow: none;
23
+ background: rgba(0, 0, 0, 0.1);
24
+ padding: 0;
25
+ border-radius: 0.28571429rem;
26
+ }
27
+ .ui.basic.progress {
28
+ background: transparent;
29
+ border: none;
30
+ box-shadow: none;
31
+ }
32
+ .ui.progress:first-child {
33
+ margin: 0 0 2.5em;
34
+ }
35
+ .ui.progress:last-child {
36
+ margin: 0 0 1.5em;
37
+ }
38
+
39
+
40
+ /*******************************
41
+ Content
42
+ *******************************/
43
+
44
+
45
+ /* Activity Bar */
46
+ .ui.progress .bar {
47
+ display: block;
48
+ line-height: 1;
49
+ position: relative;
50
+ width: 0;
51
+ background: #888;
52
+ border-radius: 0.28571429rem;
53
+ transition: width 0.1s ease, background-color 0.1s ease;
54
+ overflow: hidden;
55
+ }
56
+ .ui.progress .bar:not(:empty) {
57
+ min-width: 2.5em;
58
+ }
59
+ .ui.ui.ui.progress:not([data-percent]):not(.indeterminate) .bar:not(:empty),
60
+ .ui.ui.ui.progress[data-percent="0"]:not(.indeterminate) .bar:not(:empty) {
61
+ background: transparent;
62
+ }
63
+ .ui.progress[data-percent="0"] .bar .progress {
64
+ color: rgba(0, 0, 0, 0.87);
65
+ }
66
+ .ui.inverted.progress[data-percent="0"] .bar .progress {
67
+ color: rgba(255, 255, 255, 0.9);
68
+ }
69
+
70
+ /* Percent Complete */
71
+ .ui.progress .bar > .progress {
72
+ white-space: nowrap;
73
+ position: absolute;
74
+ width: auto;
75
+ font-size: 0.92857143em;
76
+ top: 50%;
77
+ right: 0.5em;
78
+ left: auto;
79
+ bottom: auto;
80
+ color: rgba(255, 255, 255, 0.7);
81
+ text-shadow: none;
82
+ margin-top: -0.5em;
83
+ font-weight: bold;
84
+ text-align: left;
85
+ }
86
+ .ui.right.aligned.progress {
87
+ justify-content: flex-end;
88
+ }
89
+ .ui.right.aligned.progress .bar > .progress {
90
+ left: 0.5em;
91
+ right: auto;
92
+ }
93
+
94
+ /* Label */
95
+ .ui.progress > .label {
96
+ position: absolute;
97
+ width: 100%;
98
+ font-size: 1em;
99
+ top: 100%;
100
+ right: auto;
101
+ left: 0;
102
+ bottom: auto;
103
+ color: rgba(0, 0, 0, 0.87);
104
+ font-weight: bold;
105
+ text-shadow: none;
106
+ margin-top: 0.2em;
107
+ text-align: center;
108
+ transition: color 0.4s ease;
109
+ }
110
+
111
+
112
+ /*******************************
113
+ Types
114
+ *******************************/
115
+
116
+
117
+ /* Indicating */
118
+ .ui.indicating.progress[data-percent^="1"] .bar,
119
+ .ui.indicating.progress[data-percent^="2"] .bar {
120
+ background-color: #d95c5c;
121
+ }
122
+ .ui.indicating.progress[data-percent^="3"] .bar {
123
+ background-color: #efbc72;
124
+ }
125
+ .ui.indicating.progress[data-percent^="4"] .bar,
126
+ .ui.indicating.progress[data-percent^="5"] .bar {
127
+ background-color: #e6bb48;
128
+ }
129
+ .ui.indicating.progress[data-percent^="6"] .bar {
130
+ background-color: #ddc928;
131
+ }
132
+ .ui.indicating.progress[data-percent^="7"] .bar,
133
+ .ui.indicating.progress[data-percent^="8"] .bar {
134
+ background-color: #b4d95c;
135
+ }
136
+ .ui.indicating.progress[data-percent^="9"] .bar,
137
+ .ui.indicating.progress[data-percent^="100"] .bar {
138
+ background-color: #66da81;
139
+ }
140
+
141
+ /* Indicating Label */
142
+ .ui.indicating.progress[data-percent^="1"] .label,
143
+ .ui.indicating.progress[data-percent^="2"] .label {
144
+ color: rgba(0, 0, 0, 0.87);
145
+ }
146
+ .ui.indicating.progress[data-percent^="3"] .label {
147
+ color: rgba(0, 0, 0, 0.87);
148
+ }
149
+ .ui.indicating.progress[data-percent^="4"] .label,
150
+ .ui.indicating.progress[data-percent^="5"] .label {
151
+ color: rgba(0, 0, 0, 0.87);
152
+ }
153
+ .ui.indicating.progress[data-percent^="6"] .label {
154
+ color: rgba(0, 0, 0, 0.87);
155
+ }
156
+ .ui.indicating.progress[data-percent^="7"] .label,
157
+ .ui.indicating.progress[data-percent^="8"] .label {
158
+ color: rgba(0, 0, 0, 0.87);
159
+ }
160
+ .ui.indicating.progress[data-percent^="9"] .label,
161
+ .ui.indicating.progress[data-percent^="100"] .label {
162
+ color: rgba(0, 0, 0, 0.87);
163
+ }
164
+
165
+ /* Inverted Indicating Label */
166
+ .ui.inverted.indicating.progress[data-percent^="1"] .label,
167
+ .ui.inverted.indicating.progress[data-percent^="2"] .label {
168
+ color: rgba(255, 255, 255, 0.9);
169
+ }
170
+ .ui.inverted.indicating.progress[data-percent^="3"] .label {
171
+ color: rgba(255, 255, 255, 0.9);
172
+ }
173
+ .ui.inverted.indicating.progress[data-percent^="4"] .label,
174
+ .ui.inverted.indicating.progress[data-percent^="5"] .label {
175
+ color: rgba(255, 255, 255, 0.9);
176
+ }
177
+ .ui.inverted.indicating.progress[data-percent^="6"] .label {
178
+ color: rgba(255, 255, 255, 0.9);
179
+ }
180
+ .ui.inverted.indicating.progress[data-percent^="7"] .label,
181
+ .ui.inverted.indicating.progress[data-percent^="8"] .label {
182
+ color: rgba(255, 255, 255, 0.9);
183
+ }
184
+ .ui.inverted.indicating.progress[data-percent^="9"] .label,
185
+ .ui.inverted.indicating.progress[data-percent^="100"] .label {
186
+ color: rgba(255, 255, 255, 0.9);
187
+ }
188
+
189
+ /* Single Digits */
190
+ .ui.indicating.progress[data-percent="1"] .bar,
191
+ .ui.indicating.progress[data-percent^="1."] .bar,
192
+ .ui.indicating.progress[data-percent="2"] .bar,
193
+ .ui.indicating.progress[data-percent^="2."] .bar,
194
+ .ui.indicating.progress[data-percent="3"] .bar,
195
+ .ui.indicating.progress[data-percent^="3."] .bar,
196
+ .ui.indicating.progress[data-percent="4"] .bar,
197
+ .ui.indicating.progress[data-percent^="4."] .bar,
198
+ .ui.indicating.progress[data-percent="5"] .bar,
199
+ .ui.indicating.progress[data-percent^="5."] .bar,
200
+ .ui.indicating.progress[data-percent="6"] .bar,
201
+ .ui.indicating.progress[data-percent^="6."] .bar,
202
+ .ui.indicating.progress[data-percent="7"] .bar,
203
+ .ui.indicating.progress[data-percent^="7."] .bar,
204
+ .ui.indicating.progress[data-percent="8"] .bar,
205
+ .ui.indicating.progress[data-percent^="8."] .bar,
206
+ .ui.indicating.progress[data-percent="9"] .bar,
207
+ .ui.indicating.progress[data-percent^="9."] .bar {
208
+ background-color: #d95c5c;
209
+ }
210
+ .ui.indicating.progress[data-percent="0"] .label,
211
+ .ui.indicating.progress[data-percent^="0."] .label,
212
+ .ui.indicating.progress[data-percent="1"] .label,
213
+ .ui.indicating.progress[data-percent^="1."] .label,
214
+ .ui.indicating.progress[data-percent="2"] .label,
215
+ .ui.indicating.progress[data-percent^="2."] .label,
216
+ .ui.indicating.progress[data-percent="3"] .label,
217
+ .ui.indicating.progress[data-percent^="3."] .label,
218
+ .ui.indicating.progress[data-percent="4"] .label,
219
+ .ui.indicating.progress[data-percent^="4."] .label,
220
+ .ui.indicating.progress[data-percent="5"] .label,
221
+ .ui.indicating.progress[data-percent^="5."] .label,
222
+ .ui.indicating.progress[data-percent="6"] .label,
223
+ .ui.indicating.progress[data-percent^="6."] .label,
224
+ .ui.indicating.progress[data-percent="7"] .label,
225
+ .ui.indicating.progress[data-percent^="7."] .label,
226
+ .ui.indicating.progress[data-percent="8"] .label,
227
+ .ui.indicating.progress[data-percent^="8."] .label,
228
+ .ui.indicating.progress[data-percent="9"] .label,
229
+ .ui.indicating.progress[data-percent^="9."] .label {
230
+ color: rgba(0, 0, 0, 0.87);
231
+ }
232
+ .ui.inverted.indicating.progress[data-percent="0"] .label,
233
+ .ui.inverted.indicating.progress[data-percent^="0."] .label,
234
+ .ui.inverted.indicating.progress[data-percent="1"] .label,
235
+ .ui.inverted.indicating.progress[data-percent^="1."] .label,
236
+ .ui.inverted.indicating.progress[data-percent="2"] .label,
237
+ .ui.inverted.indicating.progress[data-percent^="2."] .label,
238
+ .ui.inverted.indicating.progress[data-percent="3"] .label,
239
+ .ui.inverted.indicating.progress[data-percent^="3."] .label,
240
+ .ui.inverted.indicating.progress[data-percent="4"] .label,
241
+ .ui.inverted.indicating.progress[data-percent^="4."] .label,
242
+ .ui.inverted.indicating.progress[data-percent="5"] .label,
243
+ .ui.inverted.indicating.progress[data-percent^="5."] .label,
244
+ .ui.inverted.indicating.progress[data-percent="6"] .label,
245
+ .ui.inverted.indicating.progress[data-percent^="6."] .label,
246
+ .ui.inverted.indicating.progress[data-percent="7"] .label,
247
+ .ui.inverted.indicating.progress[data-percent^="7."] .label,
248
+ .ui.inverted.indicating.progress[data-percent="8"] .label,
249
+ .ui.inverted.indicating.progress[data-percent^="8."] .label,
250
+ .ui.inverted.indicating.progress[data-percent="9"] .label,
251
+ .ui.inverted.indicating.progress[data-percent^="9."] .label {
252
+ color: rgba(255, 255, 255, 0.9);
253
+ }
254
+
255
+ /* Indicating Success */
256
+ .ui.ui.indicating.progress.success .label {
257
+ color: #1a531b;
258
+ }
259
+
260
+
261
+ /*******************************
262
+ States
263
+ *******************************/
264
+
265
+
266
+ /* --------------
267
+ Success
268
+ --------------- */
269
+ .ui.ui.progress.success .bar {
270
+ background-color: #21ba45;
271
+ }
272
+ .ui.ui.progress.success .bar,
273
+ .ui.ui.progress.success .bar::after {
274
+ animation: none;
275
+ }
276
+ .ui.progress.success > .label {
277
+ color: #1a531b;
278
+ }
279
+
280
+ /* --------------
281
+ Warning
282
+ --------------- */
283
+ .ui.ui.progress.warning .bar {
284
+ background-color: #f2c037;
285
+ }
286
+ .ui.ui.progress.warning .bar,
287
+ .ui.ui.progress.warning .bar::after {
288
+ animation: none;
289
+ }
290
+ .ui.progress.warning > .label {
291
+ color: #794b02;
292
+ }
293
+
294
+ /* --------------
295
+ Error
296
+ --------------- */
297
+ .ui.ui.progress.error .bar {
298
+ background-color: #db2828;
299
+ }
300
+ .ui.ui.progress.error .bar,
301
+ .ui.ui.progress.error .bar::after {
302
+ animation: none;
303
+ }
304
+ .ui.progress.error > .label {
305
+ color: #912d2b;
306
+ }
307
+
308
+ /* --------------
309
+ Active
310
+ --------------- */
311
+ .ui.active.progress .bar {
312
+ position: relative;
313
+ }
314
+ .ui.active.progress .bar:not(:empty) {
315
+ min-width: 2.5em;
316
+ }
317
+ .ui.active.progress .bar::after {
318
+ content: "";
319
+ opacity: 0;
320
+ position: absolute;
321
+ top: 0;
322
+ left: 0;
323
+ right: 0;
324
+ bottom: 0;
325
+ background: #fff;
326
+ border-radius: 0.28571429rem;
327
+ animation: progress-active 2s ease infinite;
328
+ transform-origin: left;
329
+ }
330
+ .ui.active.right.aligned.progress .bar::after {
331
+ transform-origin: right;
332
+ }
333
+ @keyframes progress-active {
334
+ 0% {
335
+ opacity: 0.3;
336
+ transform: scale(0, 1);
337
+ }
338
+ 100% {
339
+ opacity: 0;
340
+ transform: scale(1);
341
+ }
342
+ }
343
+
344
+ /* --------------
345
+ Disabled
346
+ --------------- */
347
+ .ui.disabled.progress {
348
+ opacity: 0.35;
349
+ }
350
+ .ui.ui.disabled.progress .bar,
351
+ .ui.ui.disabled.progress .bar::after {
352
+ animation: none;
353
+ }
354
+
355
+
356
+ /*******************************
357
+ Variations
358
+ *******************************/
359
+
360
+
361
+ /* --------------
362
+ Inverted
363
+ --------------- */
364
+ .ui.inverted.progress:not(.basic) {
365
+ background: rgba(255, 255, 255, 0.08);
366
+ border: none;
367
+ }
368
+ .ui.inverted.progress .bar {
369
+ background: #888;
370
+ }
371
+ .ui.inverted.progress .bar > .progress {
372
+ color: #1b1c1d;
373
+ }
374
+ .ui.inverted.progress > .label {
375
+ color: #fff;
376
+ }
377
+ .ui.inverted.progress.success > .label {
378
+ color: #21ba45;
379
+ }
380
+ .ui.inverted.progress.warning > .label {
381
+ color: #f2c037;
382
+ }
383
+ .ui.inverted.progress.error > .label {
384
+ color: #db2828;
385
+ }
386
+
387
+ /* --------------
388
+ Attached
389
+ --------------- */
390
+
391
+ /* bottom attached */
392
+ .ui.progress.attached {
393
+ background: transparent;
394
+ position: relative;
395
+ border: none;
396
+ margin: 0;
397
+ }
398
+ .ui.progress.attached,
399
+ .ui.progress.attached .bar {
400
+ height: 0.2rem;
401
+ padding: 0;
402
+ overflow: hidden;
403
+ border-radius: 0 0 0.28571429rem 0.28571429rem;
404
+ }
405
+ .ui.progress.attached .bar {
406
+ border-radius: 0;
407
+ }
408
+
409
+ /* top attached */
410
+ .ui.progress.top.attached,
411
+ .ui.progress.top.attached .bar {
412
+ top: 0;
413
+ border-radius: 0.28571429rem 0.28571429rem 0 0;
414
+ }
415
+ .ui.progress.top.attached .bar {
416
+ border-radius: 0;
417
+ }
418
+
419
+ /* Coupling */
420
+ .ui.segment > .ui.attached.progress,
421
+ .ui.card > .ui.attached.progress {
422
+ position: absolute;
423
+ top: auto;
424
+ left: 0;
425
+ bottom: 100%;
426
+ width: 100%;
427
+ }
428
+ .ui.segment > .ui.bottom.attached.progress,
429
+ .ui.card > .ui.bottom.attached.progress {
430
+ top: 100%;
431
+ bottom: auto;
432
+ }
433
+
434
+ /* --------------
435
+ Colors
436
+ --------------- */
437
+ .ui.indeterminate.primary.progress .bar::before,
438
+ .ui.primary.progress .bar,
439
+ .ui.progress .primary.bar {
440
+ background-color: #2185d0;
441
+ }
442
+ .ui.inverted.indeterminate.primary.progress .bar::before,
443
+ .ui.primary.inverted.progress .bar,
444
+ .ui.inverted.progress .primary.bar {
445
+ background-color: #54c8ff;
446
+ }
447
+ .ui.indeterminate.secondary.progress .bar::before,
448
+ .ui.secondary.progress .bar,
449
+ .ui.progress .secondary.bar {
450
+ background-color: #1b1c1d;
451
+ }
452
+ .ui.inverted.indeterminate.secondary.progress .bar::before,
453
+ .ui.secondary.inverted.progress .bar,
454
+ .ui.inverted.progress .secondary.bar {
455
+ background-color: #545454;
456
+ }
457
+ .ui.indeterminate.red.progress .bar::before,
458
+ .ui.red.progress .bar,
459
+ .ui.progress .red.bar {
460
+ background-color: #db2828;
461
+ }
462
+ .ui.inverted.indeterminate.red.progress .bar::before,
463
+ .ui.red.inverted.progress .bar,
464
+ .ui.inverted.progress .red.bar {
465
+ background-color: #ff695e;
466
+ }
467
+ .ui.indeterminate.orange.progress .bar::before,
468
+ .ui.orange.progress .bar,
469
+ .ui.progress .orange.bar {
470
+ background-color: #f2711c;
471
+ }
472
+ .ui.inverted.indeterminate.orange.progress .bar::before,
473
+ .ui.orange.inverted.progress .bar,
474
+ .ui.inverted.progress .orange.bar {
475
+ background-color: #ff851b;
476
+ }
477
+ .ui.indeterminate.yellow.progress .bar::before,
478
+ .ui.yellow.progress .bar,
479
+ .ui.progress .yellow.bar {
480
+ background-color: #fbbd08;
481
+ }
482
+ .ui.inverted.indeterminate.yellow.progress .bar::before,
483
+ .ui.yellow.inverted.progress .bar,
484
+ .ui.inverted.progress .yellow.bar {
485
+ background-color: #ffe21f;
486
+ }
487
+ .ui.indeterminate.olive.progress .bar::before,
488
+ .ui.olive.progress .bar,
489
+ .ui.progress .olive.bar {
490
+ background-color: #b5cc18;
491
+ }
492
+ .ui.inverted.indeterminate.olive.progress .bar::before,
493
+ .ui.olive.inverted.progress .bar,
494
+ .ui.inverted.progress .olive.bar {
495
+ background-color: #d9e778;
496
+ }
497
+ .ui.indeterminate.green.progress .bar::before,
498
+ .ui.green.progress .bar,
499
+ .ui.progress .green.bar {
500
+ background-color: #21ba45;
501
+ }
502
+ .ui.inverted.indeterminate.green.progress .bar::before,
503
+ .ui.green.inverted.progress .bar,
504
+ .ui.inverted.progress .green.bar {
505
+ background-color: #2ecc40;
506
+ }
507
+ .ui.indeterminate.teal.progress .bar::before,
508
+ .ui.teal.progress .bar,
509
+ .ui.progress .teal.bar {
510
+ background-color: #00b5ad;
511
+ }
512
+ .ui.inverted.indeterminate.teal.progress .bar::before,
513
+ .ui.teal.inverted.progress .bar,
514
+ .ui.inverted.progress .teal.bar {
515
+ background-color: #6dffff;
516
+ }
517
+ .ui.indeterminate.blue.progress .bar::before,
518
+ .ui.blue.progress .bar,
519
+ .ui.progress .blue.bar {
520
+ background-color: #2185d0;
521
+ }
522
+ .ui.inverted.indeterminate.blue.progress .bar::before,
523
+ .ui.blue.inverted.progress .bar,
524
+ .ui.inverted.progress .blue.bar {
525
+ background-color: #54c8ff;
526
+ }
527
+ .ui.indeterminate.violet.progress .bar::before,
528
+ .ui.violet.progress .bar,
529
+ .ui.progress .violet.bar {
530
+ background-color: #6435c9;
531
+ }
532
+ .ui.inverted.indeterminate.violet.progress .bar::before,
533
+ .ui.violet.inverted.progress .bar,
534
+ .ui.inverted.progress .violet.bar {
535
+ background-color: #a291fb;
536
+ }
537
+ .ui.indeterminate.purple.progress .bar::before,
538
+ .ui.purple.progress .bar,
539
+ .ui.progress .purple.bar {
540
+ background-color: #a333c8;
541
+ }
542
+ .ui.inverted.indeterminate.purple.progress .bar::before,
543
+ .ui.purple.inverted.progress .bar,
544
+ .ui.inverted.progress .purple.bar {
545
+ background-color: #dc73ff;
546
+ }
547
+ .ui.indeterminate.pink.progress .bar::before,
548
+ .ui.pink.progress .bar,
549
+ .ui.progress .pink.bar {
550
+ background-color: #e03997;
551
+ }
552
+ .ui.inverted.indeterminate.pink.progress .bar::before,
553
+ .ui.pink.inverted.progress .bar,
554
+ .ui.inverted.progress .pink.bar {
555
+ background-color: #ff8edf;
556
+ }
557
+ .ui.indeterminate.brown.progress .bar::before,
558
+ .ui.brown.progress .bar,
559
+ .ui.progress .brown.bar {
560
+ background-color: #a5673f;
561
+ }
562
+ .ui.inverted.indeterminate.brown.progress .bar::before,
563
+ .ui.brown.inverted.progress .bar,
564
+ .ui.inverted.progress .brown.bar {
565
+ background-color: #d67c1c;
566
+ }
567
+ .ui.indeterminate.grey.progress .bar::before,
568
+ .ui.grey.progress .bar,
569
+ .ui.progress .grey.bar {
570
+ background-color: #767676;
571
+ }
572
+ .ui.inverted.indeterminate.grey.progress .bar::before,
573
+ .ui.grey.inverted.progress .bar,
574
+ .ui.inverted.progress .grey.bar {
575
+ background-color: #dcddde;
576
+ }
577
+ .ui.indeterminate.black.progress .bar::before,
578
+ .ui.black.progress .bar,
579
+ .ui.progress .black.bar {
580
+ background-color: #1b1c1d;
581
+ }
582
+ .ui.inverted.indeterminate.black.progress .bar::before,
583
+ .ui.black.inverted.progress .bar,
584
+ .ui.inverted.progress .black.bar {
585
+ background-color: #545454;
586
+ }
587
+
588
+ /* --------------
589
+ Sizes
590
+ --------------- */
591
+ .ui.progress {
592
+ font-size: 1rem;
593
+ }
594
+ .ui.progress .bar {
595
+ height: 1.75em;
596
+ }
597
+ .ui.mini.progress {
598
+ font-size: 0.78571429rem;
599
+ }
600
+ .ui.mini.progress .bar {
601
+ height: 0.3em;
602
+ }
603
+ .ui.tiny.progress {
604
+ font-size: 0.85714286rem;
605
+ }
606
+ .ui.tiny.progress .bar {
607
+ height: 0.5em;
608
+ }
609
+ .ui.small.progress {
610
+ font-size: 0.92857143rem;
611
+ }
612
+ .ui.small.progress .bar {
613
+ height: 1em;
614
+ }
615
+ .ui.large.progress {
616
+ font-size: 1.14285714rem;
617
+ }
618
+ .ui.large.progress .bar {
619
+ height: 2.5em;
620
+ }
621
+ .ui.big.progress {
622
+ font-size: 1.28571429rem;
623
+ }
624
+ .ui.big.progress .bar {
625
+ height: 3.5em;
626
+ }
627
+ .ui.huge.progress {
628
+ font-size: 1.42857143rem;
629
+ }
630
+ .ui.huge.progress .bar {
631
+ height: 4em;
632
+ }
633
+ .ui.massive.progress {
634
+ font-size: 1.71428571rem;
635
+ }
636
+ .ui.massive.progress .bar {
637
+ height: 5em;
638
+ }
639
+
640
+ /* ---------------
641
+ Indeterminate
642
+ ---------------- */
643
+ .ui.indeterminate.progress .bar {
644
+ width: 100%;
645
+ }
646
+ .ui.indeterminate.progress .bar .progress,
647
+ .ui.progress .bar .centered.progress {
648
+ text-align: center;
649
+ position: relative;
650
+ right: 0;
651
+ }
652
+ .ui.indeterminate.progress .bar::before {
653
+ content: "";
654
+ position: absolute;
655
+ top: 0;
656
+ bottom: 0;
657
+ border-radius: 0.28571429rem;
658
+ animation: progress-pulsating 2s ease infinite;
659
+ transform-origin: center;
660
+ width: 100%;
661
+ }
662
+ .ui.slow.indeterminate.progress .bar::before {
663
+ animation-duration: 4s;
664
+ }
665
+ .ui.fast.indeterminate.progress .bar::before {
666
+ animation-duration: 1s;
667
+ }
668
+ .ui.swinging.indeterminate.progress .bar::before {
669
+ transform-origin: left;
670
+ animation-name: progress-swinging;
671
+ }
672
+ .ui.sliding.indeterminate.progress .bar::before {
673
+ transform-origin: left;
674
+ animation-name: progress-sliding;
675
+ }
676
+ .ui.filling.indeterminate.progress .bar::before {
677
+ animation-name: progress-filling;
678
+ }
679
+ .ui.indeterminate.progress:not(.sliding):not(.filling):not(.swinging) .bar::before {
680
+ background: #fff;
681
+ }
682
+ .ui.sliding.indeterminate.progress .bar,
683
+ .ui.swinging.indeterminate.progress .bar,
684
+ .ui.filling.indeterminate.progress .bar {
685
+ background: rgba(0, 0, 0, 0.1);
686
+ }
687
+ .ui.sliding.indeterminate.progress .bar .progress,
688
+ .ui.swinging.indeterminate.progress .bar .progress {
689
+ color: #1b1c1d;
690
+ }
691
+ .ui.inverted.sliding.indeterminate.progress .bar,
692
+ .ui.inverted.swinging.indeterminate.progress .bar,
693
+ .ui.inverted.filling.indeterminate.progress .bar {
694
+ background: rgba(255, 255, 255, 0.08);
695
+ }
696
+ .ui.inverted.sliding.indeterminate.progress .bar .progress,
697
+ .ui.inverted.swinging.indeterminate.progress .bar .progress {
698
+ color: rgba(255, 255, 255, 0.7);
699
+ }
700
+ @keyframes progress-swinging {
701
+ 0%,
702
+ 100% {
703
+ width: 10%;
704
+ left: -25%;
705
+ }
706
+ 25%,
707
+ 65% {
708
+ width: 70%;
709
+ }
710
+ 50% {
711
+ width: 10%;
712
+ left: 100%;
713
+ }
714
+ }
715
+ @keyframes progress-sliding {
716
+ 0% {
717
+ width: 10%;
718
+ left: -25%;
719
+ }
720
+ 50% {
721
+ width: 70%;
722
+ }
723
+ 100% {
724
+ width: 10%;
725
+ left: 100%;
726
+ }
727
+ }
728
+ @keyframes progress-filling {
729
+ 0% {
730
+ transform: scale(0, 1);
731
+ }
732
+ 80% {
733
+ transform: scale(1);
734
+ opacity: 1;
735
+ }
736
+ 100% {
737
+ opacity: 0;
738
+ }
739
+ }
740
+ @keyframes progress-pulsating {
741
+ 0% {
742
+ transform: scale(0, 1);
743
+ opacity: 0.7;
744
+ }
745
+ 100% {
746
+ transform: scale(1);
747
+ opacity: 0;
748
+ }
749
+ }
750
+
751
+
752
+ /*******************************
753
+ Progress
754
+ *******************************/
755
+
756
+
757
+
758
+ /*******************************
759
+ Site Overrides
760
+ *******************************/
761
+