fomantic-ui-sass 2.7.6 → 2.7.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/app/assets/fonts/semantic-ui/brand-icons.eot +0 -0
  4. data/app/assets/fonts/semantic-ui/brand-icons.svg +7 -17
  5. data/app/assets/fonts/semantic-ui/brand-icons.ttf +0 -0
  6. data/app/assets/fonts/semantic-ui/brand-icons.woff +0 -0
  7. data/app/assets/fonts/semantic-ui/brand-icons.woff2 +0 -0
  8. data/app/assets/fonts/semantic-ui/icons.eot +0 -0
  9. data/app/assets/fonts/semantic-ui/icons.svg +290 -168
  10. data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
  11. data/app/assets/fonts/semantic-ui/icons.woff +0 -0
  12. data/app/assets/fonts/semantic-ui/icons.woff2 +0 -0
  13. data/app/assets/fonts/semantic-ui/outline-icons.eot +0 -0
  14. data/app/assets/fonts/semantic-ui/outline-icons.svg +2 -2
  15. data/app/assets/fonts/semantic-ui/outline-icons.ttf +0 -0
  16. data/app/assets/fonts/semantic-ui/outline-icons.woff +0 -0
  17. data/app/assets/fonts/semantic-ui/outline-icons.woff2 +0 -0
  18. data/app/assets/javascripts/semantic-ui/accordion.js +6 -2
  19. data/app/assets/javascripts/semantic-ui/checkbox.js +2 -1
  20. data/app/assets/javascripts/semantic-ui/dropdown.js +32 -9
  21. data/app/assets/javascripts/semantic-ui/form.js +9 -9
  22. data/app/assets/javascripts/semantic-ui/modal.js +4 -1
  23. data/app/assets/javascripts/semantic-ui/popup.js +4 -1
  24. data/app/assets/javascripts/semantic-ui/search.js +10 -5
  25. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +69 -25
  26. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +181 -71
  27. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +134 -46
  28. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +107 -47
  29. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +81 -46
  30. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +680 -323
  31. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +39 -39
  32. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +2 -0
  33. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +10 -4
  34. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +73 -12
  35. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
  36. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +34 -10
  37. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +23 -9
  38. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +4 -0
  39. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +2 -1
  40. data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +4 -0
  41. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +7 -2
  42. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +74 -27
  43. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +83 -21
  44. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +10 -5
  45. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +1 -0
  46. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +4 -1
  47. data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +8 -4
  48. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +179 -10
  49. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +20 -5
  50. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +94 -35
  51. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +4 -0
  52. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +45 -17
  53. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +4 -1
  54. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +40 -19
  55. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +6 -1
  56. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +6 -1
  57. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +16 -5
  58. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +6 -1
  59. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +15 -2
  60. data/app/assets/stylesheets/semantic-ui/modules/_slider.scss +12 -1
  61. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -0
  62. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +2 -1
  63. data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +5 -2
  64. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +2 -1
  65. data/app/assets/stylesheets/semantic-ui/views/_card.scss +183 -81
  66. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +7 -3
  67. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +20 -6
  68. data/app/assets/stylesheets/semantic-ui/views/_item.scss +37 -12
  69. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +42 -10
  70. data/lib/fomantic/ui/sass/version.rb +2 -2
  71. metadata +2 -2
@@ -14,18 +14,27 @@
14
14
  *******************************/
15
15
 
16
16
  .ui.steps {
17
+ display: -webkit-inline-box;
18
+ display: -ms-inline-flexbox;
17
19
  display: inline-flex;
18
- flex-direction: row;
19
- align-items: stretch;
20
+ -webkit-box-orient: horizontal;
21
+ -webkit-box-direction: normal;
22
+ -ms-flex-direction: row;
23
+ flex-direction: row;
24
+ -webkit-box-align: stretch;
25
+ -ms-flex-align: stretch;
26
+ align-items: stretch;
20
27
  margin: 1em 0;
21
28
  background: '';
22
- box-shadow: none;
29
+ -webkit-box-shadow: none;
30
+ box-shadow: none;
23
31
  line-height: 1.14285714em;
24
32
  border-radius: 0.28571429rem;
25
33
  border: 1px solid rgba(34, 36, 38, 0.15);
26
34
  }
27
35
  .ui.steps:not(.unstackable) {
28
- flex-wrap: wrap;
36
+ -ms-flex-wrap: wrap;
37
+ flex-wrap: wrap;
29
38
  }
30
39
 
31
40
  /* First Steps */
@@ -45,22 +54,38 @@
45
54
 
46
55
  .ui.steps .step {
47
56
  position: relative;
57
+ display: -webkit-box;
58
+ display: -ms-flexbox;
48
59
  display: flex;
49
- flex: 1 0 auto;
50
- flex-wrap: wrap;
51
- flex-direction: row;
60
+ -webkit-box-flex: 1;
61
+ -ms-flex: 1 0 auto;
62
+ flex: 1 0 auto;
63
+ -ms-flex-wrap: wrap;
64
+ flex-wrap: wrap;
65
+ -webkit-box-orient: horizontal;
66
+ -webkit-box-direction: normal;
67
+ -ms-flex-direction: row;
68
+ flex-direction: row;
52
69
  vertical-align: middle;
53
- align-items: center;
54
- justify-content: center;
70
+ -webkit-box-align: center;
71
+ -ms-flex-align: center;
72
+ align-items: center;
73
+ -webkit-box-pack: center;
74
+ -ms-flex-pack: center;
75
+ justify-content: center;
55
76
  margin: 0 0;
56
77
  padding: 1.14285714em 2em;
57
78
  background: #FFFFFF;
58
79
  color: rgba(0, 0, 0, 0.87);
59
- box-shadow: none;
80
+ -webkit-box-shadow: none;
81
+ box-shadow: none;
60
82
  border-radius: 0;
61
83
  border: none;
62
84
  border-right: 1px solid rgba(34, 36, 38, 0.15);
85
+ -webkit-transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, -webkit-box-shadow 0.1s ease;
86
+ transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, -webkit-box-shadow 0.1s ease;
63
87
  transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;
88
+ transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease, -webkit-box-shadow 0.1s ease;
64
89
  }
65
90
 
66
91
  /* Arrow */
@@ -78,7 +103,10 @@
78
103
  border-style: solid;
79
104
  border-color: rgba(34, 36, 38, 0.15);
80
105
  border-width: 0 1px 1px 0;
106
+ -webkit-transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, -webkit-box-shadow 0.1s ease;
107
+ transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, -webkit-box-shadow 0.1s ease;
81
108
  transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;
109
+ transition: background-color 0.1s ease, opacity 0.1s ease, color 0.1s ease, box-shadow 0.1s ease, -webkit-box-shadow 0.1s ease;
82
110
  -webkit-transform: translateY(-50%) translateX(50%) rotate(-45deg);
83
111
  transform: translateY(-50%) translateX(50%) rotate(-45deg);
84
112
  }
@@ -139,8 +167,11 @@
139
167
  .ui.steps .step > .icon,
140
168
  .ui.steps .step > .icon ~ .content {
141
169
  display: block;
142
- flex: 0 1 auto;
143
- align-self: middle;
170
+ -webkit-box-flex: 0;
171
+ -ms-flex: 0 1 auto;
172
+ flex: 0 1 auto;
173
+ -ms-flex-item-align: middle;
174
+ align-self: middle;
144
175
  }
145
176
 
146
177
  /* Horizontal Icon */
@@ -172,7 +203,8 @@
172
203
  position: static;
173
204
  text-align: center;
174
205
  content: counter(ordered);
175
- align-self: middle;
206
+ -ms-flex-item-align: middle;
207
+ align-self: middle;
176
208
  margin-right: 1rem;
177
209
  font-size: 2.5em;
178
210
  counter-increment: ordered;
@@ -181,7 +213,8 @@
181
213
  }
182
214
  .ui.ordered.steps .step > * {
183
215
  display: block;
184
- align-self: middle;
216
+ -ms-flex-item-align: middle;
217
+ align-self: middle;
185
218
  }
186
219
 
187
220
  /*--------------
@@ -189,12 +222,19 @@
189
222
  ---------------*/
190
223
 
191
224
  .ui.vertical.steps {
225
+ display: -webkit-inline-box;
226
+ display: -ms-inline-flexbox;
192
227
  display: inline-flex;
193
- flex-direction: column;
228
+ -webkit-box-orient: vertical;
229
+ -webkit-box-direction: normal;
230
+ -ms-flex-direction: column;
231
+ flex-direction: column;
194
232
  overflow: visible;
195
233
  }
196
234
  .ui.vertical.steps .step {
197
- justify-content: flex-start;
235
+ -webkit-box-pack: start;
236
+ -ms-flex-pack: start;
237
+ justify-content: flex-start;
198
238
  border-radius: 0;
199
239
  padding: 1.14285714em 2em;
200
240
  border-right: none;
@@ -237,13 +277,21 @@
237
277
  /* Mobile (Default) */
238
278
  @media only screen and (max-width: 767.98px) {
239
279
  .ui.steps:not(.unstackable) {
280
+ display: -webkit-inline-box;
281
+ display: -ms-inline-flexbox;
240
282
  display: inline-flex;
241
283
  overflow: visible;
242
- flex-direction: column;
284
+ -webkit-box-orient: vertical;
285
+ -webkit-box-direction: normal;
286
+ -ms-flex-direction: column;
287
+ flex-direction: column;
243
288
  }
244
289
  .ui.steps:not(.unstackable) .step {
245
290
  width: 100% !important;
246
- flex-direction: column;
291
+ -webkit-box-orient: vertical;
292
+ -webkit-box-direction: normal;
293
+ -ms-flex-direction: column;
294
+ flex-direction: column;
247
295
  border-radius: 0;
248
296
  padding: 1.14285714em 2em;
249
297
  border-right: none;
@@ -323,6 +371,9 @@
323
371
  }
324
372
 
325
373
  /* Active Arrow */
374
+ .ui.steps .step:after {
375
+ display: block;
376
+ }
326
377
  .ui.steps .active.step:after {
327
378
  display: block;
328
379
  }
@@ -378,14 +429,22 @@
378
429
  /* Tablet Or Below */
379
430
  @media only screen and (max-width: 991.98px) {
380
431
  .ui[class*="tablet stackable"].steps {
432
+ display: -webkit-inline-box;
433
+ display: -ms-inline-flexbox;
381
434
  display: inline-flex;
382
435
  overflow: visible;
383
- flex-direction: column;
436
+ -webkit-box-orient: vertical;
437
+ -webkit-box-direction: normal;
438
+ -ms-flex-direction: column;
439
+ flex-direction: column;
384
440
  }
385
441
 
386
442
  /* Steps */
387
443
  .ui[class*="tablet stackable"].steps .step {
388
- flex-direction: column;
444
+ -webkit-box-orient: vertical;
445
+ -webkit-box-direction: normal;
446
+ -ms-flex-direction: column;
447
+ flex-direction: column;
389
448
  border-radius: 0;
390
449
  padding: 1.14285714em 2em;
391
450
  border-right: none;
@@ -428,6 +487,8 @@
428
487
 
429
488
  /* Fluid */
430
489
  .ui.fluid.steps {
490
+ display: -webkit-box;
491
+ display: -ms-flexbox;
431
492
  display: flex;
432
493
  width: 100%;
433
494
  }
@@ -485,7 +546,8 @@
485
546
  .ui.six.steps > .step,
486
547
  .ui.seven.steps > .step,
487
548
  .ui.eight.steps > .step {
488
- flex-wrap: nowrap;
549
+ -ms-flex-wrap: nowrap;
550
+ flex-wrap: nowrap;
489
551
  }
490
552
  .ui.one.steps > .step {
491
553
  width: 100%;
@@ -18,10 +18,12 @@
18
18
  *,
19
19
  *:before,
20
20
  *:after {
21
- box-sizing: inherit;
21
+ -webkit-box-sizing: inherit;
22
+ box-sizing: inherit;
22
23
  }
23
24
  html {
24
- box-sizing: border-box;
25
+ -webkit-box-sizing: border-box;
26
+ box-sizing: border-box;
25
27
  }
26
28
 
27
29
  /* iPad Input Shadows */
@@ -81,7 +83,8 @@ h1 {
81
83
  * 2. Show the overflow in Edge and IE.
82
84
  */
83
85
  hr {
84
- box-sizing: content-box;
86
+ -webkit-box-sizing: content-box;
87
+ box-sizing: content-box;
85
88
 
86
89
  /* 1 */
87
90
  height: 0;
@@ -267,7 +270,8 @@ fieldset {
267
270
  * `fieldset` elements in all browsers.
268
271
  */
269
272
  legend {
270
- box-sizing: border-box;
273
+ -webkit-box-sizing: border-box;
274
+ box-sizing: border-box;
271
275
 
272
276
  /* 1 */
273
277
  color: inherit;
@@ -304,7 +308,8 @@ textarea {
304
308
  */
305
309
  [type="checkbox"],
306
310
  [type="radio"] {
307
- box-sizing: border-box;
311
+ -webkit-box-sizing: border-box;
312
+ box-sizing: border-box;
308
313
 
309
314
  /* 1 */
310
315
  padding: 0;
@@ -168,6 +168,7 @@ body ::-webkit-scrollbar-thumb {
168
168
  cursor: pointer;
169
169
  border-radius: 5px;
170
170
  background: rgba(0, 0, 0, 0.25);
171
+ -webkit-transition: color 0.2s ease;
171
172
  transition: color 0.2s ease;
172
173
  }
173
174
  body ::-webkit-scrollbar-thumb:window-inactive {
@@ -57,6 +57,7 @@
57
57
  margin: 0 0.25rem 0 0;
58
58
  padding: 0;
59
59
  font-size: 1em;
60
+ -webkit-transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
60
61
  transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
61
62
  transition: transform 0.1s ease, opacity 0.1s ease;
62
63
  transition: transform 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease;
@@ -120,7 +121,8 @@
120
121
  .ui.styled.accordion .accordion {
121
122
  border-radius: 0.28571429rem;
122
123
  background: #FFFFFF;
123
- box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15);
124
+ -webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15);
125
+ box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15);
124
126
  }
125
127
  .ui.styled.accordion .title,
126
128
  .ui.styled.accordion .accordion .title {
@@ -129,6 +131,7 @@
129
131
  color: rgba(0, 0, 0, 0.4);
130
132
  font-weight: bold;
131
133
  border-top: 1px solid rgba(34, 36, 38, 0.15);
134
+ -webkit-transition: background 0.1s ease, color 0.1s ease;
132
135
  transition: background 0.1s ease, color 0.1s ease;
133
136
  }
134
137
  .ui.styled.accordion > .title:first-child,
@@ -124,20 +124,24 @@
124
124
  .ui.calendar .ui.table tr td.range {
125
125
  background: rgba(0, 0, 0, 0.05);
126
126
  color: rgba(0, 0, 0, 0.95);
127
- box-shadow: none;
127
+ -webkit-box-shadow: none;
128
+ box-shadow: none;
128
129
  }
129
130
  .ui.calendar .ui.table.inverted tr td.range {
130
131
  background: rgba(255, 255, 255, 0.08);
131
132
  color: #ffffff;
132
- box-shadow: none;
133
+ -webkit-box-shadow: none;
134
+ box-shadow: none;
133
135
  }
134
136
  .ui.calendar:not(.disabled) .calendar:focus .ui.table tbody tr td.focus,
135
137
  .ui.calendar:not(.disabled) .calendar.active .ui.table tbody tr td.focus {
136
- box-shadow: inset 0 0 0 1px #85B7D9;
138
+ -webkit-box-shadow: inset 0 0 0 1px #85B7D9;
139
+ box-shadow: inset 0 0 0 1px #85B7D9;
137
140
  }
138
141
  .ui.calendar:not(.disabled) .calendar:focus .ui.table.inverted tbody tr td.focus,
139
142
  .ui.calendar:not(.disabled) .calendar.active .ui.table.inverted tbody tr td.focus {
140
- box-shadow: inset 0 0 0 1px #85B7D9;
143
+ -webkit-box-shadow: inset 0 0 0 1px #85B7D9;
144
+ box-shadow: inset 0 0 0 1px #85B7D9;
141
145
  }
142
146
 
143
147
 
@@ -27,7 +27,7 @@
27
27
  vertical-align: baseline;
28
28
  font-style: normal;
29
29
  min-height: 17px;
30
- font-size: 1rem;
30
+ font-size: 1em;
31
31
  line-height: 17px;
32
32
  min-width: 17px;
33
33
  }
@@ -69,9 +69,10 @@
69
69
  content: '';
70
70
  background: #FFFFFF;
71
71
  border-radius: 0.21428571rem;
72
- transition: border 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
72
+ -webkit-transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
73
+ transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
73
74
  transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
74
- transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
75
+ transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
75
76
  border: 1px solid #D4D4D5;
76
77
  }
77
78
 
@@ -90,9 +91,10 @@
90
91
  text-align: center;
91
92
  opacity: 0;
92
93
  color: rgba(0, 0, 0, 0.87);
93
- transition: border 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
94
+ -webkit-transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
95
+ transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
94
96
  transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
95
- transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
97
+ transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
96
98
  }
97
99
 
98
100
  /*--------------
@@ -104,6 +106,7 @@
104
106
  .ui.checkbox label,
105
107
  .ui.checkbox + label {
106
108
  color: rgba(0, 0, 0, 0.87);
109
+ -webkit-transition: color 0.1s ease;
107
110
  transition: color 0.1s ease;
108
111
  }
109
112
 
@@ -390,19 +393,23 @@
390
393
  width: 3.5rem;
391
394
  height: 0.21428571rem;
392
395
  border-radius: 500rem;
396
+ -webkit-transition: background 0.3s ease;
393
397
  transition: background 0.3s ease;
394
398
  }
395
399
 
396
400
  /* Handle */
397
401
  .ui.slider.checkbox .box:after,
398
402
  .ui.slider.checkbox label:after {
403
+ background: #FFFFFF -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.05)));
404
+ background: #FFFFFF -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
399
405
  background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
400
406
  position: absolute;
401
407
  content: '' !important;
402
408
  opacity: 1;
403
409
  z-index: 2;
404
410
  border: none;
405
- box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
411
+ -webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
412
+ box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
406
413
  width: 1.5rem;
407
414
  height: 1.5rem;
408
415
  top: -0.25rem;
@@ -410,6 +417,7 @@
410
417
  -webkit-transform: none;
411
418
  transform: none;
412
419
  border-radius: 500rem;
420
+ -webkit-transition: left 0.3s ease;
413
421
  transition: left 0.3s ease;
414
422
  }
415
423
 
@@ -491,7 +499,8 @@
491
499
  border: none;
492
500
  top: 0;
493
501
  background: rgba(0, 0, 0, 0.05);
494
- box-shadow: none;
502
+ -webkit-box-shadow: none;
503
+ box-shadow: none;
495
504
  width: 3.5rem;
496
505
  height: 1.5rem;
497
506
  border-radius: 500rem;
@@ -500,24 +509,29 @@
500
509
  /* Handle */
501
510
  .ui.toggle.checkbox .box:after,
502
511
  .ui.toggle.checkbox label:after {
512
+ background: #FFFFFF -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.05)));
513
+ background: #FFFFFF -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
503
514
  background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
504
515
  position: absolute;
505
516
  content: '' !important;
506
517
  opacity: 1;
507
518
  z-index: 2;
508
519
  border: none;
509
- box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
520
+ -webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
521
+ box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
510
522
  width: 1.5rem;
511
523
  height: 1.5rem;
512
524
  top: 0;
513
525
  left: 0;
514
526
  border-radius: 500rem;
527
+ -webkit-transition: background 0.3s ease, left 0.3s ease;
515
528
  transition: background 0.3s ease, left 0.3s ease;
516
529
  }
517
530
  .ui.toggle.checkbox input ~ .box:after,
518
531
  .ui.toggle.checkbox input ~ label:after {
519
532
  left: -0.05rem;
520
- box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
533
+ -webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
534
+ box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
521
535
  }
522
536
 
523
537
  /* Focus */
@@ -546,7 +560,8 @@
546
560
  .ui.toggle.checkbox input:checked ~ .box:after,
547
561
  .ui.toggle.checkbox input:checked ~ label:after {
548
562
  left: 2.15rem;
549
- box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
563
+ -webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
564
+ box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
550
565
  }
551
566
 
552
567
  /* Active Focus */
@@ -668,6 +683,160 @@
668
683
  background-color: #0d71bb !important;
669
684
  }
670
685
 
686
+ /*--------------------
687
+ Size
688
+ ---------------------*/
689
+
690
+ .ui.mini.checkbox {
691
+ font-size: 0.78571429em;
692
+ }
693
+ .ui.tiny.checkbox {
694
+ font-size: 0.85714286em;
695
+ }
696
+ .ui.small.checkbox {
697
+ font-size: 0.92857143em;
698
+ }
699
+ .ui.large.checkbox {
700
+ font-size: 1.14285714em;
701
+ }
702
+ .ui.large.form .checkbox:not(.slider):not(.toggle):not(.radio) .box:after,
703
+ .ui.large.checkbox:not(.slider):not(.toggle):not(.radio) .box:after,
704
+ .ui.large.form .checkbox:not(.slider):not(.toggle):not(.radio) .box:before,
705
+ .ui.large.checkbox:not(.slider):not(.toggle):not(.radio) .box:before,
706
+ .ui.large.form .checkbox:not(.slider):not(.toggle):not(.radio) label:after,
707
+ .ui.large.checkbox:not(.slider):not(.toggle):not(.radio) label:after,
708
+ .ui.large.form .checkbox:not(.slider):not(.toggle):not(.radio) label:before,
709
+ .ui.large.checkbox:not(.slider):not(.toggle):not(.radio) label:before {
710
+ -webkit-transform: scale(1.14285714);
711
+ transform: scale(1.14285714);
712
+ -webkit-transform-origin: left;
713
+ transform-origin: left;
714
+ }
715
+ .ui.large.form .checkbox.radio .box:before,
716
+ .ui.large.checkbox.radio .box:before,
717
+ .ui.large.form .checkbox.radio label:before,
718
+ .ui.large.checkbox.radio label:before {
719
+ -webkit-transform: scale(1.14285714);
720
+ transform: scale(1.14285714);
721
+ -webkit-transform-origin: left;
722
+ transform-origin: left;
723
+ }
724
+ .ui.large.form .checkbox.radio .box:after,
725
+ .ui.large.checkbox.radio .box:after,
726
+ .ui.large.form .checkbox.radio label:after,
727
+ .ui.large.checkbox.radio label:after {
728
+ -webkit-transform: scale(0.57142857);
729
+ transform: scale(0.57142857);
730
+ -webkit-transform-origin: left;
731
+ transform-origin: left;
732
+ left: 0.33571429em;
733
+ }
734
+ .ui.big.checkbox {
735
+ font-size: 1.28571429em;
736
+ }
737
+ .ui.big.form .checkbox:not(.slider):not(.toggle):not(.radio) .box:after,
738
+ .ui.big.checkbox:not(.slider):not(.toggle):not(.radio) .box:after,
739
+ .ui.big.form .checkbox:not(.slider):not(.toggle):not(.radio) .box:before,
740
+ .ui.big.checkbox:not(.slider):not(.toggle):not(.radio) .box:before,
741
+ .ui.big.form .checkbox:not(.slider):not(.toggle):not(.radio) label:after,
742
+ .ui.big.checkbox:not(.slider):not(.toggle):not(.radio) label:after,
743
+ .ui.big.form .checkbox:not(.slider):not(.toggle):not(.radio) label:before,
744
+ .ui.big.checkbox:not(.slider):not(.toggle):not(.radio) label:before {
745
+ -webkit-transform: scale(1.28571429);
746
+ transform: scale(1.28571429);
747
+ -webkit-transform-origin: left;
748
+ transform-origin: left;
749
+ }
750
+ .ui.big.form .checkbox.radio .box:before,
751
+ .ui.big.checkbox.radio .box:before,
752
+ .ui.big.form .checkbox.radio label:before,
753
+ .ui.big.checkbox.radio label:before {
754
+ -webkit-transform: scale(1.28571429);
755
+ transform: scale(1.28571429);
756
+ -webkit-transform-origin: left;
757
+ transform-origin: left;
758
+ }
759
+ .ui.big.form .checkbox.radio .box:after,
760
+ .ui.big.checkbox.radio .box:after,
761
+ .ui.big.form .checkbox.radio label:after,
762
+ .ui.big.checkbox.radio label:after {
763
+ -webkit-transform: scale(0.64285714);
764
+ transform: scale(0.64285714);
765
+ -webkit-transform-origin: left;
766
+ transform-origin: left;
767
+ left: 0.37142857em;
768
+ }
769
+ .ui.huge.checkbox {
770
+ font-size: 1.42857143em;
771
+ }
772
+ .ui.huge.form .checkbox:not(.slider):not(.toggle):not(.radio) .box:after,
773
+ .ui.huge.checkbox:not(.slider):not(.toggle):not(.radio) .box:after,
774
+ .ui.huge.form .checkbox:not(.slider):not(.toggle):not(.radio) .box:before,
775
+ .ui.huge.checkbox:not(.slider):not(.toggle):not(.radio) .box:before,
776
+ .ui.huge.form .checkbox:not(.slider):not(.toggle):not(.radio) label:after,
777
+ .ui.huge.checkbox:not(.slider):not(.toggle):not(.radio) label:after,
778
+ .ui.huge.form .checkbox:not(.slider):not(.toggle):not(.radio) label:before,
779
+ .ui.huge.checkbox:not(.slider):not(.toggle):not(.radio) label:before {
780
+ -webkit-transform: scale(1.42857143);
781
+ transform: scale(1.42857143);
782
+ -webkit-transform-origin: left;
783
+ transform-origin: left;
784
+ }
785
+ .ui.huge.form .checkbox.radio .box:before,
786
+ .ui.huge.checkbox.radio .box:before,
787
+ .ui.huge.form .checkbox.radio label:before,
788
+ .ui.huge.checkbox.radio label:before {
789
+ -webkit-transform: scale(1.42857143);
790
+ transform: scale(1.42857143);
791
+ -webkit-transform-origin: left;
792
+ transform-origin: left;
793
+ }
794
+ .ui.huge.form .checkbox.radio .box:after,
795
+ .ui.huge.checkbox.radio .box:after,
796
+ .ui.huge.form .checkbox.radio label:after,
797
+ .ui.huge.checkbox.radio label:after {
798
+ -webkit-transform: scale(0.71428571);
799
+ transform: scale(0.71428571);
800
+ -webkit-transform-origin: left;
801
+ transform-origin: left;
802
+ left: 0.40714286em;
803
+ }
804
+ .ui.massive.checkbox {
805
+ font-size: 1.71428571em;
806
+ }
807
+ .ui.massive.form .checkbox:not(.slider):not(.toggle):not(.radio) .box:after,
808
+ .ui.massive.checkbox:not(.slider):not(.toggle):not(.radio) .box:after,
809
+ .ui.massive.form .checkbox:not(.slider):not(.toggle):not(.radio) .box:before,
810
+ .ui.massive.checkbox:not(.slider):not(.toggle):not(.radio) .box:before,
811
+ .ui.massive.form .checkbox:not(.slider):not(.toggle):not(.radio) label:after,
812
+ .ui.massive.checkbox:not(.slider):not(.toggle):not(.radio) label:after,
813
+ .ui.massive.form .checkbox:not(.slider):not(.toggle):not(.radio) label:before,
814
+ .ui.massive.checkbox:not(.slider):not(.toggle):not(.radio) label:before {
815
+ -webkit-transform: scale(1.71428571);
816
+ transform: scale(1.71428571);
817
+ -webkit-transform-origin: left;
818
+ transform-origin: left;
819
+ }
820
+ .ui.massive.form .checkbox.radio .box:before,
821
+ .ui.massive.checkbox.radio .box:before,
822
+ .ui.massive.form .checkbox.radio label:before,
823
+ .ui.massive.checkbox.radio label:before {
824
+ -webkit-transform: scale(1.71428571);
825
+ transform: scale(1.71428571);
826
+ -webkit-transform-origin: left;
827
+ transform-origin: left;
828
+ }
829
+ .ui.massive.form .checkbox.radio .box:after,
830
+ .ui.massive.checkbox.radio .box:after,
831
+ .ui.massive.form .checkbox.radio label:after,
832
+ .ui.massive.checkbox.radio label:after {
833
+ -webkit-transform: scale(0.85714286);
834
+ transform: scale(0.85714286);
835
+ -webkit-transform-origin: left;
836
+ transform-origin: left;
837
+ left: 0.47857143em;
838
+ }
839
+
671
840
 
672
841
  /*******************************
673
842
  Theme Overrides