fomantic-ui-sass 2.7.8 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/app/assets/javascripts/semantic-ui/api.js +1 -1
  4. data/app/assets/javascripts/semantic-ui/calendar.js +41 -18
  5. data/app/assets/javascripts/semantic-ui/dropdown.js +58 -33
  6. data/app/assets/javascripts/semantic-ui/form.js +9 -4
  7. data/app/assets/javascripts/semantic-ui/modal.js +96 -33
  8. data/app/assets/javascripts/semantic-ui/popup.js +8 -8
  9. data/app/assets/javascripts/semantic-ui/progress.js +10 -8
  10. data/app/assets/javascripts/semantic-ui/rating.js +35 -6
  11. data/app/assets/javascripts/semantic-ui/sidebar.js +2 -3
  12. data/app/assets/javascripts/semantic-ui/slider.js +78 -29
  13. data/app/assets/javascripts/semantic-ui/tab.js +1 -1
  14. data/app/assets/javascripts/semantic-ui/toast.js +395 -121
  15. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +3 -3
  16. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +741 -143
  17. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +35 -35
  18. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +73 -117
  19. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +11 -11
  20. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +976 -191
  21. data/app/assets/stylesheets/semantic-ui/elements/_all.scss +1 -0
  22. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +51 -81
  23. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +12 -12
  24. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +35 -14
  25. data/app/assets/stylesheets/semantic-ui/elements/_emoji.scss +12312 -0
  26. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +111 -66
  27. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +70 -31
  28. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +28 -28
  29. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +218 -69
  30. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +20 -20
  31. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +52 -51
  32. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +85 -91
  33. data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +8 -8
  34. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +11 -11
  35. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +31 -10
  36. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +38 -38
  37. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +16 -17
  38. data/app/assets/stylesheets/semantic-ui/elements/_text.scss +3 -3
  39. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +6 -6
  40. data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +2 -2
  41. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +14 -124
  42. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +21 -21
  43. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +181 -110
  44. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +12 -12
  45. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +121 -30
  46. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +71 -72
  47. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +44 -26
  48. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +246 -21
  49. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +16 -13
  50. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +2 -2
  51. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +12 -14
  52. data/app/assets/stylesheets/semantic-ui/modules/_slider.scss +20 -23
  53. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +2 -2
  54. data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +542 -155
  55. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +16 -16
  56. data/app/assets/stylesheets/semantic-ui/views/_card.scss +42 -17
  57. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +9 -9
  58. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +20 -5
  59. data/app/assets/stylesheets/semantic-ui/views/_item.scss +33 -12
  60. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +60 -46
  61. data/lib/fomantic/ui/sass/version.rb +2 -2
  62. metadata +2 -1
@@ -136,18 +136,6 @@
136
136
  }
137
137
 
138
138
 
139
- /*******************************
140
- Video Overrides
141
- *******************************/
142
-
143
-
144
-
145
- /*******************************
146
- Site Overrides
147
- *******************************/
148
-
149
-
150
-
151
139
  /*******************************
152
140
  Variations
153
141
  *******************************/
@@ -164,3 +152,15 @@
164
152
  .ui[class*="21:9"].embed {
165
153
  padding-bottom: 42.85714286%;
166
154
  }
155
+
156
+
157
+ /*******************************
158
+ Video Overrides
159
+ *******************************/
160
+
161
+
162
+
163
+ /*******************************
164
+ Site Overrides
165
+ *******************************/
166
+
@@ -350,7 +350,7 @@
350
350
  top: auto;
351
351
  }
352
352
  .ui.legacy.overlay.fullscreen.modal {
353
- margin-top: -1rem !important;
353
+ margin-top: -2rem !important;
354
354
  }
355
355
 
356
356
 
@@ -374,27 +374,27 @@
374
374
 
375
375
 
376
376
  /*--------------
377
- Aligned
378
- ---------------*/
377
+ Aligned
378
+ ---------------*/
379
379
 
380
- .ui.top.aligned.modal {
380
+ .modals.dimmer .ui.top.aligned.modal {
381
381
  top: 5vh;
382
382
  }
383
- .ui.bottom.aligned.modal {
383
+ .modals.dimmer .ui.bottom.aligned.modal {
384
384
  bottom: 5vh;
385
385
  }
386
386
  @media only screen and (max-width: 767.98px) {
387
- .ui.top.aligned.modal {
387
+ .modals.dimmer .ui.top.aligned.modal {
388
388
  top: 1rem;
389
389
  }
390
- .ui.bottom.aligned.modal {
390
+ .modals.dimmer .ui.bottom.aligned.modal {
391
391
  bottom: 1rem;
392
392
  }
393
393
  }
394
394
 
395
395
  /*--------------
396
- Scrolling
397
- ---------------*/
396
+ Scrolling
397
+ ---------------*/
398
398
 
399
399
 
400
400
  /* Scrolling Dimmer */
@@ -412,7 +412,14 @@
412
412
  -webkit-overflow-scrolling: touch;
413
413
  }
414
414
  .modals.dimmer .ui.scrolling.modal:not(.fullscreen) {
415
- margin: 1rem auto;
415
+ margin: 2rem auto;
416
+ }
417
+
418
+ /* Fix for Firefox, Edge, IE11 */
419
+ .modals.dimmer .ui.scrolling.modal:not([class*="overlay fullscreen"])::after {
420
+ content: '\00A0';
421
+ position: absolute;
422
+ height: 2rem;
416
423
  }
417
424
 
418
425
  /* Undetached Scrolling */
@@ -426,7 +433,6 @@
426
433
  .scrolling.undetached.dimmable .ui.scrolling.modal:not(.fullscreen) {
427
434
  position: absolute;
428
435
  left: 50%;
429
- margin-top: 1rem !important;
430
436
  }
431
437
 
432
438
  /* Scrolling Content */
@@ -442,8 +448,8 @@
442
448
  }
443
449
 
444
450
  /*--------------
445
- Full Screen
446
- ---------------*/
451
+ Full Screen
452
+ ---------------*/
447
453
 
448
454
  .ui.fullscreen.modal {
449
455
  width: 95%;
@@ -476,13 +482,9 @@
476
482
  .ui.modal {
477
483
  font-size: 1rem;
478
484
  }
479
-
480
- /* Mini */
481
485
  .ui.mini.modal > .header:not(.ui) {
482
486
  font-size: 1.3em;
483
487
  }
484
-
485
- /* Mini Modal Width */
486
488
  @media only screen and (max-width: 767.98px) {
487
489
  .ui.mini.modal {
488
490
  width: 95%;
@@ -513,13 +515,9 @@
513
515
  margin: 0 0 0 0;
514
516
  }
515
517
  }
516
-
517
- /* Tiny */
518
518
  .ui.tiny.modal > .header:not(.ui) {
519
519
  font-size: 1.3em;
520
520
  }
521
-
522
- /* Tiny Modal Width */
523
521
  @media only screen and (max-width: 767.98px) {
524
522
  .ui.tiny.modal {
525
523
  width: 95%;
@@ -550,13 +548,9 @@
550
548
  margin: 0 0 0 0;
551
549
  }
552
550
  }
553
-
554
- /* Small */
555
551
  .ui.small.modal > .header:not(.ui) {
556
552
  font-size: 1.3em;
557
553
  }
558
-
559
- /* Small Modal Width */
560
554
  @media only screen and (max-width: 767.98px) {
561
555
  .ui.small.modal {
562
556
  width: 95%;
@@ -587,9 +581,7 @@
587
581
  margin: 0 0 0 0;
588
582
  }
589
583
  }
590
-
591
- /* Large Modal Width */
592
- .ui.large.modal > .header {
584
+ .ui.large.modal > .header:not(.ui) {
593
585
  font-size: 1.6em;
594
586
  }
595
587
  @media only screen and (max-width: 767.98px) {
@@ -622,11 +614,110 @@
622
614
  margin: 0 0 0 0;
623
615
  }
624
616
  }
617
+ .ui.big.modal > .header:not(.ui) {
618
+ font-size: 1.6em;
619
+ }
620
+ @media only screen and (max-width: 767.98px) {
621
+ .ui.big.modal {
622
+ width: 95%;
623
+ margin: 0 0 0 0;
624
+ }
625
+ }
626
+ @media only screen and (min-width: 768px) {
627
+ .ui.big.modal {
628
+ width: 88%;
629
+ margin: 0 0 0 0;
630
+ }
631
+ }
632
+ @media only screen and (min-width: 992px) {
633
+ .ui.big.modal {
634
+ width: 1190px;
635
+ margin: 0 0 0 0;
636
+ }
637
+ }
638
+ @media only screen and (min-width: 1200px) {
639
+ .ui.big.modal {
640
+ width: 1260px;
641
+ margin: 0 0 0 0;
642
+ }
643
+ }
644
+ @media only screen and (min-width: 1920px) {
645
+ .ui.big.modal {
646
+ width: 1330px;
647
+ margin: 0 0 0 0;
648
+ }
649
+ }
650
+ .ui.huge.modal > .header:not(.ui) {
651
+ font-size: 1.6em;
652
+ }
653
+ @media only screen and (max-width: 767.98px) {
654
+ .ui.huge.modal {
655
+ width: 95%;
656
+ margin: 0 0 0 0;
657
+ }
658
+ }
659
+ @media only screen and (min-width: 768px) {
660
+ .ui.huge.modal {
661
+ width: 88%;
662
+ margin: 0 0 0 0;
663
+ }
664
+ }
665
+ @media only screen and (min-width: 992px) {
666
+ .ui.huge.modal {
667
+ width: 1360px;
668
+ margin: 0 0 0 0;
669
+ }
670
+ }
671
+ @media only screen and (min-width: 1200px) {
672
+ .ui.huge.modal {
673
+ width: 1440px;
674
+ margin: 0 0 0 0;
675
+ }
676
+ }
677
+ @media only screen and (min-width: 1920px) {
678
+ .ui.huge.modal {
679
+ width: 1520px;
680
+ margin: 0 0 0 0;
681
+ }
682
+ }
683
+ .ui.massive.modal > .header:not(.ui) {
684
+ font-size: 1.8em;
685
+ }
686
+ @media only screen and (max-width: 767.98px) {
687
+ .ui.massive.modal {
688
+ width: 95%;
689
+ margin: 0 0 0 0;
690
+ }
691
+ }
692
+ @media only screen and (min-width: 768px) {
693
+ .ui.massive.modal {
694
+ width: 88%;
695
+ margin: 0 0 0 0;
696
+ }
697
+ }
698
+ @media only screen and (min-width: 992px) {
699
+ .ui.massive.modal {
700
+ width: 1530px;
701
+ margin: 0 0 0 0;
702
+ }
703
+ }
704
+ @media only screen and (min-width: 1200px) {
705
+ .ui.massive.modal {
706
+ width: 1620px;
707
+ margin: 0 0 0 0;
708
+ }
709
+ }
710
+ @media only screen and (min-width: 1920px) {
711
+ .ui.massive.modal {
712
+ width: 1710px;
713
+ margin: 0 0 0 0;
714
+ }
715
+ }
625
716
 
626
717
 
627
718
  /*****************************
628
- Inverted
629
- *******************************/
719
+ Inverted
720
+ *******************************/
630
721
 
631
722
  .ui.inverted.modal {
632
723
  background: rgba(0, 0, 0, 0.9);
@@ -66,8 +66,8 @@
66
66
 
67
67
 
68
68
  /*--------------
69
- Tooltip
70
- ---------------*/
69
+ Tooltip
70
+ ---------------*/
71
71
 
72
72
 
73
73
  /* Content */
@@ -203,8 +203,8 @@
203
203
  }
204
204
 
205
205
  /*--------------
206
- Inverted
207
- ---------------*/
206
+ Inverted
207
+ ---------------*/
208
208
 
209
209
 
210
210
  /* Arrow */
@@ -232,9 +232,12 @@
232
232
  }
233
233
 
234
234
  /*--------------
235
- Position
236
- ---------------*/
235
+ Position
236
+ ---------------*/
237
237
 
238
+ [data-position~="top"][data-tooltip]:before {
239
+ background: #FFFFFF;
240
+ }
238
241
 
239
242
  /* Top Center */
240
243
  [data-position="top center"][data-tooltip]:after {
@@ -289,6 +292,11 @@
289
292
  margin-left: -0.07142857rem;
290
293
  margin-bottom: 0.14285714rem;
291
294
  }
295
+ [data-position~="bottom"][data-tooltip]:before {
296
+ background: #FFFFFF;
297
+ -webkit-box-shadow: -1px -1px 0 0 #bababc;
298
+ box-shadow: -1px -1px 0 0 #bababc;
299
+ }
292
300
 
293
301
  /* Bottom Center */
294
302
  [data-position="bottom center"][data-tooltip]:after {
@@ -352,6 +360,9 @@
352
360
  top: 50%;
353
361
  margin-top: -0.14285714rem;
354
362
  margin-right: -0.07142857rem;
363
+ background: #FFFFFF;
364
+ -webkit-box-shadow: 1px -1px 0 0 #bababc;
365
+ box-shadow: 1px -1px 0 0 #bababc;
355
366
  }
356
367
 
357
368
  /* Right Center */
@@ -367,27 +378,10 @@
367
378
  top: 50%;
368
379
  margin-top: -0.07142857rem;
369
380
  margin-left: 0.14285714rem;
370
- }
371
-
372
- /* Arrow */
373
- [data-position~="bottom"][data-tooltip]:before {
374
- background: #FFFFFF;
375
- -webkit-box-shadow: -1px -1px 0 0 #bababc;
376
- box-shadow: -1px -1px 0 0 #bababc;
377
- }
378
- [data-position="left center"][data-tooltip]:before {
379
- background: #FFFFFF;
380
- -webkit-box-shadow: 1px -1px 0 0 #bababc;
381
- box-shadow: 1px -1px 0 0 #bababc;
382
- }
383
- [data-position="right center"][data-tooltip]:before {
384
381
  background: #FFFFFF;
385
382
  -webkit-box-shadow: -1px 1px 0 0 #bababc;
386
383
  box-shadow: -1px 1px 0 0 #bababc;
387
384
  }
388
- [data-position~="top"][data-tooltip]:before {
389
- background: #FFFFFF;
390
- }
391
385
 
392
386
  /* Inverted Arrow Color */
393
387
  [data-inverted][data-position~="bottom"][data-tooltip]:before {
@@ -434,37 +428,8 @@
434
428
  }
435
429
 
436
430
  /*--------------
437
- Size
438
- ---------------*/
439
-
440
- [data-tooltip][data-variation~="mini"]:before,
441
- [data-tooltip][data-variation~="mini"]:after {
442
- font-size: 0.78571429rem;
443
- }
444
- [data-tooltip][data-variation~="tiny"]:before,
445
- [data-tooltip][data-variation~="tiny"]:after {
446
- font-size: 0.85714286rem;
447
- }
448
- [data-tooltip][data-variation~="small"]:before,
449
- [data-tooltip][data-variation~="small"]:after {
450
- font-size: 0.92857143rem;
451
- }
452
- [data-tooltip][data-variation~="medium"]:before,
453
- [data-tooltip][data-variation~="medium"]:after {
454
- font-size: 1rem;
455
- }
456
- [data-tooltip][data-variation~="large"]:before,
457
- [data-tooltip][data-variation~="large"]:after {
458
- font-size: 1.14285714rem;
459
- }
460
- [data-tooltip][data-variation~="huge"]:before,
461
- [data-tooltip][data-variation~="huge"]:after {
462
- font-size: 1.42857143rem;
463
- }
464
-
465
- /*--------------
466
- Basic
467
- ---------------*/
431
+ Basic
432
+ ---------------*/
468
433
 
469
434
  [data-tooltip][data-variation~="basic"]:before {
470
435
  display: none;
@@ -525,8 +490,8 @@
525
490
  }
526
491
 
527
492
  /*--------------
528
- Pointer
529
- ---------------*/
493
+ Pointer
494
+ ---------------*/
530
495
 
531
496
 
532
497
  /*--- Below ---*/
@@ -624,15 +589,15 @@
624
589
  -webkit-box-shadow: -1px 1px 0 0 #bababc;
625
590
  box-shadow: -1px 1px 0 0 #bababc;
626
591
  }
592
+ .ui.right.center.popup:before,
593
+ .ui.left.center.popup:before {
594
+ background: #FFFFFF;
595
+ }
627
596
 
628
597
  /* Arrow Color By Location */
629
598
  .ui.bottom.popup:before {
630
599
  background: #FFFFFF;
631
600
  }
632
- .ui.right.center.popup:before,
633
- .ui.left.center.popup:before {
634
- background: #FFFFFF;
635
- }
636
601
  .ui.top.popup:before {
637
602
  background: #FFFFFF;
638
603
  }
@@ -689,16 +654,16 @@
689
654
 
690
655
 
691
656
  /*--------------
692
- Basic
693
- ---------------*/
657
+ Basic
658
+ ---------------*/
694
659
 
695
660
  .ui.basic.popup:before {
696
661
  display: none;
697
662
  }
698
663
 
699
664
  /*--------------
700
- Wide
701
- ---------------*/
665
+ Wide
666
+ ---------------*/
702
667
 
703
668
  .ui.wide.popup {
704
669
  max-width: 350px;
@@ -714,8 +679,8 @@
714
679
  }
715
680
 
716
681
  /*--------------
717
- Fluid
718
- ---------------*/
682
+ Fluid
683
+ ---------------*/
719
684
 
720
685
  .ui.fluid.popup {
721
686
  width: 100%;
@@ -723,8 +688,8 @@
723
688
  }
724
689
 
725
690
  /*--------------
726
- Colors
727
- ---------------*/
691
+ Colors
692
+ ---------------*/
728
693
 
729
694
 
730
695
  /* Inverted colors */
@@ -746,8 +711,8 @@
746
711
  }
747
712
 
748
713
  /*--------------
749
- Flowing
750
- ---------------*/
714
+ Flowing
715
+ ---------------*/
751
716
 
752
717
  .ui.flowing.popup {
753
718
  max-width: none;
@@ -757,24 +722,58 @@
757
722
  Sizes
758
723
  ---------------*/
759
724
 
725
+ .ui.popup {
726
+ font-size: 1rem;
727
+ }
760
728
  .ui.mini.popup {
761
729
  font-size: 0.78571429rem;
762
730
  }
731
+ [data-tooltip][data-variation~="mini"]:before,
732
+ [data-tooltip][data-variation~="mini"]:after {
733
+ font-size: 0.78571429rem;
734
+ }
763
735
  .ui.tiny.popup {
764
736
  font-size: 0.85714286rem;
765
737
  }
738
+ [data-tooltip][data-variation~="tiny"]:before,
739
+ [data-tooltip][data-variation~="tiny"]:after {
740
+ font-size: 0.85714286rem;
741
+ }
766
742
  .ui.small.popup {
767
743
  font-size: 0.92857143rem;
768
744
  }
769
- .ui.popup {
770
- font-size: 1rem;
745
+ [data-tooltip][data-variation~="small"]:before,
746
+ [data-tooltip][data-variation~="small"]:after {
747
+ font-size: 0.92857143rem;
771
748
  }
772
749
  .ui.large.popup {
773
750
  font-size: 1.14285714rem;
774
751
  }
752
+ [data-tooltip][data-variation~="large"]:before,
753
+ [data-tooltip][data-variation~="large"]:after {
754
+ font-size: 1.14285714rem;
755
+ }
756
+ .ui.big.popup {
757
+ font-size: 1.28571429rem;
758
+ }
759
+ [data-tooltip][data-variation~="big"]:before,
760
+ [data-tooltip][data-variation~="big"]:after {
761
+ font-size: 1.28571429rem;
762
+ }
775
763
  .ui.huge.popup {
776
764
  font-size: 1.42857143rem;
777
765
  }
766
+ [data-tooltip][data-variation~="huge"]:before,
767
+ [data-tooltip][data-variation~="huge"]:after {
768
+ font-size: 1.42857143rem;
769
+ }
770
+ .ui.massive.popup {
771
+ font-size: 1.71428571rem;
772
+ }
773
+ [data-tooltip][data-variation~="massive"]:before,
774
+ [data-tooltip][data-variation~="massive"]:after {
775
+ font-size: 1.71428571rem;
776
+ }
778
777
 
779
778
 
780
779
  /*******************************