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
@@ -16,36 +16,16 @@
16
16
  .ui.dropdown {
17
17
  position: relative;
18
18
  display: inline-block;
19
-
20
19
  line-height: 1;
21
-
22
- -webkit-transition:
23
- border-radius 0.1s ease,
24
- width 0.2s ease
25
- ;
26
- -moz-transition:
27
- border-radius 0.1s ease,
28
- width 0.2s ease
29
- ;
30
- -o-transition:
31
- border-radius 0.1s ease,
32
- width 0.2s ease
33
- ;
34
- -ms-transition:
35
- border-radius 0.1s ease,
36
- width 0.2s ease
37
- ;
38
- transition:
39
- border-radius 0.1s ease,
40
- width 0.2s ease
41
- ;
42
-
20
+ -webkit-transition: border-radius 0.1s ease,
21
+ width 0.2s ease;
22
+ transition: border-radius 0.1s ease,
23
+ width 0.2s ease;
43
24
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
44
25
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
45
26
  tap-highlight-color: rgba(0, 0, 0, 0);
46
27
  }
47
28
 
48
-
49
29
  /*******************************
50
30
  Content
51
31
  *******************************/
@@ -58,27 +38,16 @@
58
38
  position: absolute;
59
39
  display: none;
60
40
  top: 100%;
61
-
62
41
  margin: 0em;
63
42
  background-color: #FFFFFF;
64
43
  min-width: 100%;
65
-
66
44
  white-space: nowrap;
67
45
  font-size: 0.875em;
68
46
  text-shadow: none;
69
-
70
47
  -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
71
- -moz-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
72
48
  box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
73
-
74
- -moz-border-radius: 0px 0px 0.325em 0.325em;
75
- -webkit-border-radius: 0px 0px 0.325em 0.325em;
76
49
  border-radius: 0px 0px 0.325em 0.325em;
77
-
78
50
  -webkit-transition: opacity 0.2s ease;
79
- -moz-transition: opacity 0.2s ease;
80
- -o-transition: opacity 0.2s ease;
81
- -ms-transition: opacity 0.2s ease;
82
51
  transition: opacity 0.2s ease;
83
52
  z-index: 11;
84
53
  }
@@ -95,16 +64,17 @@
95
64
  .ui.dropdown > .dropdown.icon:before {
96
65
  content: "\f0d7";
97
66
  }
67
+
98
68
  .ui.dropdown .menu .item .dropdown.icon {
99
69
  width: auto;
100
70
  float: right;
101
71
  margin: 0em 0em 0em 0.5em;
102
72
  }
73
+
103
74
  .ui.dropdown .menu .item .dropdown.icon:before {
104
75
  content: "\f0da";
105
76
  }
106
77
 
107
-
108
78
  /*--------------
109
79
  Text
110
80
  ---------------*/
@@ -112,20 +82,16 @@
112
82
  .ui.dropdown > .text {
113
83
  cursor: pointer;
114
84
  display: inline-block;
115
-
116
85
  -webkit-transition: color 0.2s ease;
117
- -moz-transition: color 0.2s ease;
118
- -o-transition: color 0.2s ease;
119
- -ms-transition: color 0.2s ease;
120
86
  transition: color 0.2s ease;
121
87
  }
122
88
 
123
89
  /* Flyout Direction */
90
+
124
91
  .ui.dropdown .menu {
125
92
  left: 0px;
126
93
  }
127
94
 
128
-
129
95
  /*--------------
130
96
  Sub Menu
131
97
  ---------------*/
@@ -136,6 +102,7 @@
136
102
  margin: 0em !important;
137
103
  border-radius: 0 0.325em 0.325em 0em !important;
138
104
  }
105
+
139
106
  .ui.dropdown .menu .menu:after {
140
107
  display: none;
141
108
  }
@@ -145,22 +112,21 @@
145
112
  border: none;
146
113
  border-top: 1px solid rgba(0, 0, 0, 0.05);
147
114
  height: auto;
148
-
149
115
  font-size: 0.875em;
150
116
  display: block;
151
117
  color: rgba(0, 0, 0, 0.75);
152
-
153
118
  padding: 0.85em 1em !important;
154
119
  font-size: 0.875rem;
155
120
  text-transform: none;
156
121
  font-weight: normal;
157
122
  text-align: left;
158
-
159
123
  -webkit-touch-callout: none;
160
124
  }
125
+
161
126
  .ui.dropdown .menu .item:before {
162
127
  display: none;
163
128
  }
129
+
164
130
  .ui.dropdown .menu .item .icon {
165
131
  margin-right: 0.75em;
166
132
  }
@@ -174,41 +140,45 @@
174
140
  *******************************/
175
141
 
176
142
  /* Opposite on last menu on right */
143
+
177
144
  .ui.menu .right.menu .dropdown:last-child .menu,
178
145
  .ui.buttons > .ui.dropdown:last-child .menu {
179
146
  left: auto;
180
147
  right: 0px;
181
148
  }
182
- .ui.vertical.menu .dropdown.item > .dropdown.icon {
149
+
150
+ .ui.vertical.menu .dropdown.item > .dropdown.icon:before {
183
151
  content: "\f0da";
184
152
  }
153
+
185
154
  .ui.dropdown.icon.button > .dropdown.icon {
186
155
  margin: 0em;
187
156
  }
188
157
 
189
-
190
158
  /*******************************
191
159
  States
192
160
  *******************************/
193
161
 
194
162
  /* Dropdown Visible */
163
+
195
164
  .ui.visible.dropdown > .menu {
196
165
  display: block;
197
166
  }
198
167
 
199
168
  /* Menu Item Hover */
169
+
200
170
  .ui.dropdown .menu .item:hover {
201
171
  background-color: rgba(0, 0, 0, 0.02);
202
172
  z-index: 12;
203
173
  }
204
174
 
205
175
  /* Menu Item Active */
176
+
206
177
  .ui.dropdown .menu .active.item {
207
178
  box-shadow: none;
208
179
  background-color: rgba(0, 0, 0, 0.06) !important;
209
180
  border-left: none;
210
181
  border-color: transparent !important;
211
-
212
182
  -webkit-box-shadow: none;
213
183
  -moz-shadow: none;
214
184
  box-shadow: none;
@@ -216,16 +186,17 @@
216
186
  }
217
187
 
218
188
  /* Default Text */
189
+
219
190
  .ui.dropdown > .default.text,
220
191
  .ui.default.dropdown > .text {
221
192
  color: rgba(0, 0, 0, 0.5);
222
193
  }
194
+
223
195
  .ui.dropdown:hover > .default.text,
224
196
  .ui.default.dropdown:hover > .text {
225
197
  color: rgba(0, 0, 0, 0.8);
226
198
  }
227
199
 
228
-
229
200
  /*******************************
230
201
  Variations
231
202
  *******************************/
@@ -233,12 +204,14 @@
233
204
  /*--------------
234
205
  Simple
235
206
  ---------------*/
207
+
236
208
  /* Displays without javascript */
237
209
 
238
210
  .ui.simple.dropdown .menu:before,
239
211
  .ui.simple.dropdown .menu:after {
240
212
  display: none;
241
213
  }
214
+
242
215
  .ui.simple.dropdown .menu {
243
216
  display: block;
244
217
  overflow: hidden;
@@ -248,9 +221,6 @@
248
221
  width: 0;
249
222
  height: 0;
250
223
  -webkit-transition: opacity 0.2s ease-out;
251
- -moz-transition: opacity 0.2s ease-out;
252
- -o-transition: opacity 0.2s ease-out;
253
- -ms-transition: opacity 0.2s ease-out;
254
224
  transition: opacity 0.2s ease-out;
255
225
  }
256
226
 
@@ -268,6 +238,7 @@
268
238
  top: 100% !important;
269
239
  opacity: 1;
270
240
  }
241
+
271
242
  .ui.simple.dropdown > .menu .item:active > .menu,
272
243
  .ui.simple.dropdown:hover > .menu .item:hover > .menu {
273
244
  overflow: visible;
@@ -277,6 +248,7 @@
277
248
  left: 100% !important;
278
249
  opacity: 1;
279
250
  }
251
+
280
252
  .ui.simple.disabled.dropdown:hover .menu {
281
253
  display: none;
282
254
  height: 0px;
@@ -284,75 +256,58 @@
284
256
  overflow: hidden;
285
257
  }
286
258
 
287
-
288
259
  /*--------------
289
260
  Selection
290
261
  ---------------*/
262
+
291
263
  /* Displays like a select box */
292
264
 
293
265
  .ui.selection.dropdown {
294
266
  cursor: pointer;
295
267
  display: inline-block;
296
-
297
268
  word-wrap: break-word;
298
269
  white-space: normal;
299
-
300
270
  background-color: #FFFFFF;
301
271
  padding: 0.5em 1em;
302
-
303
272
  line-height: 1.33;
304
273
  color: rgba(0, 0, 0, 0.8);
305
-
306
274
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
307
- -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
308
275
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
309
-
310
- -webkit-border-radius: 0.3125em !important;
311
- -moz-border-radius: 0.3125em !important;
312
276
  border-radius: 0.3125em !important;
313
277
  }
278
+
314
279
  .ui.selection.dropdown select {
315
280
  display: none;
316
281
  }
282
+
317
283
  .ui.selection.dropdown > .dropdown.icon {
318
284
  opacity: 0.7;
319
285
  margin: 0.2em 0em 0.2em 1.25em;
320
-
321
286
  -webkit-transition: opacity 0.2s ease-out;
322
- -moz-transition: opacity 0.2s ease-out;
323
- -o-transition: opacity 0.2s ease-out;
324
- -ms-transition: opacity 0.2s ease-out;
325
287
  transition: opacity 0.2s ease-out;
326
288
  }
327
289
 
328
290
  .ui.selection.dropdown,
329
291
  .ui.selection.dropdown .menu {
330
292
  top: 100%;
331
- -webkit-transition: box-shadow 0.2s ease-out;
332
- -moz-transition: box-shadow 0.2s ease-out;
333
- -o-transition: box-shadow 0.2s ease-out;
334
- -ms-transition: box-shadow 0.2s ease-out;
293
+ -webkit-transition: -webkit-box-shadow 0.2s ease-out;
335
294
  transition: box-shadow 0.2s ease-out;
336
295
  }
337
296
 
338
297
  .ui.selection.dropdown .menu {
339
298
  max-height: 312px;
340
-
341
299
  overflow-x: hidden;
342
300
  overflow-y: auto;
343
-
344
301
  -webkit-box-shadow: 0px 1px 0px 1px #E0E0E0;
345
- -moz-box-shadow: 0px 1px 0px 1px #E0E0E0;
346
302
  box-shadow: 0px 1px 0px 1px #E0E0E0;
347
-
348
- -moz-border-radius: 0px 0px 0.325em 0.325em;
349
- -webkit-border-radius: 0px 0px 0.325em 0.325em;
350
303
  border-radius: 0px 0px 0.325em 0.325em;
351
304
  }
305
+
352
306
  .ui.selection.dropdown .menu:after,
353
307
  .ui.selection.dropdown .menu:before {
354
308
  display: none;
355
309
  }
310
+
356
311
  .ui.selection.dropdown .menu img {
357
312
  height: 2.5em;
358
313
  display: inline-block;
@@ -361,38 +316,39 @@
361
316
  }
362
317
 
363
318
  /* Hover */
319
+
364
320
  .ui.selection.dropdown:hover {
365
321
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) !important;
366
- -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) !important;
367
322
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) !important;
368
323
  }
324
+
369
325
  .ui.selection.dropdown:hover .menu {
370
326
  -webkit-box-shadow: 0px 1px 0px 1px #D3D3D3;
371
- -moz-box-shadow: 0px 1px 0px 1px #D3D3D3;
372
327
  box-shadow: 0px 1px 0px 1px #D3D3D3;
373
328
  }
329
+
374
330
  .ui.selection.dropdown:hover > .dropdown.icon {
375
331
  opacity: 1;
376
332
  }
377
333
 
378
334
  /* Visible */
335
+
379
336
  .ui.visible.selection.dropdown {
380
337
  border-bottom-left-radius: 0em !important;
381
338
  border-bottom-right-radius: 0em !important;
382
339
  }
383
340
 
384
341
  /* Active */
385
- .ui.active.selection.dropdown {
386
342
 
387
- -webkit-border-radius: 0.3125em 0.3125em 0em 0em !important;
388
- -moz-border-radius: 0.3125em 0.3125em 0em 0em !important;
343
+ .ui.active.selection.dropdown {
389
344
  border-radius: 0.3125em 0.3125em 0em 0em !important;
390
345
  }
346
+
391
347
  .ui.active.selection.dropdown > .dropdown.icon {
392
348
  opacity: 1;
393
349
  }
394
- .ui.active.selection.dropdown .menu {
395
- }
350
+
351
+
396
352
 
397
353
  /*--------------
398
354
  Fluid
@@ -401,6 +357,7 @@
401
357
  .ui.fluid.dropdown {
402
358
  display: block;
403
359
  }
360
+
404
361
  .ui.fluid.dropdown > .dropdown.icon {
405
362
  float: right;
406
363
  }
@@ -414,18 +371,18 @@
414
371
  display: inline-block;
415
372
  color: inherit;
416
373
  }
374
+
417
375
  .ui.inline.dropdown .dropdown.icon {
418
376
  margin: 0em 0.5em 0em 0.25em;
419
377
  }
378
+
420
379
  .ui.inline.dropdown .text {
421
380
  font-weight: bold;
422
381
  }
382
+
423
383
  .ui.inline.dropdown .menu {
424
384
  cursor: auto;
425
385
  margin-top: 0.25em;
426
-
427
- -webkit-border-radius: 0.325em;
428
- -moz-border-radius: 0.325em;
429
386
  border-radius: 0.325em;
430
387
  }
431
388
 
@@ -436,11 +393,7 @@
436
393
  .ui.floating.dropdown .menu {
437
394
  left: 0;
438
395
  right: auto;
439
-
440
396
  margin-top: 0.5em;
441
-
442
- -webkit-border-radius: 0.325em;
443
- -moz-border-radius: 0.325em;
444
397
  border-radius: 0.325em;
445
398
  }
446
399
 
@@ -448,12 +401,9 @@
448
401
  Pointing
449
402
  ---------------*/
450
403
 
451
-
452
404
  .ui.pointing.dropdown .menu {
453
405
  top: 100%;
454
406
  margin-top: 0.75em;
455
- -moz-border-radius: 0.325em;
456
- -webkit-border-radius: 0.325em;
457
407
  border-radius: 0.325em;
458
408
  }
459
409
 
@@ -463,28 +413,21 @@
463
413
  pointer-events: none;
464
414
  content: " ";
465
415
  visibility: visible;
466
-
467
416
  width: 0.5em;
468
417
  height: 0.5em;
469
-
470
- -moz-box-shadow: -1px -1px 0px 1px rgba(0, 0, 0, 0.05);
471
418
  -webkit-box-shadow: -1px -1px 0px 1px rgba(0, 0, 0, 0.05);
472
419
  box-shadow: -1px -1px 0px 1px rgba(0, 0, 0, 0.05);
473
-
474
420
  background-image: none;
475
421
  background-color: #FFFFFF;
476
-
477
422
  -webkit-transform: rotate(45deg);
478
- -moz-transform: rotate(45deg);
423
+ -ms-transform: rotate(45deg);
479
424
  transform: rotate(45deg);
480
425
  z-index: 2;
481
426
  }
482
427
 
483
428
  .ui.pointing.dropdown .menu .active.item:first-child {
484
429
  background: transparent -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.03));
485
- background: transparent -moz-linear-gradient(transparent, rgba(0, 0, 0, 0.03));
486
- background: transparent -o-linear-gradient(transparent, rgba(0, 0, 0, 0.03));
487
- background: transparent -ms-linear-gradient(transparent, rgba(0, 0, 0, 0.03));
430
+ background: transparent-webkit-gradient(linear, top left, bottom left, from(transparent), to(rgba(0, 0, 0, 0.03)));
488
431
  background: transparent linear-gradient(transparent, rgba(0, 0, 0, 0.03));
489
432
  }
490
433
 
@@ -495,6 +438,7 @@
495
438
  left: 50%;
496
439
  margin: 0em 0em 0em -0.25em;
497
440
  }
441
+
498
442
  .ui.top.left.pointing.dropdown .menu {
499
443
  top: 100%;
500
444
  bottom: auto;
@@ -502,15 +446,17 @@
502
446
  right: auto;
503
447
  margin: 0.75em 0em 0em;
504
448
  }
449
+
505
450
  .ui.top.left.pointing.dropdown .menu:after {
506
451
  top: -0.25em;
507
452
  left: 1.25em;
508
453
  right: auto;
509
454
  margin: 0em;
510
455
  -webkit-transform: rotate(45deg);
511
- -moz-transform: rotate(45deg);
456
+ -ms-transform: rotate(45deg);
512
457
  transform: rotate(45deg);
513
458
  }
459
+
514
460
  .ui.top.right.pointing.dropdown .menu {
515
461
  top: 100%;
516
462
  bottom: auto;
@@ -518,13 +464,14 @@
518
464
  left: auto;
519
465
  margin: 0.75em 0em 0em;
520
466
  }
467
+
521
468
  .ui.top.right.pointing.dropdown .menu:after {
522
469
  top: -0.25em;
523
470
  left: auto;
524
471
  right: 1.25em;
525
472
  margin: 0em;
526
473
  -webkit-transform: rotate(45deg);
527
- -moz-transform: rotate(45deg);
474
+ -ms-transform: rotate(45deg);
528
475
  transform: rotate(45deg);
529
476
  }
530
477
 
@@ -534,13 +481,13 @@
534
481
  right: auto;
535
482
  margin: 0em 0em 0em 0.75em;
536
483
  }
484
+
537
485
  .ui.left.pointing.dropdown .menu:after {
538
486
  top: 1em;
539
487
  left: -0.25em;
540
488
  margin: 0em 0em 0em 0em;
541
-
542
489
  -webkit-transform: rotate(-45deg);
543
- -moz-transform: rotate(-45deg);
490
+ -ms-transform: rotate(-45deg);
544
491
  transform: rotate(-45deg);
545
492
  }
546
493
 
@@ -550,13 +497,13 @@
550
497
  right: 100%;
551
498
  margin: 0em 0.75em 0em 0em;
552
499
  }
500
+
553
501
  .ui.right.pointing.dropdown .menu:after {
554
502
  top: 1em;
555
503
  left: auto;
556
504
  right: -0.25em;
557
505
  margin: 0em 0em 0em 0em;
558
-
559
506
  -webkit-transform: rotate(135deg);
560
- -moz-transform: rotate(135deg);
507
+ -ms-transform: rotate(135deg);
561
508
  transform: rotate(135deg);
562
- }
509
+ }