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.
- checksums.yaml +4 -4
- data/.gitignore +6 -1
- data/.rspec +1 -0
- data/CHANGELOG.md +8 -0
- data/README.md +26 -1
- data/app/assets/javascripts/semantic-ui/accordion.js +15 -17
- data/app/assets/javascripts/semantic-ui/behavior/api.js +18 -22
- data/app/assets/javascripts/semantic-ui/behavior/form.js +18 -24
- data/app/assets/javascripts/semantic-ui/behavior/state.js +8 -8
- data/app/assets/javascripts/semantic-ui/chatroom.js +18 -14
- data/app/assets/javascripts/semantic-ui/checkbox.js +26 -24
- data/app/assets/javascripts/semantic-ui/dimmer.js +74 -47
- data/app/assets/javascripts/semantic-ui/dropdown.js +226 -153
- data/app/assets/javascripts/semantic-ui/modal.js +73 -46
- data/app/assets/javascripts/semantic-ui/nag.js +13 -16
- data/app/assets/javascripts/semantic-ui/popup.js +352 -263
- data/app/assets/javascripts/semantic-ui/rating.js +29 -26
- data/app/assets/javascripts/semantic-ui/search.js +18 -24
- data/app/assets/javascripts/semantic-ui/shape.js +182 -173
- data/app/assets/javascripts/semantic-ui/sidebar.js +66 -43
- data/app/assets/javascripts/semantic-ui/tab.js +49 -31
- data/app/assets/javascripts/semantic-ui/transition.js +24 -24
- data/app/assets/javascripts/semantic-ui/video.js +26 -24
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +85 -37
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +6 -7
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +76 -23
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +415 -241
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +26 -24
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +8 -13
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +87 -5
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +7 -9
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -2
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +17 -21
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +4 -27
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +44 -30
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +68 -9
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +26 -26
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +81 -7
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +129 -28
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +12 -10
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +0 -10
- data/app/assets/stylesheets/semantic-ui/views/_list.scss +6 -6
- data/app/helpers/semantic_flash_helper.rb +22 -0
- data/app/helpers/semantic_icon_helper.rb +5 -0
- data/lib/semantic/ui/sass/version.rb +2 -2
- data/semantic-ui-sass.gemspec +3 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +28 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +2 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/helpers/semantic_flash_helper_spec.rb +33 -0
- data/spec/helpers/semantic_icon_helper_spec.rb +20 -0
- data/spec/spec_helper.rb +8 -0
- metadata +132 -4
@@ -71,6 +71,9 @@ i.icon {
|
|
71
71
|
font-smoothing: antialiased;
|
72
72
|
}
|
73
73
|
|
74
|
+
i.icon.left:before { content: "\f060"; }
|
75
|
+
i.icon.right:before { content: "\f061"; }
|
76
|
+
|
74
77
|
i.icon.add.sign.box:before { content: "\f0fe"; }
|
75
78
|
i.icon.add.sign:before { content: "\f055"; }
|
76
79
|
i.icon.add:before { content: "\f067"; }
|
@@ -254,7 +257,6 @@ i.icon.layout.column:before { content: "\f0db"; }
|
|
254
257
|
i.icon.layout.grid:before { content: "\f00a"; }
|
255
258
|
i.icon.layout.list:before { content: "\f00b"; }
|
256
259
|
i.icon.leaf:before { content: "\f06c"; }
|
257
|
-
i.icon.left:before { content: "\f060"; }
|
258
260
|
i.icon.legal:before { content: "\f0e3"; }
|
259
261
|
i.icon.lemon:before { content: "\f094"; }
|
260
262
|
i.icon.level.down:before { content: "\f149"; }
|
@@ -330,7 +332,6 @@ i.icon.resize.horizontal:before { content: "\f07e"; }
|
|
330
332
|
i.icon.resize.small:before { content: "\f066"; }
|
331
333
|
i.icon.resize.vertical:before { content: "\f07d"; }
|
332
334
|
i.icon.retweet:before { content: "\f079"; }
|
333
|
-
i.icon.right:before { content: "\f061"; }
|
334
335
|
i.icon.road:before { content: "\f018"; }
|
335
336
|
i.icon.rocket:before { content: "\f135"; }
|
336
337
|
i.icon.rss.sign:before { content: "\f143"; }
|
@@ -596,9 +597,9 @@ i.link.icon:hover {
|
|
596
597
|
--------------------*/
|
597
598
|
|
598
599
|
i.circular.icon {
|
599
|
-
-webkit-border-radius:
|
600
|
-
-moz-border-radius:
|
601
|
-
border-radius:
|
600
|
+
-webkit-border-radius: 500em !important;
|
601
|
+
-moz-border-radius: 500em !important;
|
602
|
+
border-radius: 500em !important;
|
602
603
|
|
603
604
|
padding: 0.5em 0.35em !important;
|
604
605
|
|
@@ -621,13 +622,7 @@ i.circular.inverted.icon {
|
|
621
622
|
Flipped
|
622
623
|
--------------------*/
|
623
624
|
|
624
|
-
i.
|
625
|
-
-webkit-transform: scale(1, -1);
|
626
|
-
-moz-transform: scale(1, -1);
|
627
|
-
-o-transform: scale(1, -1);
|
628
|
-
-ms-transform: scale(1, -1);
|
629
|
-
transform: scale(1, -1);
|
630
|
-
}
|
625
|
+
i.flipped.icon,
|
631
626
|
i.horizontally.flipped.icon {
|
632
627
|
-webkit-transform: scale(-1, 1);
|
633
628
|
-moz-transform: scale(-1, 1);
|
@@ -635,19 +630,21 @@ i.horizontally.flipped.icon {
|
|
635
630
|
-ms-transform: scale(-1, 1);
|
636
631
|
transform: scale(-1, 1);
|
637
632
|
}
|
633
|
+
i.vertically.flipped.icon {
|
634
|
+
-webkit-transform: scale(1, -1);
|
635
|
+
-moz-transform: scale(1, -1);
|
636
|
+
-o-transform: scale(1, -1);
|
637
|
+
-ms-transform: scale(1, -1);
|
638
|
+
transform: scale(1, -1);
|
639
|
+
}
|
638
640
|
|
639
641
|
/*-------------------
|
640
|
-
|
642
|
+
Rotated
|
641
643
|
--------------------*/
|
642
644
|
|
643
|
-
i.
|
644
|
-
|
645
|
-
|
646
|
-
-o-transform: rotate(-90deg);
|
647
|
-
-ms-transform: rotate(-90deg);
|
648
|
-
transform: rotate(-90deg);
|
649
|
-
}
|
650
|
-
i.right.rotated.icon {
|
645
|
+
i.rotated.icon,
|
646
|
+
i.right.rotated.icon,
|
647
|
+
i.clockwise.rotated.icon {
|
651
648
|
-webkit-transform: rotate(90deg);
|
652
649
|
-moz-transform: rotate(90deg);
|
653
650
|
-o-transform: rotate(90deg);
|
@@ -655,6 +652,14 @@ i.right.rotated.icon {
|
|
655
652
|
transform: rotate(90deg);
|
656
653
|
}
|
657
654
|
|
655
|
+
i.left.rotated.icon,
|
656
|
+
i.counterclockwise.rotated.icon {
|
657
|
+
-webkit-transform: rotate(-90deg);
|
658
|
+
-moz-transform: rotate(-90deg);
|
659
|
+
-o-transform: rotate(-90deg);
|
660
|
+
-ms-transform: rotate(-90deg);
|
661
|
+
transform: rotate(-90deg);
|
662
|
+
}
|
658
663
|
|
659
664
|
/*-------------------
|
660
665
|
Square
|
@@ -671,9 +676,6 @@ i.square.icon {
|
|
671
676
|
|
672
677
|
vertical-align: baseline;
|
673
678
|
}
|
674
|
-
i.square.icon:before {
|
675
|
-
vertical-align: middle;
|
676
|
-
}
|
677
679
|
i.square.inverted.icon {
|
678
680
|
border: none;
|
679
681
|
-webkit-box-shadow: none;
|
@@ -22,6 +22,8 @@
|
|
22
22
|
.ui.input {
|
23
23
|
display: inline-block;
|
24
24
|
position: relative;
|
25
|
+
|
26
|
+
color: rgba(0, 0, 0, 0.7);
|
25
27
|
}
|
26
28
|
.ui.input input {
|
27
29
|
width: 100%;
|
@@ -178,6 +180,7 @@
|
|
178
180
|
---------------------*/
|
179
181
|
|
180
182
|
.ui.icon.input > .icon {
|
183
|
+
cursor: default;
|
181
184
|
position: absolute;
|
182
185
|
opacity: 0.5;
|
183
186
|
top: 0px;
|
@@ -187,7 +190,7 @@
|
|
187
190
|
|
188
191
|
width: 2.6em;
|
189
192
|
height: 100%;
|
190
|
-
padding-top: 0.
|
193
|
+
padding-top: 0.82em;
|
191
194
|
|
192
195
|
text-align: center;
|
193
196
|
|
@@ -206,6 +209,9 @@
|
|
206
209
|
-ms-transition: opacity 0.3s ease-out;
|
207
210
|
transition: opacity 0.3s ease-out;
|
208
211
|
}
|
212
|
+
.ui.icon.input > .link.icon {
|
213
|
+
cursor: pointer;
|
214
|
+
}
|
209
215
|
.ui.icon.input input {
|
210
216
|
padding-right: 3em !important;
|
211
217
|
}
|
@@ -278,25 +284,14 @@
|
|
278
284
|
}
|
279
285
|
.ui.action.input > .button {
|
280
286
|
display: table-cell;
|
281
|
-
opacity: 0.9;
|
282
287
|
|
283
288
|
border-top-left-radius: 0px;
|
284
289
|
border-bottom-left-radius: 0px;
|
285
|
-
|
286
|
-
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
287
|
-
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
288
|
-
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
289
290
|
white-space: nowrap;
|
290
291
|
}
|
291
292
|
.ui.action.input > .button > .icon {
|
292
293
|
display: inline;
|
293
|
-
|
294
|
-
|
295
|
-
.ui.action.input > input:focus ~ .button {
|
296
|
-
opacity: 1;
|
297
|
-
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
|
298
|
-
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
|
299
|
-
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
|
294
|
+
vertical-align: top;
|
300
295
|
}
|
301
296
|
|
302
297
|
/*--------------------
|
@@ -106,6 +106,21 @@ a.ui.label {
|
|
106
106
|
opacity: 0.99;
|
107
107
|
}
|
108
108
|
|
109
|
+
|
110
|
+
/*-------------------
|
111
|
+
Coupling
|
112
|
+
--------------------*/
|
113
|
+
|
114
|
+
/* Padding on next content after a label */
|
115
|
+
.ui.segment > .attached.label:first-child + * {
|
116
|
+
margin-top: 2.5em;
|
117
|
+
}
|
118
|
+
.ui.segment > .bottom.attached.label:first-child ~ :last-child {
|
119
|
+
margin-top: 0em;
|
120
|
+
margin-bottom: 2.5em;
|
121
|
+
}
|
122
|
+
|
123
|
+
|
109
124
|
/*******************************
|
110
125
|
Types
|
111
126
|
*******************************/
|
@@ -266,11 +281,14 @@ a.ui.label:hover:before {
|
|
266
281
|
|
267
282
|
.ui.ribbon.label {
|
268
283
|
position: relative;
|
269
|
-
|
284
|
+
margin: 0em 0.2em;
|
285
|
+
left: -2rem;
|
270
286
|
padding-left: 2rem;
|
271
287
|
-webkit-border-radius: 0px 4px 4px 0px;
|
272
288
|
-moz-border-radius: 0px 4px 4px 0px;
|
273
289
|
border-radius: 0px 4px 4px 0px;
|
290
|
+
|
291
|
+
border-color: rgba(0, 0, 0, 0.15);
|
274
292
|
}
|
275
293
|
|
276
294
|
.ui.ribbon.label:after {
|
@@ -302,6 +320,9 @@ a.ui.label:hover:before {
|
|
302
320
|
margin: 0em;
|
303
321
|
top: 0em;
|
304
322
|
left: 0em;
|
323
|
+
|
324
|
+
padding: 0.75em 1em;
|
325
|
+
|
305
326
|
-webkit-border-radius: 4px 4px 0em 0em;
|
306
327
|
-moz-border-radius: 4px 4px 0em 0em;
|
307
328
|
border-radius: 4px 4px 0em 0em;
|
@@ -495,13 +516,13 @@ a.ui.label:hover:before {
|
|
495
516
|
/* Hover */
|
496
517
|
a.ui.black.labels .label:hover,
|
497
518
|
a.ui.black.label:hover {
|
498
|
-
background-color: #
|
499
|
-
border-color: #
|
519
|
+
background-color: #333333 !important;
|
520
|
+
border-color: #333333 !important;
|
500
521
|
}
|
501
522
|
.ui.labels a.black.label:hover:before,
|
502
523
|
.ui.black.labels a.label:hover:before,
|
503
524
|
a.ui.black.label:hover:before {
|
504
|
-
background-color: #
|
525
|
+
background-color: #333333 !important;
|
505
526
|
}
|
506
527
|
|
507
528
|
/* Corner */
|
@@ -509,6 +530,10 @@ a.ui.black.label:hover:before {
|
|
509
530
|
.ui.black.corner.label:hover {
|
510
531
|
background-color: transparent !important;
|
511
532
|
}
|
533
|
+
/* Ribbon */
|
534
|
+
.ui.black.ribbon.label {
|
535
|
+
border-color: #333333 !important;
|
536
|
+
}
|
512
537
|
|
513
538
|
|
514
539
|
/*--- Green ---*/
|
@@ -541,6 +566,10 @@ a.ui.green.label:hover:before {
|
|
541
566
|
.ui.green.corner.label:hover {
|
542
567
|
background-color: transparent !important;
|
543
568
|
}
|
569
|
+
/* Ribbon */
|
570
|
+
.ui.green.ribbon.label {
|
571
|
+
border-color: #89B84C !important;
|
572
|
+
}
|
544
573
|
|
545
574
|
|
546
575
|
/*--- Red ---*/
|
@@ -573,6 +602,10 @@ a.ui.red.label:hover{
|
|
573
602
|
a.ui.red.label:hover:before {
|
574
603
|
background-color: #DE3859 !important;
|
575
604
|
}
|
605
|
+
/* Ribbon */
|
606
|
+
.ui.red.ribbon.label {
|
607
|
+
border-color: #DE3859 !important;
|
608
|
+
}
|
576
609
|
|
577
610
|
|
578
611
|
/*--- Blue ---*/
|
@@ -605,6 +638,10 @@ a.ui.blue.label:hover:before {
|
|
605
638
|
.ui.blue.corner.label:hover {
|
606
639
|
background-color: transparent !important;
|
607
640
|
}
|
641
|
+
/* Ribbon */
|
642
|
+
.ui.blue.ribbon.label {
|
643
|
+
border-color: #1AB8F3 !important;
|
644
|
+
}
|
608
645
|
|
609
646
|
/*--- Purple ---*/
|
610
647
|
.ui.purple.labels .label,
|
@@ -636,9 +673,50 @@ a.ui.purple.label:hover:before {
|
|
636
673
|
.ui.purple.corner.label:hover {
|
637
674
|
background-color: transparent !important;
|
638
675
|
}
|
676
|
+
/* Ribbon */
|
677
|
+
.ui.purple.ribbon.label {
|
678
|
+
border-color: #3E3773 !important;
|
679
|
+
}
|
680
|
+
|
681
|
+
/*--- Orange ---*/
|
682
|
+
.ui.orange.labels .label,
|
683
|
+
.ui.orange.label {
|
684
|
+
background-color: #F05940 !important;
|
685
|
+
border-color: #F05940 !important;
|
686
|
+
color: #FFFFFF !important;
|
687
|
+
}
|
688
|
+
.ui.labels .orange.label:before,
|
689
|
+
.ui.orange.labels .label:before,
|
690
|
+
.ui.orange.label:before {
|
691
|
+
background-color: #F05940 !important;
|
692
|
+
}
|
693
|
+
/* Hover */
|
694
|
+
a.ui.orange.labels .label:hover,
|
695
|
+
.ui.orange.labels a.label:hover,
|
696
|
+
a.ui.orange.label:hover {
|
697
|
+
background-color: #FF4121 !important;
|
698
|
+
border-color: #FF4121 !important;
|
699
|
+
color: #FFFFFF !important;
|
700
|
+
}
|
701
|
+
.ui.labels a.orange.label:hover:before,
|
702
|
+
.ui.orange.labels a.label:hover:before,
|
703
|
+
a.ui.orange.label:hover:before {
|
704
|
+
background-color: #FF4121 !important;
|
705
|
+
}
|
706
|
+
/* Corner */
|
707
|
+
.ui.orange.corner.label,
|
708
|
+
.ui.orange.corner.label:hover {
|
709
|
+
background-color: transparent !important;
|
710
|
+
}
|
711
|
+
/* Ribbon */
|
712
|
+
.ui.orange.ribbon.label {
|
713
|
+
border-color: #FF4121 !important;
|
714
|
+
}
|
639
715
|
|
640
716
|
|
641
|
-
|
717
|
+
|
718
|
+
|
719
|
+
/*--- Teal ---*/
|
642
720
|
.ui.teal.labels .label,
|
643
721
|
.ui.teal.label {
|
644
722
|
background-color: #00B5AD !important;
|
@@ -668,6 +746,10 @@ a.ui.teal.label:hover:before {
|
|
668
746
|
.ui.teal.corner.label:hover {
|
669
747
|
background-color: transparent !important;
|
670
748
|
}
|
749
|
+
/* Ribbon */
|
750
|
+
.ui.teal.ribbon.label {
|
751
|
+
border-color: #009A93 !important;
|
752
|
+
}
|
671
753
|
|
672
754
|
/*-------------------
|
673
755
|
Horizontal
|
@@ -118,15 +118,6 @@
|
|
118
118
|
margin-bottom: 0em;
|
119
119
|
}
|
120
120
|
|
121
|
-
/* Padding on next content after a label */
|
122
|
-
.ui.segment > .attached.label:first-child + * {
|
123
|
-
margin-top: 2em;
|
124
|
-
}
|
125
|
-
.ui.segment > .bottom.attached.label:first-child ~ :last-child {
|
126
|
-
margin-top: 0em;
|
127
|
-
margin-bottom: 2em;
|
128
|
-
}
|
129
|
-
|
130
121
|
/*******************************
|
131
122
|
Types
|
132
123
|
*******************************/
|
@@ -303,6 +294,9 @@
|
|
303
294
|
.ui.red.segment {
|
304
295
|
border-top: 0.2em solid #D95C5C;
|
305
296
|
}
|
297
|
+
.ui.orange.segment {
|
298
|
+
border-top: 0.2em solid #F05940;
|
299
|
+
}
|
306
300
|
.ui.purple.segment {
|
307
301
|
border-top: 0.2em solid #564F8A;
|
308
302
|
}
|
@@ -330,6 +324,10 @@
|
|
330
324
|
background-color: #D95C5C !important;
|
331
325
|
color: #FFFFFF !important;
|
332
326
|
}
|
327
|
+
.ui.inverted.orange.segment {
|
328
|
+
background-color: #F05940 !important;
|
329
|
+
color: #FFFFFF !important;
|
330
|
+
}
|
333
331
|
.ui.inverted.purple.segment {
|
334
332
|
background-color: #564F8A !important;
|
335
333
|
color: #FFFFFF !important;
|
@@ -24,8 +24,9 @@
|
|
24
24
|
position: relative;
|
25
25
|
display: inline-block;
|
26
26
|
|
27
|
-
width: 1em;
|
28
|
-
height: 1.
|
27
|
+
min-width: 1em;
|
28
|
+
height: 1.25em;
|
29
|
+
line-height: 1em;
|
29
30
|
|
30
31
|
outline: none;
|
31
32
|
vertical-align: middle;
|
@@ -44,21 +45,14 @@
|
|
44
45
|
.ui.checkbox .box,
|
45
46
|
.ui.checkbox label {
|
46
47
|
cursor: pointer;
|
47
|
-
position: relative;
|
48
|
-
|
49
|
-
min-width: 1em;
|
50
|
-
height: 1.5em;
|
51
|
-
|
52
48
|
padding-left: 2em;
|
53
49
|
outline: none;
|
54
|
-
|
55
|
-
white-space: nowrap;
|
56
50
|
}
|
57
51
|
|
58
52
|
.ui.checkbox .box:before,
|
59
53
|
.ui.checkbox label:before {
|
60
54
|
position: absolute;
|
61
|
-
top:
|
55
|
+
top: 0em;
|
62
56
|
left: 0em;
|
63
57
|
|
64
58
|
line-height: 1;
|
@@ -117,7 +111,7 @@
|
|
117
111
|
}
|
118
112
|
.ui.checkbox .box:after,
|
119
113
|
.ui.checkbox label:after {
|
120
|
-
top: 0.
|
114
|
+
top: 0.275em;
|
121
115
|
left: 0.2em;
|
122
116
|
width: 0.45em;
|
123
117
|
height: 0.15em;
|
@@ -208,7 +202,7 @@
|
|
208
202
|
|
209
203
|
.ui.radio.checkbox .box:before,
|
210
204
|
.ui.radio.checkbox label:before {
|
211
|
-
width: 1em;
|
205
|
+
min-width: 1em;
|
212
206
|
height: 1em;
|
213
207
|
-webkit-border-radius: 500px;
|
214
208
|
-moz-border-radius: 500px;
|
@@ -217,7 +211,7 @@
|
|
217
211
|
.ui.radio.checkbox .box:after,
|
218
212
|
.ui.radio.checkbox label:after {
|
219
213
|
border: none;
|
220
|
-
top: 0.
|
214
|
+
top: 0.2em;
|
221
215
|
left: 0.2em;
|
222
216
|
|
223
217
|
width: 0.6em;
|
@@ -225,6 +219,8 @@
|
|
225
219
|
|
226
220
|
background-color: #555555;
|
227
221
|
|
222
|
+
transform: none;
|
223
|
+
|
228
224
|
-webkit-border-radius: 500px;
|
229
225
|
-moz-border-radius: 500px;
|
230
226
|
border-radius: 500px;
|
@@ -237,13 +233,12 @@
|
|
237
233
|
.ui.slider.checkbox {
|
238
234
|
cursor: pointer;
|
239
235
|
min-width: 3em;
|
240
|
-
height: 2em;
|
241
236
|
}
|
242
237
|
|
243
238
|
/* Line */
|
244
239
|
.ui.slider.checkbox:after {
|
245
240
|
position: absolute;
|
246
|
-
top: 0.
|
241
|
+
top: 0.5em;
|
247
242
|
left: 0em;
|
248
243
|
content: '';
|
249
244
|
|
@@ -263,8 +258,8 @@
|
|
263
258
|
display: block;
|
264
259
|
|
265
260
|
position: absolute;
|
266
|
-
top:
|
267
|
-
left:
|
261
|
+
top: -0.25em;
|
262
|
+
left: 0em;
|
268
263
|
z-index: 1;
|
269
264
|
|
270
265
|
width: 1.5em;
|
@@ -290,7 +285,7 @@
|
|
290
285
|
|
291
286
|
position: absolute;
|
292
287
|
content: '';
|
293
|
-
top: 0.
|
288
|
+
top: 0.15em;
|
294
289
|
left: 0em;
|
295
290
|
z-index: 2;
|
296
291
|
|
@@ -302,6 +297,8 @@
|
|
302
297
|
|
303
298
|
border-radius: 50rem;
|
304
299
|
|
300
|
+
transform: none;
|
301
|
+
|
305
302
|
-webkit-transition:
|
306
303
|
background 0.3s ease 0s,
|
307
304
|
left 0.3s ease 0s
|
@@ -360,7 +357,6 @@
|
|
360
357
|
|
361
358
|
.ui.toggle.checkbox {
|
362
359
|
cursor: pointer;
|
363
|
-
height: 2em;
|
364
360
|
}
|
365
361
|
|
366
362
|
.ui.toggle.checkbox .box,
|
@@ -376,7 +372,7 @@
|
|
376
372
|
|
377
373
|
position: absolute;
|
378
374
|
content: '';
|
379
|
-
top:
|
375
|
+
top: -0.25em;
|
380
376
|
left: 0em;
|
381
377
|
z-index: 1;
|
382
378
|
|
@@ -403,7 +399,7 @@
|
|
403
399
|
|
404
400
|
content: '';
|
405
401
|
position: absolute;
|
406
|
-
top: 0.
|
402
|
+
top: 0.15em;
|
407
403
|
left: 0.5em;
|
408
404
|
z-index: 2;
|
409
405
|
|