fomantic-ui-sass 2.7.8 → 2.8.1

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -183,8 +183,8 @@
183
183
  }
184
184
 
185
185
  /*--------------------
186
- Loading
187
- ---------------------*/
186
+ Loading
187
+ ---------------------*/
188
188
 
189
189
  .ui.loading.search .input > i.icon:before {
190
190
  position: absolute;
@@ -251,8 +251,8 @@
251
251
  }
252
252
 
253
253
  /*--------------------
254
- Disabled
255
- ----------------------*/
254
+ Disabled
255
+ ----------------------*/
256
256
 
257
257
 
258
258
  /* Disabled */
@@ -269,8 +269,8 @@
269
269
 
270
270
 
271
271
  /*--------------
272
- Selection
273
- ---------------*/
272
+ Selection
273
+ ---------------*/
274
274
 
275
275
  .ui.search.selection .prompt {
276
276
  border-radius: 0.28571429rem;
@@ -302,8 +302,8 @@
302
302
  }
303
303
 
304
304
  /*--------------
305
- Category
306
- ---------------*/
305
+ Category
306
+ ---------------*/
307
307
 
308
308
  .ui.category.search .results {
309
309
  width: 28em;
@@ -372,8 +372,8 @@
372
372
 
373
373
 
374
374
  /*-------------------
375
- Left / Right
376
- --------------------*/
375
+ Left / Right
376
+ --------------------*/
377
377
 
378
378
  .ui[class*="left aligned"].search > .results {
379
379
  right: auto;
@@ -396,15 +396,18 @@
396
396
  Sizes
397
397
  ---------------*/
398
398
 
399
+ .ui.search {
400
+ font-size: 1em;
401
+ }
399
402
  .ui.mini.search {
400
403
  font-size: 0.78571429em;
401
404
  }
405
+ .ui.tiny.search {
406
+ font-size: 0.85714286em;
407
+ }
402
408
  .ui.small.search {
403
409
  font-size: 0.92857143em;
404
410
  }
405
- .ui.search {
406
- font-size: 1em;
407
- }
408
411
  .ui.large.search {
409
412
  font-size: 1.14285714em;
410
413
  }
@@ -93,8 +93,8 @@
93
93
 
94
94
 
95
95
  /*--------------
96
- Loading
97
- ---------------*/
96
+ Loading
97
+ ---------------*/
98
98
 
99
99
  .ui.loading.shape {
100
100
  position: absolute;
@@ -336,8 +336,8 @@ body.pushable > .pusher {
336
336
 
337
337
 
338
338
  /*--------------
339
- Overlay
340
- ---------------*/
339
+ Overlay
340
+ ---------------*/
341
341
 
342
342
 
343
343
  /* Set-up */
@@ -398,8 +398,8 @@ body.pushable > .pusher {
398
398
  }
399
399
 
400
400
  /*--------------
401
- Push
402
- ---------------*/
401
+ Push
402
+ ---------------*/
403
403
 
404
404
 
405
405
  /* Initial */
@@ -436,8 +436,8 @@ body.pushable > .pusher {
436
436
  }
437
437
 
438
438
  /*--------------
439
- Uncover
440
- ---------------*/
439
+ Uncover
440
+ ---------------*/
441
441
 
442
442
 
443
443
  /* Initial */
@@ -458,8 +458,8 @@ body.pushable > .pusher {
458
458
  }
459
459
 
460
460
  /*--------------
461
- Slide Along
462
- ---------------*/
461
+ Slide Along
462
+ ---------------*/
463
463
 
464
464
 
465
465
  /* Initial */
@@ -500,8 +500,8 @@ body.pushable > .pusher {
500
500
  }
501
501
 
502
502
  /*--------------
503
- Slide Out
504
- ---------------*/
503
+ Slide Out
504
+ ---------------*/
505
505
 
506
506
 
507
507
  /* Initial */
@@ -542,8 +542,8 @@ body.pushable > .pusher {
542
542
  }
543
543
 
544
544
  /*--------------
545
- Scale Down
546
- ---------------*/
545
+ Scale Down
546
+ ---------------*/
547
547
 
548
548
 
549
549
  /* Initial */
@@ -554,8 +554,6 @@ body.pushable > .pusher {
554
554
  transition: transform 500ms ease, -webkit-transform 500ms ease;
555
555
  z-index: 102;
556
556
  }
557
-
558
- /* Sidebar - Initial */
559
557
  .ui.left.scale.down.sidebar {
560
558
  -webkit-transform: translate3d(-100%, 0, 0);
561
559
  transform: translate3d(-100%, 0, 0);
@@ -79,8 +79,8 @@
79
79
 
80
80
 
81
81
  /*--------------
82
- Disabled
83
- ---------------*/
82
+ Disabled
83
+ ---------------*/
84
84
 
85
85
  .ui.disabled.slider:not(.checkbox) {
86
86
  opacity: 0.5;
@@ -93,17 +93,20 @@
93
93
  }
94
94
 
95
95
  /*--------------
96
- Reversed
97
- ---------------*/
96
+ Reversed
97
+ ---------------*/
98
98
 
99
99
  .ui.reversed.slider .inner .track-fill {
100
100
  left: auto;
101
101
  right: 0;
102
102
  }
103
- .ui.reversed.slider .inner .thumb {
103
+ .ui.reversed.slider:not(.vertical) .inner .thumb {
104
104
  left: auto;
105
105
  right: 0;
106
106
  }
107
+ .ui.reversed.vertical.slider .inner .thumb {
108
+ left: 0.03em;
109
+ }
107
110
  .ui.labeled.reversed.slider > .labels .label {
108
111
  -webkit-transform: translate(-100%, -100%);
109
112
  transform: translate(-100%, -100%);
@@ -116,8 +119,8 @@
116
119
 
117
120
 
118
121
  /*--------------
119
- Vertical
120
- ---------------*/
122
+ Vertical
123
+ ---------------*/
121
124
 
122
125
  .ui.vertical.slider {
123
126
  height: 100%;
@@ -150,8 +153,8 @@
150
153
  }
151
154
 
152
155
  /*--------------
153
- Labeled
154
- ---------------*/
156
+ Labeled
157
+ ---------------*/
155
158
 
156
159
  .ui.labeled.slider > .labels {
157
160
  height: 1.5em;
@@ -234,8 +237,8 @@
234
237
  }
235
238
 
236
239
  /*--------------
237
- Inverted
238
- ---------------*/
240
+ Inverted
241
+ ---------------*/
239
242
 
240
243
  .ui.inverted.slider .inner .track-fill {
241
244
  background-color: #545454;
@@ -640,8 +643,8 @@
640
643
  }
641
644
 
642
645
  /*--------------
643
- Basic
644
- ---------------*/
646
+ Basic
647
+ ---------------*/
645
648
 
646
649
 
647
650
  /* Standard */
@@ -654,8 +657,8 @@
654
657
  }
655
658
 
656
659
  /*--------------
657
- Basic Inverted
658
- ---------------*/
660
+ Basic Inverted
661
+ ---------------*/
659
662
 
660
663
 
661
664
  /* Standard */
@@ -671,8 +674,6 @@
671
674
  Sizing
672
675
  ---------------*/
673
676
 
674
-
675
- /* Small */
676
677
  .ui.slider.small .inner .thumb {
677
678
  height: 1em;
678
679
  width: 1em;
@@ -709,8 +710,6 @@
709
710
  .ui.small.labeled.vertical.slider > .labels .halftick.label:after {
710
711
  width: 0.5em;
711
712
  }
712
-
713
- /* Large */
714
713
  .ui.slider.large .inner .thumb {
715
714
  height: 2em;
716
715
  width: 2em;
@@ -731,7 +730,7 @@
731
730
  height: 1em;
732
731
  }
733
732
 
734
- /* Large Vertical */
733
+ /* Small Vertical */
735
734
  .ui.slider.large.vertical .inner {
736
735
  width: 2em;
737
736
  }
@@ -747,8 +746,6 @@
747
746
  .ui.large.labeled.vertical.slider > .labels .halftick.label:after {
748
747
  width: 1em;
749
748
  }
750
-
751
- /* Big */
752
749
  .ui.slider.big .inner .thumb {
753
750
  height: 2.5em;
754
751
  width: 2.5em;
@@ -769,7 +766,7 @@
769
766
  height: 1.25em;
770
767
  }
771
768
 
772
- /* Big Vertical */
769
+ /* Small Vertical */
773
770
  .ui.slider.big.vertical .inner {
774
771
  width: 2.5em;
775
772
  }
@@ -33,8 +33,8 @@
33
33
  }
34
34
 
35
35
  /*--------------------
36
- Loading
37
- ---------------------*/
36
+ Loading
37
+ ---------------------*/
38
38
 
39
39
  .ui.tab.loading {
40
40
  position: relative;
@@ -17,286 +17,673 @@
17
17
  position: fixed;
18
18
  z-index: 9999;
19
19
  }
20
- .ui.top.right.toast-container {
20
+ .ui.toast-container.top.right {
21
21
  top: 0.85714286em;
22
22
  right: 0.85714286em;
23
23
  margin-left: 0.85714286em;
24
24
  }
25
- .ui.top.left.toast-container {
25
+ .ui.toast-container.top.left {
26
26
  top: 0.85714286em;
27
27
  left: 0.85714286em;
28
28
  margin-right: 0.85714286em;
29
29
  }
30
- .ui.top.center.toast-container {
30
+ .ui.toast-container.top.center {
31
31
  left: 50%;
32
32
  -webkit-transform: translate(-50%, 0);
33
33
  transform: translate(-50%, 0);
34
34
  top: 0.85714286em;
35
35
  }
36
- .ui.bottom.right.toast-container {
36
+ .ui.toast-container.bottom.right {
37
37
  bottom: 0.85714286em;
38
38
  right: 0.85714286em;
39
39
  margin-left: 0.85714286em;
40
40
  }
41
- .ui.bottom.left.toast-container {
41
+ .ui.toast-container.bottom.left {
42
42
  bottom: 0.85714286em;
43
43
  left: 0.85714286em;
44
44
  margin-right: 0.85714286em;
45
45
  }
46
- .ui.bottom.center.toast-container {
46
+ .ui.toast-container.bottom.center {
47
47
  left: 50%;
48
48
  -webkit-transform: translate(-50%, 0);
49
49
  transform: translate(-50%, 0);
50
50
  bottom: 0.85714286em;
51
51
  }
52
-
53
-
54
- /*******************************
55
- Toast
56
- *******************************/
57
-
58
- .toast {
59
- display: block;
52
+ .ui.toast-container .visible.toast-box,
53
+ .ui.toast-container .animating.toast-box,
54
+ .ui.toast-container .toast-box {
55
+ display: table !important;
56
+ }
57
+ .ui.toast-container .toast-box {
58
+ margin-bottom: 0.5em;
60
59
  border-radius: 0.28571429rem;
61
- padding: 0.78571429em 1em;
62
- margin: 0 0 6px;
63
- color: rgba(255, 255, 255, 0.9);
60
+ cursor: default;
61
+ }
62
+ .ui.toast-container .toast-box:hover {
63
+ opacity: 1;
64
64
  }
65
- .floating.toast,
66
- .hoverfloating.toast:hover {
65
+ .ui.toast-container .toast-box:not(.unclickable):hover {
66
+ cursor: pointer;
67
+ }
68
+ .ui.toast-container .toast-box.floating,
69
+ .ui.toast-container .toast-box.hoverfloating:hover {
67
70
  -webkit-box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
68
71
  box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
72
+ border: 1px solid rgba(34, 36, 38, 0.12);
69
73
  }
70
- .hoverfloating.message:hover {
71
- -webkit-box-shadow: 0 0 0 1px inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
72
- box-shadow: 0 0 0 1px inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
74
+ .ui.toast-container .toast-box.compact,
75
+ .ui.toast-container .toast-box > .compact {
76
+ width: 350px;
73
77
  }
74
- .center.toast-container .toast-box,
75
- .right.toast-container .toast-box {
76
- margin-left: auto;
78
+ .ui.toast-container .toast-box > .ui.toast,
79
+ .ui.toast-container .toast-box > .ui.message {
80
+ margin: 0 -1px -0.01em;
81
+ position: relative;
77
82
  }
78
- .center.toast-container .toast-box {
79
- margin-right: auto;
83
+ .ui.toast-container .toast-box > .attached.progress {
84
+ z-index: 1;
80
85
  }
81
- .visible.toast-box,
82
- .animating.toast-box,
83
- .toast-box {
84
- display: table !important;
86
+ .ui.toast-container .toast-box > .attached.progress.bottom {
87
+ margin: -0.2em -1px -0.01em;
88
+ }
89
+ .ui.toast-container .toast-box > .attached.progress.top {
90
+ margin: -0.01em -1px -0.2em;
91
+ }
92
+ .ui.toast-container .toast-box > .attached.progress .bar {
93
+ min-width: 0;
85
94
  }
86
- .toast-container .compact {
95
+ .ui.toast-container .toast-box > .attached.progress.info .bar.bar.bar {
96
+ background: #12a1bf;
97
+ }
98
+ .ui.toast-container .toast-box > .attached.progress.warning .bar.bar.bar {
99
+ background: #cf9b0d;
100
+ }
101
+ .ui.toast-container .toast-box > .attached.progress.success .bar.bar.bar {
102
+ background: #15792d;
103
+ }
104
+ .ui.toast-container .toast-box > .attached.progress .error .bar.bar.bar {
105
+ background: #9c1a1a;
106
+ }
107
+ .ui.toast-container .toast-box > .attached.progress.neutral .bar.bar.bar {
108
+ background: #d9d9d9;
109
+ }
110
+ .ui.toast-container .toast-box > .ui.message > .close.icon {
111
+ top: 0.3em;
112
+ right: 0.3em;
113
+ }
114
+ .ui.toast-container .toast-box > .ui.message > .actions:last-child {
115
+ margin-bottom: -1em;
116
+ }
117
+ .ui.toast-container .toast-box > .ui.message.icon {
118
+ -webkit-box-align: inherit;
119
+ -ms-flex-align: inherit;
120
+ align-items: inherit;
121
+ }
122
+ .ui.toast-container .toast-box > .ui.message.icon > :not(.icon):not(.actions) {
123
+ padding-left: 5rem;
124
+ }
125
+ .ui.toast-container .toast-box > .ui.message.icon > .icon:not(.close) {
126
+ display: inline-block;
127
+ position: absolute;
128
+ width: 4rem;
129
+ top: 50%;
130
+ -webkit-transform: translateY(-50%);
131
+ transform: translateY(-50%);
132
+ }
133
+ .ui.toast-container .toast-box > .ui.message.icon:not(.vertical).actions > .icon:not(.close) {
134
+ top: calc(50% - 1.2em);
135
+ -webkit-transform: none;
136
+ transform: none;
137
+ }
138
+ .ui.toast-container .toast-box > .ui.message.icon:not(.vertical).icon.icon.icon {
87
139
  display: block;
88
- width: 300px;
89
140
  }
90
- .toast-container .message,
91
- .toast:hover {
92
- opacity: 1;
141
+ .ui.toast-container .toast-box .ui.toast > .close.icon {
93
142
  cursor: pointer;
143
+ margin: 0;
144
+ opacity: 0.7;
145
+ -webkit-transition: opacity 0.1s ease;
146
+ transition: opacity 0.1s ease;
94
147
  }
95
- .icon.toast .content {
96
- padding-left: 3em;
148
+ .ui.toast-container .toast-box .ui.toast > .close.icon:hover {
149
+ opacity: 1;
150
+ }
151
+ .ui.toast-container .toast-box .ui.toast.vertical > .close.icon {
152
+ margin-top: -0.3em;
153
+ margin-right: -0.3em;
154
+ }
155
+ .ui.toast-container .toast-box .ui.toast:not(.vertical) > .close.icon {
156
+ position: absolute;
157
+ top: 0.3em;
158
+ }
159
+ .ui.toast-container .toast-box .ui.toast:not(.vertical) > .close.icon:not(.left) {
160
+ right: 0.3em;
161
+ }
162
+ .ui.toast-container .toast-box .ui.toast:not(.vertical) > .close.icon.left {
163
+ margin-left: -0.3em;
164
+ }
165
+ .ui.toast-container .toast-box .ui.card {
166
+ margin: 0;
167
+ }
168
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).bottom {
169
+ border-top-left-radius: 0;
170
+ border-top-right-radius: 0;
171
+ }
172
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).bottom.horizontal > .image > img {
173
+ border-top-left-radius: 0;
174
+ }
175
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).bottom.horizontal > .image:last-child > img {
176
+ border-top-right-radius: 0;
177
+ }
178
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).top {
179
+ border-bottom-left-radius: 0;
180
+ border-bottom-right-radius: 0;
181
+ }
182
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).top.horizontal > .image > img {
183
+ border-bottom-left-radius: 0;
184
+ }
185
+ .ui.toast-container .toast-box .ui.card.attached:not(.vertical).top.horizontal > .image:last-child > img {
186
+ border-bottom-right-radius: 0;
187
+ }
188
+ .ui.toast-container .toast-box .ui.card.horizontal.actions > .image > img {
189
+ border-bottom-left-radius: 0;
190
+ }
191
+ .ui.toast-container .toast-box .ui.card.horizontal.actions > .image:last-child > img {
192
+ border-bottom-right-radius: 0;
193
+ }
194
+ .ui.toast-container .toast-box .progressing {
195
+ -webkit-animation-iteration-count: 1;
196
+ animation-iteration-count: 1;
197
+ -webkit-animation-timing-function: linear;
198
+ animation-timing-function: linear;
199
+ }
200
+ .ui.toast-container .toast-box .progressing.up {
201
+ -webkit-animation-name: progressUp;
202
+ animation-name: progressUp;
203
+ }
204
+ .ui.toast-container .toast-box .progressing.down {
205
+ -webkit-animation-name: progressDown;
206
+ animation-name: progressDown;
207
+ }
208
+ .ui.toast-container .toast-box .progressing.wait {
209
+ -webkit-animation-name: progressWait;
210
+ animation-name: progressWait;
211
+ }
212
+ .ui.toast-container .toast-box:hover .pausable.progressing {
213
+ -webkit-animation-play-state: paused;
214
+ animation-play-state: paused;
215
+ }
216
+ .ui.toast-container .toast-box .ui.toast:not(.vertical) {
217
+ display: block;
218
+ }
219
+ .ui.toast-container .toast-box :not(.comment):not(.card) .actions {
220
+ margin: 0.5em -1em -1em -1em;
221
+ }
222
+ .ui.toast-container .toast-box :not(.comment) .actions {
223
+ padding: 0.5em 0.5em 0.75em 0.5em;
224
+ text-align: right;
225
+ }
226
+ .ui.toast-container .toast-box :not(.comment) .actions.attached:not(.vertical) {
227
+ margin-right: 1px;
228
+ }
229
+ .ui.toast-container .toast-box :not(.comment) .actions:not(.basic):not(.attached) {
230
+ background: rgba(255, 255, 255, 0.25);
231
+ border-top: 1px solid rgba(0, 0, 0, 0.2);
232
+ }
233
+ .ui.toast-container .toast-box :not(.comment) .actions.left {
234
+ text-align: left;
235
+ }
236
+ .ui.toast-container .toast-box .vertical.actions > .button,
237
+ .ui.toast-container .toast-box > .vertical > .vertical.vertical,
238
+ .ui.toast-container .toast-box > .vertical.vertical.vertical {
239
+ display: -webkit-box;
240
+ display: -ms-flexbox;
241
+ display: flex;
242
+ }
243
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions {
244
+ -webkit-box-orient: vertical;
245
+ -webkit-box-direction: normal;
246
+ -ms-flex-direction: column;
247
+ flex-direction: column;
248
+ }
249
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions > .button {
250
+ -webkit-box-pack: center;
251
+ -ms-flex-pack: center;
252
+ justify-content: center;
253
+ }
254
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions.attached > .button {
255
+ -webkit-box-align: center;
256
+ -ms-flex-align: center;
257
+ align-items: center;
258
+ }
259
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions:not(.attached) {
260
+ border-top: 0;
261
+ margin-top: -0.75em;
262
+ margin-bottom: -0.75em;
263
+ margin-left: 1em;
264
+ -ms-flex-pack: distribute;
265
+ justify-content: space-around;
266
+ }
267
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions:not(.attached):not(.basic) {
268
+ border-left: 1px solid rgba(0, 0, 0, 0.2);
97
269
  }
98
- .toast > .content > .header {
270
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions:not(.attached) > .button:not(:last-child) {
271
+ margin-bottom: 0.3em;
272
+ }
273
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions:not(.attached).top {
274
+ -webkit-box-pack: start;
275
+ -ms-flex-pack: start;
276
+ justify-content: flex-start;
277
+ }
278
+ .ui.toast-container .toast-box :not(.comment) .vertical.actions:not(.attached).bottom {
279
+ -webkit-box-pack: end;
280
+ -ms-flex-pack: end;
281
+ justify-content: flex-end;
282
+ }
283
+ .ui.vertical.attached:not(.left).card > .image > img {
284
+ border-top-right-radius: 0;
285
+ }
286
+ .ui.vertical.attached:not(.left).card.horizontal > .image:last-child > img {
287
+ border-top-right-radius: 0;
288
+ border-bottom-right-radius: 0;
289
+ }
290
+ .ui.vertical.attached:not(.left).card,
291
+ .ui.vertical.attached:not(.left).toast {
292
+ border-top-right-radius: 0;
293
+ border-bottom-right-radius: 0;
294
+ }
295
+ .ui.vertical.attached:not(.left).actions {
296
+ border-top-right-radius: 0.28571429rem;
297
+ border-bottom-right-radius: 0.28571429rem;
298
+ }
299
+ .ui.vertical.attached:not(.left).actions .button:first-child,
300
+ .ui.vertical.attached:not(.left).actions .button:last-child {
301
+ border-top-left-radius: 0;
302
+ border-bottom-left-radius: 0;
303
+ }
304
+ .ui.vertical.attached:not(.left).message {
305
+ border-top-right-radius: 0;
306
+ border-bottom-left-radius: 0.28571429rem;
307
+ }
308
+ .ui.vertical.attached.left.card > .image > img {
309
+ border-top-left-radius: 0;
310
+ }
311
+ .ui.vertical.attached.left.card.horizontal > .image > img {
312
+ border-top-left-radius: 0;
313
+ border-bottom-left-radius: 0;
314
+ }
315
+ .ui.vertical.attached.left.card,
316
+ .ui.vertical.attached.left.toast {
317
+ border-top-left-radius: 0;
318
+ border-bottom-left-radius: 0;
319
+ }
320
+ .ui.vertical.attached.left.actions {
321
+ border-top-left-radius: 0.28571429rem;
322
+ border-bottom-left-radius: 0.28571429rem;
323
+ }
324
+ .ui.vertical.attached.left.actions .button:first-child,
325
+ .ui.vertical.attached.left.actions .button:last-child {
326
+ border-top-right-radius: 0;
327
+ border-bottom-right-radius: 0;
328
+ }
329
+ .ui.vertical.attached.left.actions .button:not(:first-child):not(:last-child) {
330
+ margin-left: -1px;
331
+ }
332
+ .ui.vertical.attached.left.message.message.message {
333
+ border-top-right-radius: 0.28571429rem;
334
+ border-bottom-right-radius: 0.28571429rem;
335
+ }
336
+ .ui.attached:not(.vertical):not(.top).actions {
337
+ border-bottom-left-radius: 0.28571429rem;
338
+ border-bottom-right-radius: 0.28571429rem;
339
+ }
340
+ .ui.attached:not(.vertical):not(.top).actions .button:first-child {
341
+ border-bottom-left-radius: 0.28571429rem;
342
+ }
343
+ .ui.attached:not(.vertical):not(.top).actions .button:last-child {
344
+ border-bottom-right-radius: 0.28571429rem;
345
+ }
346
+ .ui.attached:not(.vertical).top.actions {
347
+ border-top-left-radius: 0.28571429rem;
348
+ border-top-right-radius: 0.28571429rem;
349
+ }
350
+ .ui.attached:not(.vertical).top.actions .button:first-child {
351
+ border-top-left-radius: 0.28571429rem;
352
+ }
353
+ .ui.attached:not(.vertical).top.actions .button:last-child {
354
+ border-top-right-radius: 0.28571429rem;
355
+ }
356
+
357
+
358
+ /*******************************
359
+ Toast
360
+ *******************************/
361
+
362
+ .ui.toast {
363
+ display: none;
364
+ border-radius: 0.28571429rem;
365
+ padding: 0.78571429em 1em;
366
+ margin: 0 -1px -0.01em;
367
+ color: rgba(0, 0, 0, 0.87);
368
+ background-color: #FFFFFF;
369
+ }
370
+ .ui.toast > .content > .header {
99
371
  font-weight: bold;
372
+ color: inherit;
373
+ margin: 0;
100
374
  }
101
- .info.toast {
375
+ .ui.toast.info {
102
376
  background-color: #31CCEC;
377
+ color: rgba(255, 255, 255, 0.9);
103
378
  }
104
- .warning.toast {
379
+ .ui.toast.warning {
105
380
  background-color: #F2C037;
381
+ color: rgba(255, 255, 255, 0.9);
106
382
  }
107
- .success.toast {
383
+ .ui.toast.success {
108
384
  background-color: #21BA45;
385
+ color: rgba(255, 255, 255, 0.9);
109
386
  }
110
- .error.toast {
387
+ .ui.toast.error {
111
388
  background-color: #DB2828;
389
+ color: rgba(255, 255, 255, 0.9);
390
+ }
391
+ .ui.toast.neutral {
392
+ background-color: #FFFFFF;
393
+ color: rgba(0, 0, 0, 0.87);
394
+ }
395
+ .ui.toast > .icon:not(.close) {
396
+ font-size: 1.5em;
397
+ }
398
+ .ui.toast:not(.vertical) > .icon:not(.close) {
399
+ position: absolute;
400
+ }
401
+ .ui.toast:not(.vertical) > .icon:not(.close) + .content {
402
+ padding-left: 3em;
403
+ }
404
+ .ui.toast:not(.vertical) > .close.icon + .content {
405
+ padding-left: 1.5em;
406
+ }
407
+ .ui.toast:not(.vertical) > .ui.image {
408
+ position: absolute;
409
+ }
410
+ .ui.toast:not(.vertical) > .ui.image.avatar + .content {
411
+ padding-left: 3em;
412
+ min-height: 2em;
413
+ }
414
+ .ui.toast:not(.vertical) > .ui.image.mini + .content {
415
+ padding-left: 3.4em;
416
+ min-height: 35px;
417
+ }
418
+ .ui.toast:not(.vertical) > .ui.image.tiny + .content {
419
+ padding-left: 7em;
420
+ min-height: 80px;
421
+ }
422
+ .ui.toast:not(.vertical) > .ui.image.small + .content {
423
+ padding-left: 12em;
424
+ min-height: 150px;
425
+ }
426
+ .ui.toast:not(.vertical) > .centered.image,
427
+ .ui.toast:not(.vertical) > .centered.icon {
428
+ -webkit-transform: translateY(-50%);
429
+ transform: translateY(-50%);
430
+ top: 50%;
431
+ }
432
+ .ui.toast:not(.vertical).actions > .centered.image {
433
+ top: calc(50% - 2em);
112
434
  }
113
- .toast-box .info.attached.progress .bar {
114
- background: #12a1bf !important;
435
+ .ui.toast:not(.vertical).actions > .centered.icon {
436
+ top: calc(50% - 1.2em);
115
437
  }
116
- .toast-box .warning.attached.progress .bar {
117
- background: #cf9b0d !important;
438
+ .ui.toast.vertical > .close.icon + .content {
439
+ padding-left: 1em;
118
440
  }
119
- .toast-box .success.attached.progress .bar {
120
- background: #15792d !important;
441
+ .ui.toast.vertical > .ui.image + .content,
442
+ .ui.toast.vertical > .icon:not(.close) + .content {
443
+ padding-left: 1em;
121
444
  }
122
- .toast-box .error.attached.progress .bar {
123
- background: #9c1a1a !important;
445
+ .ui.toast.vertical > .ui.image {
446
+ -ms-flex-item-align: start;
447
+ align-self: flex-start;
448
+ -ms-flex-negative: 0;
449
+ flex-shrink: 0;
450
+
451
+ /* IE11 fix */
452
+ }
453
+ .ui.toast.vertical > .centered.image,
454
+ .ui.toast.vertical > .centered.icon {
455
+ -ms-flex-item-align: center;
456
+ align-self: center;
457
+ }
458
+ .ui.toast.attached.bottom {
459
+ border-top-left-radius: 0;
460
+ border-top-right-radius: 0;
461
+ }
462
+ .ui.toast.attached.top {
463
+ border-bottom-left-radius: 0;
464
+ border-bottom-right-radius: 0;
465
+ }
466
+ .ui.hoverfloating.message:hover {
467
+ -webkit-box-shadow: 0 0 0 1px inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
468
+ box-shadow: 0 0 0 1px inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
469
+ }
470
+ .ui.center.toast-container .toast-box,
471
+ .ui.right.toast-container .toast-box {
472
+ margin-left: auto;
473
+ }
474
+ .ui.center.toast-container .toast-box {
475
+ margin-right: auto;
124
476
  }
125
477
 
126
478
  /*--------------
127
479
  Colors
128
480
  -------------- */
129
481
 
130
- .primary.toast {
482
+ .ui.primary.toast {
131
483
  background-color: #2185D0;
484
+ color: rgba(255, 255, 255, 0.9);
132
485
  }
133
- .inverted.primary.toast,
134
- .toast-box .inverted.primary.attached.progress .bar {
486
+ .ui.inverted.primary.toast,
487
+ .ui.toast-container .toast-box > .inverted.primary.attached.progress .bar {
135
488
  background-color: #54C8FF;
489
+ color: rgba(0, 0, 0, 0.87);
136
490
  }
137
- .secondary.toast {
491
+ .ui.secondary.toast {
138
492
  background-color: #1B1C1D;
493
+ color: rgba(255, 255, 255, 0.9);
139
494
  }
140
- .inverted.secondary.toast,
141
- .toast-box .inverted.secondary.attached.progress .bar {
495
+ .ui.inverted.secondary.toast,
496
+ .ui.toast-container .toast-box > .inverted.secondary.attached.progress .bar {
142
497
  background-color: #545454;
498
+ color: rgba(0, 0, 0, 0.87);
143
499
  }
144
- .red.toast {
500
+ .ui.red.toast {
145
501
  background-color: #DB2828;
502
+ color: rgba(255, 255, 255, 0.9);
146
503
  }
147
- .inverted.red.toast,
148
- .toast-box .inverted.red.attached.progress .bar {
504
+ .ui.inverted.red.toast,
505
+ .ui.toast-container .toast-box > .inverted.red.attached.progress .bar {
149
506
  background-color: #FF695E;
507
+ color: rgba(0, 0, 0, 0.87);
150
508
  }
151
- .orange.toast {
509
+ .ui.orange.toast {
152
510
  background-color: #F2711C;
511
+ color: rgba(255, 255, 255, 0.9);
153
512
  }
154
- .inverted.orange.toast,
155
- .toast-box .inverted.orange.attached.progress .bar {
513
+ .ui.inverted.orange.toast,
514
+ .ui.toast-container .toast-box > .inverted.orange.attached.progress .bar {
156
515
  background-color: #FF851B;
516
+ color: rgba(0, 0, 0, 0.87);
157
517
  }
158
- .yellow.toast {
518
+ .ui.yellow.toast {
159
519
  background-color: #FBBD08;
520
+ color: rgba(255, 255, 255, 0.9);
160
521
  }
161
- .inverted.yellow.toast,
162
- .toast-box .inverted.yellow.attached.progress .bar {
522
+ .ui.inverted.yellow.toast,
523
+ .ui.toast-container .toast-box > .inverted.yellow.attached.progress .bar {
163
524
  background-color: #FFE21F;
525
+ color: rgba(0, 0, 0, 0.87);
164
526
  }
165
- .olive.toast {
527
+ .ui.olive.toast {
166
528
  background-color: #B5CC18;
529
+ color: rgba(255, 255, 255, 0.9);
167
530
  }
168
- .inverted.olive.toast,
169
- .toast-box .inverted.olive.attached.progress .bar {
531
+ .ui.inverted.olive.toast,
532
+ .ui.toast-container .toast-box > .inverted.olive.attached.progress .bar {
170
533
  background-color: #D9E778;
534
+ color: rgba(0, 0, 0, 0.87);
171
535
  }
172
- .green.toast {
536
+ .ui.green.toast {
173
537
  background-color: #21BA45;
538
+ color: rgba(255, 255, 255, 0.9);
174
539
  }
175
- .inverted.green.toast,
176
- .toast-box .inverted.green.attached.progress .bar {
540
+ .ui.inverted.green.toast,
541
+ .ui.toast-container .toast-box > .inverted.green.attached.progress .bar {
177
542
  background-color: #2ECC40;
543
+ color: rgba(0, 0, 0, 0.87);
178
544
  }
179
- .teal.toast {
545
+ .ui.teal.toast {
180
546
  background-color: #00B5AD;
547
+ color: rgba(255, 255, 255, 0.9);
181
548
  }
182
- .inverted.teal.toast,
183
- .toast-box .inverted.teal.attached.progress .bar {
549
+ .ui.inverted.teal.toast,
550
+ .ui.toast-container .toast-box > .inverted.teal.attached.progress .bar {
184
551
  background-color: #6DFFFF;
552
+ color: rgba(0, 0, 0, 0.87);
185
553
  }
186
- .blue.toast {
554
+ .ui.blue.toast {
187
555
  background-color: #2185D0;
556
+ color: rgba(255, 255, 255, 0.9);
188
557
  }
189
- .inverted.blue.toast,
190
- .toast-box .inverted.blue.attached.progress .bar {
558
+ .ui.inverted.blue.toast,
559
+ .ui.toast-container .toast-box > .inverted.blue.attached.progress .bar {
191
560
  background-color: #54C8FF;
561
+ color: rgba(0, 0, 0, 0.87);
192
562
  }
193
- .violet.toast {
563
+ .ui.violet.toast {
194
564
  background-color: #6435C9;
565
+ color: rgba(255, 255, 255, 0.9);
195
566
  }
196
- .inverted.violet.toast,
197
- .toast-box .inverted.violet.attached.progress .bar {
567
+ .ui.inverted.violet.toast,
568
+ .ui.toast-container .toast-box > .inverted.violet.attached.progress .bar {
198
569
  background-color: #A291FB;
570
+ color: rgba(0, 0, 0, 0.87);
199
571
  }
200
- .purple.toast {
572
+ .ui.purple.toast {
201
573
  background-color: #A333C8;
574
+ color: rgba(255, 255, 255, 0.9);
202
575
  }
203
- .inverted.purple.toast,
204
- .toast-box .inverted.purple.attached.progress .bar {
576
+ .ui.inverted.purple.toast,
577
+ .ui.toast-container .toast-box > .inverted.purple.attached.progress .bar {
205
578
  background-color: #DC73FF;
579
+ color: rgba(0, 0, 0, 0.87);
206
580
  }
207
- .pink.toast {
581
+ .ui.pink.toast {
208
582
  background-color: #E03997;
583
+ color: rgba(255, 255, 255, 0.9);
209
584
  }
210
- .inverted.pink.toast,
211
- .toast-box .inverted.pink.attached.progress .bar {
585
+ .ui.inverted.pink.toast,
586
+ .ui.toast-container .toast-box > .inverted.pink.attached.progress .bar {
212
587
  background-color: #FF8EDF;
588
+ color: rgba(0, 0, 0, 0.87);
213
589
  }
214
- .brown.toast {
590
+ .ui.brown.toast {
215
591
  background-color: #A5673F;
592
+ color: rgba(255, 255, 255, 0.9);
216
593
  }
217
- .inverted.brown.toast,
218
- .toast-box .inverted.brown.attached.progress .bar {
594
+ .ui.inverted.brown.toast,
595
+ .ui.toast-container .toast-box > .inverted.brown.attached.progress .bar {
219
596
  background-color: #D67C1C;
597
+ color: rgba(0, 0, 0, 0.87);
220
598
  }
221
- .grey.toast {
599
+ .ui.grey.toast {
222
600
  background-color: #767676;
601
+ color: rgba(255, 255, 255, 0.9);
223
602
  }
224
- .inverted.grey.toast,
225
- .toast-box .inverted.grey.attached.progress .bar {
603
+ .ui.inverted.grey.toast,
604
+ .ui.toast-container .toast-box > .inverted.grey.attached.progress .bar {
226
605
  background-color: #DCDDDE;
606
+ color: rgba(0, 0, 0, 0.87);
227
607
  }
228
- .black.toast {
608
+ .ui.black.toast {
229
609
  background-color: #1B1C1D;
610
+ color: rgba(255, 255, 255, 0.9);
230
611
  }
231
- .inverted.black.toast,
232
- .toast-box .inverted.black.attached.progress .bar {
612
+ .ui.inverted.black.toast,
613
+ .ui.toast-container .toast-box > .inverted.black.attached.progress .bar {
233
614
  background-color: #545454;
234
- }
235
- .inverted.toast {
236
615
  color: rgba(0, 0, 0, 0.87);
237
616
  }
238
-
239
- /*--------------
240
- Icon
241
- ---------------*/
242
-
243
- .icon.toast > .icon:not(.close) {
244
- display: inline-block;
245
- vertical-align: middle;
246
- font-size: 1.5em;
247
- position: absolute;
617
+ .ui.inverted.toast {
618
+ color: rgba(255, 255, 255, 0.9);
619
+ background-color: #1B1C1D;
248
620
  }
249
- .icon.toast > .content {
250
- display: inline-block;
251
- vertical-align: middle;
621
+ @media only screen and (max-width: 420px) {
622
+ .ui.toast-container .toast-box.toast-box,
623
+ .ui.toast-container .toast-box > .compact,
624
+ .ui.toast-container .toast-box > .vertical > *,
625
+ .ui.toast-container .toast-box > * {
626
+ width: auto;
627
+ max-width: 100%;
628
+ }
629
+ .ui.toast-container .toast-box > *:not(.vertical) {
630
+ min-width: 280px;
631
+ }
632
+ .ui.toast-container .toast-box > .ui.card.horizontal,
633
+ .ui.toast-container .toast-box > .vertical > .ui.horizontal.card {
634
+ min-width: initial;
635
+ }
252
636
  }
253
637
 
254
638
  /*---------------
255
639
  Progress Bar
256
640
  ----------------*/
257
641
 
258
- .toast-box .attached.progress .bar {
259
- min-width: 0;
260
- }
261
- .toast-box .active.progress .bar:after {
262
- -webkit-animation: progress-active 2s ease infinite !important;
263
- animation: progress-active 2s ease infinite !important;
264
- }
265
- .toast-box {
266
- margin-bottom: 6px;
267
- }
268
- .toast-box .toast,
269
- .toast-box .message {
270
- margin-top: 0;
271
- margin-bottom: 0;
272
- position: relative;
273
- }
274
- .toast-box .attached.progress {
275
- z-index: 1;
276
- }
277
- .toast-box .bottom.attached.progress {
278
- margin: -3px 0 6px;
279
- }
280
- .toast-box .top.attached.progress {
281
- margin: 6px 0 -3px;
282
- }
283
- /* --------
284
- Close Icon
285
- -----------*/
286
- .toast-box .message > .close.icon {
287
- top: 0.3em;
288
- right: 0.3em;
289
- }
290
- .toast-box .toast > .close.icon {
291
- cursor: pointer;
292
- position: absolute;
293
- margin: 0;
294
- top: 0.3em;
295
- right: 0.3em;
296
- opacity: 0.7;
297
- -webkit-transition: opacity 0.1s ease;
298
- transition: opacity 0.1s ease;
299
- }
300
- .toast-box .toast > .close.icon:hover {
301
- opacity: 1;
642
+ @-webkit-keyframes progressDown {
643
+ 0% {
644
+ width: 100%;
645
+ }
646
+ 100% {
647
+ width: 0;
648
+ }
649
+ }
650
+ @keyframes progressDown {
651
+ 0% {
652
+ width: 100%;
653
+ }
654
+ 100% {
655
+ width: 0;
656
+ }
657
+ }
658
+ @-webkit-keyframes progressUp {
659
+ 0% {
660
+ width: 0;
661
+ }
662
+ 100% {
663
+ width: 100%;
664
+ }
665
+ }
666
+ @keyframes progressUp {
667
+ 0% {
668
+ width: 0;
669
+ }
670
+ 100% {
671
+ width: 100%;
672
+ }
673
+ }
674
+ @-webkit-keyframes progressWait {
675
+ 0% {
676
+ opacity: 1;
677
+ }
678
+ 100% {
679
+ opacity: 0;
680
+ }
681
+ }
682
+ @keyframes progressWait {
683
+ 0% {
684
+ opacity: 1;
685
+ }
686
+ 100% {
687
+ opacity: 0;
688
+ }
302
689
  }