semantic-ui-sass 2.3.1.2 → 2.4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/app/assets/javascripts/semantic-ui/dimmer.js +27 -4
  4. data/app/assets/javascripts/semantic-ui/dropdown.js +40 -8
  5. data/app/assets/javascripts/semantic-ui/modal.js +85 -10
  6. data/app/assets/javascripts/semantic-ui/popup.js +14 -5
  7. data/app/assets/javascripts/semantic-ui/search.js +1 -1
  8. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +1 -1
  9. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +3 -3
  10. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +1 -1
  11. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +2 -2
  12. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +1 -1
  13. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +1 -1
  14. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +151 -1
  15. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +1 -1
  16. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +1 -1
  17. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +2 -1
  18. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +1 -1
  19. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +36 -17
  20. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
  21. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +1 -1
  22. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +14 -14
  23. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +3 -1
  24. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +1 -1
  25. data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +239 -0
  26. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +1 -1
  27. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +1 -1
  28. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +63 -1
  29. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +1 -1
  30. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -1
  31. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +1 -1
  32. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -1
  33. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +1 -1
  34. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +13 -1
  35. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +25 -16
  36. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +1 -1
  37. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +31 -2
  38. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +1 -1
  39. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +1 -1
  40. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +1 -1
  41. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
  42. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +3 -1
  43. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -1
  44. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +1 -1
  45. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -1
  46. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -1
  47. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
  48. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +1 -1
  49. data/app/assets/stylesheets/semantic-ui/views/_card.scss +1 -1
  50. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +1 -1
  51. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +1 -1
  52. data/app/assets/stylesheets/semantic-ui/views/_item.scss +1 -1
  53. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +23 -26
  54. data/lib/semantic/ui/sass/version.rb +2 -2
  55. data/tasks/converter.rb +12 -1
  56. metadata +3 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.3.1 - Image
2
+ * # Semantic UI 2.4.0 - 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.0 - 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.0 - Label
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -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.0 - 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.0 - Loader
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -0,0 +1,239 @@
1
+ /*!
2
+ * # Semantic UI 2.4.0 - 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.0 - Rail
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 - Reveal
2
+ * # Semantic UI 2.4.0 - Reveal
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 - Segment
2
+ * # Semantic UI 2.4.0 - Segment
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -103,6 +103,68 @@
103
103
  *******************************/
104
104
 
105
105
 
106
+ /*-------------------
107
+ Placeholder
108
+ --------------------*/
109
+
110
+ .ui.placeholder.segment {
111
+ display: -webkit-box;
112
+ display: -ms-flexbox;
113
+ display: flex;
114
+ -webkit-box-orient: vertical;
115
+ -webkit-box-direction: normal;
116
+ -ms-flex-direction: column;
117
+ flex-direction: column;
118
+ -webkit-box-pack: center;
119
+ -ms-flex-pack: center;
120
+ justify-content: center;
121
+ -webkit-box-align: stretch;
122
+ -ms-flex-align: stretch;
123
+ align-items: stretch;
124
+ max-width: initial;
125
+ -webkit-animation: none;
126
+ animation: none;
127
+ overflow: visible;
128
+ padding: 1em 1em;
129
+ min-height: 18rem;
130
+ background: #F9FAFB;
131
+ border-color: rgba(34, 36, 38, 0.15);
132
+ -webkit-box-shadow: 0px 2px 25px 0 rgba(34, 36, 38, 0.05) inset;
133
+ box-shadow: 0px 2px 25px 0 rgba(34, 36, 38, 0.05) inset;
134
+ }
135
+ .ui.placeholder.segment .button,
136
+ .ui.placeholder.segment textarea {
137
+ display: block;
138
+ }
139
+ .ui.placeholder.segment .field,
140
+ .ui.placeholder.segment textarea,
141
+ .ui.placeholder.segment > .ui.input,
142
+ .ui.placeholder.segment .button {
143
+ max-width: 15rem;
144
+ margin-left: auto;
145
+ margin-right: auto;
146
+ }
147
+ .ui.placeholder.segment .column .button,
148
+ .ui.placeholder.segment .column .field,
149
+ .ui.placeholder.segment .column textarea,
150
+ .ui.placeholder.segment .column > .ui.input {
151
+ max-width: 15rem;
152
+ margin-left: auto;
153
+ margin-right: auto;
154
+ }
155
+ .ui.placeholder.segment > .inline {
156
+ -ms-flex-item-align: center;
157
+ align-self: center;
158
+ }
159
+ .ui.placeholder.segment > .inline > .button {
160
+ display: inline-block;
161
+ width: auto;
162
+ margin: 0px 0.35714286rem 0px 0px;
163
+ }
164
+ .ui.placeholder.segment > .inline > .button:last-child {
165
+ margin-right: 0px;
166
+ }
167
+
106
168
  /*-------------------
107
169
  Piled
108
170
  --------------------*/