semantic-ui-sass 0.0.3 → 0.8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +6 -1
  3. data/.rspec +1 -0
  4. data/CHANGELOG.md +8 -0
  5. data/README.md +26 -1
  6. data/app/assets/javascripts/semantic-ui/accordion.js +15 -17
  7. data/app/assets/javascripts/semantic-ui/behavior/api.js +18 -22
  8. data/app/assets/javascripts/semantic-ui/behavior/form.js +18 -24
  9. data/app/assets/javascripts/semantic-ui/behavior/state.js +8 -8
  10. data/app/assets/javascripts/semantic-ui/chatroom.js +18 -14
  11. data/app/assets/javascripts/semantic-ui/checkbox.js +26 -24
  12. data/app/assets/javascripts/semantic-ui/dimmer.js +74 -47
  13. data/app/assets/javascripts/semantic-ui/dropdown.js +226 -153
  14. data/app/assets/javascripts/semantic-ui/modal.js +73 -46
  15. data/app/assets/javascripts/semantic-ui/nag.js +13 -16
  16. data/app/assets/javascripts/semantic-ui/popup.js +352 -263
  17. data/app/assets/javascripts/semantic-ui/rating.js +29 -26
  18. data/app/assets/javascripts/semantic-ui/search.js +18 -24
  19. data/app/assets/javascripts/semantic-ui/shape.js +182 -173
  20. data/app/assets/javascripts/semantic-ui/sidebar.js +66 -43
  21. data/app/assets/javascripts/semantic-ui/tab.js +49 -31
  22. data/app/assets/javascripts/semantic-ui/transition.js +24 -24
  23. data/app/assets/javascripts/semantic-ui/video.js +26 -24
  24. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +1 -1
  25. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +85 -37
  26. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +6 -7
  27. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +76 -23
  28. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +415 -241
  29. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +1 -1
  30. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +26 -24
  31. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +8 -13
  32. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +87 -5
  33. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +7 -9
  34. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -2
  35. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +17 -21
  36. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +4 -27
  37. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +44 -30
  38. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +68 -9
  39. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +26 -26
  40. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
  41. data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +1 -1
  42. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +81 -7
  43. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +129 -28
  44. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +12 -10
  45. data/app/assets/stylesheets/semantic-ui/views/_item.scss +0 -10
  46. data/app/assets/stylesheets/semantic-ui/views/_list.scss +6 -6
  47. data/app/helpers/semantic_flash_helper.rb +22 -0
  48. data/app/helpers/semantic_icon_helper.rb +5 -0
  49. data/lib/semantic/ui/sass/version.rb +2 -2
  50. data/semantic-ui-sass.gemspec +3 -0
  51. data/spec/dummy/README.rdoc +28 -0
  52. data/spec/dummy/Rakefile +6 -0
  53. data/spec/dummy/app/assets/images/.keep +0 -0
  54. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  55. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  56. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  57. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  58. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  59. data/spec/dummy/app/mailers/.keep +0 -0
  60. data/spec/dummy/app/models/.keep +0 -0
  61. data/spec/dummy/app/models/concerns/.keep +0 -0
  62. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  63. data/spec/dummy/bin/bundle +3 -0
  64. data/spec/dummy/bin/rails +4 -0
  65. data/spec/dummy/bin/rake +4 -0
  66. data/spec/dummy/config.ru +4 -0
  67. data/spec/dummy/config/application.rb +28 -0
  68. data/spec/dummy/config/boot.rb +5 -0
  69. data/spec/dummy/config/database.yml +25 -0
  70. data/spec/dummy/config/environment.rb +5 -0
  71. data/spec/dummy/config/environments/development.rb +29 -0
  72. data/spec/dummy/config/environments/production.rb +80 -0
  73. data/spec/dummy/config/environments/test.rb +36 -0
  74. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  75. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  76. data/spec/dummy/config/initializers/inflections.rb +16 -0
  77. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  78. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  79. data/spec/dummy/config/initializers/session_store.rb +3 -0
  80. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  81. data/spec/dummy/config/locales/en.yml +23 -0
  82. data/spec/dummy/config/routes.rb +2 -0
  83. data/spec/dummy/lib/assets/.keep +0 -0
  84. data/spec/dummy/log/.keep +0 -0
  85. data/spec/dummy/public/404.html +58 -0
  86. data/spec/dummy/public/422.html +58 -0
  87. data/spec/dummy/public/500.html +57 -0
  88. data/spec/dummy/public/favicon.ico +0 -0
  89. data/spec/helpers/semantic_flash_helper_spec.rb +33 -0
  90. data/spec/helpers/semantic_icon_helper_spec.rb +20 -0
  91. data/spec/spec_helper.rb +8 -0
  92. metadata +132 -4
@@ -24,10 +24,11 @@
24
24
 
25
25
  outline: none;
26
26
  border: none;
27
- background-color: #EBEBEB;
28
- color: #999999;
27
+ background-color: #FAFAFA;
28
+ color: #808080;
29
29
 
30
- padding: 0.8em 1.5em;
30
+ margin: 0em;
31
+ padding: 0.8em 1.5em 0.875em;
31
32
 
32
33
  font-size: 1rem;
33
34
  text-transform: uppercase;
@@ -37,18 +38,15 @@
37
38
  text-align: center;
38
39
  text-decoration: none;
39
40
 
40
- -webkit-border-radius: 0.2em;
41
- -moz-border-radius: 0.2em;
42
- border-radius: 0.2em;
41
+ background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
42
+
43
+ -webkit-border-radius: 0.25em;
44
+ -moz-border-radius: 0.25em;
45
+ border-radius: 0.25em;
43
46
 
44
- -webkit-box-shadow:
45
- 0em -0.185rem 0em rgba(0, 0, 0, 0.1) inset
46
- ;
47
- -moz-box-shadow:
48
- 0em -0.185rem 0em rgba(0, 0, 0, 0.1) inset
49
- ;
50
47
  box-shadow:
51
- 0em -0.185rem 0em rgba(0, 0, 0, 0.1) inset
48
+ 0px 0px 0px 1px rgba(0, 0, 0, 0.08) inset,
49
+ 0px -0.133em 0px 0px rgba(0, 0, 0, 0.1) inset
52
50
  ;
53
51
 
54
52
  -webkit-user-select: none;
@@ -100,24 +98,205 @@
100
98
  ;
101
99
  }
102
100
 
101
+
102
+
103
+
104
+ /*******************************
105
+ States
106
+ *******************************/
107
+
108
+
103
109
  /*--------------
104
- Count
110
+ Active
105
111
  ---------------*/
106
112
 
107
- .ui.count.button {
108
- -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
109
- -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
110
- box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
113
+ .ui.buttons .active.button,
114
+ .ui.active.button {
115
+ background-color: #EAEAEA;
116
+ background-image: none;
117
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important;
118
+ color: rgba(0, 0, 0, 0.7);
111
119
  }
112
120
 
113
- .ui.count.button > .count {
121
+
122
+ /*--------------
123
+ Hover
124
+ ---------------*/
125
+
126
+ .ui.button:not(.loading):hover {
127
+ background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
128
+ color: rgba(0, 0, 0, 0.7);
129
+ }
130
+ .ui.button.active:hover {
131
+ background-image: none;
132
+ }
133
+
134
+ .ui.button:hover .icon,
135
+ .ui.button.hover .icon {
136
+ opacity: 0.85;
137
+ }
138
+
139
+ /*--------------
140
+ Down
141
+ ---------------*/
142
+
143
+ .ui.button:not(.loading):active,
144
+ .ui.active.button:not(.loading):active {
145
+ background-color: #F1F1F1;
146
+ color: rgba(0, 0, 0, 0.7);
147
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important;
148
+ }
149
+
150
+ /*--------------
151
+ Loading
152
+ ---------------*/
153
+
154
+ .ui.loading.button {
155
+ position: relative;
156
+ cursor: default;
157
+
158
+ background-color: #FFFFFF !important;
159
+ color: transparent !important;
160
+
161
+ -webkit-transition: all 0s linear;
162
+ -moz-transition: all 0s linear;
163
+ -o-transition: all 0s linear;
164
+ -ms-transition: all 0s linear;
165
+ transition: all 0s linear;
166
+ }
167
+ .ui.loading.button:after {
114
168
  position: absolute;
115
- background-color: #FFFFFF;
116
- border: 1px solid #F0F0F0;
117
- margin: -0.8em -1.5em;
118
- padding: 0.8em 1.5em;
169
+ top: 0em;
170
+ left: 0em;
171
+ width: 100%;
172
+ height: 100%;
173
+ content: '';
174
+ background: transparent image-url("semantic-ui/loader-mini.gif") no-repeat 50% 50%;
175
+ }
176
+
177
+ .ui.labeled.icon.loading.button .icon {
178
+ background-color: transparent;
179
+ -webkit-box-shadow: none;
180
+ -moz-box-shadow: none;
181
+ box-shadow: none;
119
182
  }
120
183
 
184
+ /*-------------------
185
+ Disabled
186
+ --------------------*/
187
+
188
+ .ui.disabled.button,
189
+ .ui.disabled.button:hover,
190
+ .ui.disabled.button.active {
191
+ background-color: #DDDDDD !important;
192
+ cursor: default;
193
+ color: rgba(0, 0, 0, 0.5) !important;
194
+ opacity: 0.3 !important;
195
+ background-image: none !important;
196
+ -webkit-box-shadow: none !important;
197
+ -moz-box-shadow: none !important;
198
+ box-shadow: none !important;
199
+ }
200
+
201
+ /*******************************
202
+ Types
203
+ *******************************/
204
+
205
+ /*-------------------
206
+ Animated
207
+ --------------------*/
208
+
209
+ .ui.animated.button {
210
+ position: relative;
211
+ overflow: hidden;
212
+ }
213
+
214
+ .ui.animated.button .visible.content {
215
+ position: relative;
216
+ }
217
+ .ui.animated.button .hidden.content {
218
+ position: absolute;
219
+ width: 100%;
220
+ }
221
+
222
+ /* Horizontal */
223
+ .ui.animated.button .visible.content,
224
+ .ui.animated.button .hidden.content {
225
+ transition: right 0.3s ease 0s;
226
+ }
227
+ .ui.animated.button .visible.content {
228
+ left: auto;
229
+ right: 0%;
230
+ }
231
+ .ui.animated.button .hidden.content {
232
+ top: 50%;
233
+ left: auto;
234
+ right: -100%;
235
+ transform: translateY(-50%);
236
+ }
237
+ .ui.animated.button:hover .visible.content {
238
+ left: auto;
239
+ right: 200%;
240
+ }
241
+ .ui.animated.button:hover .hidden.content {
242
+ left: auto;
243
+ right: 0%;
244
+ }
245
+
246
+ /* Vertical */
247
+ .ui.vertical.animated.button .visible.content,
248
+ .ui.vertical.animated.button .hidden.content {
249
+ transition: top 0.3s ease 0s, transform 0.3s ease 0s;
250
+ }
251
+ .ui.vertical.animated.button .visible.content {
252
+ transform: translateY(0%);
253
+ right: auto;
254
+ }
255
+ .ui.vertical.animated.button .hidden.content {
256
+ top: -100%;
257
+ left: 0%;
258
+ right: auto;
259
+ }
260
+ .ui.vertical.animated.button:hover .visible.content {
261
+ transform: translateY(200%);
262
+ right: auto;
263
+ }
264
+ .ui.vertical.animated.button:hover .hidden.content {
265
+ top: 50%;
266
+ right: auto;
267
+ }
268
+
269
+ /* Fade */
270
+ .ui.fade.animated.button .visible.content,
271
+ .ui.fade.animated.button .hidden.content {
272
+ transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
273
+ }
274
+ .ui.fade.animated.button .visible.content {
275
+ left: auto;
276
+ right: auto;
277
+ opacity: 1;
278
+ transform: scale(1);
279
+ }
280
+ .ui.fade.animated.button .hidden.content {
281
+ opacity: 0;
282
+ left: 0%;
283
+ right: auto;
284
+ transform: translateY(-50%) scale(1.2);
285
+ }
286
+ .ui.fade.animated.button:hover .visible.content {
287
+ left: auto;
288
+ right: auto;
289
+ opacity: 0;
290
+ transform: scale(0.7);
291
+ }
292
+ .ui.fade.animated.button:hover .hidden.content {
293
+ left: 0%;
294
+ right: auto;
295
+ opacity: 1;
296
+ transform: translateY(-50%) scale(1);
297
+ }
298
+
299
+
121
300
  /*-------------------
122
301
  Primary
123
302
  --------------------*/
@@ -173,21 +352,96 @@
173
352
  }
174
353
  .ui.facebook.button:hover {
175
354
  background-color: #3A59A9;
355
+ color: #FFFFFF;
176
356
  }
177
357
  .ui.facebook.button:active {
178
358
  background-color: #334F95;
359
+ color: #FFFFFF;
179
360
  }
180
361
 
181
362
  /* Twitter */
182
363
  .ui.twitter.button {
183
- background-color: #00ACED;
364
+ background-color: #4092CC;
184
365
  color: #FFFFFF;
185
366
  }
186
367
  .ui.twitter.button:hover {
187
- background-color: #00B9FF;
368
+ background-color: #399ADE;
369
+ color: #FFFFFF;
188
370
  }
189
371
  .ui.twitter.button:active {
372
+ background-color: #3283BC;
373
+ color: #FFFFFF;
374
+ }
375
+
376
+ /* Google Plus */
377
+ .ui.google.plus.button {
378
+ background-color: #D34836;
379
+ color: #FFFFFF;
380
+ }
381
+ .ui.google.plus.button:hover {
382
+ background-color: #E3432E;
383
+ color: #FFFFFF;
384
+ }
385
+ .ui.google.plus.button:active {
386
+ background-color: #CA3A27;
387
+ color: #FFFFFF;
388
+ }
389
+
390
+ /* Linked In */
391
+ .ui.linkedin.button {
392
+ background-color: #1F88BE;
393
+ color: #FFFFFF;
394
+ }
395
+ .ui.linkedin.button:hover {
396
+ background-color: #1394D6;
397
+ color: #FFFFFF;
398
+ }
399
+ .ui.linkedin.button:active {
400
+ background-color: #1179AE;
401
+ color: #FFFFFF;
402
+ }
403
+
404
+ /* YouTube */
405
+ .ui.youtube.button {
406
+ background-color: #CC181E;
407
+ color: #FFFFFF;
408
+ }
409
+ .ui.youtube.button:hover {
410
+ background-color: #DF0209;
411
+ color: #FFFFFF;
412
+ }
413
+ .ui.youtube.button:active {
414
+ background-color: #A50006;
415
+ color: #FFFFFF;
416
+ }
417
+
418
+ /* Instagram */
419
+ .ui.instagram.button {
420
+ background-color: #49769C;
421
+ color: #FFFFFF;
422
+ }
423
+ .ui.instagram.button:hover {
424
+ background-color: #4781B1;
425
+ color: #FFFFFF;
426
+ }
427
+ .ui.instagram.button:active {
428
+ background-color: #38658A;
429
+ color: #FFFFFF;
430
+ }
431
+
432
+
433
+ /* Pinterest */
434
+ .ui.pinterest.button {
435
+ background-color: #00ACED;
436
+ color: #FFFFFF;
437
+ }
438
+ .ui.pinterest.button:hover {
439
+ background-color: #00B9FF;
440
+ color: #FFFFFF;
441
+ }
442
+ .ui.pinterest.button:active {
190
443
  background-color: #009EDA;
444
+ color: #FFFFFF;
191
445
  }
192
446
 
193
447
  /*--------------
@@ -195,7 +449,7 @@
195
449
  ---------------*/
196
450
 
197
451
  .ui.button > .icon {
198
- margin-right: 0.5em;
452
+ margin-right: 0.6em;
199
453
 
200
454
  line-height: 1;
201
455
 
@@ -217,132 +471,11 @@
217
471
  }
218
472
 
219
473
 
220
-
221
- /*******************************
222
- States
223
- *******************************/
224
-
225
-
226
- /*--------------
227
- Active
228
- ---------------*/
229
-
230
- .ui.buttons .active.button,
231
- .ui.active.button {
232
- opacity: 1 !important;
233
- background-color: #B0B0B0;
234
-
235
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0)), to(rgba(255, 255, 255, 0.1)));
236
- background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
237
- background-image: -moz-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
238
- background-image: -o-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
239
- background-image: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
240
-
241
- color: #FFFFFF;
242
-
243
- -webkit-box-shadow:
244
- 0px 0px 0.3em 0px rgba(0, 0, 0, 0.3) inset
245
- ;
246
- -moz-box-shadow:
247
- 0px 0px 0.3em 0px rgba(0, 0, 0, 0.3) inset
248
- ;
249
- box-shadow:
250
- 0px 0px 0.3em 0px rgba(0, 0, 0, 0.3) inset
251
- ;
252
- }
253
-
254
-
255
- /*--------------
256
- Hover
257
- ---------------*/
258
-
259
- .ui.button:hover,
260
- .ui.active.button:hover {
261
- opacity: 1 !important;
262
- background-color: #A4A4A4;
263
-
264
- color: #FFFFFF;
265
- }
266
- .ui.button:hover .icon,
267
- .ui.button.hover .icon {
268
- opacity: 0.85;
269
- }
270
-
271
- /*--------------
272
- Down
273
- ---------------*/
274
-
275
- .ui.button:active,
276
- .ui.active.button:active {
277
- opacity: 1 !important;
278
- background-color: #8C8C8C;
279
-
280
- color: #FFFFFF;
281
-
282
- -webkit-box-shadow: 0px 1px 0.2em 0px rgba(0, 0, 0, 0.3) inset;
283
- -moz-box-shadow: 0px 1px 0.2em 0px rgba(0, 0, 0, 0.3) inset;
284
- box-shadow: 0px 1px 0.2em 0px rgba(0, 0, 0, 0.3) inset;
285
- }
286
-
287
- /*--------------
288
- Loading
289
- ---------------*/
290
-
291
- .ui.loading.button {
292
- position: relative;
293
- cursor: default;
294
-
295
- background-color: #F3F3F3 !important;
296
- color: transparent !important;
297
- background-image: none !important;
298
-
299
- -webkit-box-shadow: none !important;
300
- -moz-box-shadow: none !important;
301
- box-shadow: none !important;
302
-
303
- -webkit-transition: all 0s linear;
304
- -moz-transition: all 0s linear;
305
- -o-transition: all 0s linear;
306
- -ms-transition: all 0s linear;
307
- transition: all 0s linear;
308
- }
309
- .ui.loading.button:after {
310
- position: absolute;
311
- top: 0em;
312
- left: 0em;
313
- width: 100%;
314
- height: 100%;
315
- content: '';
316
- background: transparent image-url("semantic-ui/loader-mini.gif") no-repeat 50% 50%;
317
- }
318
-
319
- .ui.labeled.icon.loading.button .icon {
320
- background-color: transparent;
321
- -webkit-box-shadow: none;
322
- -moz-box-shadow: none;
323
- box-shadow: none;
324
- }
325
-
326
- /*-------------------
327
- Disabled
328
- --------------------*/
329
-
330
- .ui.disabled.button {
331
- cursor: default;
332
- color: #DDDDDD !important;
333
- background-color: rgba(50, 50, 50, 0.05) !important;
334
- background-image: none !important;
335
-
336
- -webkit-box-shadow: none !important;
337
- -moz-box-shadow: none !important;
338
- box-shadow: none !important;
339
- }
340
-
341
-
342
474
  /*******************************
343
475
  Variations
344
476
  *******************************/
345
477
 
478
+
346
479
  /*-------------------
347
480
  Floated
348
481
  --------------------*/
@@ -369,48 +502,77 @@
369
502
  font-size: 1rem;
370
503
  }
371
504
 
372
- .ui.buttons.mini .button,
505
+ .ui.mini.buttons .button,
506
+ .ui.mini.buttons .or,
373
507
  .ui.mini.button {
374
- font-size: 0.8125rem;
375
- padding: 0.6em 0.8em;
376
- -webkit-box-shadow: none;
377
- -moz-box-shadow: none;
378
- box-shadow: none;
508
+ font-size: 0.8rem;
509
+ }
510
+ .ui.mini.buttons .button,
511
+ .ui.mini.button {
512
+ padding: 0.6em 0.8em 0.73em;
379
513
  }
514
+ .ui.mini.icon.buttons .button,
515
+ .ui.mini.buttons .icon.button {
516
+ padding: 0.6em 0.6em 0.73em;
517
+ }
518
+
380
519
  .ui.tiny.buttons .button,
520
+ .ui.tiny.buttons .or,
381
521
  .ui.tiny.button {
382
522
  font-size: 0.875rem;
383
- padding: 0.6em 0.8em;
384
- -webkit-box-shadow: none;
385
- -moz-box-shadow: none;
386
- box-shadow: none;
387
523
  }
524
+ .ui.tiny.buttons .button,
525
+ .ui.tiny.buttons .button,
526
+ .ui.tiny.button {
527
+ padding: 0.6em 0.8em 0.73em;
528
+ }
529
+ .ui.tiny.icon.buttons .button,
530
+ .ui.tiny.buttons .icon.button {
531
+ padding: 0.6em 0.6em 0.73em;
532
+ }
533
+
388
534
  .ui.small.buttons .button,
535
+ .ui.small.buttons .or,
389
536
  .ui.small.button {
390
537
  font-size: 0.875rem;
391
- -webkit-box-shadow: none;
392
- -moz-box-shadow: none;
393
- box-shadow: none;
394
538
  }
395
539
 
396
540
  .ui.large.buttons .button,
541
+ .ui.large.buttons .or,
397
542
  .ui.large.button {
398
543
  font-size: 1.125rem;
399
544
  }
400
545
  .ui.big.buttons .button,
546
+ .ui.big.buttons .or,
401
547
  .ui.big.button {
402
548
  font-size: 1.25rem;
403
549
  }
404
550
  .ui.huge.buttons .button,
551
+ .ui.huge.buttons .or,
405
552
  .ui.huge.button {
406
553
  font-size: 1.375rem;
407
554
  }
408
555
  .ui.massive.buttons .button,
556
+ .ui.massive.buttons .or,
409
557
  .ui.massive.button {
410
558
  font-size: 1.5rem;
411
559
  font-weight: bold;
412
560
  }
413
561
 
562
+ /* Or resize */
563
+ .ui.tiny.buttons .or:before,
564
+ .ui.mini.buttons .or:before {
565
+ width: 1.45em;
566
+ height: 1.55em;
567
+ line-height: 1.4;
568
+ margin-left: -0.725em;
569
+ margin-top: -0.25em;
570
+ }
571
+ .ui.tiny.buttons .or:after,
572
+ .ui.mini.buttons .or:after {
573
+ height: 1.45em;
574
+ }
575
+
414
576
  /* loading */
415
577
  .ui.huge.loading.button:after {
416
578
  background-image: image-url("semantic-ui/loader-small.gif");
@@ -440,15 +602,15 @@
440
602
  /*--------------
441
603
  Icon Only
442
604
  ---------------*/
605
+
443
606
  .ui.icon.buttons .button,
444
607
  .ui.icon.button {
445
- padding: 0.8em;
608
+ padding: 0.8em 0.8em 0.875em;
446
609
  }
447
610
  .ui.icon.buttons .button > .icon,
448
611
  .ui.icon.button > .icon {
449
- opacity: 1;
612
+ opacity: 0.9;
450
613
  margin: 0em;
451
- vertical-align: top;
452
614
  }
453
615
 
454
616
 
@@ -461,7 +623,7 @@
461
623
  .ui.basic.button {
462
624
  background-color: transparent !important;
463
625
  background-image: none;
464
- color: #999999 !important;
626
+ color: #808080 !important;
465
627
  font-weight: normal;
466
628
  text-transform: none;
467
629
 
@@ -474,13 +636,14 @@
474
636
  -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
475
637
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
476
638
 
477
- -webkit-border-radius: 0.2em;
478
- -moz-border-radius: 0.2em;
479
- border-radius: 0.2em;
639
+ -webkit-border-radius: 0.25em;
640
+ -moz-border-radius: 0.25em;
641
+ border-radius: 0.25em;
480
642
  }
481
643
 
482
644
  .ui.basic.buttons .button:hover,
483
645
  .ui.basic.button:hover {
646
+ background-image: none;
484
647
  color: #7F7F7F !important;
485
648
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
486
649
  -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
@@ -511,7 +674,7 @@
511
674
 
512
675
  /* Basic Group */
513
676
  .ui.basic.buttons .button {
514
- border: none;
677
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
515
678
 
516
679
  -webkit-box-shadow: none;
517
680
  -moz-box-shadow: none;
@@ -523,10 +686,11 @@
523
686
  -moz-box-shadow: none;
524
687
  box-shadow: none;
525
688
  }
526
- .ui.basic.buttons .button.active {
527
- -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
528
- -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
529
- box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
689
+ .ui.basic.buttons .button.active,
690
+ .ui.basic.buttons .button.active:hover {
691
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
692
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
693
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
530
694
  }
531
695
 
532
696
 
@@ -555,19 +719,19 @@
555
719
 
556
720
  width: 2.75em;
557
721
  height: 100%;
558
- padding-top: 0.8em;
722
+ padding-top: 0.85em;
559
723
  background-color: rgba(0, 0, 0, 0.05);
560
724
  text-align: center;
561
725
 
562
- -webkit-border-radius: 0.2em 0px 0px 0.2em;
563
- -moz-border-radius: 0.2em 0px 0px 0.2em;
564
- border-radius: 0.2em 0px 0px 0.2em;
726
+ -webkit-border-radius: 0.25em 0px 0px 0.25em;
727
+ -moz-border-radius: 0.25em 0px 0px 0.25em;
728
+ border-radius: 0.25em 0px 0px 0.25em;
565
729
 
566
730
  line-height: 1;
567
731
 
568
- -webkit-box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
569
- -moz-box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
570
- box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
732
+ -webkit-box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
733
+ -moz-box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
734
+ box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
571
735
  }
572
736
 
573
737
  .ui.labeled.icon.buttons .button > .icon {
@@ -576,24 +740,24 @@
576
740
  border-radius: 0em;
577
741
  }
578
742
  .ui.labeled.icon.buttons .button:first-child > .icon {
579
- border-top-left-radius: 0.2em;
580
- border-bottom-left-radius: 0.2em;
743
+ border-top-left-radius: 0.25em;
744
+ border-bottom-left-radius: 0.25em;
581
745
  }
582
746
  .ui.labeled.icon.buttons .button:last-child > .icon {
583
- border-top-right-radius: 0.2em;
584
- border-bottom-right-radius: 0.2em;
747
+ border-top-right-radius: 0.25em;
748
+ border-bottom-right-radius: 0.25em;
585
749
  }
586
750
  .ui.vertical.labeled.icon.buttons .button:first-child > .icon {
587
751
  -webkit-border-radius: 0em;
588
752
  -moz-border-radius: 0em;
589
753
  border-radius: 0em;
590
- border-top-left-radius: 0.2em;
754
+ border-top-left-radius: 0.25em;
591
755
  }
592
756
  .ui.vertical.labeled.icon.buttons .button:last-child > .icon {
593
757
  -webkit-border-radius: 0em;
594
758
  -moz-border-radius: 0em;
595
759
  border-radius: 0em;
596
- border-bottom-left-radius: 0.2em;
760
+ border-bottom-left-radius: 0.25em;
597
761
  }
598
762
 
599
763
  .ui.right.labeled.icon.button {
@@ -610,13 +774,13 @@
610
774
  left: auto;
611
775
  right: 0em;
612
776
 
613
- -webkit-border-radius: 0em 0.2em 0.2em 0em;
614
- -moz-border-radius: 0em 0.2em 0.2em 0em;
615
- border-radius: 0em 0.2em 0.2em 0em;
777
+ -webkit-border-radius: 0em 0.25em 0.25em 0em;
778
+ -moz-border-radius: 0em 0.25em 0.25em 0em;
779
+ border-radius: 0em 0.25em 0.25em 0em;
616
780
 
617
- -webkit-box-shadow: 2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
618
- -moz-box-shadow: 2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
619
- box-shadow: 2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
781
+ -webkit-box-shadow: 1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
782
+ -moz-box-shadow: 1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
783
+ box-shadow: 1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
620
784
  }
621
785
 
622
786
 
@@ -630,14 +794,16 @@
630
794
  .ui.button.toggle.active {
631
795
  background-color: #5BBD72 !important;
632
796
  color: #FFFFFF !important;
797
+ box-shadow: none !important;
633
798
  }
634
799
  .ui.button.toggle.active:hover {
635
800
  background-color: #58CB73 !important;
636
801
  color: #FFFFFF !important;
802
+ box-shadow: none !important;
637
803
  }
638
804
 
639
805
  /*--------------
640
- Bubbly
806
+ Circular
641
807
  ---------------*/
642
808
 
643
809
  .ui.circular.button {
@@ -659,14 +825,14 @@
659
825
  }
660
826
  .ui.attached.top.button {
661
827
 
662
- -webkit-border-radius: 0.2em 0.2em 0em 0em;
663
- -moz-border-radius: 0.2em 0.2em 0em 0em;
664
- border-radius: 0.2em 0.2em 0em 0em;
828
+ -webkit-border-radius: 0.25em 0.25em 0em 0em;
829
+ -moz-border-radius: 0.25em 0.25em 0em 0em;
830
+ border-radius: 0.25em 0.25em 0em 0em;
665
831
  }
666
832
  .ui.attached.bottom.button {
667
- -webkit-border-radius: 0em 0em 0.2em 0.2em;
668
- -moz-border-radius: 0em 0em 0.2em 0.2em;
669
- border-radius: 0em 0em 0.2em 0.2em;
833
+ -webkit-border-radius: 0em 0em 0.25em 0.25em;
834
+ -moz-border-radius: 0em 0em 0.25em 0.25em;
835
+ border-radius: 0em 0em 0.25em 0.25em;
670
836
  }
671
837
  .ui.attached.left.button {
672
838
  display: inline-block;
@@ -675,9 +841,9 @@
675
841
  padding-right: 0.75em;
676
842
  text-align: right;
677
843
 
678
- -webkit-border-radius: 0.2em 0em 0em 0.2em;
679
- -moz-border-radius: 0.2em 0em 0em 0.2em;
680
- border-radius: 0.2em 0em 0em 0.2em;
844
+ -webkit-border-radius: 0.25em 0em 0em 0.25em;
845
+ -moz-border-radius: 0.25em 0em 0em 0.25em;
846
+ border-radius: 0.25em 0em 0em 0.25em;
681
847
  }
682
848
  .ui.attached.right.button {
683
849
  display: inline-block;
@@ -685,9 +851,9 @@
685
851
  padding-left: 0.75em;
686
852
  text-align: left;
687
853
 
688
- -webkit-border-radius: 0em 0.2em 0.2em 0em;
689
- -moz-border-radius: 0em 0.2em 0.2em 0em;
690
- border-radius: 0em 0.2em 0.2em 0em;
854
+ -webkit-border-radius: 0em 0.25em 0.25em 0em;
855
+ -moz-border-radius: 0em 0.25em 0.25em 0em;
856
+ border-radius: 0em 0.25em 0.25em 0em;
691
857
  }
692
858
 
693
859
 
@@ -700,7 +866,7 @@
700
866
  position: relative;
701
867
  float: left;
702
868
  width: 0.3em;
703
- height: 1em;
869
+ height: 1.1em;
704
870
  z-index: 3;
705
871
  }
706
872
  .ui.buttons .or:before {
@@ -710,26 +876,24 @@
710
876
  content: 'or';
711
877
  background-color: #FFFFFF;
712
878
 
713
- margin-top: -0.15em;
879
+ margin-top: -0.1em;
714
880
  margin-left: -0.9em;
715
881
 
716
882
  width: 1.8em;
717
883
  height: 1.8em;
718
884
 
719
- line-height: 1.66;
885
+ line-height: 1.55;
720
886
  color: #AAAAAA;
721
887
  font-style: normal;
722
888
  font-weight: normal;
723
889
  text-align: center;
724
890
 
725
- -moz-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
726
- -webkit-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
727
- box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
728
-
729
891
  -moz-border-radius: 500px;
730
892
  -webkit-border-radius: 500px;
731
893
  border-radius: 500px;
732
894
 
895
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
896
+
733
897
  -webkit-box-sizing: border-box;
734
898
  -moz-box-sizing: border-box;
735
899
  -ms-box-sizing: border-box;
@@ -742,11 +906,12 @@
742
906
  content: ' ';
743
907
 
744
908
  width: 0.3em;
745
- height: 1.8em;
909
+ height: 1.7em;
746
910
 
747
911
  background-color: transparent;
748
- border-top: 0.6em solid #FFFFFF;
749
- border-bottom: 0.6em solid #FFFFFF;
912
+ border-top: 0.5em solid #FFFFFF;
913
+ border-bottom: 0.5em solid #FFFFFF;
914
+
750
915
  }
751
916
 
752
917
  /* Fluid Or */
@@ -847,36 +1012,47 @@
847
1012
  display: block;
848
1013
  width: 100%;
849
1014
  }
1015
+ .ui.\32.buttons > .button,
850
1016
  .ui.two.buttons > .button {
851
1017
  width: 50%;
852
1018
  }
1019
+ .ui.\33.buttons > .button,
853
1020
  .ui.three.buttons > .button {
854
1021
  width: 33.333%;
855
1022
  }
1023
+ .ui.\34.buttons > .button,
856
1024
  .ui.four.buttons > .button {
857
1025
  width: 25%;
858
1026
  }
1027
+ .ui.\35.buttons > .button,
859
1028
  .ui.five.buttons > .button {
860
1029
  width: 20%;
861
1030
  }
1031
+ .ui.\36.buttons > .button,
862
1032
  .ui.six.buttons > .button {
863
1033
  width: 16.666%;
864
1034
  }
1035
+ .ui.\37.buttons > .button,
865
1036
  .ui.seven.buttons > .button {
866
1037
  width: 14.285%;
867
1038
  }
1039
+ .ui.\38.buttons > .button,
868
1040
  .ui.eight.buttons > .button {
869
1041
  width: 12.500%;
870
1042
  }
1043
+ .ui.\39.buttons > .button,
871
1044
  .ui.nine.buttons > .button {
872
1045
  width: 11.11%;
873
1046
  }
1047
+ .ui.\31\30.buttons > .button,
874
1048
  .ui.ten.buttons > .button {
875
1049
  width: 10%;
876
1050
  }
1051
+ .ui.\31\31.buttons > .button,
877
1052
  .ui.eleven.buttons > .button {
878
1053
  width: 9.09%;
879
1054
  }
1055
+ .ui.\31\32.buttons > .button,
880
1056
  .ui.twelve.buttons > .button {
881
1057
  width: 8.3333%;
882
1058
  }
@@ -884,42 +1060,55 @@
884
1060
  /* Fluid Vertical Buttons */
885
1061
  .ui.fluid.vertical.buttons,
886
1062
  .ui.fluid.vertical.buttons > .button {
1063
+ display: block;
887
1064
  width: auto;
888
1065
  -webkit-box-sizing: border-box;
889
1066
  -moz-box-sizing: border-box;
890
1067
  -ms-box-sizing: border-box;
891
1068
  box-sizing: border-box;
892
1069
  }
1070
+
1071
+ .ui.\32.vertical.buttons > .button,
893
1072
  .ui.two.vertical.buttons > .button {
894
1073
  height: 50%;
895
1074
  }
1075
+ .ui.\33.vertical.buttons > .button,
896
1076
  .ui.three.vertical.buttons > .button {
897
1077
  height: 33.333%;
898
1078
  }
1079
+ .ui.\34.vertical.buttons > .button,
899
1080
  .ui.four.vertical.buttons > .button {
900
1081
  height: 25%;
901
1082
  }
1083
+ .ui.\35.vertical.buttons > .button,
902
1084
  .ui.five.vertical.buttons > .button {
903
1085
  height: 20%;
904
1086
  }
1087
+ .ui.\36.vertical.buttons > .button,
905
1088
  .ui.six.vertical.buttons > .button {
906
1089
  height: 16.666%;
907
1090
  }
1091
+ .ui.\37.vertical.buttons > .button,
908
1092
  .ui.seven.vertical.buttons > .button {
909
1093
  height: 14.285%;
910
1094
  }
1095
+ .ui.\38.vertical.buttons > .button,
911
1096
  .ui.eight.vertical.buttons > .button {
912
1097
  height: 12.500%;
913
1098
  }
1099
+ .ui.\39.vertical.buttons > .button,
914
1100
  .ui.nine.vertical.buttons > .button {
915
1101
  height: 11.11%;
916
1102
  }
1103
+ .ui.\31\30.vertical.buttons > .button,
917
1104
  .ui.ten.vertical.buttons > .button {
918
1105
  height: 10%;
919
1106
  }
1107
+ .ui.\31\31.vertical.buttons > .button,
920
1108
  .ui.eleven.vertical.buttons > .button {
921
1109
  height: 9.09%;
922
1110
  }
1111
+ .ui.\31\32.vertical.buttons > .button,
923
1112
  .ui.twelve.vertical.buttons > .button {
924
1113
  height: 8.3333%;
925
1114
  }
@@ -929,16 +1118,6 @@
929
1118
  Colors
930
1119
  --------------------*/
931
1120
 
932
- /*--- White ---*/
933
- .ui.white.buttons .button,
934
- .ui.white.button {
935
- background-color: #FFFFFF;
936
- }
937
-
938
- .ui.white.buttons .button:hover,
939
- .ui.white.button:hover {
940
- background-color: #A4A4A4;
941
- }
942
1121
 
943
1122
  /*--- Black ---*/
944
1123
  .ui.black.buttons .button,
@@ -949,12 +1128,10 @@
949
1128
  .ui.black.buttons .button:hover,
950
1129
  .ui.black.button:hover {
951
1130
  background-color: #4C4C4C;
952
- color: #FFFFFF;
953
1131
  }
954
1132
  .ui.black.buttons .button:active,
955
1133
  .ui.black.button:active {
956
1134
  background-color: #333333;
957
- color: #FFFFFF;
958
1135
  }
959
1136
 
960
1137
  /*--- Green ---*/
@@ -1140,16 +1317,15 @@
1140
1317
  -webkit-border-radius: 0em;
1141
1318
  -moz-border-radius: 0em;
1142
1319
  border-radius: 0em;
1143
- border-left: 1px solid rgba(0, 0, 0, 0.05);
1144
1320
  }
1145
1321
  .ui.buttons .button:first-child {
1146
1322
  margin-left: 0em;
1147
- border-top-left-radius: 0.2em;
1148
- border-bottom-left-radius: 0.2em;
1323
+ border-top-left-radius: 0.25em;
1324
+ border-bottom-left-radius: 0.25em;
1149
1325
  }
1150
1326
  .ui.buttons .button:last-child {
1151
- border-top-right-radius: 0.2em;
1152
- border-bottom-right-radius: 0.2em;
1327
+ border-top-right-radius: 0.25em;
1328
+ border-bottom-right-radius: 0.25em;
1153
1329
  }
1154
1330
 
1155
1331
  /* Vertical Style */
@@ -1159,9 +1335,7 @@
1159
1335
  .ui.vertical.buttons .button {
1160
1336
  display: block;
1161
1337
  float: none;
1162
- border-bottom: 1px solid rgba(0, 0, 0, 0.05);
1163
- border-left: none;
1164
- box-shadow: none;
1338
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
1165
1339
  }
1166
1340
  .ui.vertical.buttons .button:first-child,
1167
1341
  .ui.vertical.buttons .mini.button:first-child,
@@ -1170,9 +1344,9 @@
1170
1344
  .ui.vertical.buttons .massive.button:first-child,
1171
1345
  .ui.vertical.buttons .huge.button:first-child {
1172
1346
  margin-top: 0px;
1173
- -moz-border-radius: 0.2em 0.2em 0px 0px;
1174
- -webkit-border-radius: 0.2em 0.2em 0px 0px;
1175
- border-radius: 0.2em 0.2em 0px 0px;
1347
+ -moz-border-radius: 0.25em 0.25em 0px 0px;
1348
+ -webkit-border-radius: 0.25em 0.25em 0px 0px;
1349
+ border-radius: 0.25em 0.25em 0px 0px;
1176
1350
  }
1177
1351
  .ui.vertical.buttons .button:last-child,
1178
1352
  .ui.vertical.buttons .mini.button:last-child,
@@ -1181,7 +1355,7 @@
1181
1355
  .ui.vertical.buttons .massive.button:last-child,
1182
1356
  .ui.vertical.buttons .huge.button:last-child,
1183
1357
  .ui.vertical.buttons .gigantic.button:last-child {
1184
- -moz-border-radius: 0px 0px 0.2em 0.2em;
1185
- -webkit-border-radius: 0px 0px 0.2em 0.2em;
1186
- border-radius: 0px 0px 0.2em 0.2em;
1358
+ -moz-border-radius: 0px 0px 0.25em 0.25em;
1359
+ -webkit-border-radius: 0px 0px 0.25em 0.25em;
1360
+ border-radius: 0px 0px 0.25em 0.25em;
1187
1361
  }