semantic-ui-rails 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/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +26 -0
- data/Rakefile +1 -0
- data/lib/generators/semantic/install/install_generator.rb +38 -0
- data/lib/generators/semantic/install/templates/semantic-ui.js +21 -0
- data/lib/generators/semantic/install/templates/semantic-ui/collections.less +6 -0
- data/lib/generators/semantic/install/templates/semantic-ui/elements.less +11 -0
- data/lib/generators/semantic/install/templates/semantic-ui/modules.less +18 -0
- data/lib/generators/semantic/install/templates/semantic-ui/views.less +6 -0
- data/lib/semantic/ui/rails.rb +10 -0
- data/lib/semantic/ui/rails/engine.rb +8 -0
- data/lib/semantic/ui/rails/version.rb +7 -0
- data/semantic-ui-rails.gemspec +23 -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/semantic-ui/loader-large-inverted.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-large.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-medium-inverted.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-medium.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-mini-inverted.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-mini.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-small-inverted.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-small.gif +0 -0
- data/vendor/assets/javascripts/semantic-ui/accordion.js +411 -0
- data/vendor/assets/javascripts/semantic-ui/behavior/api.js +666 -0
- data/vendor/assets/javascripts/semantic-ui/behavior/colorize.js +271 -0
- data/vendor/assets/javascripts/semantic-ui/behavior/form.js +657 -0
- data/vendor/assets/javascripts/semantic-ui/behavior/state.js +752 -0
- data/vendor/assets/javascripts/semantic-ui/carousel.js +327 -0
- data/vendor/assets/javascripts/semantic-ui/chatroom.js +766 -0
- data/vendor/assets/javascripts/semantic-ui/checkbox.js +348 -0
- data/vendor/assets/javascripts/semantic-ui/dimmer.js +525 -0
- data/vendor/assets/javascripts/semantic-ui/dropdown.js +697 -0
- data/vendor/assets/javascripts/semantic-ui/modal.js +478 -0
- data/vendor/assets/javascripts/semantic-ui/nag.js +542 -0
- data/vendor/assets/javascripts/semantic-ui/popup.js +721 -0
- data/vendor/assets/javascripts/semantic-ui/rating.js +358 -0
- data/vendor/assets/javascripts/semantic-ui/search.js +770 -0
- data/vendor/assets/javascripts/semantic-ui/shape.js +776 -0
- data/vendor/assets/javascripts/semantic-ui/sidebar.js +489 -0
- data/vendor/assets/javascripts/semantic-ui/tab.js +674 -0
- data/vendor/assets/javascripts/semantic-ui/transition.js +645 -0
- data/vendor/assets/javascripts/semantic-ui/video.js +459 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/breadcrumb.less +79 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/form.less +536 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/grid.less +655 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/menu.less +1736 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/message.less +337 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/table.less +526 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/button.less +1294 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/divider.less +200 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/header.less +325 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/icon.less +449 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/image.less +170 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/input.less +287 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/label.less +805 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/loader.less +178 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/progress.less +353 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/segment.less +465 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/step.less +294 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/accordion.less +135 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/carousel.less +71 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/chatroom.less +271 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/checkbox.less +378 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/dimmer.less +230 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/dropdown.less +506 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/extra.transition.less +1197 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/modal.less +154 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/nag.less +175 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/popup.less +238 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/rating.less +151 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/reveal.less +367 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/search.less +275 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/shape.less +115 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/sidebar.less +147 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/tab.less +59 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/transition.less +839 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/video.less +99 -0
- data/vendor/assets/stylesheets/semantic-ui/views/comment.less +221 -0
- data/vendor/assets/stylesheets/semantic-ui/views/feed.less +151 -0
- data/vendor/assets/stylesheets/semantic-ui/views/item.less +641 -0
- data/vendor/assets/stylesheets/semantic-ui/views/list.less +491 -0
- data/vendor/assets/stylesheets/semantic-ui/views/sitemap.less +47 -0
- data/vendor/assets/stylesheets/semantic-ui/views/statistic.less +34 -0
- metadata +161 -0
@@ -0,0 +1,1294 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic Button
|
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
|
+
Button
|
16
|
+
*******************************/
|
17
|
+
|
18
|
+
/* Prototype */
|
19
|
+
.ui.button {
|
20
|
+
cursor: pointer;
|
21
|
+
display: inline-block;
|
22
|
+
vertical-align: middle;
|
23
|
+
|
24
|
+
min-height: 1em;
|
25
|
+
|
26
|
+
outline: none;
|
27
|
+
border: none;
|
28
|
+
background-color: #EBEBEB;
|
29
|
+
color: #999999;
|
30
|
+
|
31
|
+
padding: 0.8em 1.5em;
|
32
|
+
|
33
|
+
font-size: 1rem;
|
34
|
+
text-transform: uppercase;
|
35
|
+
line-height: 1;
|
36
|
+
font-weight: bold;
|
37
|
+
font-style: normal;
|
38
|
+
text-align: center;
|
39
|
+
text-decoration: none;
|
40
|
+
|
41
|
+
-webkit-border-radius: 0.2em;
|
42
|
+
-moz-border-radius: 0.2em;
|
43
|
+
border-radius: 0.2em;
|
44
|
+
|
45
|
+
-webkit-box-shadow:
|
46
|
+
0em -0.185rem 0em rgba(0, 0, 0, 0.1) inset
|
47
|
+
;
|
48
|
+
-moz-box-shadow:
|
49
|
+
0em -0.185rem 0em rgba(0, 0, 0, 0.1) inset
|
50
|
+
;
|
51
|
+
box-shadow:
|
52
|
+
0em -0.185rem 0em rgba(0, 0, 0, 0.1) inset
|
53
|
+
;
|
54
|
+
|
55
|
+
-webkit-user-select: none;
|
56
|
+
-moz-user-select: none;
|
57
|
+
-ms-user-select: none;
|
58
|
+
user-select: none;
|
59
|
+
|
60
|
+
-webkit-box-sizing: border-box;
|
61
|
+
-moz-box-sizing: border-box;
|
62
|
+
-ms-box-sizing: border-box;
|
63
|
+
box-sizing: border-box;
|
64
|
+
|
65
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
66
|
+
|
67
|
+
-webkit-transition:
|
68
|
+
opacity 0.25s ease,
|
69
|
+
background-color 0.25s ease,
|
70
|
+
color 0.25s ease,
|
71
|
+
background 0.25s ease,
|
72
|
+
text-shadow 0.25s ease,
|
73
|
+
box-shadow 0.25s ease
|
74
|
+
;
|
75
|
+
-moz-transition:
|
76
|
+
opacity 0.25s ease,
|
77
|
+
background-color 0.25s ease,
|
78
|
+
color 0.25s ease,
|
79
|
+
background 0.25s ease,
|
80
|
+
text-shadow 0.25s ease,
|
81
|
+
box-shadow 0.25s ease
|
82
|
+
;
|
83
|
+
-o-transition:
|
84
|
+
opacity 0.25s ease,
|
85
|
+
background-color 0.25s ease,
|
86
|
+
color 0.25s ease,
|
87
|
+
background 0.25s ease,
|
88
|
+
text-shadow 0.25s ease,
|
89
|
+
box-shadow 0.25s ease
|
90
|
+
;
|
91
|
+
-ms-transition:
|
92
|
+
opacity 0.25s ease,
|
93
|
+
background-color 0.25s ease,
|
94
|
+
color 0.25s ease,
|
95
|
+
background 0.25s ease,
|
96
|
+
text-shadow 0.25s ease,
|
97
|
+
box-shadow 0.25s ease
|
98
|
+
;
|
99
|
+
transition:
|
100
|
+
opacity 0.25s ease,
|
101
|
+
background-color 0.25s ease,
|
102
|
+
color 0.25s ease,
|
103
|
+
background 0.25s ease,
|
104
|
+
text-shadow 0.25s ease,
|
105
|
+
box-shadow 0.25s ease
|
106
|
+
;
|
107
|
+
}
|
108
|
+
|
109
|
+
/*--------------
|
110
|
+
Count
|
111
|
+
---------------*/
|
112
|
+
|
113
|
+
.ui.count.button {
|
114
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
|
115
|
+
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
|
116
|
+
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
|
117
|
+
}
|
118
|
+
|
119
|
+
.ui.count.button > .count {
|
120
|
+
position: absolute;
|
121
|
+
background-color: #FFFFFF;
|
122
|
+
border: 1px solid #F0F0F0;
|
123
|
+
margin: -0.8em -1.5em;
|
124
|
+
padding: 0.8em 1.5em;
|
125
|
+
}
|
126
|
+
|
127
|
+
/*-------------------
|
128
|
+
Primary
|
129
|
+
--------------------*/
|
130
|
+
|
131
|
+
.ui.primary.buttons .button,
|
132
|
+
.ui.primary.button {
|
133
|
+
background-color: #D95C5C;
|
134
|
+
color: #FFFFFF;
|
135
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
136
|
+
}
|
137
|
+
.ui.primary.buttons .button:hover,
|
138
|
+
.ui.primary.button:hover,
|
139
|
+
.ui.primary.buttons .active.button,
|
140
|
+
.ui.primary.button.active {
|
141
|
+
background-color: #E75859;
|
142
|
+
color: #FFFFFF;
|
143
|
+
}
|
144
|
+
.ui.primary.buttons .button:active,
|
145
|
+
.ui.primary.button:active {
|
146
|
+
background-color: #D24B4C;
|
147
|
+
color: #FFFFFF;
|
148
|
+
}
|
149
|
+
|
150
|
+
/*-------------------
|
151
|
+
Secondary
|
152
|
+
--------------------*/
|
153
|
+
|
154
|
+
.ui.secondary.buttons .button,
|
155
|
+
.ui.secondary.button {
|
156
|
+
background-color: #00B5AD;
|
157
|
+
color: #FFFFFF;
|
158
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
159
|
+
}
|
160
|
+
.ui.secondary.buttons .button:hover,
|
161
|
+
.ui.secondary.button:hover,
|
162
|
+
.ui.secondary.buttons .active.button,
|
163
|
+
.ui.secondary.button.active {
|
164
|
+
background-color: #009A93;
|
165
|
+
color: #FFFFFF;
|
166
|
+
}
|
167
|
+
.ui.secondary.buttons .button:active,
|
168
|
+
.ui.secondary.button:active {
|
169
|
+
background-color: #00847E;
|
170
|
+
color: #FFFFFF;
|
171
|
+
}
|
172
|
+
|
173
|
+
/*-------------------
|
174
|
+
Social
|
175
|
+
--------------------*/
|
176
|
+
|
177
|
+
/* Facebook */
|
178
|
+
.ui.facebook.button {
|
179
|
+
background-color: #3B579D;
|
180
|
+
color: #FFFFFF;
|
181
|
+
}
|
182
|
+
.ui.facebook.button:hover {
|
183
|
+
background-color: #3A59A9;
|
184
|
+
}
|
185
|
+
.ui.facebook.button:active {
|
186
|
+
background-color: #334F95;
|
187
|
+
}
|
188
|
+
|
189
|
+
/* Twitter */
|
190
|
+
.ui.twitter.button {
|
191
|
+
background-color: #00ACED;
|
192
|
+
color: #FFFFFF;
|
193
|
+
}
|
194
|
+
.ui.twitter.button:hover {
|
195
|
+
background-color: #00B9FF;
|
196
|
+
}
|
197
|
+
.ui.twitter.button:active {
|
198
|
+
background-color: #009EDA;
|
199
|
+
}
|
200
|
+
|
201
|
+
/*--------------
|
202
|
+
Icon
|
203
|
+
---------------*/
|
204
|
+
|
205
|
+
.ui.button > .icon {
|
206
|
+
margin-right: 0.5em;
|
207
|
+
|
208
|
+
line-height: 1;
|
209
|
+
|
210
|
+
-webkit-transition:
|
211
|
+
opacity 0.1s ease
|
212
|
+
;
|
213
|
+
-moz-transition:
|
214
|
+
opacity 0.1s ease
|
215
|
+
;
|
216
|
+
-o-transition:
|
217
|
+
opacity 0.1s ease
|
218
|
+
;
|
219
|
+
-ms-transition:
|
220
|
+
opacity 0.1s ease
|
221
|
+
;
|
222
|
+
transition:
|
223
|
+
opacity 0.1s ease
|
224
|
+
;
|
225
|
+
}
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
/*******************************
|
230
|
+
States
|
231
|
+
*******************************/
|
232
|
+
|
233
|
+
|
234
|
+
/*--------------
|
235
|
+
Active
|
236
|
+
---------------*/
|
237
|
+
|
238
|
+
.ui.buttons .active.button,
|
239
|
+
.ui.active.button {
|
240
|
+
opacity: 1 !important;
|
241
|
+
background-color: #B0B0B0;
|
242
|
+
|
243
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0)), to(rgba(255, 255, 255, 0.1)));
|
244
|
+
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
|
245
|
+
background-image: -moz-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
|
246
|
+
background-image: -o-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
|
247
|
+
background-image: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
|
248
|
+
|
249
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
250
|
+
color: #FFFFFF;
|
251
|
+
|
252
|
+
-webkit-box-shadow:
|
253
|
+
0px 0px 0.3em 0px rgba(0, 0, 0, 0.3) inset
|
254
|
+
;
|
255
|
+
-moz-box-shadow:
|
256
|
+
0px 0px 0.3em 0px rgba(0, 0, 0, 0.3) inset
|
257
|
+
;
|
258
|
+
box-shadow:
|
259
|
+
0px 0px 0.3em 0px rgba(0, 0, 0, 0.3) inset
|
260
|
+
;
|
261
|
+
}
|
262
|
+
|
263
|
+
|
264
|
+
/*--------------
|
265
|
+
Hover
|
266
|
+
---------------*/
|
267
|
+
|
268
|
+
.ui.button:hover,
|
269
|
+
.ui.active.button:hover {
|
270
|
+
opacity: 1 !important;
|
271
|
+
background-color: #A4A4A4;
|
272
|
+
|
273
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
274
|
+
color: #FFFFFF;
|
275
|
+
}
|
276
|
+
.ui.button:hover .icon,
|
277
|
+
.ui.button.hover .icon {
|
278
|
+
opacity: 0.85;
|
279
|
+
}
|
280
|
+
|
281
|
+
/*--------------
|
282
|
+
Down
|
283
|
+
---------------*/
|
284
|
+
|
285
|
+
.ui.button:active,
|
286
|
+
.ui.active.button:active {
|
287
|
+
opacity: 1 !important;
|
288
|
+
background-color: #8C8C8C;
|
289
|
+
|
290
|
+
color: #FFFFFF;
|
291
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
292
|
+
|
293
|
+
-webkit-box-shadow: 0px 1px 0.2em 0px rgba(0, 0, 0, 0.3) inset;
|
294
|
+
-moz-box-shadow: 0px 1px 0.2em 0px rgba(0, 0, 0, 0.3) inset;
|
295
|
+
box-shadow: 0px 1px 0.2em 0px rgba(0, 0, 0, 0.3) inset;
|
296
|
+
}
|
297
|
+
|
298
|
+
/*--------------
|
299
|
+
Error
|
300
|
+
---------------*/
|
301
|
+
|
302
|
+
.ui.error.button {
|
303
|
+
cursor: default;
|
304
|
+
|
305
|
+
position: relative !important;
|
306
|
+
background-color: #D95C5C !important;
|
307
|
+
color: transparent !important;
|
308
|
+
text-shadow: none;
|
309
|
+
|
310
|
+
-webkit-transition: all 0s linear;
|
311
|
+
-moz-transition: all 0s linear;
|
312
|
+
-o-transition: all 0s linear;
|
313
|
+
-ms-transition: all 0s linear;
|
314
|
+
transition: all 0s linear;
|
315
|
+
}
|
316
|
+
.ui.error.button .icon {
|
317
|
+
opacity: 1;
|
318
|
+
color: #FFFFFF;
|
319
|
+
}
|
320
|
+
.ui.error.button:after {
|
321
|
+
position: absolute;
|
322
|
+
left: 50%;
|
323
|
+
content: "Error";
|
324
|
+
margin-left: -1.8em;
|
325
|
+
color: #FFFFFF;
|
326
|
+
|
327
|
+
-webkit-animation: button-text 0.5s;
|
328
|
+
-moz-animation: button-text 0.5s;
|
329
|
+
-ms-animation: button-text 0.5s;
|
330
|
+
-o-animation: button-text 0.5s;
|
331
|
+
animation: button-text 0.5s;
|
332
|
+
}
|
333
|
+
.ui.error.button .icon:before {
|
334
|
+
font-family: 'Icons';
|
335
|
+
content: '\26a0';
|
336
|
+
}
|
337
|
+
|
338
|
+
/*--------------
|
339
|
+
Success
|
340
|
+
---------------*/
|
341
|
+
|
342
|
+
.ui.success.button {
|
343
|
+
position: relative !important;
|
344
|
+
background-color: #5BBD72 !important;
|
345
|
+
color: transparent !important;
|
346
|
+
}
|
347
|
+
.ui.success.button .icon {
|
348
|
+
opacity: 1;
|
349
|
+
color: #FFFFFF;
|
350
|
+
}
|
351
|
+
.ui.success.button .icon:before {
|
352
|
+
font-family: 'Icons';
|
353
|
+
content: '\2611';
|
354
|
+
}
|
355
|
+
.ui.success.button:after {
|
356
|
+
position: absolute;
|
357
|
+
left: 50%;
|
358
|
+
content: "Success";
|
359
|
+
margin-left: -2em;
|
360
|
+
color: #FFFFFF;
|
361
|
+
|
362
|
+
-webkit-animation: button-text 0.5s;
|
363
|
+
-moz-animation: button-text 0.5s;
|
364
|
+
-ms-animation: button-text 0.5s;
|
365
|
+
-o-animation: button-text 0.5s;
|
366
|
+
animation: button-text 0.5s;
|
367
|
+
}
|
368
|
+
|
369
|
+
@-webkit-keyframes button-text {
|
370
|
+
0% {
|
371
|
+
-webkit-transform: translateY(100%);
|
372
|
+
opacity: 0;
|
373
|
+
}
|
374
|
+
100% {
|
375
|
+
opacity: 1;
|
376
|
+
-webkit-transform: translateY(0);
|
377
|
+
}
|
378
|
+
}
|
379
|
+
|
380
|
+
@-moz-keyframes button-text {
|
381
|
+
0% {
|
382
|
+
-moz-transform: translateY(100%);
|
383
|
+
opacity: 0;
|
384
|
+
}
|
385
|
+
100% {
|
386
|
+
opacity: 1;
|
387
|
+
-moz-transform: translateY(0);
|
388
|
+
}
|
389
|
+
}
|
390
|
+
|
391
|
+
@keyframes button-text {
|
392
|
+
0% {
|
393
|
+
transform: translateY(100%);
|
394
|
+
opacity: 0;
|
395
|
+
}
|
396
|
+
100% {
|
397
|
+
opacity: 1;
|
398
|
+
transform: translateY(0);
|
399
|
+
}
|
400
|
+
}
|
401
|
+
|
402
|
+
/*--------------
|
403
|
+
Loading
|
404
|
+
---------------*/
|
405
|
+
|
406
|
+
.ui.loading.button {
|
407
|
+
position: relative;
|
408
|
+
cursor: default;
|
409
|
+
|
410
|
+
background-color: #F3F3F3 !important;
|
411
|
+
color: transparent !important;
|
412
|
+
text-shadow: none !important;
|
413
|
+
background-image: none !important;
|
414
|
+
|
415
|
+
-webkit-box-shadow: none !important;
|
416
|
+
-moz-box-shadow: none !important;
|
417
|
+
box-shadow: none !important;
|
418
|
+
|
419
|
+
-webkit-transition: all 0s linear;
|
420
|
+
-moz-transition: all 0s linear;
|
421
|
+
-o-transition: all 0s linear;
|
422
|
+
-ms-transition: all 0s linear;
|
423
|
+
transition: all 0s linear;
|
424
|
+
}
|
425
|
+
.ui.loading.button:after {
|
426
|
+
position: absolute;
|
427
|
+
top: 0em;
|
428
|
+
left: 0em;
|
429
|
+
width: 100%;
|
430
|
+
height: 100%;
|
431
|
+
content: '';
|
432
|
+
background: transparent url(../images/loader-mini.gif) no-repeat 50% 50%;
|
433
|
+
}
|
434
|
+
|
435
|
+
.ui.labeled.icon.loading.button .icon {
|
436
|
+
background-color: transparent;
|
437
|
+
-webkit-box-shadow: none;
|
438
|
+
-moz-box-shadow: none;
|
439
|
+
box-shadow: none;
|
440
|
+
}
|
441
|
+
|
442
|
+
/*-------------------
|
443
|
+
Disabled
|
444
|
+
--------------------*/
|
445
|
+
|
446
|
+
.ui.disabled.button {
|
447
|
+
cursor: default;
|
448
|
+
color: #DDDDDD !important;
|
449
|
+
background-color: rgba(50, 50, 50, 0.05) !important;
|
450
|
+
background-image: none !important;
|
451
|
+
|
452
|
+
text-shadow: none !important;
|
453
|
+
|
454
|
+
-webkit-box-shadow: none !important;
|
455
|
+
-moz-box-shadow: none !important;
|
456
|
+
box-shadow: none !important;
|
457
|
+
}
|
458
|
+
|
459
|
+
|
460
|
+
/*******************************
|
461
|
+
Variations
|
462
|
+
*******************************/
|
463
|
+
|
464
|
+
/*-------------------
|
465
|
+
Floated
|
466
|
+
--------------------*/
|
467
|
+
|
468
|
+
.ui.left.floated.buttons,
|
469
|
+
.ui.left.floated.button {
|
470
|
+
float: left;
|
471
|
+
margin-right: 0.25em;
|
472
|
+
}
|
473
|
+
.ui.right.floated.buttons,
|
474
|
+
.ui.right.floated.button {
|
475
|
+
float: right;
|
476
|
+
margin-left: 0.25em;
|
477
|
+
}
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
/*-------------------
|
482
|
+
Sizes
|
483
|
+
--------------------*/
|
484
|
+
|
485
|
+
.ui.buttons .button,
|
486
|
+
.ui.button {
|
487
|
+
font-size: 1rem;
|
488
|
+
}
|
489
|
+
|
490
|
+
.ui.buttons.mini .button,
|
491
|
+
.ui.mini.button {
|
492
|
+
font-size: 0.8125rem;
|
493
|
+
padding: 0.6em 0.8em;
|
494
|
+
}
|
495
|
+
.ui.tiny.buttons .button,
|
496
|
+
.ui.tiny.button {
|
497
|
+
font-size: 0.875rem;
|
498
|
+
padding: 0.6em 0.8em;
|
499
|
+
}
|
500
|
+
.ui.small.buttons .button,
|
501
|
+
.ui.small.button {
|
502
|
+
font-size: 0.875rem;
|
503
|
+
}
|
504
|
+
.ui.large.buttons .button,
|
505
|
+
.ui.large.button {
|
506
|
+
font-size: 1.125rem;
|
507
|
+
}
|
508
|
+
.ui.big.buttons .button,
|
509
|
+
.ui.big.button {
|
510
|
+
font-size: 1.25rem;
|
511
|
+
}
|
512
|
+
.ui.huge.buttons .button,
|
513
|
+
.ui.huge.button {
|
514
|
+
font-size: 1.375rem;
|
515
|
+
}
|
516
|
+
.ui.massive.buttons .button,
|
517
|
+
.ui.massive.button {
|
518
|
+
font-size: 1.5rem;
|
519
|
+
font-weight: bold;
|
520
|
+
}
|
521
|
+
|
522
|
+
/* loading */
|
523
|
+
.ui.huge.loading.button:after {
|
524
|
+
background-image: url(../images/loader-small.gif);
|
525
|
+
}
|
526
|
+
.ui.massive.buttons .loading.button:after,
|
527
|
+
.ui.gigantic.buttons .loading.button:after,
|
528
|
+
.ui.massive.loading.button:after,
|
529
|
+
.ui.gigantic.loading.button:after {
|
530
|
+
background-image: url(../images/loader-medium.gif);
|
531
|
+
}
|
532
|
+
|
533
|
+
.ui.huge.loading.button:after,
|
534
|
+
.ui.huge.loading.button.active:after {
|
535
|
+
background-image: url(../images/loader-small.gif);
|
536
|
+
}
|
537
|
+
.ui.massive.buttons .loading.button:after,
|
538
|
+
.ui.gigantic.buttons .loading.button:after,
|
539
|
+
.ui.massive.loading.button:after,
|
540
|
+
.ui.gigantic.loading.button:after,
|
541
|
+
.ui.massive.buttons .loading.button.active:after,
|
542
|
+
.ui.gigantic.buttons .loading.button.active:after,
|
543
|
+
.ui.massive.loading.button.active:after,
|
544
|
+
.ui.gigantic.loading.button.active:after {
|
545
|
+
background-image: url(../images/loader-medium.gif);
|
546
|
+
}
|
547
|
+
|
548
|
+
/*--------------
|
549
|
+
Icon Only
|
550
|
+
---------------*/
|
551
|
+
.ui.icon.buttons .button,
|
552
|
+
.ui.icon.button {
|
553
|
+
padding: 0.8em;
|
554
|
+
}
|
555
|
+
.ui.icon.buttons .button > .icon,
|
556
|
+
.ui.icon.button > .icon {
|
557
|
+
opacity: 1;
|
558
|
+
margin: 0em;
|
559
|
+
vertical-align: top;
|
560
|
+
}
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
/*-------------------
|
565
|
+
Basic
|
566
|
+
--------------------*/
|
567
|
+
|
568
|
+
.ui.basic.buttons .button,
|
569
|
+
.ui.basic.button {
|
570
|
+
background-color: transparent !important;
|
571
|
+
background-image: none;
|
572
|
+
color: #999999 !important;
|
573
|
+
font-weight: normal;
|
574
|
+
text-transform: none;
|
575
|
+
text-shadow: none !important;
|
576
|
+
|
577
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
578
|
+
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
579
|
+
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
580
|
+
}
|
581
|
+
.ui.basic.buttons {
|
582
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
583
|
+
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
584
|
+
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
585
|
+
|
586
|
+
-webkit-border-radius: 0.2em;
|
587
|
+
-moz-border-radius: 0.2em;
|
588
|
+
border-radius: 0.2em;
|
589
|
+
}
|
590
|
+
|
591
|
+
.ui.basic.buttons .button:hover,
|
592
|
+
.ui.basic.button:hover {
|
593
|
+
color: #7F7F7F !important;
|
594
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
|
595
|
+
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
|
596
|
+
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
|
597
|
+
}
|
598
|
+
.ui.basic.buttons .button:active,
|
599
|
+
.ui.basic.button:active {
|
600
|
+
background-color: rgba(0, 0, 0, 0.02) !important;
|
601
|
+
color: #7F7F7F !important;
|
602
|
+
|
603
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
604
|
+
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
605
|
+
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
606
|
+
}
|
607
|
+
.ui.basic.buttons .button.active,
|
608
|
+
.ui.basic.button.active {
|
609
|
+
background-color: rgba(0, 0, 0, 0.05);
|
610
|
+
color: #7F7F7F;
|
611
|
+
|
612
|
+
-webkit-box-shadow: 0px 0px 0px 1px #BDBDBD inset;
|
613
|
+
-moz-box-shadow: 0px 0px 0px 1px #BDBDBD inset;
|
614
|
+
box-shadow: 0px 0px 0px 1px #BDBDBD inset;
|
615
|
+
}
|
616
|
+
.ui.basic.buttons .button.active:hover,
|
617
|
+
.ui.basic.button.active:hover {
|
618
|
+
background-color: rgba(0, 0, 0, 0.1);
|
619
|
+
}
|
620
|
+
|
621
|
+
/* Basic Group */
|
622
|
+
.ui.basic.buttons .button {
|
623
|
+
border: none;
|
624
|
+
|
625
|
+
-webkit-box-shadow: none;
|
626
|
+
-moz-box-shadow: none;
|
627
|
+
box-shadow: none;
|
628
|
+
}
|
629
|
+
.ui.basic.buttons .button:hover,
|
630
|
+
.ui.basic.buttons .button:active {
|
631
|
+
-webkit-box-shadow: none;
|
632
|
+
-moz-box-shadow: none;
|
633
|
+
box-shadow: none;
|
634
|
+
}
|
635
|
+
.ui.basic.buttons .button.active {
|
636
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
637
|
+
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
638
|
+
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
639
|
+
}
|
640
|
+
|
641
|
+
|
642
|
+
|
643
|
+
/*--------------
|
644
|
+
Labeled Icon
|
645
|
+
---------------*/
|
646
|
+
|
647
|
+
.ui.labeled.icon.buttons .button,
|
648
|
+
.ui.labeled.icon.button {
|
649
|
+
position: relative;
|
650
|
+
padding-left: 4em !important;
|
651
|
+
padding-right: 1.4em !important;
|
652
|
+
}
|
653
|
+
|
654
|
+
.ui.labeled.icon.buttons > .button > .icon,
|
655
|
+
.ui.labeled.icon.button > .icon {
|
656
|
+
position: absolute;
|
657
|
+
top: 0em;
|
658
|
+
left: 0em;
|
659
|
+
|
660
|
+
-webkit-box-sizing: border-box;
|
661
|
+
-moz-box-sizing: border-box;
|
662
|
+
-ms-box-sizing: border-box;
|
663
|
+
box-sizing: border-box;
|
664
|
+
|
665
|
+
width: 2.75em;
|
666
|
+
height: 100%;
|
667
|
+
padding-top: 0.8em;
|
668
|
+
background-color: rgba(0, 0, 0, 0.05);
|
669
|
+
text-align: center;
|
670
|
+
|
671
|
+
-webkit-border-radius: 0.2em 0px 0px 0.2em;
|
672
|
+
-moz-border-radius: 0.2em 0px 0px 0.2em;
|
673
|
+
border-radius: 0.2em 0px 0px 0.2em;
|
674
|
+
|
675
|
+
line-height: 1;
|
676
|
+
|
677
|
+
-webkit-box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
|
678
|
+
-moz-box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
|
679
|
+
box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
|
680
|
+
}
|
681
|
+
|
682
|
+
.ui.labeled.icon.buttons .button > .icon {
|
683
|
+
-webkit-border-radius: 0em;
|
684
|
+
-moz-border-radius: 0em;
|
685
|
+
border-radius: 0em;
|
686
|
+
}
|
687
|
+
.ui.labeled.icon.buttons .button:first-child > .icon {
|
688
|
+
border-top-left-radius: 0.2em;
|
689
|
+
border-bottom-left-radius: 0.2em;
|
690
|
+
}
|
691
|
+
.ui.labeled.icon.buttons .button:last-child > .icon {
|
692
|
+
border-top-right-radius: 0.2em;
|
693
|
+
border-bottom-right-radius: 0.2em;
|
694
|
+
}
|
695
|
+
.ui.vertical.labeled.icon.buttons .button:first-child > .icon {
|
696
|
+
-webkit-border-radius: 0em;
|
697
|
+
-moz-border-radius: 0em;
|
698
|
+
border-radius: 0em;
|
699
|
+
border-top-left-radius: 0.2em;
|
700
|
+
}
|
701
|
+
.ui.vertical.labeled.icon.buttons .button:last-child > .icon {
|
702
|
+
-webkit-border-radius: 0em;
|
703
|
+
-moz-border-radius: 0em;
|
704
|
+
border-radius: 0em;
|
705
|
+
border-bottom-left-radius: 0.2em;
|
706
|
+
}
|
707
|
+
|
708
|
+
.ui.right.labeled.icon.button {
|
709
|
+
padding-left: 1.4em !important;
|
710
|
+
padding-right: 4em !important;
|
711
|
+
}
|
712
|
+
.ui.left.fluid.labeled.icon.button,
|
713
|
+
.ui.right.fluid.labeled.icon.button {
|
714
|
+
padding-left: 1.4em !important;
|
715
|
+
padding-right: 1.4em !important;
|
716
|
+
}
|
717
|
+
|
718
|
+
.ui.right.labeled.icon.button .icon {
|
719
|
+
left: auto;
|
720
|
+
right: 0em;
|
721
|
+
|
722
|
+
-webkit-border-radius: 0em 0.2em 0.2em 0em;
|
723
|
+
-moz-border-radius: 0em 0.2em 0.2em 0em;
|
724
|
+
border-radius: 0em 0.2em 0.2em 0em;
|
725
|
+
|
726
|
+
-webkit-box-shadow: 2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
|
727
|
+
-moz-box-shadow: 2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
|
728
|
+
box-shadow: 2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
|
729
|
+
}
|
730
|
+
|
731
|
+
|
732
|
+
/*--------------
|
733
|
+
Toggle
|
734
|
+
---------------*/
|
735
|
+
|
736
|
+
/* Toggle (Modifies active state to give affordances) */
|
737
|
+
.ui.toggle.buttons .active.button,
|
738
|
+
.ui.buttons .button.toggle.active,
|
739
|
+
.ui.button.toggle.active {
|
740
|
+
background-color: #5BBD72 !important;
|
741
|
+
color: #FFFFFF !important;
|
742
|
+
}
|
743
|
+
.ui.button.toggle.active:hover {
|
744
|
+
background-color: #58CB73 !important;
|
745
|
+
color: #FFFFFF !important;
|
746
|
+
}
|
747
|
+
|
748
|
+
/*--------------
|
749
|
+
Bubbly
|
750
|
+
---------------*/
|
751
|
+
|
752
|
+
.ui.circular.button {
|
753
|
+
-webkit-border-radius: 10em;
|
754
|
+
-moz-border-radius: 10em;
|
755
|
+
border-radius: 10em;
|
756
|
+
}
|
757
|
+
|
758
|
+
|
759
|
+
/*--------------
|
760
|
+
Attached
|
761
|
+
---------------*/
|
762
|
+
|
763
|
+
.ui.attached.button {
|
764
|
+
display: block;
|
765
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
|
766
|
+
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
|
767
|
+
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
|
768
|
+
}
|
769
|
+
.ui.attached.top.button {
|
770
|
+
|
771
|
+
-webkit-border-radius: 0.2em 0.2em 0em 0em;
|
772
|
+
-moz-border-radius: 0.2em 0.2em 0em 0em;
|
773
|
+
border-radius: 0.2em 0.2em 0em 0em;
|
774
|
+
}
|
775
|
+
.ui.attached.bottom.button {
|
776
|
+
-webkit-border-radius: 0em 0em 0.2em 0.2em;
|
777
|
+
-moz-border-radius: 0em 0em 0.2em 0.2em;
|
778
|
+
border-radius: 0em 0em 0.2em 0.2em;
|
779
|
+
}
|
780
|
+
.ui.attached.left.button {
|
781
|
+
display: inline-block;
|
782
|
+
border-left: none;
|
783
|
+
|
784
|
+
padding-right: 0.75em;
|
785
|
+
text-align: right;
|
786
|
+
|
787
|
+
-webkit-border-radius: 0.2em 0em 0em 0.2em;
|
788
|
+
-moz-border-radius: 0.2em 0em 0em 0.2em;
|
789
|
+
border-radius: 0.2em 0em 0em 0.2em;
|
790
|
+
}
|
791
|
+
.ui.attached.right.button {
|
792
|
+
display: inline-block;
|
793
|
+
|
794
|
+
padding-left: 0.75em;
|
795
|
+
text-align: left;
|
796
|
+
|
797
|
+
-webkit-border-radius: 0em 0.2em 0.2em 0em;
|
798
|
+
-moz-border-radius: 0em 0.2em 0.2em 0em;
|
799
|
+
border-radius: 0em 0.2em 0.2em 0em;
|
800
|
+
}
|
801
|
+
|
802
|
+
|
803
|
+
|
804
|
+
/*-------------------
|
805
|
+
Or Buttons
|
806
|
+
--------------------*/
|
807
|
+
|
808
|
+
.ui.buttons .or {
|
809
|
+
position: relative;
|
810
|
+
float: left;
|
811
|
+
width: 0.3em;
|
812
|
+
height: 1em;
|
813
|
+
z-index: 3;
|
814
|
+
}
|
815
|
+
.ui.buttons .or:before {
|
816
|
+
position: absolute;
|
817
|
+
top: 50%;
|
818
|
+
left: 50%;
|
819
|
+
content: 'or';
|
820
|
+
background-color: #FFFFFF;
|
821
|
+
|
822
|
+
margin-top: -0.15em;
|
823
|
+
margin-left: -0.9em;
|
824
|
+
|
825
|
+
width: 1.8em;
|
826
|
+
height: 1.8em;
|
827
|
+
|
828
|
+
line-height: 1.66;
|
829
|
+
color: #AAAAAA;
|
830
|
+
font-style: normal;
|
831
|
+
font-weight: normal;
|
832
|
+
text-align: center;
|
833
|
+
|
834
|
+
-moz-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
|
835
|
+
-webkit-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
|
836
|
+
box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
|
837
|
+
|
838
|
+
-moz-border-radius: 500px;
|
839
|
+
-webkit-border-radius: 500px;
|
840
|
+
border-radius: 500px;
|
841
|
+
|
842
|
+
-webkit-box-sizing: border-box;
|
843
|
+
-moz-box-sizing: border-box;
|
844
|
+
-ms-box-sizing: border-box;
|
845
|
+
box-sizing: border-box;
|
846
|
+
}
|
847
|
+
.ui.buttons .or:after {
|
848
|
+
position: absolute;
|
849
|
+
top: 0em;
|
850
|
+
left: 0em;
|
851
|
+
content: ' ';
|
852
|
+
|
853
|
+
width: 0.3em;
|
854
|
+
height: 1.8em;
|
855
|
+
|
856
|
+
background-color: transparent;
|
857
|
+
border-top: 0.6em solid #FFFFFF;
|
858
|
+
border-bottom: 0.6em solid #FFFFFF;
|
859
|
+
}
|
860
|
+
|
861
|
+
/* Fluid Or */
|
862
|
+
.ui.fluid.buttons .or {
|
863
|
+
width: 0em !important;
|
864
|
+
}
|
865
|
+
.ui.fluid.buttons .or:after{
|
866
|
+
display: none;
|
867
|
+
}
|
868
|
+
|
869
|
+
|
870
|
+
/*-------------------
|
871
|
+
Attached
|
872
|
+
--------------------*/
|
873
|
+
|
874
|
+
/* Plural Attached */
|
875
|
+
.attached.ui.buttons {
|
876
|
+
margin: 0px;
|
877
|
+
-webkit-border-radius: 4px 4px 0px 0px;
|
878
|
+
-moz-border-radius: 4px 4px 0px 0px;
|
879
|
+
border-radius: 4px 4px 0px 0px;
|
880
|
+
}
|
881
|
+
.attached.ui.buttons .button:first-child {
|
882
|
+
-webkit-border-radius: 4px 0px 0px 0px;
|
883
|
+
-moz-border-radius: 4px 0px 0px 0px;
|
884
|
+
border-radius: 4px 0px 0px 0px;
|
885
|
+
}
|
886
|
+
.attached.ui.buttons .button:last-child {
|
887
|
+
-webkit-border-radius: 0px 4px 0px 0px;
|
888
|
+
-moz-border-radius: 0px 4px 0px 0px;
|
889
|
+
border-radius: 0px 4px 0px 0px;
|
890
|
+
}
|
891
|
+
|
892
|
+
/* Bottom Side */
|
893
|
+
.bottom.attached.ui.buttons {
|
894
|
+
margin-top: -1px;
|
895
|
+
-webkit-border-radius: 0px 0px 4px 4px;
|
896
|
+
-moz-border-radius: 0px 0px 4px 4px;
|
897
|
+
border-radius: 0px 0px 4px 4px;
|
898
|
+
}
|
899
|
+
.bottom.attached.ui.buttons .button:first-child {
|
900
|
+
-webkit-border-radius: 0px 0px 0px 4px;
|
901
|
+
-moz-border-radius: 0px 0px 0px 4px;
|
902
|
+
border-radius: 0px 0px 0px 4px;
|
903
|
+
}
|
904
|
+
.bottom.attached.ui.buttons .button:last-child {
|
905
|
+
-webkit-border-radius: 0px 0px 4px 0px;
|
906
|
+
-moz-border-radius: 0px 0px 4px 0px;
|
907
|
+
border-radius: 0px 0px 4px 0px;
|
908
|
+
}
|
909
|
+
|
910
|
+
/* Left Side */
|
911
|
+
.left.attached.ui.buttons {
|
912
|
+
margin-left: -1px;
|
913
|
+
-webkit-border-radius: 0px 4px 4px 0px;
|
914
|
+
-moz-border-radius: 0px 4px 4px 0px;
|
915
|
+
border-radius: 0px 4px 4px 0px;
|
916
|
+
}
|
917
|
+
.left.attached.ui.buttons .button:first-child {
|
918
|
+
margin-left: -1px;
|
919
|
+
-webkit-border-radius: 0px 4px 0px 0px;
|
920
|
+
-moz-border-radius: 0px 4px 0px 0px;
|
921
|
+
border-radius: 0px 4px 0px 0px;
|
922
|
+
}
|
923
|
+
.left.attached.ui.buttons .button:last-child {
|
924
|
+
margin-left: -1px;
|
925
|
+
-webkit-border-radius: 0px 0px 4px 0px;
|
926
|
+
-moz-border-radius: 0px 0px 4px 0px;
|
927
|
+
border-radius: 0px 0px 4px 0px;
|
928
|
+
}
|
929
|
+
/* Right Side */
|
930
|
+
.right.attached.ui.buttons,
|
931
|
+
.right.attached.ui.buttons .button {
|
932
|
+
margin-right: -1px;
|
933
|
+
-webkit-border-radius: 4px 0px 0px 4px;
|
934
|
+
-moz-border-radius: 4px 0px 0px 4px;
|
935
|
+
border-radius: 4px 0px 0px 4px;
|
936
|
+
}
|
937
|
+
.right.attached.ui.buttons .button:first-child {
|
938
|
+
margin-left: -1px;
|
939
|
+
-webkit-border-radius: 4px 0px 0px 0px;
|
940
|
+
-moz-border-radius: 4px 0px 0px 0px;
|
941
|
+
border-radius: 4px 0px 0px 0px;
|
942
|
+
}
|
943
|
+
.right.attached.ui.buttons .button:last-child {
|
944
|
+
margin-left: -1px;
|
945
|
+
-webkit-border-radius: 0px 0px 0px 4px;
|
946
|
+
-moz-border-radius: 0px 0px 0px 4px;
|
947
|
+
border-radius: 0px 0px 0px 4px;
|
948
|
+
}
|
949
|
+
|
950
|
+
|
951
|
+
|
952
|
+
/* Fluid */
|
953
|
+
.ui.fluid.buttons,
|
954
|
+
.ui.button.fluid,
|
955
|
+
.ui.fluid.buttons > .button {
|
956
|
+
display: block;
|
957
|
+
width: 100%;
|
958
|
+
}
|
959
|
+
.ui.two.buttons > .button {
|
960
|
+
width: 50%;
|
961
|
+
}
|
962
|
+
.ui.three.buttons > .button {
|
963
|
+
width: 33.333%;
|
964
|
+
}
|
965
|
+
.ui.four.buttons > .button {
|
966
|
+
width: 25%;
|
967
|
+
}
|
968
|
+
.ui.five.buttons > .button {
|
969
|
+
width: 20%;
|
970
|
+
}
|
971
|
+
.ui.six.buttons > .button {
|
972
|
+
width: 16.666%;
|
973
|
+
}
|
974
|
+
.ui.seven.buttons > .button {
|
975
|
+
width: 14.285%;
|
976
|
+
}
|
977
|
+
.ui.eight.buttons > .button {
|
978
|
+
width: 12.500%;
|
979
|
+
}
|
980
|
+
.ui.nine.buttons > .button {
|
981
|
+
width: 11.11%;
|
982
|
+
}
|
983
|
+
.ui.ten.buttons > .button {
|
984
|
+
width: 10%;
|
985
|
+
}
|
986
|
+
.ui.eleven.buttons > .button {
|
987
|
+
width: 9.09%;
|
988
|
+
}
|
989
|
+
.ui.twelve.buttons > .button {
|
990
|
+
width: 8.3333%;
|
991
|
+
}
|
992
|
+
|
993
|
+
/* Fluid Vertical Buttons */
|
994
|
+
.ui.fluid.vertical.buttons,
|
995
|
+
.ui.fluid.vertical.buttons > .button {
|
996
|
+
width: auto;
|
997
|
+
-webkit-box-sizing: border-box;
|
998
|
+
-moz-box-sizing: border-box;
|
999
|
+
-ms-box-sizing: border-box;
|
1000
|
+
box-sizing: border-box;
|
1001
|
+
}
|
1002
|
+
.ui.two.vertical.buttons > .button {
|
1003
|
+
height: 50%;
|
1004
|
+
}
|
1005
|
+
.ui.three.vertical.buttons > .button {
|
1006
|
+
height: 33.333%;
|
1007
|
+
}
|
1008
|
+
.ui.four.vertical.buttons > .button {
|
1009
|
+
height: 25%;
|
1010
|
+
}
|
1011
|
+
.ui.five.vertical.buttons > .button {
|
1012
|
+
height: 20%;
|
1013
|
+
}
|
1014
|
+
.ui.six.vertical.buttons > .button {
|
1015
|
+
height: 16.666%;
|
1016
|
+
}
|
1017
|
+
.ui.seven.vertical.buttons > .button {
|
1018
|
+
height: 14.285%;
|
1019
|
+
}
|
1020
|
+
.ui.eight.vertical.buttons > .button {
|
1021
|
+
height: 12.500%;
|
1022
|
+
}
|
1023
|
+
.ui.nine.vertical.buttons > .button {
|
1024
|
+
height: 11.11%;
|
1025
|
+
}
|
1026
|
+
.ui.ten.vertical.buttons > .button {
|
1027
|
+
height: 10%;
|
1028
|
+
}
|
1029
|
+
.ui.eleven.vertical.buttons > .button {
|
1030
|
+
height: 9.09%;
|
1031
|
+
}
|
1032
|
+
.ui.twelve.vertical.buttons > .button {
|
1033
|
+
height: 8.3333%;
|
1034
|
+
}
|
1035
|
+
|
1036
|
+
|
1037
|
+
/*-------------------
|
1038
|
+
Colors
|
1039
|
+
--------------------*/
|
1040
|
+
|
1041
|
+
/*--- Black ---*/
|
1042
|
+
.ui.black.buttons .button,
|
1043
|
+
.ui.black.button {
|
1044
|
+
background-color: #5C6166;
|
1045
|
+
color: #FFFFFF;
|
1046
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1047
|
+
}
|
1048
|
+
.ui.black.buttons .button:hover,
|
1049
|
+
.ui.black.button:hover {
|
1050
|
+
background-color: #4C4C4C;
|
1051
|
+
color: #FFFFFF;
|
1052
|
+
}
|
1053
|
+
.ui.black.buttons .button:active,
|
1054
|
+
.ui.black.button:active {
|
1055
|
+
background-color: #333333;
|
1056
|
+
color: #FFFFFF;
|
1057
|
+
}
|
1058
|
+
|
1059
|
+
/*--- Green ---*/
|
1060
|
+
.ui.green.buttons .button,
|
1061
|
+
.ui.green.button {
|
1062
|
+
background-color: #5BBD72;
|
1063
|
+
color: #FFFFFF;
|
1064
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1065
|
+
}
|
1066
|
+
.ui.green.buttons .button:hover,
|
1067
|
+
.ui.green.button:hover,
|
1068
|
+
.ui.green.buttons .active.button,
|
1069
|
+
.ui.green.button.active {
|
1070
|
+
background-color: #58cb73;
|
1071
|
+
color: #FFFFFF;
|
1072
|
+
}
|
1073
|
+
.ui.green.buttons .button:active,
|
1074
|
+
.ui.green.button:active {
|
1075
|
+
background-color: #4CB164;
|
1076
|
+
color: #FFFFFF;
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
/*--- Red ---*/
|
1080
|
+
.ui.red.buttons .button,
|
1081
|
+
.ui.red.button {
|
1082
|
+
background-color: #D95C5C;
|
1083
|
+
color: #FFFFFF;
|
1084
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1085
|
+
}
|
1086
|
+
.ui.red.buttons .button:hover,
|
1087
|
+
.ui.red.button:hover,
|
1088
|
+
.ui.red.buttons .active.button,
|
1089
|
+
.ui.red.button.active {
|
1090
|
+
background-color: #E75859;
|
1091
|
+
color: #FFFFFF;
|
1092
|
+
}
|
1093
|
+
.ui.red.buttons .button:active,
|
1094
|
+
.ui.red.button:active {
|
1095
|
+
background-color: #D24B4C;
|
1096
|
+
color: #FFFFFF;
|
1097
|
+
}
|
1098
|
+
|
1099
|
+
/*--- Orange ---*/
|
1100
|
+
.ui.orange.buttons .button,
|
1101
|
+
.ui.orange.button {
|
1102
|
+
background-color: #E96633;
|
1103
|
+
color: #FFFFFF;
|
1104
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1105
|
+
}
|
1106
|
+
.ui.orange.buttons .button:hover,
|
1107
|
+
.ui.orange.button:hover,
|
1108
|
+
.ui.orange.buttons .active.button,
|
1109
|
+
.ui.orange.button.active {
|
1110
|
+
background-color: #FF7038;
|
1111
|
+
color: #FFFFFF;
|
1112
|
+
}
|
1113
|
+
.ui.orange.buttons .button:active,
|
1114
|
+
.ui.orange.button:active {
|
1115
|
+
background-color: #DA683B;
|
1116
|
+
color: #FFFFFF;
|
1117
|
+
}
|
1118
|
+
|
1119
|
+
/*--- Blue ---*/
|
1120
|
+
.ui.blue.buttons .button,
|
1121
|
+
.ui.blue.button {
|
1122
|
+
background-color: #6ECFF5;
|
1123
|
+
color: #FFFFFF;
|
1124
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1125
|
+
}
|
1126
|
+
.ui.blue.buttons .button:hover,
|
1127
|
+
.ui.blue.button:hover,
|
1128
|
+
.ui.blue.buttons .active.button,
|
1129
|
+
.ui.blue.button.active {
|
1130
|
+
background-color: #1AB8F3;
|
1131
|
+
color: #FFFFFF;
|
1132
|
+
}
|
1133
|
+
.ui.blue.buttons .button:active,
|
1134
|
+
.ui.blue.button:active {
|
1135
|
+
background-color: #0AA5DF;
|
1136
|
+
color: #FFFFFF;
|
1137
|
+
}
|
1138
|
+
|
1139
|
+
/*--- Purple ---*/
|
1140
|
+
.ui.purple.buttons .button,
|
1141
|
+
.ui.purple.button {
|
1142
|
+
background-color: #564F8A;
|
1143
|
+
color: #FFFFFF;
|
1144
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1145
|
+
}
|
1146
|
+
.ui.purple.buttons .button:hover,
|
1147
|
+
.ui.purple.button:hover,
|
1148
|
+
.ui.purple.buttons .active.button,
|
1149
|
+
.ui.purple.button.active {
|
1150
|
+
background-color: #3E3773;
|
1151
|
+
color: #FFFFFF;
|
1152
|
+
}
|
1153
|
+
.ui.purple.buttons .button:active,
|
1154
|
+
.ui.purple.button:active {
|
1155
|
+
background-color: #2E2860;
|
1156
|
+
color: #FFFFFF;
|
1157
|
+
}
|
1158
|
+
|
1159
|
+
/*--- Teal ---*/
|
1160
|
+
.ui.teal.buttons .button,
|
1161
|
+
.ui.teal.button {
|
1162
|
+
background-color: #00B5AD;
|
1163
|
+
color: #FFFFFF;
|
1164
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1165
|
+
}
|
1166
|
+
.ui.teal.buttons .button:hover,
|
1167
|
+
.ui.teal.button:hover,
|
1168
|
+
.ui.teal.buttons .active.button,
|
1169
|
+
.ui.teal.button.active {
|
1170
|
+
background-color: #009A93;
|
1171
|
+
color: #FFFFFF;
|
1172
|
+
}
|
1173
|
+
.ui.teal.buttons .button:active,
|
1174
|
+
.ui.teal.button:active {
|
1175
|
+
background-color: #00847E;
|
1176
|
+
color: #FFFFFF;
|
1177
|
+
}
|
1178
|
+
|
1179
|
+
/*---------------
|
1180
|
+
Positive
|
1181
|
+
----------------*/
|
1182
|
+
|
1183
|
+
.ui.positive.buttons .button,
|
1184
|
+
.ui.positive.button {
|
1185
|
+
background-color: #5BBD72 !important;
|
1186
|
+
color: #FFFFFF;
|
1187
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1188
|
+
}
|
1189
|
+
.ui.positive.buttons .button:hover,
|
1190
|
+
.ui.positive.button:hover,
|
1191
|
+
.ui.positive.buttons .active.button,
|
1192
|
+
.ui.positive.button.active {
|
1193
|
+
background-color: #58CB73 !important;
|
1194
|
+
color: #FFFFFF;
|
1195
|
+
}
|
1196
|
+
.ui.positive.buttons .button:active,
|
1197
|
+
.ui.positive.button:active {
|
1198
|
+
background-color: #4CB164 !important;
|
1199
|
+
color: #FFFFFF;
|
1200
|
+
}
|
1201
|
+
|
1202
|
+
|
1203
|
+
/*---------------
|
1204
|
+
Negative
|
1205
|
+
----------------*/
|
1206
|
+
.ui.negative.buttons .button,
|
1207
|
+
.ui.negative.button {
|
1208
|
+
background-color: #D95C5C !important;
|
1209
|
+
color: #FFFFFF;
|
1210
|
+
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1211
|
+
}
|
1212
|
+
.ui.negative.buttons .button:hover,
|
1213
|
+
.ui.negative.button:hover,
|
1214
|
+
.ui.negative.buttons .active.button,
|
1215
|
+
.ui.negative.button.active {
|
1216
|
+
background-color: #E75859 !important;
|
1217
|
+
color: #FFFFFF;
|
1218
|
+
}
|
1219
|
+
.ui.negative.buttons .button:active,
|
1220
|
+
.ui.negative.button:active {
|
1221
|
+
background-color: #D24B4C !important;
|
1222
|
+
color: #FFFFFF;
|
1223
|
+
}
|
1224
|
+
|
1225
|
+
|
1226
|
+
/*******************************
|
1227
|
+
Groups
|
1228
|
+
*******************************/
|
1229
|
+
|
1230
|
+
.ui.buttons {
|
1231
|
+
display: inline-block;
|
1232
|
+
vertical-align: middle;
|
1233
|
+
}
|
1234
|
+
.ui.buttons:after {
|
1235
|
+
content: ".";
|
1236
|
+
display: block;
|
1237
|
+
height: 0;
|
1238
|
+
clear: both;
|
1239
|
+
visibility: hidden;
|
1240
|
+
}
|
1241
|
+
.ui.buttons .button:first-child {
|
1242
|
+
border-left: none;
|
1243
|
+
}
|
1244
|
+
|
1245
|
+
.ui.buttons .button {
|
1246
|
+
float: left;
|
1247
|
+
-webkit-border-radius: 0em;
|
1248
|
+
-moz-border-radius: 0em;
|
1249
|
+
border-radius: 0em;
|
1250
|
+
border-left: 1px solid rgba(0, 0, 0, 0.05);
|
1251
|
+
}
|
1252
|
+
.ui.buttons .button:first-child {
|
1253
|
+
margin-left: 0em;
|
1254
|
+
border-top-left-radius: 0.2em;
|
1255
|
+
border-bottom-left-radius: 0.2em;
|
1256
|
+
}
|
1257
|
+
.ui.buttons .button:last-child {
|
1258
|
+
border-top-right-radius: 0.2em;
|
1259
|
+
border-bottom-right-radius: 0.2em;
|
1260
|
+
}
|
1261
|
+
|
1262
|
+
/* Vertical Style */
|
1263
|
+
.ui.vertical.buttons {
|
1264
|
+
display: inline-block;
|
1265
|
+
}
|
1266
|
+
.ui.vertical.buttons .button {
|
1267
|
+
display: block;
|
1268
|
+
float: none;
|
1269
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
1270
|
+
border-left: none;
|
1271
|
+
box-shadow: none;
|
1272
|
+
}
|
1273
|
+
.ui.vertical.buttons .button:first-child,
|
1274
|
+
.ui.vertical.buttons .mini.button:first-child,
|
1275
|
+
.ui.vertical.buttons .tiny.button:first-child,
|
1276
|
+
.ui.vertical.buttons .small.button:first-child,
|
1277
|
+
.ui.vertical.buttons .massive.button:first-child,
|
1278
|
+
.ui.vertical.buttons .huge.button:first-child {
|
1279
|
+
margin-top: 0px;
|
1280
|
+
-moz-border-radius: 0.2em 0.2em 0px 0px;
|
1281
|
+
-webkit-border-radius: 0.2em 0.2em 0px 0px;
|
1282
|
+
border-radius: 0.2em 0.2em 0px 0px;
|
1283
|
+
}
|
1284
|
+
.ui.vertical.buttons .button:last-child,
|
1285
|
+
.ui.vertical.buttons .mini.button:last-child,
|
1286
|
+
.ui.vertical.buttons .tiny.button:last-child,
|
1287
|
+
.ui.vertical.buttons .small.button:last-child,
|
1288
|
+
.ui.vertical.buttons .massive.button:last-child,
|
1289
|
+
.ui.vertical.buttons .huge.button:last-child,
|
1290
|
+
.ui.vertical.buttons .gigantic.button:last-child {
|
1291
|
+
-moz-border-radius: 0px 0px 0.2em 0.2em;
|
1292
|
+
-webkit-border-radius: 0px 0px 0.2em 0.2em;
|
1293
|
+
border-radius: 0px 0px 0.2em 0.2em;
|
1294
|
+
}
|