fomantic-ui-sass 2.8.1.1 → 2.8.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) 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 +213 -85
  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 +419 -130
  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 +110 -47
  19. data/app/assets/javascripts/semantic-ui/checkbox.js +1 -1
  20. data/app/assets/javascripts/semantic-ui/dropdown.js +46 -46
  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/_grid.scss +8 -6
  31. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +28 -28
  32. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +36 -20
  33. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +9 -3
  34. data/app/assets/stylesheets/semantic-ui/elements/_emoji.scss +6130 -6133
  35. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +153 -18
  36. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +44 -44
  37. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +38 -2
  38. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +1 -1
  39. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +7 -0
  40. data/app/assets/stylesheets/semantic-ui/elements/_text.scss +3 -0
  41. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +1 -0
  42. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +12 -9
  43. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +15 -7
  44. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +10 -3
  45. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +34 -7
  46. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +32 -3
  47. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +90 -0
  48. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -0
  49. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +34 -34
  50. data/lib/fomantic/ui/sass/version.rb +2 -2
  51. metadata +3 -3
@@ -154,6 +154,21 @@ a.ui.label {
154
154
  margin-top: 0;
155
155
  margin-bottom: 2rem !important;
156
156
  }
157
+ .ui.segment:not(.basic) > .ui.top.attached.label {
158
+ margin-top: -1px;
159
+ }
160
+ .ui.segment:not(.basic) > .ui.bottom.attached.label {
161
+ margin-bottom: -1px;
162
+ }
163
+ .ui.segment:not(.basic) > .ui.attached.label:not(.right) {
164
+ margin-left: -1px;
165
+ }
166
+ .ui.segment:not(.basic) > .ui.right.attached.label {
167
+ margin-right: -1px;
168
+ }
169
+ .ui.segment:not(.basic) > .ui.attached.label:not(.left):not(.right) {
170
+ width: calc(100% + 2px);
171
+ }
157
172
 
158
173
 
159
174
  /*******************************
@@ -161,7 +176,7 @@ a.ui.label {
161
176
  *******************************/
162
177
 
163
178
  .ui.image.label {
164
- width: auto !important;
179
+ width: auto;
165
180
  margin-top: 0;
166
181
  margin-bottom: 0;
167
182
  max-width: 9999px;
@@ -173,6 +188,9 @@ a.ui.label {
173
188
  -webkit-box-shadow: none;
174
189
  box-shadow: none;
175
190
  }
191
+ .ui.image.label.attached:not(.basic) {
192
+ padding: 0.5833em 0.833em 0.5833em 0.5em;
193
+ }
176
194
  .ui.image.label img {
177
195
  display: inline-block;
178
196
  vertical-align: top;
@@ -186,6 +204,14 @@ a.ui.label {
186
204
  padding: 0.5833em 0.833em;
187
205
  border-radius: 0 0.28571429rem 0.28571429rem 0;
188
206
  }
207
+ .ui.bottom.attached.image.label:not(.right) > img,
208
+ .ui.top.right.attached.image.label > img {
209
+ border-top-left-radius: 0;
210
+ }
211
+ .ui.top.attached.image.label:not(.right) > img,
212
+ .ui.bottom.right.attached.image.label > img {
213
+ border-bottom-left-radius: 0;
214
+ }
189
215
 
190
216
  /*-------------------
191
217
  Tag
@@ -444,7 +470,7 @@ a.ui.label {
444
470
  }
445
471
  .ui[class*="top left attached"].label {
446
472
  width: auto;
447
- margin-top: 0 !important;
473
+ margin-top: 0;
448
474
  border-radius: 0.21428571rem 0 0.28571429rem 0;
449
475
  }
450
476
  .ui[class*="top right attached"].label {
@@ -567,6 +593,16 @@ a.ui.active.label:hover:before {
567
593
  color: rgba(0, 0, 0, 0.87);
568
594
  -webkit-box-shadow: none;
569
595
  box-shadow: none;
596
+ padding-top: calc(0.5833em - 1px);
597
+ padding-bottom: calc(0.5833em - 1px);
598
+ padding-right: calc(0.833em - 1px);
599
+ }
600
+ .ui.basic.labels:not(.tag):not(.image):not(.ribbon) .label,
601
+ .ui.basic.label:not(.tag):not(.image):not(.ribbon) {
602
+ padding-left: calc(0.833em - 1px);
603
+ }
604
+ .ui.basic.image.label {
605
+ padding-left: calc(0.5em - 1px);
570
606
  }
571
607
 
572
608
  /* Link */
@@ -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
  }
@@ -13,6 +13,9 @@
13
13
  Text
14
14
  *******************************/
15
15
 
16
+ span.ui.text {
17
+ line-height: 1;
18
+ }
16
19
  span.ui.primary.text {
17
20
  color: #2185D0;
18
21
  }
@@ -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 */
@@ -155,6 +155,9 @@
155
155
  -webkit-transform-origin: center center;
156
156
  transform-origin: center center;
157
157
  }
158
+ .ui.page.dimmer.modals {
159
+ -moz-perspective: none;
160
+ }
158
161
  body.animating.in.dimmable,
159
162
  body.dimmed.dimmable {
160
163
  overflow: hidden;
@@ -287,16 +290,16 @@ body.dimmable > .dimmer {
287
290
  transform: translateY(-50%);
288
291
  -webkit-transform: translateY(calc(-50% - 0.5px));
289
292
  }
290
- .ui.segment > .ui[class*="top dimmer"] {
291
- border-bottom-left-radius: 0 !important;
292
- border-bottom-right-radius: 0 !important;
293
+ .ui.segment > .ui.ui[class*="top dimmer"] {
294
+ border-bottom-left-radius: 0;
295
+ border-bottom-right-radius: 0;
293
296
  }
294
- .ui.segment > .ui[class*="center dimmer"] {
295
- border-radius: 0 !important;
297
+ .ui.segment > .ui.ui[class*="center dimmer"] {
298
+ border-radius: 0;
296
299
  }
297
- .ui.segment > .ui[class*="bottom dimmer"] {
298
- border-top-left-radius: 0 !important;
299
- border-top-right-radius: 0 !important;
300
+ .ui.segment > .ui.ui[class*="bottom dimmer"] {
301
+ border-top-left-radius: 0;
302
+ border-top-right-radius: 0;
300
303
  }
301
304
  .ui[class*="center dimmer"].transition[class*="fade up"].in {
302
305
  -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;
@@ -229,7 +230,7 @@
229
230
  top: 0;
230
231
  left: 100%;
231
232
  right: auto;
232
- margin: 0 0 0 -0.5em !important;
233
+ margin: 0 -0.5em !important;
233
234
  border-radius: 0.28571429rem !important;
234
235
  z-index: 21 !important;
235
236
  }
@@ -313,9 +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 {
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) {
319
320
  left: auto;
320
321
  right: 0;
321
322
  }
@@ -632,7 +633,7 @@ select.ui.dropdown {
632
633
  cursor: text;
633
634
  position: relative;
634
635
  left: 1px;
635
- z-index: 3;
636
+ z-index: auto;
636
637
  }
637
638
 
638
639
  /* Search Selection */
@@ -1378,14 +1379,21 @@ select.ui.dropdown {
1378
1379
  opacity: 1;
1379
1380
  }
1380
1381
  .ui.simple.dropdown > .menu > .item:active > .menu,
1381
- .ui.simple.dropdown:hover > .menu > .item:hover > .menu {
1382
+ .ui.simple.dropdown .menu .item:hover > .menu {
1382
1383
  overflow: visible;
1383
1384
  width: auto;
1384
1385
  height: auto;
1385
1386
  top: 0 !important;
1386
- left: 100% !important;
1387
+ left: 100%;
1387
1388
  opacity: 1;
1388
1389
  }
1390
+ .ui.simple.dropdown > .menu > .item:active > .left.menu,
1391
+ .ui.simple.dropdown .menu .item:hover > .left.menu,
1392
+ .right.menu .ui.simple.dropdown > .menu > .item:active > .menu:not(.right),
1393
+ .right.menu .ui.simple.dropdown > .menu .item:hover > .menu:not(.right) {
1394
+ left: auto;
1395
+ right: 100%;
1396
+ }
1389
1397
  .ui.simple.disabled.dropdown:hover .menu {
1390
1398
  display: none;
1391
1399
  height: 0;
@@ -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