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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4d757cb8e531748c2dcde875e3cb392d48761d9ed189c27529b0f22aa6b4b14
4
- data.tar.gz: dc1cb8fe68aa62b5043b8ac05c9a854d0e39109276b81dedaa6eb6b4066811d6
3
+ metadata.gz: 6cbe21a483e19cb15cc49eefc1fd114564336f3e29d7d3db70fd6b4c9281d741
4
+ data.tar.gz: 3271b641df24f58bf5f777332d91e49879e38121cbe6b0f62e5548e9711e3d67
5
5
  SHA512:
6
- metadata.gz: 7b5b180f6047444c680f25dc58c0f8a576e7072b3314715595a3e71065ce45d1be09a5bbdb90daf15d362d6d6623c0856cfc2864bbde54f5340d6891666d18ae
7
- data.tar.gz: 69c369de011b93a25e57ec58a0531026de888b9b393f15c56e5dac7b87eeacef1ae09bed57b2862ef420abfe54310de76f801d2c69298aacd6a111e9e3166bcb
6
+ metadata.gz: 01a0bf819c02d0bd144398dfd279868115fd4173845bab08dd507b931eddd62731d6562fba12408c54a4e2fdea0a0fb8e1cd2b95c394a0ab1e558950cfdcdfba
7
+ data.tar.gz: 7a801b7b98932d713f9932528085a95eee4fd2ca1d50e6749b365ea17f53156cc005c7cb529069ce0eb46b2055891cb11f534810fe659c5bba7344a1d897f193
@@ -0,0 +1,36 @@
1
+ import { Controller } from "@hotwired/stimulus"
2
+
3
+ // Bridges Turbo Frame events to the Fomantic-UI modal.
4
+ //
5
+ // Used alongside fui-modal on a Modal(turbo: true) element.
6
+ // - turbo:frame-load -> open() (content arrived, show modal)
7
+ // - turbo:submit-end -> closeOnSuccess() (form submitted, hide if ok)
8
+ // - click cancel -> hide() (dismiss without submitting)
9
+ //
10
+ // The fui-modal controller handles Fomantic-UI init and settings.
11
+ // This controller only handles the Turbo lifecycle + cancel.
12
+
13
+ export default class extends Controller {
14
+ connect() {
15
+ // Clear turbo frame content when the modal finishes hiding,
16
+ // so it's clean for the next open.
17
+ $(this.element).modal("setting", "onHidden", () => {
18
+ const frame = this.element.querySelector("turbo-frame")
19
+ if (frame) frame.innerHTML = ""
20
+ })
21
+ }
22
+
23
+ open() {
24
+ $(this.element).modal("show")
25
+ }
26
+
27
+ hide() {
28
+ $(this.element).modal("hide")
29
+ }
30
+
31
+ closeOnSuccess(event) {
32
+ if (event.detail.success) {
33
+ $(this.element).modal("hide")
34
+ }
35
+ }
36
+ }
data/config/importmap.rb CHANGED
@@ -29,5 +29,6 @@ pin "ui/controllers/fui_emoji_picker_controller", to: "ui/controllers/fui_emoji_
29
29
  pin "ui/controllers/fui_datatable_controller", to: "ui/controllers/fui_datatable_controller.js"
30
30
  pin "ui/controllers/fui_item_list_controller", to: "ui/controllers/fui_item_list_controller.js"
31
31
  pin "ui/controllers/navigation_controller", to: "ui/controllers/navigation_controller.js"
32
+ pin "ui/controllers/turbo_modal_controller", to: "ui/controllers/turbo_modal_controller.js"
32
33
 
33
34
  pin "emoji-picker-element", to: "https://cdn.jsdelivr.net/npm/emoji-picker-element@^1/index.js"
@@ -0,0 +1,369 @@
1
+ /*!
2
+ * # Fomantic-UI 2.9.4 - Accordion
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
+ Accordion
14
+ *******************************/
15
+
16
+ .ui.accordion,
17
+ .ui.accordion .accordion {
18
+ max-width: 100%;
19
+ }
20
+ .ui.accordion .accordion {
21
+ margin: 1em 0 0;
22
+ padding: 0;
23
+ }
24
+
25
+ /* Title */
26
+ .ui.accordion.menu .item > .title,
27
+ .ui.accordion > .title,
28
+ .ui.accordion .accordion > .title {
29
+ cursor: pointer;
30
+ padding: 0.5em 0;
31
+ 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";
32
+ font-size: 1em;
33
+ color: rgba(0, 0, 0, 0.87);
34
+ list-style: none;
35
+ line-height: 1;
36
+ }
37
+
38
+ /* Default Styling */
39
+ .ui.accordion:not(.styled) .title ~ .content,
40
+ .ui.accordion:not(.styled) .accordion .title ~ .content {
41
+ margin: "";
42
+ padding: 0.5em 0 1em;
43
+ }
44
+ .ui.accordion:not(.styled) .title ~ .content:last-child {
45
+ padding-bottom: 0;
46
+ }
47
+
48
+ /* Arrow */
49
+ .ui.accordion .ui.header > .dropdown.icon,
50
+ .ui.accordion .title > .dropdown.icon,
51
+ .ui.accordion .accordion .title > .dropdown.icon {
52
+ display: inline-block;
53
+ float: none;
54
+ opacity: 1;
55
+ width: 1.25em;
56
+ height: 1em;
57
+ margin: 0 0.25rem 0 0;
58
+ padding: 0;
59
+ font-size: 1em;
60
+ transition: transform 0.1s ease, opacity 0.1s ease;
61
+ vertical-align: baseline;
62
+ transform: none;
63
+ }
64
+ .ui.accordion .ui.header > .dropdown.icon.right,
65
+ .ui.accordion .title > .dropdown.icon.right,
66
+ .ui.accordion .accordion .title > .dropdown.icon.right {
67
+ float: right;
68
+ transform: rotate(180deg);
69
+ }
70
+
71
+ /* --------------
72
+ Coupling
73
+ --------------- */
74
+
75
+ /* Menu */
76
+ .ui.accordion.menu .item .title {
77
+ display: block;
78
+ padding: 0;
79
+ }
80
+ .ui.accordion.menu .item .title > .dropdown.icon {
81
+ float: right;
82
+ margin: 0 0.25rem 0 0;
83
+ transform: rotate(180deg);
84
+ }
85
+
86
+ /* Header */
87
+ .ui.accordion .ui.header > .dropdown.icon {
88
+ font-size: 1em;
89
+ margin: 0 0.25rem 0 0;
90
+ }
91
+
92
+
93
+ /*******************************
94
+ States
95
+ *******************************/
96
+
97
+ .ui.accordion[open] > .title > .dropdown.icon,
98
+ .ui.accordion .accordion[open] > .title > .dropdown.icon,
99
+ .ui.accordion .active.title > .dropdown.icon,
100
+ .ui.accordion .accordion .active.title > .dropdown.icon {
101
+ transform: rotate(90deg);
102
+ }
103
+ .ui.accordion.menu .item .active.title > .dropdown.icon {
104
+ transform: rotate(90deg);
105
+ }
106
+
107
+
108
+ /*******************************
109
+ Types
110
+ *******************************/
111
+
112
+
113
+ /* --------------
114
+ Styled
115
+ --------------- */
116
+ .ui.styled.accordion {
117
+ width: 600px;
118
+ }
119
+ .ui.styled.accordion,
120
+ .ui.styled.accordion .accordion {
121
+ border-radius: 0.28571429rem;
122
+ background: #fff;
123
+ box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15);
124
+ }
125
+ .ui.styled.accordion > .title,
126
+ .ui.styled.accordion .accordion > .title {
127
+ margin: 0;
128
+ padding: 0.75em 1em;
129
+ color: rgba(0, 0, 0, 0.4);
130
+ font-weight: bold;
131
+ border-top: 1px solid rgba(34, 36, 38, 0.15);
132
+ transition: background 0.1s ease, color 0.1s ease;
133
+ }
134
+ .ui.styled.accordion > .title:first-child,
135
+ .ui.styled.accordion .accordion > .title:first-child {
136
+ border-top: none;
137
+ }
138
+
139
+ /* Content */
140
+ .ui.styled.accordion > .content {
141
+ margin: 0;
142
+ padding: 0.5em 1em 1.5em;
143
+ }
144
+ .ui.styled.accordion .accordion > .content {
145
+ margin: 0;
146
+ padding: 0.5em 1em 1.5em;
147
+ }
148
+
149
+ /* Hover */
150
+ .ui.styled.accordion > .title:hover {
151
+ background: transparent;
152
+ color: rgba(0, 0, 0, 0.87);
153
+ }
154
+ .ui.styled.accordion .accordion > .title:hover {
155
+ background: transparent;
156
+ color: rgba(0, 0, 0, 0.87);
157
+ }
158
+
159
+ /* Active */
160
+ .ui.styled.accordion[open] > .title,
161
+ .ui.styled.accordion .active.title {
162
+ background: transparent;
163
+ color: rgba(0, 0, 0, 0.95);
164
+ }
165
+ .ui.styled.accordion .accordion[open] > .title,
166
+ .ui.styled.accordion .accordion .active.title {
167
+ background: transparent;
168
+ color: rgba(0, 0, 0, 0.95);
169
+ }
170
+
171
+ /* --------------
172
+ Compact
173
+ --------------- */
174
+
175
+ /* Default Styling */
176
+ .ui.compact.accordion:not(.styled) > .title,
177
+ .ui.compact.accordion:not(.styled) .accordion > .title {
178
+ padding: 0.25em 0;
179
+ }
180
+ .ui.compact.accordion:not(.styled) .title ~ .content,
181
+ .ui.compact.accordion:not(.styled) .accordion .title ~ .content {
182
+ padding: 0.25em 0 0.5em;
183
+ }
184
+
185
+ /* Styled */
186
+ .ui.compact.styled.accordion > .title,
187
+ .ui.compact.styled.accordion .accordion > .title {
188
+ padding: 0.375em 0.5em;
189
+ }
190
+ .ui.compact.styled.accordion .title ~ .content,
191
+ .ui.compact.styled.accordion .accordion .title ~ .content {
192
+ padding: 0.25em 0.5em 0.75em;
193
+ }
194
+
195
+ /* --------------
196
+ Very Compact
197
+ --------------- */
198
+ .ui[class*="very compact"].accordion:not(.styled) > .title,
199
+ .ui[class*="very compact"].accordion:not(.styled) .accordion > .title {
200
+ padding: 0.125em 0;
201
+ }
202
+ .ui[class*="very compact"].accordion:not(.styled) .title ~ .content,
203
+ .ui[class*="very compact"].accordion:not(.styled) .accordion .title ~ .content {
204
+ padding: 0.125em 0 0.25em;
205
+ }
206
+ .ui[class*="very compact"].styled.accordion > .title,
207
+ .ui[class*="very compact"].styled.accordion .accordion > .title {
208
+ padding: 0.1875em 0.25em;
209
+ }
210
+ .ui[class*="very compact"].styled.accordion .title ~ .content,
211
+ .ui[class*="very compact"].styled.accordion .accordion .title ~ .content {
212
+ padding: 0.125em 0.25em 0.375em;
213
+ }
214
+
215
+
216
+ /*******************************
217
+ States
218
+ *******************************/
219
+
220
+
221
+ /* --------------
222
+ Not Active
223
+ --------------- */
224
+ .ui.accordion:not(details) .title ~ .content:not(.active),
225
+ .ui.accordion .accordion:not(details) .title ~ .content:not(.active) {
226
+ display: none;
227
+ }
228
+
229
+
230
+ /*******************************
231
+ Variations
232
+ *******************************/
233
+
234
+
235
+ /* --------------
236
+ Fluid
237
+ --------------- */
238
+ .ui.fluid.accordion,
239
+ .ui.fluid.accordion .accordion {
240
+ width: 100%;
241
+ }
242
+
243
+ /* --------------
244
+ Inverted
245
+ --------------- */
246
+ .ui.inverted.accordion.menu .item > .title,
247
+ .ui.inverted.accordion > .title,
248
+ .ui.inverted.accordion .accordion > .title {
249
+ color: rgba(255, 255, 255, 0.9);
250
+ }
251
+ .ui.inverted.styled.accordion,
252
+ .ui.inverted.styled.accordion .accordion {
253
+ background: #1b1c1d;
254
+ box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
255
+ }
256
+ .ui.inverted.styled.accordion > .title,
257
+ .ui.inverted.styled.accordion .accordion > .title {
258
+ color: rgba(255, 255, 255, 0.5);
259
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
260
+ }
261
+
262
+ /* Hover */
263
+ .ui.inverted.styled.accordion > .title:hover {
264
+ background: transparent;
265
+ color: rgba(255, 255, 255, 0.9);
266
+ }
267
+ .ui.inverted.styled.accordion .accordion > .title:hover {
268
+ background: transparent;
269
+ color: rgba(255, 255, 255, 0.9);
270
+ }
271
+
272
+ /* Active */
273
+ .ui.inverted.styled.accordion[open] > .title,
274
+ .ui.inverted.styled.accordion .active.title {
275
+ background: transparent;
276
+ color: #ffffff;
277
+ }
278
+ .ui.inverted.styled.accordion .accordion[open] > .title,
279
+ .ui.inverted.styled.accordion .accordion .active.title {
280
+ background: transparent;
281
+ color: #ffffff;
282
+ }
283
+ .ui.basic.styled.accordion,
284
+ .ui.basic.styled.accordion .accordion {
285
+ background: transparent;
286
+ box-shadow: none;
287
+ }
288
+ .ui.basic.styled.accordion > .title,
289
+ .ui.basic.styled.accordion .accordion > .title {
290
+ border: none;
291
+ color: rgba(0, 0, 0, 0.6);
292
+ }
293
+ .ui.basic.styled.accordion > .title:hover,
294
+ .ui.basic.styled.accordion .accordion > .title:hover {
295
+ background: transparent;
296
+ color: rgba(0, 0, 0, 0.87);
297
+ }
298
+ .ui.basic.styled.accordion[open] > .title,
299
+ .ui.basic.styled.accordion .active.title,
300
+ .ui.basic.styled.accordion .accordion[open] > .title,
301
+ .ui.basic.styled.accordion .accordion .active.title {
302
+ background: transparent;
303
+ color: rgba(0, 0, 0, 0.95);
304
+ }
305
+ .ui.inverted.basic.styled.accordion > .title,
306
+ .ui.inverted.basic.styled.accordion .accordion > .title {
307
+ background: transparent;
308
+ color: rgba(255, 255, 255, 0.8);
309
+ }
310
+ .ui.inverted.basic.styled.accordion > .title:hover,
311
+ .ui.inverted.basic.styled.accordion .accordion > .title:hover {
312
+ background: transparent;
313
+ color: rgba(255, 255, 255, 0.9);
314
+ }
315
+ .ui.inverted.basic.styled.accordion[open] > .title,
316
+ .ui.inverted.basic.styled.accordion .active.title,
317
+ .ui.inverted.basic.styled.accordion .accordion[open] > .title,
318
+ .ui.inverted.basic.styled.accordion .accordion .active.title {
319
+ background: transparent;
320
+ color: #ffffff;
321
+ }
322
+ .ui.tree.accordion:not(.styled) .title ~ .content,
323
+ .ui.tree.accordion:not(.styled) .accordion .title ~ .content {
324
+ padding: 0;
325
+ }
326
+ .ui.tree.accordion > .content,
327
+ .ui.tree.accordion .accordion > .content {
328
+ margin-left: 1.7em;
329
+ }
330
+ .ui.tree.accordion .accordion {
331
+ margin-top: 0;
332
+ }
333
+
334
+
335
+ /*******************************
336
+ Theme Overrides
337
+ *******************************/
338
+
339
+ @font-face {
340
+ font-family: Accordion;
341
+ src: url("data:application/font-woff;base64,d09GRk9UVE8AAAREAAsAAAAABkAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAC7AAAAQoAAAE/j/fxwUZGVE0AAAQUAAAAHAAAAByNqvxQR0RFRgAAA/gAAAAcAAAAIAAnABhPUy8yAAABYAAAAEIAAABgTadW5mNtYXAAAAKMAAAAUQAAAWAFZuKDaGVhZAAAAQgAAAAyAAAANg8zT8toaGVhAAABPAAAABoAAAAkApkA5mhtdHgAAAQwAAAAEwAAABYBtwASbWF4cAAAAVgAAAAGAAAABgAGUABuYW1lAAABpAAAAOYAAAGq/HAhWXBvc3QAAALgAAAADAAAACAAAwAAeJxjYGRgYADi8KWRsvH8Nl8ZuJkYQOD838XvQPT9hGxNIOXJsJ0xD0hzMIClARzsCcoAAHicY2BkYGB88P8BkGQAg+0wBhywAgBgjgOAAAAAAFAAAAYAAHicY2BmOM84gYGVgYHRhzGNgYHBHUp/ZZBkaGFABYwCSJyANNcUBgcGhg+3GB/8fwCUfMCgAFIDV6AAhIwARVcMJwAAeJx1jrFOwzAURU/SNKgFIVgQ6uSRKWolZjaQOnQBqQNb2lpRpMqW3HTowhew8U9I/BU37WOjtmyfd/3utYEbvsn4G7lxRsmtcc4FD8YD6U/GhfjNeMglybjU/DQeM+FHrqwY2QsnzrgSnTjnmnvjgfSpcSF+Nh5yx7txKf3DeMwjX31soqajJdCoqLs26HzFq9yz1WVS6Zv9tk5nmv8Vl0pI7CRHXThmVPofS592bQxuVk3PGF+Ohk6WRhHhGNO3eTbSVhy0z1mra6HV91YyxdC5xgevFL9xq4Obr+MixlDxC/HTOrsAAHicY2BgYGaAYBkGRgYQiALyGMF8FgY7IM3FwMHABISMDAofbv3/+/8/WJXCh5tgNuP/x2A+RC8bUC0DUB8rWIgNiJkY8AJm/NJDHgAALqoOxgAAAHicY2BmwAsAAH0ABHicPY7BSsNAEIZnkk2zlhg1JKAYxOrJi6RepMdC8SKefAJP4kVBzCtkNw7ZjeK1j9C38Rn6CO5CDrppigwMM8P/f/8gMAaIGL4+vD09PwJ6gLCwp2AnaM88e+7bQ0aRTxE7GcPRffJL9D9EIX2bW+sFOXzu5QD7OSwPcuA5Xiew05N8CIDDLiSQuTqGSVmU0/KqKG+Kxaxv8+llMURvHwBAgRJrfEeCEaLns9HdRxzHP/FqaV4yaptWK25SkwZKu4Va0rUSWjYVVbz7CqmqhZBSiNodqGqk5l2vFqrW1PJ4tWbGqZxVKa31htA6gmN2aTBwBobzuYsU1YYkGheyZVBqLjKKxn8cSmvuAAB4nGNgZGBg4AFiAQYJBiYgzQLEIJoRggEFbQBAAAAAAQAAAADeTO04AAAAAM/9o+4AAAAA32BrKXicY2BAAEYQsZ1BiIEBAAPpAMsA") format("woff");
342
+ font-weight: normal;
343
+ font-style: normal;
344
+ }
345
+
346
+ /* Dropdown Icon */
347
+ .ui.accordion .ui.header > .dropdown.icon,
348
+ .ui.accordion .title > .dropdown.icon,
349
+ .ui.accordion .accordion .title > .dropdown.icon {
350
+ font-family: Accordion;
351
+ line-height: 1;
352
+ -webkit-backface-visibility: hidden;
353
+ backface-visibility: hidden;
354
+ font-weight: normal;
355
+ font-style: normal;
356
+ text-align: center;
357
+ }
358
+ .ui.accordion .ui.header > .dropdown.icon::before,
359
+ .ui.accordion .title > .dropdown.icon::before,
360
+ .ui.accordion .accordion .title > .dropdown.icon::before {
361
+ content: "\f0da"
362
+ /* rtl: "\f0d9" */;
363
+ }
364
+
365
+
366
+ /*******************************
367
+ User Overrides
368
+ *******************************/
369
+