semantic-ui-sass 2.3.1.2 → 2.4.4.0

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 (69) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/.travis.yml +4 -2
  4. data/CHANGELOG.md +124 -100
  5. data/README.md +87 -16
  6. data/app/assets/javascripts/semantic-ui/dimmer.js +27 -4
  7. data/app/assets/javascripts/semantic-ui/dropdown.js +41 -9
  8. data/app/assets/javascripts/semantic-ui/embed.js +11 -1
  9. data/app/assets/javascripts/semantic-ui/modal.js +85 -10
  10. data/app/assets/javascripts/semantic-ui/popup.js +14 -5
  11. data/app/assets/javascripts/semantic-ui/search.js +1 -1
  12. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +1 -1
  13. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +5 -5
  14. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +28 -28
  15. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +11 -11
  16. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +1 -1
  17. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +5 -5
  18. data/app/assets/stylesheets/semantic-ui/elements/_all.scss +2 -0
  19. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +153 -3
  20. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +30 -31
  21. data/app/assets/stylesheets/semantic-ui/elements/_container_variables.scss +48 -0
  22. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +3 -3
  23. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +2 -1
  24. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +1 -1
  25. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +36 -17
  26. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
  27. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +1 -1
  28. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +22 -22
  29. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +3 -1
  30. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +1 -1
  31. data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +239 -0
  32. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +1 -1
  33. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +1 -1
  34. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +65 -3
  35. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +6 -6
  36. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -1
  37. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +39 -37
  38. data/app/assets/stylesheets/semantic-ui/globals/_variables.scss +46 -2
  39. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -1
  40. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +1 -1
  41. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +27 -13
  42. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +38 -29
  43. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +1 -1
  44. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +60 -35
  45. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +1 -1
  46. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +2 -2
  47. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +1 -1
  48. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
  49. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +4 -2
  50. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -1
  51. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +1 -1
  52. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -1
  53. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -1
  54. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
  55. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +2 -2
  56. data/app/assets/stylesheets/semantic-ui/views/_card.scss +4 -4
  57. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +1 -1
  58. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +1 -1
  59. data/app/assets/stylesheets/semantic-ui/views/_item.scss +4 -4
  60. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +23 -26
  61. data/lib/semantic-ui-sass.rb +2 -2
  62. data/lib/semantic/ui/sass/version.rb +2 -2
  63. data/package.json +29 -0
  64. data/script.js +56 -0
  65. data/semantic-ui-sass.gemspec +2 -2
  66. data/spec/dummy/app/assets/config/manifest.js +3 -0
  67. data/tasks/converter.rb +29 -2
  68. data/yarn.lock +4 -0
  69. metadata +19 -13
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.3.1 - Image
2
+ * # Semantic UI 2.4.2 - Image
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.3.1 - Input
2
+ * # Semantic UI 2.4.2 - Input
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.3.1 - Label
2
+ * # Semantic UI 2.4.2 - Label
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -316,15 +316,15 @@ a.ui.label {
316
316
 
317
317
  /* Positioning */
318
318
  .ui.ribbon.label {
319
- left: calc( -1rem - 1.2em );
319
+ left: calc(-1rem - 1.2em);
320
320
  margin-right: -1.2em;
321
- padding-left: calc( 1rem + 1.2em );
321
+ padding-left: calc(1rem + 1.2em);
322
322
  padding-right: 1.2em;
323
323
  }
324
324
  .ui[class*="right ribbon"].label {
325
- left: calc(100% + 1rem + 1.2em );
325
+ left: calc(100% + 1rem + 1.2em);
326
326
  padding-left: 1.2em;
327
- padding-right: calc( 1rem + 1.2em );
327
+ padding-right: calc(1rem + 1.2em);
328
328
  }
329
329
 
330
330
  /* Right Ribbon */
@@ -351,20 +351,20 @@ a.ui.label {
351
351
  }
352
352
  .ui.card .image > .ui.ribbon.label,
353
353
  .ui.image > .ui.ribbon.label {
354
- left: calc( 0.05rem - 1.2em );
354
+ left: calc(--0.05rem - 1.2em);
355
355
  }
356
356
  .ui.card .image > .ui[class*="right ribbon"].label,
357
357
  .ui.image > .ui[class*="right ribbon"].label {
358
- left: calc(100% + -0.05rem + 1.2em );
358
+ left: calc(100% + -0.05rem + 1.2em);
359
359
  padding-left: 0.833em;
360
360
  }
361
361
 
362
362
  /* Inside Table */
363
363
  .ui.table td > .ui.ribbon.label {
364
- left: calc( -0.78571429em - 1.2em );
364
+ left: calc(-0.78571429em - 1.2em);
365
365
  }
366
366
  .ui.table td > .ui[class*="right ribbon"].label {
367
- left: calc(100% + 0.78571429em + 1.2em );
367
+ left: calc(100% + 0.78571429em + 1.2em);
368
368
  padding-left: 0.833em;
369
369
  }
370
370
 
@@ -536,7 +536,7 @@ a.ui.red.label:hover {
536
536
 
537
537
  /* Basic */
538
538
  .ui.basic.red.label {
539
- background-color: #FFFFFF !important;
539
+ background: none #FFFFFF !important;
540
540
  color: #DB2828 !important;
541
541
  border-color: #DB2828 !important;
542
542
  }
@@ -577,7 +577,7 @@ a.ui.orange.label:hover {
577
577
 
578
578
  /* Basic */
579
579
  .ui.basic.orange.label {
580
- background-color: #FFFFFF !important;
580
+ background: none #FFFFFF !important;
581
581
  color: #F2711C !important;
582
582
  border-color: #F2711C !important;
583
583
  }
@@ -618,7 +618,7 @@ a.ui.yellow.label:hover {
618
618
 
619
619
  /* Basic */
620
620
  .ui.basic.yellow.label {
621
- background-color: #FFFFFF !important;
621
+ background: none #FFFFFF !important;
622
622
  color: #FBBD08 !important;
623
623
  border-color: #FBBD08 !important;
624
624
  }
@@ -659,7 +659,7 @@ a.ui.olive.label:hover {
659
659
 
660
660
  /* Basic */
661
661
  .ui.basic.olive.label {
662
- background-color: #FFFFFF !important;
662
+ background: none #FFFFFF !important;
663
663
  color: #B5CC18 !important;
664
664
  border-color: #B5CC18 !important;
665
665
  }
@@ -700,7 +700,7 @@ a.ui.green.label:hover {
700
700
 
701
701
  /* Basic */
702
702
  .ui.basic.green.label {
703
- background-color: #FFFFFF !important;
703
+ background: none #FFFFFF !important;
704
704
  color: #21BA45 !important;
705
705
  border-color: #21BA45 !important;
706
706
  }
@@ -741,7 +741,7 @@ a.ui.teal.label:hover {
741
741
 
742
742
  /* Basic */
743
743
  .ui.basic.teal.label {
744
- background-color: #FFFFFF !important;
744
+ background: none #FFFFFF !important;
745
745
  color: #00B5AD !important;
746
746
  border-color: #00B5AD !important;
747
747
  }
@@ -782,7 +782,7 @@ a.ui.blue.label:hover {
782
782
 
783
783
  /* Basic */
784
784
  .ui.basic.blue.label {
785
- background-color: #FFFFFF !important;
785
+ background: none #FFFFFF !important;
786
786
  color: #2185D0 !important;
787
787
  border-color: #2185D0 !important;
788
788
  }
@@ -823,7 +823,7 @@ a.ui.violet.label:hover {
823
823
 
824
824
  /* Basic */
825
825
  .ui.basic.violet.label {
826
- background-color: #FFFFFF !important;
826
+ background: none #FFFFFF !important;
827
827
  color: #6435C9 !important;
828
828
  border-color: #6435C9 !important;
829
829
  }
@@ -864,7 +864,7 @@ a.ui.purple.label:hover {
864
864
 
865
865
  /* Basic */
866
866
  .ui.basic.purple.label {
867
- background-color: #FFFFFF !important;
867
+ background: none #FFFFFF !important;
868
868
  color: #A333C8 !important;
869
869
  border-color: #A333C8 !important;
870
870
  }
@@ -905,7 +905,7 @@ a.ui.pink.label:hover {
905
905
 
906
906
  /* Basic */
907
907
  .ui.basic.pink.label {
908
- background-color: #FFFFFF !important;
908
+ background: none #FFFFFF !important;
909
909
  color: #E03997 !important;
910
910
  border-color: #E03997 !important;
911
911
  }
@@ -946,7 +946,7 @@ a.ui.brown.label:hover {
946
946
 
947
947
  /* Basic */
948
948
  .ui.basic.brown.label {
949
- background-color: #FFFFFF !important;
949
+ background: none #FFFFFF !important;
950
950
  color: #A5673F !important;
951
951
  border-color: #A5673F !important;
952
952
  }
@@ -987,7 +987,7 @@ a.ui.grey.label:hover {
987
987
 
988
988
  /* Basic */
989
989
  .ui.basic.grey.label {
990
- background-color: #FFFFFF !important;
990
+ background: none #FFFFFF !important;
991
991
  color: #767676 !important;
992
992
  border-color: #767676 !important;
993
993
  }
@@ -1028,7 +1028,7 @@ a.ui.black.label:hover {
1028
1028
 
1029
1029
  /* Basic */
1030
1030
  .ui.basic.black.label {
1031
- background-color: #FFFFFF !important;
1031
+ background: none #FFFFFF !important;
1032
1032
  color: #1B1C1D !important;
1033
1033
  border-color: #1B1C1D !important;
1034
1034
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.3.1 - List
2
+ * # Semantic UI 2.4.2 - List
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -141,12 +141,14 @@ ol.ui.list ol li,
141
141
  .ui.list > .item > .image + .content,
142
142
  .ui.list > .item > .icon + .content {
143
143
  display: table-cell;
144
+ width: 100%;
144
145
  padding: 0em 0em 0em 0.5em;
145
146
  vertical-align: top;
146
147
  }
147
148
  .ui.list .list > .item > img.image + .content,
148
149
  .ui.list > .item > img.image + .content {
149
150
  display: inline-block;
151
+ width: auto;
150
152
  }
151
153
  .ui.list .list > .item > .content > .list,
152
154
  .ui.list > .item > .content > .list {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.3.1 - Loader
2
+ * # Semantic UI 2.4.2 - Loader
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -0,0 +1,239 @@
1
+ /*!
2
+ * # Semantic UI 2.4.2 - Loader
3
+ * http://github.com/semantic-org/semantic-ui/
4
+ *
5
+ *
6
+ * Released under the MIT license
7
+ * http://opensource.org/licenses/MIT
8
+ *
9
+ */
10
+
11
+ /*-------------------
12
+ Content
13
+ --------------------*/
14
+
15
+ .ui.placeholder {
16
+ position: static;
17
+ overflow: hidden;
18
+ -webkit-animation: placeholderShimmer 2s linear;
19
+ animation: placeholderShimmer 2s linear;
20
+ -webkit-animation-iteration-count: infinite;
21
+ animation-iteration-count: infinite;
22
+ background-color: #FFFFFF;
23
+ background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.08)), color-stop(15%, rgba(0, 0, 0, 0.15)), color-stop(30%, rgba(0, 0, 0, 0.08)));
24
+ background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.15) 15%, rgba(0, 0, 0, 0.08) 30%);
25
+ background-image: linear-gradient(to right, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.15) 15%, rgba(0, 0, 0, 0.08) 30%);
26
+ background-size: 1200px 100%;
27
+ max-width: 30rem;
28
+ }
29
+ @-webkit-keyframes placeholderShimmer {
30
+ 0% {
31
+ background-position: -1200px 0;
32
+ }
33
+ 100% {
34
+ background-position: 1200px 0;
35
+ }
36
+ }
37
+ @keyframes placeholderShimmer {
38
+ 0% {
39
+ background-position: -1200px 0;
40
+ }
41
+ 100% {
42
+ background-position: 1200px 0;
43
+ }
44
+ }
45
+ .ui.placeholder + .ui.placeholder {
46
+ margin-top: 2rem;
47
+ }
48
+ .ui.placeholder + .ui.placeholder {
49
+ -webkit-animation-delay: 0.15s;
50
+ animation-delay: 0.15s;
51
+ }
52
+ .ui.placeholder + .ui.placeholder + .ui.placeholder {
53
+ -webkit-animation-delay: 0.3s;
54
+ animation-delay: 0.3s;
55
+ }
56
+ .ui.placeholder + .ui.placeholder + .ui.placeholder + .ui.placeholder {
57
+ -webkit-animation-delay: 0.45s;
58
+ animation-delay: 0.45s;
59
+ }
60
+ .ui.placeholder + .ui.placeholder + .ui.placeholder + .ui.placeholder + .ui.placeholder {
61
+ -webkit-animation-delay: 0.6s;
62
+ animation-delay: 0.6s;
63
+ }
64
+ .ui.placeholder,
65
+ .ui.placeholder > :before,
66
+ .ui.placeholder .image.header:after,
67
+ .ui.placeholder .line,
68
+ .ui.placeholder .line:after {
69
+ background-color: #FFFFFF;
70
+ }
71
+
72
+ /* Image */
73
+ .ui.placeholder .image:not(.header):not(.ui) {
74
+ height: 100px;
75
+ }
76
+ .ui.placeholder .square.image:not(.header) {
77
+ height: 0px;
78
+ overflow: hidden;
79
+
80
+ /* 1/1 aspect ratio */
81
+ padding-top: 100%;
82
+ }
83
+ .ui.placeholder .rectangular.image:not(.header) {
84
+ height: 0px;
85
+ overflow: hidden;
86
+
87
+ /* 4/3 aspect ratio */
88
+ padding-top: 75%;
89
+ }
90
+
91
+ /* Lines */
92
+ .ui.placeholder .line {
93
+ position: relative;
94
+ height: 0.85714286em;
95
+ }
96
+ .ui.placeholder .line:before,
97
+ .ui.placeholder .line:after {
98
+ top: 100%;
99
+ position: absolute;
100
+ content: '';
101
+ background-color: inherit;
102
+ }
103
+ .ui.placeholder .line:before {
104
+ left: 0px;
105
+ }
106
+ .ui.placeholder .line:after {
107
+ right: 0px;
108
+ }
109
+
110
+ /* Any Lines */
111
+ .ui.placeholder .line {
112
+ margin-bottom: 0.5em;
113
+ }
114
+ .ui.placeholder .line:before,
115
+ .ui.placeholder .line:after {
116
+ height: 0.5em;
117
+ }
118
+ .ui.placeholder .line:not(:first-child) {
119
+ margin-top: 0.5em;
120
+ }
121
+
122
+ /* Header Image + 2 Lines */
123
+ .ui.placeholder .header {
124
+ position: relative;
125
+ overflow: hidden;
126
+ }
127
+
128
+ /* Line Outdent */
129
+ .ui.placeholder .line:nth-child(1):after {
130
+ width: 0%;
131
+ }
132
+ .ui.placeholder .line:nth-child(2):after {
133
+ width: 50%;
134
+ }
135
+ .ui.placeholder .line:nth-child(3):after {
136
+ width: 10%;
137
+ }
138
+ .ui.placeholder .line:nth-child(4):after {
139
+ width: 35%;
140
+ }
141
+ .ui.placeholder .line:nth-child(5):after {
142
+ width: 65%;
143
+ }
144
+
145
+ /* Header Line 1 & 2*/
146
+ .ui.placeholder .header .line {
147
+ margin-bottom: 0.64285714em;
148
+ }
149
+ .ui.placeholder .header .line:before,
150
+ .ui.placeholder .header .line:after {
151
+ height: 0.64285714em;
152
+ }
153
+ .ui.placeholder .header .line:not(:first-child) {
154
+ margin-top: 0.64285714em;
155
+ }
156
+ .ui.placeholder .header .line:after {
157
+ width: 20%;
158
+ }
159
+ .ui.placeholder .header .line:nth-child(2):after {
160
+ width: 60%;
161
+ }
162
+ /* Image Header */
163
+ .ui.placeholder .image.header .line {
164
+ margin-left: 3em;
165
+ }
166
+ .ui.placeholder .image.header .line:before {
167
+ width: 0.71428571rem;
168
+ }
169
+ .ui.placeholder .image.header:after {
170
+ display: block;
171
+ height: 0.85714286em;
172
+ content: '';
173
+ margin-left: 3em;
174
+ }
175
+
176
+ /* Spacing */
177
+ .ui.placeholder .image .line:first-child,
178
+ .ui.placeholder .paragraph .line:first-child,
179
+ .ui.placeholder .header .line:first-child {
180
+ height: 0.01px;
181
+ }
182
+ .ui.placeholder .image:not(:first-child):before,
183
+ .ui.placeholder .paragraph:not(:first-child):before,
184
+ .ui.placeholder .header:not(:first-child):before {
185
+ height: 1.42857143em;
186
+ content: '';
187
+ display: block;
188
+ }
189
+
190
+ /* Inverted Content Loader */
191
+ .ui.inverted.placeholder {
192
+ background-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0.08)), color-stop(15%, rgba(255, 255, 255, 0.14)), color-stop(30%, rgba(255, 255, 255, 0.08)));
193
+ background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.14) 15%, rgba(255, 255, 255, 0.08) 30%);
194
+ background-image: linear-gradient(to right, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.14) 15%, rgba(255, 255, 255, 0.08) 30%);
195
+ }
196
+ .ui.inverted.placeholder,
197
+ .ui.inverted.placeholder > :before,
198
+ .ui.inverted.placeholder .image.header:after,
199
+ .ui.inverted.placeholder .line,
200
+ .ui.inverted.placeholder .line:after {
201
+ background-color: #1B1C1D;
202
+ }
203
+
204
+
205
+ /*******************************
206
+ Variations
207
+ *******************************/
208
+
209
+
210
+ /*-------------------
211
+ Sizes
212
+ --------------------*/
213
+
214
+ .ui.placeholder .full.line.line.line:after {
215
+ width: 0%;
216
+ }
217
+ .ui.placeholder .very.long.line.line.line:after {
218
+ width: 10%;
219
+ }
220
+ .ui.placeholder .long.line.line.line:after {
221
+ width: 35%;
222
+ }
223
+ .ui.placeholder .medium.line.line.line:after {
224
+ width: 50%;
225
+ }
226
+ .ui.placeholder .short.line.line.line:after {
227
+ width: 65%;
228
+ }
229
+ .ui.placeholder .very.short.line.line.line:after {
230
+ width: 80%;
231
+ }
232
+
233
+ /*-------------------
234
+ Fluid
235
+ --------------------*/
236
+
237
+ .ui.fluid.placeholder {
238
+ max-width: none;
239
+ }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.3.1 - Rail
2
+ * # Semantic UI 2.4.2 - Rail
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *