semantic-ui 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/semantic-ui.rb +8 -0
- data/lib/semantic-ui/version.rb +5 -0
- data/vendor/assets/fonts/icons.eot +0 -0
- data/vendor/assets/fonts/icons.svg +450 -0
- data/vendor/assets/fonts/icons.ttf +0 -0
- data/vendor/assets/fonts/icons.woff +0 -0
- data/vendor/assets/images/loader-large-inverted.gif +0 -0
- data/vendor/assets/images/loader-large.gif +0 -0
- data/vendor/assets/images/loader-medium-inverted.gif +0 -0
- data/vendor/assets/images/loader-medium.gif +0 -0
- data/vendor/assets/images/loader-mini-inverted.gif +0 -0
- data/vendor/assets/images/loader-mini.gif +0 -0
- data/vendor/assets/images/loader-small-inverted.gif +0 -0
- data/vendor/assets/images/loader-small.gif +0 -0
- data/vendor/assets/javascripts/modules/accordion.js +411 -0
- data/vendor/assets/javascripts/modules/behavior/api.js +666 -0
- data/vendor/assets/javascripts/modules/behavior/colorize.js +271 -0
- data/vendor/assets/javascripts/modules/behavior/form.js +703 -0
- data/vendor/assets/javascripts/modules/behavior/state.js +752 -0
- data/vendor/assets/javascripts/modules/chatroom.js +766 -0
- data/vendor/assets/javascripts/modules/checkbox.js +348 -0
- data/vendor/assets/javascripts/modules/dimmer.js +524 -0
- data/vendor/assets/javascripts/modules/dropdown.js +707 -0
- data/vendor/assets/javascripts/modules/modal.js +478 -0
- data/vendor/assets/javascripts/modules/nag.js +542 -0
- data/vendor/assets/javascripts/modules/popup.js +721 -0
- data/vendor/assets/javascripts/modules/rating.js +358 -0
- data/vendor/assets/javascripts/modules/search.js +769 -0
- data/vendor/assets/javascripts/modules/shape.js +776 -0
- data/vendor/assets/javascripts/modules/sidebar.js +489 -0
- data/vendor/assets/javascripts/modules/tab.js +674 -0
- data/vendor/assets/javascripts/modules/transition.js +650 -0
- data/vendor/assets/javascripts/modules/video.js +459 -0
- data/vendor/assets/javascripts/semantic-ui.js +1 -0
- data/vendor/assets/stylesheets/collections/breadcrumb.less +79 -0
- data/vendor/assets/stylesheets/collections/form.less +536 -0
- data/vendor/assets/stylesheets/collections/grid.less +655 -0
- data/vendor/assets/stylesheets/collections/menu.less +1765 -0
- data/vendor/assets/stylesheets/collections/message.less +337 -0
- data/vendor/assets/stylesheets/collections/table.less +532 -0
- data/vendor/assets/stylesheets/elements/button.less +1190 -0
- data/vendor/assets/stylesheets/elements/divider.less +200 -0
- data/vendor/assets/stylesheets/elements/header.less +325 -0
- data/vendor/assets/stylesheets/elements/icon.less +484 -0
- data/vendor/assets/stylesheets/elements/image.less +170 -0
- data/vendor/assets/stylesheets/elements/input.less +300 -0
- data/vendor/assets/stylesheets/elements/label.less +824 -0
- data/vendor/assets/stylesheets/elements/loader.less +178 -0
- data/vendor/assets/stylesheets/elements/progress.less +353 -0
- data/vendor/assets/stylesheets/elements/segment.less +465 -0
- data/vendor/assets/stylesheets/elements/step.less +294 -0
- data/vendor/assets/stylesheets/modules/accordion.less +135 -0
- data/vendor/assets/stylesheets/modules/chatroom.less +271 -0
- data/vendor/assets/stylesheets/modules/checkbox.less +380 -0
- data/vendor/assets/stylesheets/modules/dimmer.less +230 -0
- data/vendor/assets/stylesheets/modules/dropdown.less +506 -0
- data/vendor/assets/stylesheets/modules/modal.less +160 -0
- data/vendor/assets/stylesheets/modules/nag.less +175 -0
- data/vendor/assets/stylesheets/modules/popup.less +238 -0
- data/vendor/assets/stylesheets/modules/rating.less +151 -0
- data/vendor/assets/stylesheets/modules/reveal.less +367 -0
- data/vendor/assets/stylesheets/modules/search.less +275 -0
- data/vendor/assets/stylesheets/modules/shape.less +115 -0
- data/vendor/assets/stylesheets/modules/sidebar.less +147 -0
- data/vendor/assets/stylesheets/modules/tab.less +59 -0
- data/vendor/assets/stylesheets/modules/transition.less +839 -0
- data/vendor/assets/stylesheets/modules/video.less +99 -0
- data/vendor/assets/stylesheets/semantic-ui.less +1 -0
- data/vendor/assets/stylesheets/views/comment.less +221 -0
- data/vendor/assets/stylesheets/views/feed.less +151 -0
- data/vendor/assets/stylesheets/views/item.less +641 -0
- data/vendor/assets/stylesheets/views/list.less +508 -0
- data/vendor/assets/stylesheets/views/statistic.css +27 -0
- metadata +187 -0
@@ -0,0 +1,380 @@
|
|
1
|
+
/*******************************
|
2
|
+
UI Checkbox
|
3
|
+
*******************************/
|
4
|
+
|
5
|
+
/*--------------
|
6
|
+
Standard
|
7
|
+
---------------*/
|
8
|
+
|
9
|
+
|
10
|
+
/*--- Content ---*/
|
11
|
+
.ui.checkbox {
|
12
|
+
position: relative;
|
13
|
+
display: inline-block;
|
14
|
+
outline: none;
|
15
|
+
|
16
|
+
margin-right: 0.5em;
|
17
|
+
vertical-align: middle;
|
18
|
+
}
|
19
|
+
.ui.checkbox input {
|
20
|
+
visibility: hidden;
|
21
|
+
outline: none;
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
/*--- Box ---*/
|
26
|
+
.ui.checkbox .box,
|
27
|
+
.ui.checkbox label {
|
28
|
+
outline: none;
|
29
|
+
cursor: pointer;
|
30
|
+
position: absolute;
|
31
|
+
|
32
|
+
line-height: 1;
|
33
|
+
width: 1em;
|
34
|
+
height: 1em;
|
35
|
+
bottom: 0em;
|
36
|
+
left: 0em;
|
37
|
+
border-radius: 4px;
|
38
|
+
|
39
|
+
-webkit-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.2);
|
40
|
+
-moz-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.2);
|
41
|
+
box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.2);
|
42
|
+
|
43
|
+
background: #FFFFFF;
|
44
|
+
|
45
|
+
-webkit-transition:
|
46
|
+
background-color 0.1s ease-out,
|
47
|
+
box-shadow 0.1s ease-out
|
48
|
+
;
|
49
|
+
-moz-transition:
|
50
|
+
background-color 0.1s ease-out,
|
51
|
+
box-shadow 0.1s ease-out
|
52
|
+
;
|
53
|
+
-o-transition:
|
54
|
+
background-color 0.1s ease-out,
|
55
|
+
box-shadow 0.1s ease-out
|
56
|
+
;
|
57
|
+
-ms-transition:
|
58
|
+
background-color 0.1s ease-out,
|
59
|
+
box-shadow 0.1s ease-out
|
60
|
+
;
|
61
|
+
transition:
|
62
|
+
background-color 0.1s ease-out,
|
63
|
+
box-shadow 0.1s ease-out
|
64
|
+
;
|
65
|
+
}
|
66
|
+
|
67
|
+
/*--- Checkbox ---*/
|
68
|
+
.ui.checkbox .box:after,
|
69
|
+
.ui.checkbox label:after {
|
70
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
71
|
+
filter: alpha(opacity=0);
|
72
|
+
opacity: 0;
|
73
|
+
content: '';
|
74
|
+
position: absolute;
|
75
|
+
background: transparent;
|
76
|
+
border: 0.2em solid #333333;
|
77
|
+
border-top: none;
|
78
|
+
border-right: none;
|
79
|
+
-webkit-transform: rotate(-45deg);
|
80
|
+
-moz-transform: rotate(-45deg);
|
81
|
+
-o-transform: rotate(-45deg);
|
82
|
+
-ms-transform: rotate(-45deg);
|
83
|
+
transform: rotate(-45deg);
|
84
|
+
}
|
85
|
+
.ui.checkbox .box:after,
|
86
|
+
.ui.checkbox label:after {
|
87
|
+
top: 0.3em;
|
88
|
+
left: 0.2em;
|
89
|
+
width: 0.45em;
|
90
|
+
height: 0.15em;
|
91
|
+
}
|
92
|
+
|
93
|
+
/*--- Label ---*/
|
94
|
+
.ui.checkbox + label {
|
95
|
+
cursor: pointer;
|
96
|
+
opacity: 0.85;
|
97
|
+
vertical-align: middle;
|
98
|
+
}
|
99
|
+
.ui.checkbox + label:hover {
|
100
|
+
opacity: 1;
|
101
|
+
}
|
102
|
+
|
103
|
+
/*******************************
|
104
|
+
States
|
105
|
+
*******************************/
|
106
|
+
|
107
|
+
|
108
|
+
/*--- Hover ---*/
|
109
|
+
.ui.checkbox .box:hover,
|
110
|
+
.ui.checkbox label:hover {
|
111
|
+
background-color: #FAFAFA;
|
112
|
+
-webkit-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
|
113
|
+
-moz-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
|
114
|
+
box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
|
115
|
+
}
|
116
|
+
|
117
|
+
|
118
|
+
/*--- Down ---*/
|
119
|
+
.ui.checkbox .box:active,
|
120
|
+
.ui.checkbox label:active {
|
121
|
+
background-color: #F5F5F5;
|
122
|
+
}
|
123
|
+
|
124
|
+
|
125
|
+
/*--- Active ---*/
|
126
|
+
.ui.checkbox input:checked + .box:after,
|
127
|
+
.ui.checkbox input:checked + label:after {
|
128
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
129
|
+
filter: alpha(opacity=100);
|
130
|
+
opacity: 1;
|
131
|
+
}
|
132
|
+
|
133
|
+
|
134
|
+
/*--- Disabled ---*/
|
135
|
+
.ui.disabled.checkbox + .box:after,
|
136
|
+
.ui.checkbox input[disabled] + .box:after,
|
137
|
+
.ui.disabled.checkbox label,
|
138
|
+
.ui.checkbox input[disabled] + label {
|
139
|
+
opacity: 0.4;
|
140
|
+
}
|
141
|
+
|
142
|
+
|
143
|
+
/*******************************
|
144
|
+
Variations
|
145
|
+
*******************************/
|
146
|
+
|
147
|
+
|
148
|
+
/*--------------
|
149
|
+
Radio
|
150
|
+
---------------*/
|
151
|
+
|
152
|
+
.ui.radio.checkbox {
|
153
|
+
width: 14px;
|
154
|
+
height: 16px;
|
155
|
+
}
|
156
|
+
.ui.radio.checkbox .box,
|
157
|
+
.ui.radio.checkbox label {
|
158
|
+
width: 14px;
|
159
|
+
height: 14px;
|
160
|
+
-webkit-border-radius: 500px;
|
161
|
+
-moz-border-radius: 500px;
|
162
|
+
border-radius: 500px;
|
163
|
+
}
|
164
|
+
.ui.radio.checkbox .box:after,
|
165
|
+
.ui.radio.checkbox label:after {
|
166
|
+
top: 3px;
|
167
|
+
left: 3px;
|
168
|
+
|
169
|
+
border: none;
|
170
|
+
width: 8px;
|
171
|
+
height: 8px;
|
172
|
+
|
173
|
+
background-color: #555555;
|
174
|
+
|
175
|
+
-webkit-border-radius: 500px;
|
176
|
+
-moz-border-radius: 500px;
|
177
|
+
border-radius: 500px;
|
178
|
+
}
|
179
|
+
|
180
|
+
/*--------------
|
181
|
+
Slider
|
182
|
+
---------------*/
|
183
|
+
|
184
|
+
.ui.slider.checkbox {
|
185
|
+
cursor: pointer;
|
186
|
+
width: 3em;
|
187
|
+
height: 2em;
|
188
|
+
}
|
189
|
+
/* Line */
|
190
|
+
.ui.slider.checkbox:after {
|
191
|
+
position: absolute;
|
192
|
+
top: 1em;
|
193
|
+
left: 0em;
|
194
|
+
content: '';
|
195
|
+
|
196
|
+
width: 100%;
|
197
|
+
height: 2px;
|
198
|
+
background-color: rgba(0, 0, 0, 0.1);
|
199
|
+
}
|
200
|
+
/* Button */
|
201
|
+
.ui.slider.checkbox .box,
|
202
|
+
.ui.slider.checkbox label {
|
203
|
+
cursor: pointer;
|
204
|
+
display: block;
|
205
|
+
|
206
|
+
position: absolute;
|
207
|
+
top: 0.25em;
|
208
|
+
left: 0;
|
209
|
+
z-index: 1;
|
210
|
+
|
211
|
+
width: 1.5em;
|
212
|
+
height: 1.5em;
|
213
|
+
|
214
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
215
|
+
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
216
|
+
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
217
|
+
|
218
|
+
border-radius: 50rem;
|
219
|
+
|
220
|
+
-webkit-transition: left 0.3s ease 0s;
|
221
|
+
-moz-transition: left 0.3s ease 0s;
|
222
|
+
-o-transition: left 0.3s ease 0s;
|
223
|
+
-ms-transition: left 0.3s ease 0s;
|
224
|
+
transition: left 0.3s ease 0s;
|
225
|
+
}
|
226
|
+
|
227
|
+
/* Button Activation Light */
|
228
|
+
.ui.slider.checkbox .box:after,
|
229
|
+
.ui.slider.checkbox label:after {
|
230
|
+
opacity: 1;
|
231
|
+
|
232
|
+
position: absolute;
|
233
|
+
content: '';
|
234
|
+
top: 0.375em;
|
235
|
+
left: 0.375em;
|
236
|
+
|
237
|
+
border: none;
|
238
|
+
width: 0.75em;
|
239
|
+
height: 0.75em;
|
240
|
+
|
241
|
+
background-color: #D95C5C;
|
242
|
+
|
243
|
+
border-radius: 50rem;
|
244
|
+
|
245
|
+
-webkit-transition: background 0.3s ease 0s;
|
246
|
+
-moz-transition: background 0.3s ease 0s;
|
247
|
+
-o-transition: background 0.3s ease 0s;
|
248
|
+
-ms-transition: background 0.3s ease 0s;
|
249
|
+
transition: background 0.3s ease 0s;
|
250
|
+
}
|
251
|
+
|
252
|
+
/* Active Slider Toggle */
|
253
|
+
.ui.slider.checkbox input:checked + .box,
|
254
|
+
.ui.slider.checkbox input:checked + label {
|
255
|
+
left: 1.75em;
|
256
|
+
}
|
257
|
+
.ui.slider.checkbox input:checked + .box:after,
|
258
|
+
.ui.slider.checkbox input:checked + label:after {
|
259
|
+
background-color: #89B84C;
|
260
|
+
}
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
/*--------------
|
265
|
+
Toggle
|
266
|
+
---------------*/
|
267
|
+
|
268
|
+
.ui.toggle.checkbox {
|
269
|
+
cursor: pointer;
|
270
|
+
width: 3em;
|
271
|
+
height: 2em;
|
272
|
+
}
|
273
|
+
/* Line */
|
274
|
+
.ui.toggle.checkbox:after {
|
275
|
+
cursor: pointer;
|
276
|
+
display: block;
|
277
|
+
|
278
|
+
position: absolute;
|
279
|
+
content: '';
|
280
|
+
top: 0.25em;
|
281
|
+
left: 0em;
|
282
|
+
z-index: 1;
|
283
|
+
|
284
|
+
background-color: #FFFFFF;
|
285
|
+
width: 100%;
|
286
|
+
height: 1.5em;
|
287
|
+
|
288
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
289
|
+
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
290
|
+
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
291
|
+
|
292
|
+
border-radius: 50rem;
|
293
|
+
}
|
294
|
+
.ui.toggle.checkbox .box,
|
295
|
+
.ui.toggle.checkbox label {
|
296
|
+
position: absolute;
|
297
|
+
top: 0.65em;
|
298
|
+
left: 0.5em;
|
299
|
+
|
300
|
+
-webkit-transition: left 0.3s ease 0s;
|
301
|
+
-moz-transition: left 0.3s ease 0s;
|
302
|
+
-o-transition: left 0.3s ease 0s;
|
303
|
+
-ms-transition: left 0.3s ease 0s;
|
304
|
+
transition: left 0.3s ease 0s;
|
305
|
+
|
306
|
+
background-color: transparent;
|
307
|
+
-webkit-box-shadow: none;
|
308
|
+
-moz-box-shadow: none;
|
309
|
+
box-shadow: none;
|
310
|
+
}
|
311
|
+
/* Button Activation Light */
|
312
|
+
.ui.toggle.checkbox .box:after,
|
313
|
+
.ui.toggle.checkbox label:after {
|
314
|
+
opacity: 1;
|
315
|
+
|
316
|
+
content: '';
|
317
|
+
position: absolute;
|
318
|
+
top: 0px;
|
319
|
+
left: 0px;
|
320
|
+
z-index: 2;
|
321
|
+
|
322
|
+
border: none;
|
323
|
+
width: 0.75em;
|
324
|
+
height: 0.75em;
|
325
|
+
|
326
|
+
background-color: #D95C5C;
|
327
|
+
|
328
|
+
border-radius: 50rem;
|
329
|
+
|
330
|
+
-webkit-transition: background 0.3s ease 0s;
|
331
|
+
-moz-transition: background 0.3s ease 0s;
|
332
|
+
-o-transition: background 0.3s ease 0s;
|
333
|
+
-ms-transition: background 0.3s ease 0s;
|
334
|
+
transition: background 0.3s ease 0s;
|
335
|
+
}
|
336
|
+
|
337
|
+
/* Active toggle Toggle */
|
338
|
+
.ui.toggle.checkbox input:checked + .box,
|
339
|
+
.ui.toggle.checkbox input:checked + label {
|
340
|
+
left: 1.75em;
|
341
|
+
}
|
342
|
+
.ui.toggle.checkbox input:checked + .box:after,
|
343
|
+
.ui.toggle.checkbox input:checked + label:after {
|
344
|
+
background-color: #89B84C;
|
345
|
+
}
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
/*--------------
|
350
|
+
Sizes
|
351
|
+
---------------*/
|
352
|
+
|
353
|
+
.ui.checkbox {
|
354
|
+
width: 1em;
|
355
|
+
height: 1em;
|
356
|
+
}
|
357
|
+
.ui.checkbox,
|
358
|
+
.ui.checkbox .box,
|
359
|
+
.ui.checkbox label {
|
360
|
+
font-size: 1em;
|
361
|
+
}
|
362
|
+
|
363
|
+
.ui.large.checkbox {
|
364
|
+
width: 1.25em;
|
365
|
+
height: 1.25em;
|
366
|
+
}
|
367
|
+
.ui.large.checkbox,
|
368
|
+
.ui.large.checkbox .box,
|
369
|
+
.ui.large.checkbox label {
|
370
|
+
font-size: 1.25em;
|
371
|
+
}
|
372
|
+
.ui.huge.checkbox {
|
373
|
+
width: 1.5em;
|
374
|
+
height: 1.5em;
|
375
|
+
}
|
376
|
+
.ui.huge.checkbox,
|
377
|
+
.ui.huge.checkbox .box,
|
378
|
+
.ui.huge.checkbox label {
|
379
|
+
font-size: 1.5em;
|
380
|
+
}
|
@@ -0,0 +1,230 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic Dimmer
|
3
|
+
* http://github.com/quirkyinc/semantic
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2013 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
* Released: April 17 2013
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
/*******************************
|
15
|
+
Dimmer
|
16
|
+
*******************************/
|
17
|
+
|
18
|
+
.ui.dimmable {
|
19
|
+
position: relative;
|
20
|
+
}
|
21
|
+
|
22
|
+
.ui.dimmer {
|
23
|
+
display: none;
|
24
|
+
position: absolute;
|
25
|
+
top: 0em !important;
|
26
|
+
left: 0em !important;
|
27
|
+
|
28
|
+
width: 0%;
|
29
|
+
height: 0%;
|
30
|
+
|
31
|
+
text-align: center;
|
32
|
+
vertical-align: middle;
|
33
|
+
|
34
|
+
background-color: rgba(0, 0, 0, 0.85);
|
35
|
+
opacity: 0;
|
36
|
+
line-height: 1;
|
37
|
+
|
38
|
+
-webkit-animation-fill-mode: both;
|
39
|
+
-moz-animation-fill-mode: both;
|
40
|
+
-o-animation-fill-mode: both;
|
41
|
+
-ms-animation-fill-mode: both;
|
42
|
+
animation-fill-mode: both;
|
43
|
+
|
44
|
+
-webkit-animation-duration: 0.5s;
|
45
|
+
-moz-animation-duration: 0.5s;
|
46
|
+
-o-animation-duration: 0.5s;
|
47
|
+
-ms-animation-duration: 0.5s;
|
48
|
+
animation-duration: 0.5s;
|
49
|
+
|
50
|
+
-webkit-transition:
|
51
|
+
background-color 0.5s linear
|
52
|
+
;
|
53
|
+
-moz-transition:
|
54
|
+
background-color 0.5s linear
|
55
|
+
;
|
56
|
+
-o-transition:
|
57
|
+
background-color 0.5s linear
|
58
|
+
;
|
59
|
+
-ms-transition:
|
60
|
+
background-color 0.5s linear
|
61
|
+
;
|
62
|
+
transition:
|
63
|
+
background-color 0.5s linear
|
64
|
+
;
|
65
|
+
|
66
|
+
-webkit-user-select: none;
|
67
|
+
-moz-user-select: none;
|
68
|
+
-ms-user-select: none;
|
69
|
+
user-select: none;
|
70
|
+
|
71
|
+
-webkit-box-sizing: border-box;
|
72
|
+
-moz-box-sizing: border-box;
|
73
|
+
-ms-box-sizing: border-box;
|
74
|
+
box-sizing: border-box;
|
75
|
+
|
76
|
+
z-index: 1000;
|
77
|
+
}
|
78
|
+
|
79
|
+
/*
|
80
|
+
.ui.dimmed.dimmable > :not(.dimmer) {
|
81
|
+
-webkit-transition:
|
82
|
+
filter 0.5s ease
|
83
|
+
;
|
84
|
+
-moz-transition:
|
85
|
+
filter 0.5s ease
|
86
|
+
;
|
87
|
+
-o-transition:
|
88
|
+
filter 0.5s ease
|
89
|
+
;
|
90
|
+
-ms-transition:
|
91
|
+
filter 0.5s ease
|
92
|
+
;
|
93
|
+
transition:
|
94
|
+
filter 0.5s ease
|
95
|
+
;
|
96
|
+
}
|
97
|
+
*/
|
98
|
+
|
99
|
+
|
100
|
+
/* Dimmer Content */;
|
101
|
+
.ui.dimmer > .content {
|
102
|
+
width: 100%;
|
103
|
+
height: 100%;
|
104
|
+
display: table;
|
105
|
+
|
106
|
+
-webkit-user-select: text;
|
107
|
+
-moz-user-select: text;
|
108
|
+
-ms-user-select: text;
|
109
|
+
user-select: text;
|
110
|
+
}
|
111
|
+
.ui.dimmer > .content > div {
|
112
|
+
display: table-cell;
|
113
|
+
vertical-align: middle;
|
114
|
+
color: #FFFFFF;
|
115
|
+
}
|
116
|
+
|
117
|
+
|
118
|
+
/* Loose Coupling */
|
119
|
+
.ui.segment > .ui.dimmer {
|
120
|
+
-webkit-border-radius: 5px;
|
121
|
+
-moz-border-radius: 5px;
|
122
|
+
border-radius: 5px;
|
123
|
+
}
|
124
|
+
.ui.horizontal.segment > .ui.dimmer,
|
125
|
+
.ui.vertical.segment > .ui.dimmer {
|
126
|
+
-webkit-border-radius: 5px;
|
127
|
+
-moz-border-radius: 5px;
|
128
|
+
border-radius: 5px;
|
129
|
+
}
|
130
|
+
|
131
|
+
/*******************************
|
132
|
+
States
|
133
|
+
*******************************/
|
134
|
+
/*
|
135
|
+
.ui.dimmed.dimmable > :not(.dimmer) {
|
136
|
+
-webkit-filter: ~"blur(5px) grayscale(0.7)";
|
137
|
+
-moz-filter: ~"blur(5px) grayscale(0.7)";
|
138
|
+
}
|
139
|
+
*/
|
140
|
+
.ui.dimmed.dimmable > .ui.dimmer,
|
141
|
+
.ui.active.dimmer {
|
142
|
+
display: block;
|
143
|
+
width: 100%;
|
144
|
+
height: 100%;
|
145
|
+
opacity: 1;
|
146
|
+
}
|
147
|
+
|
148
|
+
.ui.disabled.dimmer {
|
149
|
+
width: 0em !important;
|
150
|
+
height: 0em !important;
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
/*******************************
|
155
|
+
Variations
|
156
|
+
*******************************/
|
157
|
+
|
158
|
+
/*--------------
|
159
|
+
Page
|
160
|
+
---------------*/
|
161
|
+
|
162
|
+
.ui.page.dimmer {
|
163
|
+
position: fixed;
|
164
|
+
|
165
|
+
-webkit-perspective: 2000px;
|
166
|
+
-moz-perspective: 2000px;
|
167
|
+
perspective: 2000px;
|
168
|
+
|
169
|
+
-webkit-transform-origin: top center;
|
170
|
+
-moz-transform-origin: top center;
|
171
|
+
-o-transform-origin: top center;
|
172
|
+
-ms-transform-origin: top center;
|
173
|
+
transform-origin: top center;
|
174
|
+
}
|
175
|
+
/*
|
176
|
+
body.ui.dimmed.dimmable > :not(.dimmer){
|
177
|
+
-webkit-filter: ~"blur(15px) grayscale(0.7)";
|
178
|
+
-moz-filter: ~"blur(15px) grayscale(0.7)";
|
179
|
+
}
|
180
|
+
*/
|
181
|
+
|
182
|
+
/*--------------
|
183
|
+
Aligned
|
184
|
+
---------------*/
|
185
|
+
|
186
|
+
.ui.dimmer > .top.aligned.content > * {
|
187
|
+
vertical-align: top;
|
188
|
+
}
|
189
|
+
.ui.dimmer > .bottom.aligned.content > * {
|
190
|
+
vertical-align: bottom;
|
191
|
+
}
|
192
|
+
|
193
|
+
/*--------------
|
194
|
+
Inverted
|
195
|
+
---------------*/
|
196
|
+
|
197
|
+
.ui.inverted.dimmer {
|
198
|
+
background-color: rgba(255, 255, 255, 0.85);
|
199
|
+
}
|
200
|
+
.ui.inverted.dimmer > .content > * {
|
201
|
+
color: rgba(0, 0, 0, 0.8);
|
202
|
+
}
|
203
|
+
|
204
|
+
/*--------------
|
205
|
+
Simple
|
206
|
+
---------------*/
|
207
|
+
/* Displays without javascript */
|
208
|
+
|
209
|
+
.ui.simple.dimmer {
|
210
|
+
display: block;
|
211
|
+
overflow: hidden;
|
212
|
+
opacity: 1;
|
213
|
+
z-index: -100;
|
214
|
+
background-color: rgba(0, 0, 0, 0);
|
215
|
+
}
|
216
|
+
.ui.dimmed.dimmable > .ui.simple.dimmer {
|
217
|
+
overflow: visible;
|
218
|
+
opacity: 1;
|
219
|
+
width: 100%;
|
220
|
+
height: 100%;
|
221
|
+
background-color: rgba(0, 0, 0, 0.85);
|
222
|
+
z-index: 1;
|
223
|
+
}
|
224
|
+
|
225
|
+
.ui.simple.inverted.dimmer {
|
226
|
+
background-color: rgba(255, 255, 255, 0);
|
227
|
+
}
|
228
|
+
.ui.dimmed.dimmable > .ui.simple.inverted.dimmer {
|
229
|
+
background-color: rgba(255, 255, 255, 0.85)
|
230
|
+
}
|