fomantic-ui-sass 2.8.1 → 2.8.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/app/assets/fonts/semantic-ui/brand-icons.eot +0 -0
  4. data/app/assets/fonts/semantic-ui/brand-icons.svg +175 -82
  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 +177 -126
  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 +11 -11
  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/calendar.js +103 -45
  19. data/app/assets/javascripts/semantic-ui/checkbox.js +1 -1
  20. data/app/assets/javascripts/semantic-ui/dropdown.js +45 -45
  21. data/app/assets/javascripts/semantic-ui/form.js +63 -27
  22. data/app/assets/javascripts/semantic-ui/modal.js +9 -1
  23. data/app/assets/javascripts/semantic-ui/popup.js +8 -7
  24. data/app/assets/javascripts/semantic-ui/search.js +29 -2
  25. data/app/assets/javascripts/semantic-ui/slider.js +6 -6
  26. data/app/assets/javascripts/semantic-ui/tab.js +3 -2
  27. data/app/assets/javascripts/semantic-ui/toast.js +11 -9
  28. data/app/assets/javascripts/semantic-ui/visibility.js +1 -1
  29. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +63 -24
  30. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +28 -28
  31. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +36 -20
  32. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +9 -3
  33. data/app/assets/stylesheets/semantic-ui/elements/_emoji.scss +6130 -6133
  34. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +147 -18
  35. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +44 -44
  36. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +1 -1
  37. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +7 -0
  38. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +1 -0
  39. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +9 -9
  40. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +8 -8
  41. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +10 -3
  42. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +34 -7
  43. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +32 -3
  44. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +90 -0
  45. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -0
  46. data/fomantic-ui-sass.gemspec +2 -2
  47. data/lib/fomantic-ui-sass.rb +2 -2
  48. data/lib/fomantic/ui/sass/version.rb +2 -2
  49. data/spec/dummy/app/assets/config/manifest.js +0 -0
  50. metadata +11 -9
@@ -52,7 +52,7 @@
52
52
 
53
53
 
54
54
  /* Header */
55
- .ui.inverted.segment > .ui.header > .sub.header,
55
+ .ui.inverted.segment > .ui.header .sub.header,
56
56
  .ui.inverted.segment > .ui.header {
57
57
  color: #FFFFFF;
58
58
  }
@@ -258,6 +258,13 @@
258
258
  border-width: 0 1px 1px 0;
259
259
  display: none;
260
260
  }
261
+ .ui.right.vertical.steps .step:after {
262
+ border-width: 1px 0 0 1px;
263
+ left: 0;
264
+ right: 100%;
265
+ -webkit-transform: translateY(-50%) translateX(-50%) rotate(-45deg);
266
+ transform: translateY(-50%) translateX(-50%) rotate(-45deg);
267
+ }
261
268
  .ui.vertical.steps .active.step:after {
262
269
  display: block;
263
270
  }
@@ -220,6 +220,7 @@
220
220
  cursor: default !important;
221
221
  opacity: 0.5;
222
222
  color: #000000;
223
+ pointer-events: none;
223
224
  }
224
225
 
225
226
  /*--------------
@@ -64,7 +64,7 @@
64
64
 
65
65
  /* Loose Coupling */
66
66
  .ui.segment > .ui.dimmer:not(.page) {
67
- border-radius: inherit !important;
67
+ border-radius: inherit;
68
68
  }
69
69
 
70
70
  /* Scrollbars */
@@ -287,16 +287,16 @@ body.dimmable > .dimmer {
287
287
  transform: translateY(-50%);
288
288
  -webkit-transform: translateY(calc(-50% - 0.5px));
289
289
  }
290
- .ui.segment > .ui[class*="top dimmer"] {
291
- border-bottom-left-radius: 0 !important;
292
- border-bottom-right-radius: 0 !important;
290
+ .ui.segment > .ui.ui[class*="top dimmer"] {
291
+ border-bottom-left-radius: 0;
292
+ border-bottom-right-radius: 0;
293
293
  }
294
- .ui.segment > .ui[class*="center dimmer"] {
295
- border-radius: 0 !important;
294
+ .ui.segment > .ui.ui[class*="center dimmer"] {
295
+ border-radius: 0;
296
296
  }
297
- .ui.segment > .ui[class*="bottom dimmer"] {
298
- border-top-left-radius: 0 !important;
299
- border-top-right-radius: 0 !important;
297
+ .ui.segment > .ui.ui[class*="bottom dimmer"] {
298
+ border-top-left-radius: 0;
299
+ border-top-right-radius: 0;
300
300
  }
301
301
  .ui[class*="center dimmer"].transition[class*="fade up"].in {
302
302
  -webkit-animation-name: fadeInUpCenter;
@@ -116,6 +116,7 @@
116
116
  display: block;
117
117
  border: none;
118
118
  height: auto;
119
+ min-height: 2.57142857rem;
119
120
  text-align: left;
120
121
  border-top: none;
121
122
  line-height: 1em;
@@ -313,10 +314,9 @@
313
314
  }
314
315
 
315
316
  /* Automatically float dropdown menu right on last menu item */
316
- .ui.menu .right.menu .dropdown:last-child .menu,
317
- .ui.menu .right.dropdown.item .menu,
318
- .ui.buttons > .ui.dropdown:last-child .menu {
319
- left: auto;
317
+ .ui.menu .right.menu .dropdown:last-child .menu:not(.left),
318
+ .ui.menu .right.dropdown.item .menu:not(.left),
319
+ .ui.buttons > .ui.dropdown:last-child .menu:not(.left) {
320
320
  right: 0;
321
321
  }
322
322
 
@@ -632,7 +632,7 @@ select.ui.dropdown {
632
632
  cursor: text;
633
633
  position: relative;
634
634
  left: 1px;
635
- z-index: 3;
635
+ z-index: auto;
636
636
  }
637
637
 
638
638
  /* Search Selection */
@@ -1155,7 +1155,7 @@ select.ui.dropdown {
1155
1155
  }
1156
1156
  .ui.dropdown > .left.menu .menu,
1157
1157
  .ui.dropdown .menu .left.menu {
1158
- left: auto;
1158
+ left: auto !important;
1159
1159
  right: 100%;
1160
1160
  margin: 0 -0.5em 0 0 !important;
1161
1161
  border-radius: 0.28571429rem !important;
@@ -1378,12 +1378,12 @@ select.ui.dropdown {
1378
1378
  opacity: 1;
1379
1379
  }
1380
1380
  .ui.simple.dropdown > .menu > .item:active > .menu,
1381
- .ui.simple.dropdown:hover > .menu > .item:hover > .menu {
1381
+ .ui.simple.dropdown .menu .item:hover > .menu {
1382
1382
  overflow: visible;
1383
1383
  width: auto;
1384
1384
  height: auto;
1385
1385
  top: 0 !important;
1386
- left: 100% !important;
1386
+ left: 100%;
1387
1387
  opacity: 1;
1388
1388
  }
1389
1389
  .ui.simple.disabled.dropdown:hover .menu {
@@ -45,6 +45,9 @@
45
45
  border-bottom-left-radius: 0.28571429rem;
46
46
  border-bottom-right-radius: 0.28571429rem;
47
47
  }
48
+ .ui.modal > .ui.dimmer {
49
+ border-radius: inherit;
50
+ }
48
51
 
49
52
 
50
53
  /*******************************
@@ -178,7 +181,7 @@
178
181
  border-top: 1px solid rgba(34, 36, 38, 0.15);
179
182
  text-align: right;
180
183
  }
181
- .ui.modal .actions > .button {
184
+ .ui.modal .actions > .button:not(.fluid) {
182
185
  margin-left: 0.75em;
183
186
  }
184
187
  .ui.basic.modal > .actions {
@@ -261,7 +264,7 @@
261
264
  -ms-flex-direction: column;
262
265
  flex-direction: column;
263
266
  }
264
- .ui.modal .content > .image {
267
+ .ui.modal > .content > .image {
265
268
  display: block;
266
269
  max-width: 100%;
267
270
  margin: 0 auto !important;
@@ -273,7 +276,7 @@
273
276
  text-align: center;
274
277
  }
275
278
  /*rtl:ignore*/
276
- .ui.modal .content > .description {
279
+ .ui.modal > .content > .description {
277
280
  display: block;
278
281
  width: 100% !important;
279
282
  margin: 0 !important;
@@ -321,6 +324,7 @@
321
324
  }
322
325
  .ui.basic.modal > .header {
323
326
  color: #FFFFFF;
327
+ border-bottom: none;
324
328
  }
325
329
  .ui.basic.modal > .close {
326
330
  top: 1rem;
@@ -463,9 +467,11 @@
463
467
  top: 0;
464
468
  border-radius: 0;
465
469
  }
470
+ .ui.modal > .close.inside + .header,
466
471
  .ui.fullscreen.modal > .header {
467
472
  padding-right: 2.25rem;
468
473
  }
474
+ .ui.modal > .close.inside,
469
475
  .ui.fullscreen.modal > .close {
470
476
  top: 1.0535rem;
471
477
  right: 1rem;
@@ -740,6 +746,7 @@
740
746
  color: #FFFFFF;
741
747
  }
742
748
  }
749
+ .ui.inverted.modal > .close.inside,
743
750
  .ui.inverted.fullscreen.modal > .close {
744
751
  color: #FFFFFF;
745
752
  }
@@ -137,32 +137,31 @@
137
137
  [data-tooltip]:after {
138
138
  pointer-events: none;
139
139
  visibility: hidden;
140
+ opacity: 0;
141
+ -webkit-transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
142
+ transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
143
+ transition: transform 0.1s ease, opacity 0.1s ease;
144
+ transition: transform 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease;
140
145
  }
141
146
  [data-tooltip]:before {
142
- opacity: 0;
143
147
  -webkit-transform: rotate(45deg) scale(0) !important;
144
148
  transform: rotate(45deg) scale(0) !important;
145
149
  -webkit-transform-origin: center top;
146
150
  transform-origin: center top;
147
- -webkit-transition: all 0.1s ease;
148
- transition: all 0.1s ease;
149
151
  }
150
152
  [data-tooltip]:after {
151
- opacity: 1;
152
153
  -webkit-transform-origin: center bottom;
153
154
  transform-origin: center bottom;
154
- -webkit-transition: all 0.1s ease;
155
- transition: all 0.1s ease;
156
155
  }
157
156
  [data-tooltip]:hover:before,
158
157
  [data-tooltip]:hover:after {
159
158
  visibility: visible;
160
159
  pointer-events: auto;
160
+ opacity: 1;
161
161
  }
162
162
  [data-tooltip]:hover:before {
163
163
  -webkit-transform: rotate(45deg) scale(1) !important;
164
164
  transform: rotate(45deg) scale(1) !important;
165
- opacity: 1;
166
165
  }
167
166
 
168
167
  /* Animation Position */
@@ -201,6 +200,21 @@
201
200
  -webkit-transform: scale(1) !important;
202
201
  transform: scale(1) !important;
203
202
  }
203
+ [data-tooltip][data-variation~="fixed"]:after {
204
+ white-space: normal;
205
+ width: 250px;
206
+ }
207
+ [data-tooltip][data-variation*="wide fixed"]:after {
208
+ width: 350px;
209
+ }
210
+ [data-tooltip][data-variation*="very wide fixed"]:after {
211
+ width: 550px;
212
+ }
213
+ @media only screen and (max-width: 767.98px) {
214
+ [data-tooltip][data-variation~="fixed"]:after {
215
+ width: 250px;
216
+ }
217
+ }
204
218
 
205
219
  /*--------------
206
220
  Inverted
@@ -660,6 +674,9 @@
660
674
  .ui.basic.popup:before {
661
675
  display: none;
662
676
  }
677
+ .ui.fixed.popup {
678
+ width: 250px;
679
+ }
663
680
 
664
681
  /*--------------
665
682
  Wide
@@ -668,14 +685,24 @@
668
685
  .ui.wide.popup {
669
686
  max-width: 350px;
670
687
  }
688
+ .ui.wide.popup.fixed {
689
+ width: 350px;
690
+ }
671
691
  .ui[class*="very wide"].popup {
672
692
  max-width: 550px;
673
693
  }
694
+ .ui[class*="very wide"].popup.fixed {
695
+ width: 550px;
696
+ }
674
697
  @media only screen and (max-width: 767.98px) {
675
698
  .ui.wide.popup,
676
699
  .ui[class*="very wide"].popup {
677
700
  max-width: 250px;
678
701
  }
702
+ .ui.wide.popup.fixed,
703
+ .ui[class*="very wide"].popup.fixed {
704
+ width: 250px;
705
+ }
679
706
  }
680
707
 
681
708
  /*--------------
@@ -177,38 +177,67 @@
177
177
 
178
178
  /* Single Digits */
179
179
  .ui.indicating.progress[data-percent="1"] .bar,
180
+ .ui.indicating.progress[data-percent^="1."] .bar,
180
181
  .ui.indicating.progress[data-percent="2"] .bar,
182
+ .ui.indicating.progress[data-percent^="2."] .bar,
181
183
  .ui.indicating.progress[data-percent="3"] .bar,
184
+ .ui.indicating.progress[data-percent^="3."] .bar,
182
185
  .ui.indicating.progress[data-percent="4"] .bar,
186
+ .ui.indicating.progress[data-percent^="4."] .bar,
183
187
  .ui.indicating.progress[data-percent="5"] .bar,
188
+ .ui.indicating.progress[data-percent^="5."] .bar,
184
189
  .ui.indicating.progress[data-percent="6"] .bar,
190
+ .ui.indicating.progress[data-percent^="6."] .bar,
185
191
  .ui.indicating.progress[data-percent="7"] .bar,
192
+ .ui.indicating.progress[data-percent^="7."] .bar,
186
193
  .ui.indicating.progress[data-percent="8"] .bar,
187
- .ui.indicating.progress[data-percent="9"] .bar {
194
+ .ui.indicating.progress[data-percent^="8."] .bar,
195
+ .ui.indicating.progress[data-percent="9"] .bar,
196
+ .ui.indicating.progress[data-percent^="9."] .bar {
188
197
  background-color: #D95C5C;
189
198
  }
190
199
  .ui.indicating.progress[data-percent="0"] .label,
200
+ .ui.indicating.progress[data-percent^="0."] .label,
191
201
  .ui.indicating.progress[data-percent="1"] .label,
202
+ .ui.indicating.progress[data-percent^="1."] .label,
192
203
  .ui.indicating.progress[data-percent="2"] .label,
204
+ .ui.indicating.progress[data-percent^="2."] .label,
193
205
  .ui.indicating.progress[data-percent="3"] .label,
206
+ .ui.indicating.progress[data-percent^="3."] .label,
194
207
  .ui.indicating.progress[data-percent="4"] .label,
208
+ .ui.indicating.progress[data-percent^="4."] .label,
195
209
  .ui.indicating.progress[data-percent="5"] .label,
210
+ .ui.indicating.progress[data-percent^="5."] .label,
196
211
  .ui.indicating.progress[data-percent="6"] .label,
212
+ .ui.indicating.progress[data-percent^="6."] .label,
197
213
  .ui.indicating.progress[data-percent="7"] .label,
214
+ .ui.indicating.progress[data-percent^="7."] .label,
198
215
  .ui.indicating.progress[data-percent="8"] .label,
199
- .ui.indicating.progress[data-percent="9"] .label {
216
+ .ui.indicating.progress[data-percent^="8."] .label,
217
+ .ui.indicating.progress[data-percent="9"] .label,
218
+ .ui.indicating.progress[data-percent^="9."] .label {
200
219
  color: rgba(0, 0, 0, 0.87);
201
220
  }
202
221
  .ui.inverted.indicating.progress[data-percent="0"] .label,
222
+ .ui.inverted.indicating.progress[data-percent^="0."] .label,
203
223
  .ui.inverted.indicating.progress[data-percent="1"] .label,
224
+ .ui.inverted.indicating.progress[data-percent^="1."] .label,
204
225
  .ui.inverted.indicating.progress[data-percent="2"] .label,
226
+ .ui.inverted.indicating.progress[data-percent^="2."] .label,
205
227
  .ui.inverted.indicating.progress[data-percent="3"] .label,
228
+ .ui.inverted.indicating.progress[data-percent^="3."] .label,
206
229
  .ui.inverted.indicating.progress[data-percent="4"] .label,
230
+ .ui.inverted.indicating.progress[data-percent^="4."] .label,
207
231
  .ui.inverted.indicating.progress[data-percent="5"] .label,
232
+ .ui.inverted.indicating.progress[data-percent^="5."] .label,
208
233
  .ui.inverted.indicating.progress[data-percent="6"] .label,
234
+ .ui.inverted.indicating.progress[data-percent^="6."] .label,
209
235
  .ui.inverted.indicating.progress[data-percent="7"] .label,
236
+ .ui.inverted.indicating.progress[data-percent^="7."] .label,
210
237
  .ui.inverted.indicating.progress[data-percent="8"] .label,
211
- .ui.inverted.indicating.progress[data-percent="9"] .label {
238
+ .ui.inverted.indicating.progress[data-percent^="8."] .label,
239
+ .ui.inverted.indicating.progress[data-percent="9"] .label,
240
+ .ui.inverted.indicating.progress[data-percent^="9."] .label {
212
241
  color: rgba(255, 255, 255, 0.9);
213
242
  }
214
243
 
@@ -371,6 +371,96 @@
371
371
  *******************************/
372
372
 
373
373
 
374
+ /*-------------------
375
+ Scrolling
376
+ --------------------*/
377
+
378
+ .ui.scrolling.search > .results,
379
+ .ui.search.long > .results,
380
+ .ui.search.short > .results {
381
+ overflow-x: hidden;
382
+ overflow-y: auto;
383
+ -webkit-backface-visibility: hidden;
384
+ backface-visibility: hidden;
385
+ -webkit-overflow-scrolling: touch;
386
+ }
387
+ @media only screen and (max-width: 767.98px) {
388
+ .ui.scrolling.search > .results {
389
+ max-height: 12.17714286em;
390
+ }
391
+ }
392
+ @media only screen and (min-width: 768px) {
393
+ .ui.scrolling.search > .results {
394
+ max-height: 18.26571429em;
395
+ }
396
+ }
397
+ @media only screen and (min-width: 992px) {
398
+ .ui.scrolling.search > .results {
399
+ max-height: 24.35428571em;
400
+ }
401
+ }
402
+ @media only screen and (min-width: 1920px) {
403
+ .ui.scrolling.search > .results {
404
+ max-height: 36.53142857em;
405
+ }
406
+ }
407
+ @media only screen and (max-width: 767.98px) {
408
+ .ui.search.short > .results {
409
+ max-height: 12.17714286em;
410
+ }
411
+ .ui.search[class*="very short"] > .results {
412
+ max-height: 9.13285714em;
413
+ }
414
+ .ui.search.long > .results {
415
+ max-height: 24.35428571em;
416
+ }
417
+ .ui.search[class*="very long"] > .results {
418
+ max-height: 36.53142857em;
419
+ }
420
+ }
421
+ @media only screen and (min-width: 768px) {
422
+ .ui.search.short > .results {
423
+ max-height: 18.26571429em;
424
+ }
425
+ .ui.search[class*="very short"] > .results {
426
+ max-height: 13.69928571em;
427
+ }
428
+ .ui.search.long > .results {
429
+ max-height: 36.53142857em;
430
+ }
431
+ .ui.search[class*="very long"] > .results {
432
+ max-height: 54.79714286em;
433
+ }
434
+ }
435
+ @media only screen and (min-width: 992px) {
436
+ .ui.search.short > .results {
437
+ max-height: 24.35428571em;
438
+ }
439
+ .ui.search[class*="very short"] > .results {
440
+ max-height: 18.26571429em;
441
+ }
442
+ .ui.search.long > .results {
443
+ max-height: 48.70857143em;
444
+ }
445
+ .ui.search[class*="very long"] > .results {
446
+ max-height: 73.06285714em;
447
+ }
448
+ }
449
+ @media only screen and (min-width: 1920px) {
450
+ .ui.search.short > .results {
451
+ max-height: 36.53142857em;
452
+ }
453
+ .ui.search[class*="very short"] > .results {
454
+ max-height: 27.39857143em;
455
+ }
456
+ .ui.search.long > .results {
457
+ max-height: 73.06285714em;
458
+ }
459
+ .ui.search[class*="very long"] > .results {
460
+ max-height: 109.59428571em;
461
+ }
462
+ }
463
+
374
464
  /*-------------------
375
465
  Left / Right
376
466
  --------------------*/
@@ -24,6 +24,7 @@
24
24
  transition: transform 0.6s ease-in-out, left 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out;
25
25
  transition: transform 0.6s ease-in-out, left 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
26
26
  }
27
+ .ui.shape .side,
27
28
  .ui.shape .sides {
28
29
  -webkit-transform-style: preserve-3d;
29
30
  transform-style: preserve-3d;