semantic-ui-sass 0.8.1.0 → 0.8.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/app/assets/javascripts/semantic-ui/dimmer.js +4 -2
  5. data/app/assets/javascripts/semantic-ui/modal.js +11 -6
  6. data/app/assets/javascripts/semantic-ui/popup.js +0 -1
  7. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +6 -2
  8. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +56 -73
  9. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +89 -53
  10. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +221 -316
  11. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +43 -88
  12. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +83 -23
  13. data/app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss +831 -187
  14. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +189 -191
  15. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +4 -22
  16. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +43 -20
  17. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +1529 -472
  18. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +145 -152
  19. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +36 -63
  20. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +120 -175
  21. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +13 -11
  22. data/app/assets/stylesheets/semantic-ui/elements/_progress.scss +33 -115
  23. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +46 -101
  24. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +35 -65
  25. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +127 -170
  26. data/app/assets/stylesheets/semantic-ui/modules/_chatroom.scss +287 -269
  27. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +42 -129
  28. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +16 -49
  29. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +54 -107
  30. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +29 -22
  31. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +112 -147
  32. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +226 -230
  33. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +20 -28
  34. data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +35 -78
  35. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +27 -44
  36. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +10 -41
  37. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +31 -60
  38. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +3 -3
  39. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +219 -451
  40. data/app/assets/stylesheets/semantic-ui/modules/_video.scss +75 -79
  41. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +21 -23
  42. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +20 -8
  43. data/app/assets/stylesheets/semantic-ui/views/_item.scss +86 -43
  44. data/app/assets/stylesheets/semantic-ui/views/_list.scss +80 -53
  45. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +6 -1
  46. data/lib/semantic/ui/sass/version.rb +2 -2
  47. data/semantic-ui-sass.gemspec +1 -1
  48. data/spec/dummy/config/application.rb +1 -1
  49. data/spec/spec_helper.rb +0 -1
  50. data/tasks/converter.rb +7 -0
  51. metadata +4 -7
  52. data/spec/dummy/config/database.yml +0 -25
@@ -9,13 +9,12 @@
9
9
  *
10
10
  */
11
11
 
12
-
13
12
  /*******************************
14
13
  Loader
15
14
  *******************************/
16
15
 
17
-
18
16
  /* Standard Size */
17
+
19
18
  .ui.loader {
20
19
  display: none;
21
20
  position: absolute;
@@ -23,10 +22,7 @@
23
22
  left: 50%;
24
23
  margin: 0px;
25
24
  z-index: 1000;
26
-
27
25
  -webkit-transform: translateX(-50%) translateY(-50%);
28
- -moz-transform: translateX(-50%) translateY(-50%);
29
- -o-transform: translateX(-50%) translateY(-50%);
30
26
  -ms-transform: translateX(-50%) translateY(-50%);
31
27
  transform: translateX(-50%) translateY(-50%);
32
28
  }
@@ -55,16 +51,19 @@
55
51
  padding-top: 2em;
56
52
  font-size: 0.875em;
57
53
  }
54
+
58
55
  .ui.small.text.loader {
59
56
  min-width: 24px;
60
57
  padding-top: 2.5em;
61
58
  font-size: 0.875em;
62
59
  }
60
+
63
61
  .ui.text.loader {
64
62
  min-width: 32px;
65
63
  font-size: 1em;
66
64
  padding-top: 3em;
67
65
  }
66
+
68
67
  .ui.large.text.loader {
69
68
  min-width: 64px;
70
69
  padding-top: 5em;
@@ -85,7 +84,6 @@
85
84
  display: none;
86
85
  }
87
86
 
88
-
89
87
  /*******************************
90
88
  Variations
91
89
  *******************************/
@@ -98,29 +96,34 @@
98
96
  .ui.inverted.text.loader {
99
97
  color: rgba(255, 255, 255, 0.8);
100
98
  }
99
+
101
100
  .ui.inverted.dimmer .ui.text.loader {
102
101
  color: rgba(0, 0, 0, 0.8);
103
102
  }
104
103
 
105
104
  /* Tiny Size */
105
+
106
106
  .ui.dimmer .mini.ui.loader,
107
107
  .ui.inverted .mini.ui.loader {
108
108
  background-image: image-url("semantic-ui/loader-mini-inverted.gif");
109
109
  }
110
110
 
111
111
  /* Small Size */
112
+
112
113
  .ui.dimmer .small.ui.loader,
113
114
  .ui.inverted .small.ui.loader {
114
115
  background-image: image-url("semantic-ui/loader-small-inverted.gif");
115
116
  }
116
117
 
117
118
  /* Standard Size */
119
+
118
120
  .ui.dimmer .ui.loader,
119
- .ui.inverted.loader {
121
+ .ui.inverted.loader {
120
122
  background-image: image-url("semantic-ui/loader-medium-inverted.gif");
121
123
  }
122
124
 
123
125
  /* Large Size */
126
+
124
127
  .ui.dimmer .large.ui.loader,
125
128
  .ui.inverted .large.ui.loader {
126
129
  background-image: image-url("semantic-ui/loader-large-inverted.gif");
@@ -131,6 +134,7 @@
131
134
  --------------------*/
132
135
 
133
136
  /* Tiny Size */
137
+
134
138
  .ui.inverted.dimmer .ui.mini.loader,
135
139
  .ui.mini.loader {
136
140
  width: 16px;
@@ -139,6 +143,7 @@
139
143
  }
140
144
 
141
145
  /* Small Size */
146
+
142
147
  .ui.inverted.dimmer .ui.small.loader,
143
148
  .ui.small.loader {
144
149
  width: 24px;
@@ -155,6 +160,7 @@
155
160
  }
156
161
 
157
162
  /* Large Size */
163
+
158
164
  .ui.inverted.dimmer .ui.loader.large,
159
165
  .ui.loader.large {
160
166
  width: 64px;
@@ -162,7 +168,6 @@
162
168
  background-image: image-url("semantic-ui/loader-large.gif");
163
169
  }
164
170
 
165
-
166
171
  /*-------------------
167
172
  Inline
168
173
  --------------------*/
@@ -171,10 +176,7 @@
171
176
  position: static;
172
177
  vertical-align: middle;
173
178
  margin: 0em;
174
-
175
179
  -webkit-transform: none;
176
- -moz-transform: none;
177
- -o-transform: none;
178
180
  -ms-transform: none;
179
181
  transform: none;
180
182
  }
@@ -9,24 +9,17 @@
9
9
  *
10
10
  */
11
11
 
12
-
13
12
  /*******************************
14
13
  Progress Bar
15
14
  *******************************/
16
15
 
17
16
  .ui.progress {
18
17
  border: 1px solid rgba(0, 0, 0, 0.1);
19
-
20
18
  width: 100%;
21
19
  height: 35px;
22
-
23
20
  background-color: #FAFAFA;
24
21
  padding: 5px;
25
-
26
- -webkit-border-radius: 0.3125em;
27
- -moz-border-radius: 0.3125em;
28
22
  border-radius: 0.3125em;
29
-
30
23
  -webkit-box-sizing: border-box;
31
24
  -moz-box-sizing: border-box;
32
25
  -ms-box-sizing: border-box;
@@ -36,41 +29,18 @@
36
29
  .ui.progress .bar {
37
30
  display: inline-block;
38
31
  height: 100%;
39
-
40
32
  background-color: #CCCCCC;
41
-
42
- -moz-border-radius: 3px;
43
- -webkit-border-radius: 3px;
44
33
  border-radius: 3px;
45
-
46
- -webkit-transition:
47
- width 1s ease-in-out,
48
- background-color 1s ease-out
49
- ;
50
- -moz-transition:
51
- width 1s ease-in-out,
52
- background-color 1s ease-out
53
- ;
54
- -ms-transition:
55
- width 1s ease-in-out,
56
- background-color 1s ease-out
57
- ;
58
- -o-transition:
59
- width 1s ease-in-out,
60
- background-color 1s ease-out
61
- ;
62
- transition:
63
- width 1s ease-in-out,
64
- background-color 1s ease-out
65
- ;
34
+ -webkit-transition: width 1s ease-in-out,
35
+ background-color 1s ease-out;
36
+ transition: width 1s ease-in-out,
37
+ background-color 1s ease-out;
66
38
  }
67
39
 
68
-
69
40
  /*******************************
70
41
  States
71
42
  *******************************/
72
43
 
73
-
74
44
  /*--------------
75
45
  Successful
76
46
  ---------------*/
@@ -78,10 +48,10 @@
78
48
  .ui.successful.progress .bar {
79
49
  background-color: #73E064 !important;
80
50
  }
51
+
81
52
  .ui.successful.progress .bar,
82
53
  .ui.successful.progress .bar::after {
83
54
  -webkit-animation: none !important;
84
- -moz-animation: none !important;
85
55
  animation: none !important;
86
56
  }
87
57
 
@@ -92,10 +62,10 @@
92
62
  .ui.failed.progress .bar {
93
63
  background-color: #DF9BA4 !important;
94
64
  }
65
+
95
66
  .ui.failed.progress .bar,
96
67
  .ui.failed.progress .bar::after {
97
68
  -webkit-animation: none !important;
98
- -moz-animation: none !important;
99
69
  animation: none !important;
100
70
  }
101
71
 
@@ -106,23 +76,18 @@
106
76
  .ui.active.progress .bar {
107
77
  position: relative;
108
78
  }
79
+
109
80
  .ui.active.progress .bar::after {
110
81
  content: '';
111
82
  opacity: 0;
112
-
113
83
  position: absolute;
114
84
  top: 0px;
115
85
  left: 0px;
116
86
  right: 0px;
117
87
  bottom: 0px;
118
88
  background: #FFFFFF;
119
-
120
- -moz-border-radius: 3px;
121
- -webkit-border-radius: 3px;
122
89
  border-radius: 3px;
123
-
124
90
  -webkit-animation: progress-active 2s ease-out infinite;
125
- -moz-animation: progress-active 2s ease-out infinite;
126
91
  animation: progress-active 2s ease-out infinite;
127
92
  }
128
93
 
@@ -131,35 +96,27 @@
131
96
  opacity: 0;
132
97
  width: 0;
133
98
  }
99
+
134
100
  50% {
135
101
  opacity: 0.3;
136
102
  }
103
+
137
104
  100% {
138
105
  opacity: 0;
139
106
  width: 95%;
140
107
  }
141
108
  }
142
- @-moz-keyframes progress-active {
143
- 0% {
144
- opacity: 0;
145
- width: 0;
146
- }
147
- 50% {
148
- opacity: 0.3;
149
- }
150
- 100% {
151
- opacity: 0;
152
- width: 100%;
153
- }
154
- }
109
+
155
110
  @keyframes progress-active {
156
111
  0% {
157
112
  opacity: 0;
158
113
  width: 0;
159
114
  }
115
+
160
116
  50% {
161
117
  opacity: 0.3;
162
118
  }
119
+
163
120
  100% {
164
121
  opacity: 0;
165
122
  width: 100%;
@@ -173,60 +130,53 @@
173
130
  .ui.disabled.progress {
174
131
  opacity: 0.35;
175
132
  }
133
+
176
134
  .ui.disabled.progress .bar,
177
135
  .ui.disabled.progress .bar::after {
178
136
  -webkit-animation: none !important;
179
- -moz-animation: none !important;
180
137
  animation: none !important;
181
138
  }
182
139
 
183
-
184
-
185
140
  /*******************************
186
141
  Variations
187
142
  *******************************/
188
143
 
189
-
190
144
  /*--------------
191
145
  Attached
192
146
  ---------------*/
193
147
 
194
148
  /* bottom attached */
149
+
195
150
  .ui.progress.attached {
196
151
  position: relative;
197
152
  border: none;
198
153
  }
154
+
199
155
  .ui.progress.attached,
200
156
  .ui.progress.attached .bar {
201
157
  display: block;
202
158
  height: 3px;
203
159
  padding: 0px;
204
160
  overflow: hidden;
205
- -webkit-border-radius: 0em 0em 0.3125em 0.3125em;
206
- -moz-border-radius: 0em 0em 0.3125em 0.3125em;
207
161
  border-radius: 0em 0em 0.3125em 0.3125em;
208
162
  }
163
+
209
164
  .ui.progress.attached .bar {
210
- -webkit-border-radius: 0em;
211
- -moz-border-radius: 0em;
212
165
  border-radius: 0em;
213
166
  }
214
167
 
215
168
  /* top attached */
169
+
216
170
  .ui.progress.top.attached,
217
171
  .ui.progress.top.attached .bar {
218
172
  top: -2px;
219
- -webkit-border-radius: 0.3125em 0.3125em 0em 0em;
220
- -moz-border-radius: 0.3125em 0.3125em 0em 0em;
221
173
  border-radius: 0.3125em 0.3125em 0em 0em;
222
174
  }
175
+
223
176
  .ui.progress.top.attached .bar {
224
- -webkit-border-radius: 0em;
225
- -moz-border-radius: 0em;
226
177
  border-radius: 0em;
227
178
  }
228
179
 
229
-
230
180
  /*--------------
231
181
  Colors
232
182
  ---------------*/
@@ -234,86 +184,60 @@
234
184
  .ui.blue.progress .bar {
235
185
  background-color: #6ECFF5;
236
186
  }
187
+
237
188
  .ui.black.progress .bar {
238
189
  background-color: #5C6166;
239
190
  }
191
+
240
192
  .ui.green.progress .bar {
241
193
  background-color: #A1CF64;
242
194
  }
195
+
243
196
  .ui.red.progress .bar {
244
197
  background-color: #EF4D6D;
245
198
  }
199
+
246
200
  .ui.purple.progress .bar {
247
201
  background-color: #564F8A;
248
202
  }
203
+
249
204
  .ui.teal.progress .bar {
250
205
  background-color: #00B5AD;
251
206
  }
252
207
 
253
-
254
208
  /*--------------
255
209
  Striped
256
210
  ---------------*/
257
211
 
258
212
  .ui.progress.striped .bar {
259
213
  -webkit-background-size: 30px 30px;
260
- -moz-background-size: 30px 30px;
261
214
  background-size: 30px 30px;
262
- background-image:
263
- -webkit-gradient(linear, left top, right bottom,
215
+ background-image: -webkit-gradient(linear, left top, right bottom,
264
216
  color-stop(.25, rgba(255, 255, 255, .15)), color-stop(.25, transparent),
265
217
  color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .15)),
266
218
  color-stop(.75, rgba(255, 255, 255, .15)), color-stop(.75, transparent),
267
219
  to(transparent)
268
- )
269
- ;
270
- background-image:
271
- -webkit-linear-gradient(
220
+ );
221
+ background-image: -webkit-linear-gradient(
272
222
  135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
273
223
  transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
274
224
  transparent 75%, transparent
275
- )
276
- ;
277
- background-image:
278
- -moz-linear-gradient(
225
+ );
226
+ background-image: linear-gradient(
279
227
  135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
280
228
  transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
281
229
  transparent 75%, transparent
282
- )
283
- ;
284
- background-image:
285
- -ms-linear-gradient(
286
- 135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
287
- transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
288
- transparent 75%, transparent
289
- )
290
- ;
291
- background-image:
292
- -o-linear-gradient(
293
- 135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
294
- transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
295
- transparent 75%, transparent
296
- )
297
- ;
298
- background-image:
299
- linear-gradient(
300
- 135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
301
- transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
302
- transparent 75%, transparent
303
- )
304
- ;
230
+ );
305
231
  }
306
232
 
307
233
  .ui.progress.active.striped .bar:after {
308
234
  -webkit-animation: none;
309
- -moz-animation: none;
310
235
  -ms-animation: none;
311
- -o-animation: none;
312
236
  animation: none;
313
237
  }
238
+
314
239
  .ui.progress.active.striped .bar {
315
240
  -webkit-animation: progress-striped 3s linear infinite;
316
- -moz-animation: progress-striped 3s linear infinite;
317
241
  animation: progress-striped 3s linear infinite;
318
242
  }
319
243
 
@@ -321,28 +245,22 @@
321
245
  0% {
322
246
  background-position: 0px 0;
323
247
  }
248
+
324
249
  100% {
325
250
  background-position: 60px 0;
326
251
  }
327
252
  }
328
- @-moz-keyframes progress-striped {
329
- 0% {
330
- background-position: 0px 0;
331
- }
332
- 100% {
333
- background-position: 60px 0;
334
- }
335
- }
253
+
336
254
  @keyframes progress-striped {
337
255
  0% {
338
256
  background-position: 0px 0;
339
257
  }
258
+
340
259
  100% {
341
260
  background-position: 60px 0;
342
261
  }
343
262
  }
344
263
 
345
-
346
264
  /*--------------
347
265
  Sizes
348
266
  ---------------*/