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.
- checksums.yaml +4 -4
- data/app/assets/datatables.css +15 -0
- data/app/assets/stylesheets.css +5 -1
- data/app/blocks/resource_list_block.rb +153 -0
- data/app/components/back_button_component.rb +34 -0
- data/app/components/button_component.rb +4 -2
- data/app/components/button_to_component.rb +3 -4
- data/app/components/column_component.rb +1 -1
- data/app/components/container_component.rb +1 -1
- data/app/components/dropdown_component.rb +8 -2
- data/app/components/grid_component.rb +5 -1
- data/app/components/link_to_component.rb +23 -0
- data/app/components/menu_item_component.rb +5 -1
- data/app/components/message_component.rb +3 -1
- data/app/components/modal_component.rb +23 -3
- data/app/components/paragraph_component.rb +13 -0
- data/app/components/row_component.rb +1 -1
- data/app/components/table_row_component.rb +3 -5
- data/app/components/template_component.rb +13 -0
- data/app/helpers/component_helper.rb +122 -76
- data/app/helpers/fui_helper.rb +37 -0
- data/app/javascript/datatables.js +10 -0
- data/app/javascript/ui/controllers/fui_datatable_controller.js +35 -0
- data/app/javascript/ui/controllers/fui_dropdown_controller.js +8 -1
- data/app/javascript/ui/controllers/fui_item_list_controller.js +40 -0
- data/app/javascript/ui/controllers/navigation_controller.js +23 -0
- data/app/javascript/ui/index.js +11 -0
- data/app/lib/component.rb +1 -1
- data/config/importmap.rb +3 -0
- data/config/initializers/ruby_template_handler.rb +4 -1
- data/formantic-ui/components/accordion.css +369 -0
- data/formantic-ui/components/accordion.js +595 -0
- data/formantic-ui/components/accordion.min.css +9 -0
- data/formantic-ui/components/accordion.min.js +11 -0
- data/formantic-ui/components/ad.css +264 -0
- data/formantic-ui/components/ad.min.css +10 -0
- data/formantic-ui/components/api.js +1225 -0
- data/formantic-ui/components/api.min.js +11 -0
- data/formantic-ui/components/breadcrumb.css +135 -0
- data/formantic-ui/components/breadcrumb.min.css +9 -0
- data/formantic-ui/components/button.css +4058 -0
- data/formantic-ui/components/button.min.css +9 -0
- data/formantic-ui/components/calendar.css +327 -0
- data/formantic-ui/components/calendar.js +2045 -0
- data/formantic-ui/components/calendar.min.css +9 -0
- data/formantic-ui/components/calendar.min.js +11 -0
- data/formantic-ui/components/card.css +1881 -0
- data/formantic-ui/components/card.min.css +9 -0
- data/formantic-ui/components/checkbox.css +785 -0
- data/formantic-ui/components/checkbox.js +888 -0
- data/formantic-ui/components/checkbox.min.css +9 -0
- data/formantic-ui/components/checkbox.min.js +11 -0
- data/formantic-ui/components/comment.css +283 -0
- data/formantic-ui/components/comment.min.css +9 -0
- data/formantic-ui/components/container.css +300 -0
- data/formantic-ui/components/container.min.css +9 -0
- data/formantic-ui/components/dimmer.css +367 -0
- data/formantic-ui/components/dimmer.js +732 -0
- data/formantic-ui/components/dimmer.min.css +9 -0
- data/formantic-ui/components/dimmer.min.js +11 -0
- data/formantic-ui/components/divider.css +287 -0
- data/formantic-ui/components/divider.min.css +9 -0
- data/formantic-ui/components/dropdown.css +2087 -0
- data/formantic-ui/components/dropdown.js +4432 -0
- data/formantic-ui/components/dropdown.min.css +9 -0
- data/formantic-ui/components/dropdown.min.js +11 -0
- data/formantic-ui/components/embed.css +155 -0
- data/formantic-ui/components/embed.js +688 -0
- data/formantic-ui/components/embed.min.css +9 -0
- data/formantic-ui/components/embed.min.js +11 -0
- data/formantic-ui/components/emoji.css +15311 -0
- data/formantic-ui/components/emoji.min.css +9 -0
- data/formantic-ui/components/feed.css +799 -0
- data/formantic-ui/components/feed.min.css +9 -0
- data/formantic-ui/components/flag.css +1149 -0
- data/formantic-ui/components/flag.min.css +9 -0
- data/formantic-ui/components/flyout.css +546 -0
- data/formantic-ui/components/flyout.js +1551 -0
- data/formantic-ui/components/flyout.min.css +9 -0
- data/formantic-ui/components/flyout.min.js +11 -0
- data/formantic-ui/components/form.css +1885 -0
- data/formantic-ui/components/form.js +2199 -0
- data/formantic-ui/components/form.min.css +9 -0
- data/formantic-ui/components/form.min.js +11 -0
- data/formantic-ui/components/grid.css +1952 -0
- data/formantic-ui/components/grid.min.css +9 -0
- data/formantic-ui/components/header.css +778 -0
- data/formantic-ui/components/header.min.css +9 -0
- data/formantic-ui/components/icon.css +7066 -0
- data/formantic-ui/components/icon.min.css +9 -0
- data/formantic-ui/components/image.css +315 -0
- data/formantic-ui/components/image.min.css +9 -0
- data/formantic-ui/components/input.css +1566 -0
- data/formantic-ui/components/input.min.css +9 -0
- data/formantic-ui/components/item.css +534 -0
- data/formantic-ui/components/item.min.css +9 -0
- data/formantic-ui/components/label.css +2114 -0
- data/formantic-ui/components/label.min.css +9 -0
- data/formantic-ui/components/list.css +955 -0
- data/formantic-ui/components/list.min.css +9 -0
- data/formantic-ui/components/loader.css +787 -0
- data/formantic-ui/components/loader.min.css +9 -0
- data/formantic-ui/components/menu.css +2131 -0
- data/formantic-ui/components/menu.min.css +9 -0
- data/formantic-ui/components/message.css +619 -0
- data/formantic-ui/components/message.min.css +9 -0
- data/formantic-ui/components/modal.css +779 -0
- data/formantic-ui/components/modal.js +1637 -0
- data/formantic-ui/components/modal.min.css +9 -0
- data/formantic-ui/components/modal.min.js +11 -0
- data/formantic-ui/components/nag.css +290 -0
- data/formantic-ui/components/nag.js +566 -0
- data/formantic-ui/components/nag.min.css +9 -0
- data/formantic-ui/components/nag.min.js +11 -0
- data/formantic-ui/components/placeholder.css +228 -0
- data/formantic-ui/components/placeholder.min.css +9 -0
- data/formantic-ui/components/popup.css +1184 -0
- data/formantic-ui/components/popup.js +1561 -0
- data/formantic-ui/components/popup.min.css +9 -0
- data/formantic-ui/components/popup.min.js +11 -0
- data/formantic-ui/components/progress.css +761 -0
- data/formantic-ui/components/progress.js +979 -0
- data/formantic-ui/components/progress.min.css +9 -0
- data/formantic-ui/components/progress.min.js +11 -0
- data/formantic-ui/components/rail.css +147 -0
- data/formantic-ui/components/rail.min.css +9 -0
- data/formantic-ui/components/rating.css +414 -0
- data/formantic-ui/components/rating.js +540 -0
- data/formantic-ui/components/rating.min.css +9 -0
- data/formantic-ui/components/rating.min.js +11 -0
- data/formantic-ui/components/reset.css +386 -0
- data/formantic-ui/components/reset.min.css +9 -0
- data/formantic-ui/components/reveal.css +277 -0
- data/formantic-ui/components/reveal.min.css +9 -0
- data/formantic-ui/components/search.css +541 -0
- data/formantic-ui/components/search.js +1641 -0
- data/formantic-ui/components/search.min.css +9 -0
- data/formantic-ui/components/search.min.js +11 -0
- data/formantic-ui/components/segment.css +1053 -0
- data/formantic-ui/components/segment.min.css +9 -0
- data/formantic-ui/components/shape.css +144 -0
- data/formantic-ui/components/shape.js +797 -0
- data/formantic-ui/components/shape.min.css +9 -0
- data/formantic-ui/components/shape.min.js +11 -0
- data/formantic-ui/components/sidebar.css +539 -0
- data/formantic-ui/components/sidebar.js +1054 -0
- data/formantic-ui/components/sidebar.min.css +9 -0
- data/formantic-ui/components/sidebar.min.js +11 -0
- data/formantic-ui/components/site.css +286 -0
- data/formantic-ui/components/site.js +455 -0
- data/formantic-ui/components/site.min.css +9 -0
- data/formantic-ui/components/site.min.js +11 -0
- data/formantic-ui/components/slider.css +926 -0
- data/formantic-ui/components/slider.js +1546 -0
- data/formantic-ui/components/slider.min.css +9 -0
- data/formantic-ui/components/slider.min.js +11 -0
- data/formantic-ui/components/state.js +697 -0
- data/formantic-ui/components/state.min.js +11 -0
- data/formantic-ui/components/statistic.css +586 -0
- data/formantic-ui/components/statistic.min.css +9 -0
- data/formantic-ui/components/step.css +1538 -0
- data/formantic-ui/components/step.min.css +9 -0
- data/formantic-ui/components/sticky.css +73 -0
- data/formantic-ui/components/sticky.js +917 -0
- data/formantic-ui/components/sticky.min.css +9 -0
- data/formantic-ui/components/sticky.min.js +11 -0
- data/formantic-ui/components/tab.css +84 -0
- data/formantic-ui/components/tab.js +967 -0
- data/formantic-ui/components/tab.min.css +9 -0
- data/formantic-ui/components/tab.min.js +11 -0
- data/formantic-ui/components/table.css +3473 -0
- data/formantic-ui/components/table.min.css +9 -0
- data/formantic-ui/components/text.css +155 -0
- data/formantic-ui/components/text.min.css +9 -0
- data/formantic-ui/components/toast.css +751 -0
- data/formantic-ui/components/toast.js +964 -0
- data/formantic-ui/components/toast.min.css +9 -0
- data/formantic-ui/components/toast.min.js +11 -0
- data/formantic-ui/components/transition.css +1148 -0
- data/formantic-ui/components/transition.js +1034 -0
- data/formantic-ui/components/transition.min.css +9 -0
- data/formantic-ui/components/transition.min.js +11 -0
- data/formantic-ui/components/visibility.js +1292 -0
- data/formantic-ui/components/visibility.min.js +11 -0
- data/formantic-ui/semantic.css +78485 -0
- data/formantic-ui/semantic.js +31036 -0
- data/formantic-ui/semantic.min.css +11 -0
- data/formantic-ui/semantic.min.js +11 -0
- data/formantic-ui/themes/basic/assets/fonts/LICENSE.txt +91 -0
- data/formantic-ui/themes/basic/assets/fonts/icons.woff +0 -0
- data/formantic-ui/themes/basic/assets/fonts/icons.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/LICENSE_Lato.txt +94 -0
- data/formantic-ui/themes/default/assets/fonts/LICENSE_icons.txt +165 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/brand-icons.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/brand-icons.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/icons.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/icons.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/outline-icons.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- data/formantic-ui/themes/famfamfam/assets/images/flags.png +0 -0
- data/formantic-ui/themes/github/assets/fonts/LICENSE.txt +94 -0
- data/formantic-ui/themes/github/assets/fonts/octicons.woff +0 -0
- data/formantic-ui/themes/github/assets/fonts/octicons.woff2 +0 -0
- data/formantic-ui/themes/material/assets/fonts/LICENSE.txt +202 -0
- data/formantic-ui/themes/material/assets/fonts/icons.woff +0 -0
- data/formantic-ui/themes/material/assets/fonts/icons.woff2 +0 -0
- data/lib/ui/engine.rb +7 -2
- data/lib/ui/version.rb +1 -1
- metadata +205 -7
- data/app/components/link_component.rb +0 -23
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* # Fomantic-UI 2.9.4 - Placeholder
|
|
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
|
+
Content
|
|
13
|
+
-------------------- */
|
|
14
|
+
.ui.placeholder {
|
|
15
|
+
position: static;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
animation: placeholderShimmer 2s linear;
|
|
18
|
+
animation-iteration-count: infinite;
|
|
19
|
+
background-color: #fff;
|
|
20
|
+
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.08) 0, rgba(0, 0, 0, 0.15) 15%, rgba(0, 0, 0, 0.08) 30%);
|
|
21
|
+
background-size: 1200px 100%;
|
|
22
|
+
max-width: 30rem;
|
|
23
|
+
}
|
|
24
|
+
@keyframes placeholderShimmer {
|
|
25
|
+
0% {
|
|
26
|
+
background-position: -1200px 0;
|
|
27
|
+
}
|
|
28
|
+
100% {
|
|
29
|
+
background-position: 1200px 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.ui.placeholder + .ui.placeholder {
|
|
33
|
+
margin-top: 2rem;
|
|
34
|
+
}
|
|
35
|
+
.ui.placeholder + .ui.placeholder {
|
|
36
|
+
animation-delay: 0.15s;
|
|
37
|
+
}
|
|
38
|
+
.ui.placeholder + .ui.placeholder + .ui.placeholder {
|
|
39
|
+
animation-delay: 0.3s;
|
|
40
|
+
}
|
|
41
|
+
.ui.placeholder + .ui.placeholder + .ui.placeholder + .ui.placeholder {
|
|
42
|
+
animation-delay: 0.45s;
|
|
43
|
+
}
|
|
44
|
+
.ui.placeholder + .ui.placeholder + .ui.placeholder + .ui.placeholder + .ui.placeholder {
|
|
45
|
+
animation-delay: 0.6s;
|
|
46
|
+
}
|
|
47
|
+
.ui.placeholder,
|
|
48
|
+
.ui.placeholder > ::before,
|
|
49
|
+
.ui.placeholder .image.header::after,
|
|
50
|
+
.ui.placeholder .line,
|
|
51
|
+
.ui.placeholder .line::after {
|
|
52
|
+
background-color: #fff;
|
|
53
|
+
}
|
|
54
|
+
.ui.placeholder.hidden {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Image */
|
|
59
|
+
.ui.placeholder .image:not(.header):not(.ui):not(.icon) {
|
|
60
|
+
height: 100px;
|
|
61
|
+
}
|
|
62
|
+
.ui.placeholder .square.image:not(.header) {
|
|
63
|
+
height: 0;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
|
|
66
|
+
/* 1/1 aspect ratio */
|
|
67
|
+
padding-top: 100%;
|
|
68
|
+
}
|
|
69
|
+
.ui.placeholder .rectangular.image:not(.header) {
|
|
70
|
+
height: 0;
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
|
|
73
|
+
/* 4/3 aspect ratio */
|
|
74
|
+
padding-top: 75%;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* Lines */
|
|
78
|
+
.ui.placeholder .line {
|
|
79
|
+
position: relative;
|
|
80
|
+
height: 0.85714286em;
|
|
81
|
+
}
|
|
82
|
+
.ui.placeholder .line::before,
|
|
83
|
+
.ui.placeholder .line::after {
|
|
84
|
+
top: 100%;
|
|
85
|
+
position: absolute;
|
|
86
|
+
content: "";
|
|
87
|
+
background-color: inherit;
|
|
88
|
+
}
|
|
89
|
+
.ui.placeholder .line::before {
|
|
90
|
+
left: 0;
|
|
91
|
+
}
|
|
92
|
+
.ui.placeholder .line::after {
|
|
93
|
+
right: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Any Lines */
|
|
97
|
+
.ui.placeholder .line {
|
|
98
|
+
margin-bottom: 0.5em;
|
|
99
|
+
}
|
|
100
|
+
.ui.placeholder .line::before,
|
|
101
|
+
.ui.placeholder .line::after {
|
|
102
|
+
height: 0.5em;
|
|
103
|
+
}
|
|
104
|
+
.ui.placeholder .line:not(:first-child) {
|
|
105
|
+
margin-top: 0.5em;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Line Outdent */
|
|
109
|
+
.ui.placeholder .line:nth-child(1)::after {
|
|
110
|
+
width: 0;
|
|
111
|
+
}
|
|
112
|
+
.ui.placeholder .line:nth-child(2)::after {
|
|
113
|
+
width: 50%;
|
|
114
|
+
}
|
|
115
|
+
.ui.placeholder .line:nth-child(3)::after {
|
|
116
|
+
width: 10%;
|
|
117
|
+
}
|
|
118
|
+
.ui.placeholder .line:nth-child(4)::after {
|
|
119
|
+
width: 35%;
|
|
120
|
+
}
|
|
121
|
+
.ui.placeholder .line:nth-child(5)::after {
|
|
122
|
+
width: 65%;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* Header Image + 2 Lines */
|
|
126
|
+
.ui.placeholder .header {
|
|
127
|
+
position: relative;
|
|
128
|
+
overflow: hidden;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* Header Line 1 & 2 */
|
|
132
|
+
.ui.placeholder .header .line {
|
|
133
|
+
margin-bottom: 0.64285714em;
|
|
134
|
+
}
|
|
135
|
+
.ui.placeholder .header .line::before,
|
|
136
|
+
.ui.placeholder .header .line::after {
|
|
137
|
+
height: 0.64285714em;
|
|
138
|
+
}
|
|
139
|
+
.ui.placeholder .header .line:not(:first-child) {
|
|
140
|
+
margin-top: 0.64285714em;
|
|
141
|
+
}
|
|
142
|
+
.ui.placeholder .header .line::after {
|
|
143
|
+
width: 20%;
|
|
144
|
+
}
|
|
145
|
+
.ui.placeholder .header .line:nth-child(2)::after {
|
|
146
|
+
width: 60%;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* Image Header */
|
|
150
|
+
.ui.placeholder .image.header .line {
|
|
151
|
+
margin-left: 3em;
|
|
152
|
+
}
|
|
153
|
+
.ui.placeholder .image.header .line::before {
|
|
154
|
+
width: 0.71428571rem;
|
|
155
|
+
}
|
|
156
|
+
.ui.placeholder .image.header::after {
|
|
157
|
+
display: block;
|
|
158
|
+
height: 0.85714286em;
|
|
159
|
+
content: "";
|
|
160
|
+
margin-left: 3em;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* Spacing */
|
|
164
|
+
.ui.placeholder .image .line:first-child,
|
|
165
|
+
.ui.placeholder .paragraph .line:first-child,
|
|
166
|
+
.ui.placeholder .header .line:first-child {
|
|
167
|
+
height: 0.01px;
|
|
168
|
+
}
|
|
169
|
+
.ui.placeholder .image:not(:first-child)::before,
|
|
170
|
+
.ui.placeholder .paragraph:not(:first-child)::before,
|
|
171
|
+
.ui.placeholder .header:not(:first-child)::before {
|
|
172
|
+
height: 1.42857143em;
|
|
173
|
+
content: "";
|
|
174
|
+
display: block;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Inverted Content Loader */
|
|
178
|
+
.ui.inverted.placeholder {
|
|
179
|
+
background-image: linear-gradient(to right, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.14) 15%, rgba(255, 255, 255, 0.08) 30%);
|
|
180
|
+
}
|
|
181
|
+
.ui.inverted.placeholder,
|
|
182
|
+
.ui.inverted.placeholder > ::before,
|
|
183
|
+
.ui.inverted.placeholder .image.header::after,
|
|
184
|
+
.ui.inverted.placeholder .line,
|
|
185
|
+
.ui.inverted.placeholder .line::after {
|
|
186
|
+
background-color: #1b1c1d;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
/*******************************
|
|
191
|
+
Variations
|
|
192
|
+
*******************************/
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
/* -------------------
|
|
196
|
+
Sizes
|
|
197
|
+
-------------------- */
|
|
198
|
+
.ui.placeholder .full.line.line.line::after {
|
|
199
|
+
width: 0;
|
|
200
|
+
}
|
|
201
|
+
.ui.placeholder .very.long.line.line.line::after {
|
|
202
|
+
width: 10%;
|
|
203
|
+
}
|
|
204
|
+
.ui.placeholder .long.line.line.line::after {
|
|
205
|
+
width: 35%;
|
|
206
|
+
}
|
|
207
|
+
.ui.placeholder .medium.line.line.line::after {
|
|
208
|
+
width: 50%;
|
|
209
|
+
}
|
|
210
|
+
.ui.placeholder .short.line.line.line::after {
|
|
211
|
+
width: 65%;
|
|
212
|
+
}
|
|
213
|
+
.ui.placeholder .very.short.line.line.line::after {
|
|
214
|
+
width: 80%;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/* -------------------
|
|
218
|
+
Fluid
|
|
219
|
+
-------------------- */
|
|
220
|
+
.ui.fluid.placeholder {
|
|
221
|
+
max-width: none;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
/*******************************
|
|
226
|
+
Theme Overrides
|
|
227
|
+
*******************************/
|
|
228
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* # Fomantic-UI 2.9.4 - Placeholder
|
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Released under the MIT license
|
|
7
|
+
* https://opensource.org/licenses/MIT
|
|
8
|
+
*
|
|
9
|
+
*/.ui.placeholder{position:static;overflow:hidden;animation:placeholderShimmer 2s linear;animation-iteration-count:infinite;background-color:#fff;background-image:linear-gradient(to right,rgba(0,0,0,.08) 0,rgba(0,0,0,.15) 15%,rgba(0,0,0,.08) 30%);background-size:1200px 100%;max-width:30rem}@keyframes placeholderShimmer{0%{background-position:-1200px 0}100%{background-position:1200px 0}}.ui.placeholder+.ui.placeholder{margin-top:2rem}.ui.placeholder+.ui.placeholder{animation-delay:.15s}.ui.placeholder+.ui.placeholder+.ui.placeholder{animation-delay:.3s}.ui.placeholder+.ui.placeholder+.ui.placeholder+.ui.placeholder{animation-delay:.45s}.ui.placeholder+.ui.placeholder+.ui.placeholder+.ui.placeholder+.ui.placeholder{animation-delay:.6s}.ui.placeholder,.ui.placeholder .image.header::after,.ui.placeholder .line,.ui.placeholder .line::after,.ui.placeholder>::before{background-color:#fff}.ui.placeholder.hidden{display:none}.ui.placeholder .image:not(.header):not(.ui):not(.icon){height:100px}.ui.placeholder .square.image:not(.header){height:0;overflow:hidden;padding-top:100%}.ui.placeholder .rectangular.image:not(.header){height:0;overflow:hidden;padding-top:75%}.ui.placeholder .line{position:relative;height:.85714286em}.ui.placeholder .line::after,.ui.placeholder .line::before{top:100%;position:absolute;content:"";background-color:inherit}.ui.placeholder .line::before{left:0}.ui.placeholder .line::after{right:0}.ui.placeholder .line{margin-bottom:.5em}.ui.placeholder .line::after,.ui.placeholder .line::before{height:.5em}.ui.placeholder .line:not(:first-child){margin-top:.5em}.ui.placeholder .line:nth-child(1)::after{width:0}.ui.placeholder .line:nth-child(2)::after{width:50%}.ui.placeholder .line:nth-child(3)::after{width:10%}.ui.placeholder .line:nth-child(4)::after{width:35%}.ui.placeholder .line:nth-child(5)::after{width:65%}.ui.placeholder .header{position:relative;overflow:hidden}.ui.placeholder .header .line{margin-bottom:.64285714em}.ui.placeholder .header .line::after,.ui.placeholder .header .line::before{height:.64285714em}.ui.placeholder .header .line:not(:first-child){margin-top:.64285714em}.ui.placeholder .header .line::after{width:20%}.ui.placeholder .header .line:nth-child(2)::after{width:60%}.ui.placeholder .image.header .line{margin-left:3em}.ui.placeholder .image.header .line::before{width:.71428571rem}.ui.placeholder .image.header::after{display:block;height:.85714286em;content:"";margin-left:3em}.ui.placeholder .header .line:first-child,.ui.placeholder .image .line:first-child,.ui.placeholder .paragraph .line:first-child{height:.01px}.ui.placeholder .header:not(:first-child)::before,.ui.placeholder .image:not(:first-child)::before,.ui.placeholder .paragraph:not(:first-child)::before{height:1.42857143em;content:"";display:block}.ui.inverted.placeholder{background-image:linear-gradient(to right,rgba(255,255,255,.08) 0,rgba(255,255,255,.14) 15%,rgba(255,255,255,.08) 30%)}.ui.inverted.placeholder,.ui.inverted.placeholder .image.header::after,.ui.inverted.placeholder .line,.ui.inverted.placeholder .line::after,.ui.inverted.placeholder>::before{background-color:#1b1c1d}.ui.placeholder .full.line.line.line::after{width:0}.ui.placeholder .very.long.line.line.line::after{width:10%}.ui.placeholder .long.line.line.line::after{width:35%}.ui.placeholder .medium.line.line.line::after{width:50%}.ui.placeholder .short.line.line.line::after{width:65%}.ui.placeholder .very.short.line.line.line::after{width:80%}.ui.fluid.placeholder{max-width:none}
|