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
@@ -10,12 +10,10 @@
10
10
  * Released: April 17 2013
11
11
  */
12
12
 
13
-
14
13
  /*******************************
15
14
  Standard
16
15
  *******************************/
17
16
 
18
-
19
17
  /*--------------
20
18
  Items
21
19
  ---------------*/
@@ -23,14 +21,17 @@
23
21
  .ui.items {
24
22
  margin: 1em 0em 0em;
25
23
  }
24
+
26
25
  .ui.items:first-child {
27
26
  margin-top: 0em;
28
27
  }
28
+
29
29
  .ui.items:last-child {
30
30
  margin-bottom: -1em;
31
31
  }
32
32
 
33
33
  /* Force Clearing */
34
+
34
35
  .ui.items:after {
35
36
  display: block;
36
37
  content: ' ';
@@ -50,32 +51,19 @@
50
51
  float: left;
51
52
  position: relative;
52
53
  top: 0px;
53
-
54
54
  width: 316px;
55
55
  min-height: 375px;
56
56
  margin: 0em 0.5em 2.5em;
57
57
  padding: 0em;
58
-
59
58
  background-color: #FFFFFF;
60
59
  line-height: 1.2;
61
60
  font-size: 1em;
62
-
63
- -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
64
61
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
65
62
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
66
-
67
63
  border-bottom: 0.2em solid rgba(0, 0, 0, 0.2);
68
-
69
- -moz-border-radius: 0.33em;
70
- -webkit-border-radius: 0.33em;
71
64
  border-radius: 0.33em;
72
-
73
- -webkit-transition: box-shadow 0.2s ease;
74
- -moz-transition: box-shadow 0.2s ease;
75
- -o-transition: box-shadow 0.2s ease;
76
- -ms-transition: box-shadow 0.2s ease;
65
+ -webkit-transition: -webkit-box-shadow 0.2s ease;
77
66
  transition: box-shadow 0.2s ease;
78
-
79
67
  padding: 0.5em;
80
68
  }
81
69
 
@@ -104,44 +92,44 @@
104
92
  display: block;
105
93
  position: relative;
106
94
  background-color: rgba(0, 0, 0, 0.05);
107
-
108
95
  -webkit-box-sizing: border-box;
109
96
  -moz-box-sizing: border-box;
110
97
  -ms-box-sizing: border-box;
111
98
  box-sizing: border-box;
112
-
113
- -webkit-border-radius: 0.2em;
114
- -moz-border-radius: 0.2em;
115
99
  border-radius: 0.2em;
116
100
  }
101
+
117
102
  .ui.items .item > .image > img {
118
103
  display: block;
119
104
  width: 100%;
120
105
  }
121
106
 
122
-
123
107
  /*--------------
124
108
  Content
125
109
  ---------------*/
110
+
126
111
  .ui.items .item > .content {
127
112
  padding: 0.75em 0.5em;
128
113
  }
114
+
129
115
  .ui.items .item > .content > .name {
130
116
  display: block;
131
-
132
117
  font-size: 1.25em;
133
118
  font-weight: bold;
134
119
  margin-bottom: 0.2em;
135
120
  color: rgba(0, 0, 0, 0.7);
136
121
  }
122
+
137
123
  .ui.items .item > .content > .description {
138
124
  clear: both;
139
125
  margin: 0em 0em;
140
126
  color: rgba(0, 0, 0, 0.45);
141
127
  }
128
+
142
129
  .ui.items .item > .content > .description p {
143
130
  margin: 0em 0em 0.2em;
144
131
  }
132
+
145
133
  .ui.items .item > .content > .description p:last-child {
146
134
  margin-bottom: 0em;
147
135
  }
@@ -154,11 +142,11 @@
154
142
  float: right;
155
143
  color: rgba(0, 0, 0, 0.35);
156
144
  }
145
+
157
146
  .ui.items .item > .content > .meta + .name {
158
147
  float: left;
159
148
  }
160
149
 
161
-
162
150
  /*--------------
163
151
  Labels
164
152
  ---------------*/
@@ -166,52 +154,63 @@
166
154
  /*-----star----- */
167
155
 
168
156
  /* hover */
157
+
169
158
  .ui.items .item .star.label:hover::after {
170
159
  border-right-color: #F6EFC3;
171
160
  }
161
+
172
162
  .ui.items .item .star.label:hover::after {
173
163
  border-top-color: #F6EFC3;
174
164
  }
165
+
175
166
  .ui.items .item .star.label:hover .icon {
176
- color: #AC9400
167
+ color: #AC9400;
177
168
  }
178
169
 
179
170
  /* active */
171
+
180
172
  .ui.items .item .star.label.active::after {
181
173
  border-right-color: #F6EFC3;
182
174
  }
175
+
183
176
  .ui.items .item .star.label.active::after {
184
177
  border-top-color: #F6EFC3;
185
178
  }
179
+
186
180
  .ui.items .item .star.label.active .icon {
187
- color: #AC9400
181
+ color: #AC9400;
188
182
  }
189
183
 
190
184
  /*-----like----- */
191
185
 
192
186
  /* hover */
187
+
193
188
  .ui.items .item .like.label:hover::after {
194
189
  border-right-color: #F5E1E2;
195
190
  }
191
+
196
192
  .ui.items .item .like.label.active::after {
197
193
  border-top-color: #F5E1E2;
198
194
  }
195
+
199
196
  .ui.items .item .like.label:hover .icon {
200
- color: #EF404A
197
+ color: #EF404A;
201
198
  }
199
+
202
200
  /* active */
201
+
203
202
  .ui.items .item .like.label.active::after {
204
203
  border-right-color: #F5E1E2;
205
204
  }
205
+
206
206
  .ui.items .item .like.label.active::after {
207
207
  border-top-color: #F5E1E2;
208
208
  }
209
+
209
210
  .ui.items .item .like.label.active .icon {
210
- color: #EF404A
211
+ color: #EF404A;
211
212
  }
212
213
 
213
-
214
-
215
214
  /*--------------
216
215
  Extra
217
216
  ---------------*/
@@ -224,13 +223,10 @@
224
223
  left: 0em;
225
224
  height: 1.5em;
226
225
  color: rgba(0, 0, 0, 0.25);
227
-
228
226
  -webkit-transition: color 0.2s ease;
229
- -moz-transition: color 0.2s ease;
230
- -o-transition: color 0.2s ease;
231
- -ms-transition: color 0.2s ease;
232
227
  transition: color 0.2s ease;
233
228
  }
229
+
234
230
  .ui.items .item .extra > img {
235
231
  display: inline-block;
236
232
  border-radius: 500px 500px 500px 500px;
@@ -238,14 +234,15 @@
238
234
  vertical-align: middle;
239
235
  width: 2em;
240
236
  }
237
+
241
238
  .ui.items .item .extra .left {
242
239
  float: left;
243
240
  }
241
+
244
242
  .ui.items .item .extra .right {
245
243
  float: right;
246
244
  }
247
245
 
248
-
249
246
  /*******************************
250
247
  States
251
248
  *******************************/
@@ -253,9 +250,10 @@
253
250
  .ui.items .item:hover {
254
251
  cursor: pointer;
255
252
  z-index: 5;
256
-
253
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
257
254
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
258
255
  }
256
+
259
257
  .ui.items .item:hover .extra {
260
258
  color: rgba(0, 0, 0, 0.5);
261
259
  }
@@ -263,28 +261,31 @@
263
261
  .ui.items .item:nth-of-type(n+1):hover {
264
262
  border-bottom-color: #6ECFF5 !important;
265
263
  }
264
+
266
265
  .ui.items .item:nth-of-type(n+2):hover {
267
266
  border-bottom-color: #5C6166 !important;
268
267
  }
268
+
269
269
  .ui.items .item:nth-of-type(n+3):hover {
270
270
  border-bottom-color: #A1CF64 !important;
271
271
  }
272
+
272
273
  .ui.items .item:nth-of-type(n+4):hover {
273
274
  border-bottom-color: #D95C5C !important;
274
275
  }
276
+
275
277
  .ui.items .item:nth-of-type(n+5):hover {
276
278
  border-bottom-color: #564F8A !important;
277
279
  }
280
+
278
281
  .ui.items .item:nth-of-type(n+6):hover {
279
282
  border-bottom-color: #00B5AD !important;
280
283
  }
281
284
 
282
-
283
285
  /*******************************
284
286
  Variations
285
287
  *******************************/
286
288
 
287
-
288
289
  /*--------------
289
290
  Connected
290
291
  ---------------*/
@@ -295,6 +296,7 @@
295
296
  margin-left: 0em !important;
296
297
  margin-right: 0em !important;
297
298
  }
299
+
298
300
  .ui.connected.items > .row > .item,
299
301
  .ui.connected.items > .item {
300
302
  float: none;
@@ -305,102 +307,118 @@
305
307
  margin: 0em;
306
308
  width: 33.33%;
307
309
  }
310
+
308
311
  .ui.connected.items > .row {
309
312
  display: table;
310
313
  margin: 0.5em 0em;
311
314
  }
315
+
312
316
  .ui.connected.items > .row:first-child {
313
317
  margin-top: 0em;
314
318
  }
315
319
 
316
320
  /* Borders */
321
+
317
322
  .ui.connected.items > .item,
318
323
  .ui.connected.items > .row:last-child > .item {
319
324
  border-bottom: 0.2em solid rgba(0, 0, 0, 0.2);
320
325
  }
326
+
321
327
  .ui.connected.items > .row:last-child > .item:first-child,
322
328
  .ui.connected.items > .item:first-child {
323
329
  border-radius: 0em 0em 0em 0.33em;
324
330
  }
331
+
325
332
  .ui.connected.items > .row:last-child > .item:last-child,
326
333
  .ui.connected.items > .item:last-child {
327
334
  border-radius: 0em 0em 0.33em 0em;
328
335
  }
329
336
 
330
-
331
337
  /* Hover */
338
+
332
339
  .ui.connected.items .item:hover {
333
340
  border-bottom-width: 0.2em;
334
341
  }
335
342
 
336
-
337
343
  /* Item Count */
344
+
338
345
  .ui.one.connected.items > .row > .item,
339
346
  .ui.one.connected.items > .item {
340
347
  width: 50%;
341
348
  padding-left: 2%;
342
349
  padding-right: 2%;
343
350
  }
351
+
344
352
  .ui.two.connected.items > .row > .item,
345
353
  .ui.two.connected.items > .item {
346
354
  width: 50%;
347
355
  padding-left: 1%;
348
356
  padding-right: 1%;
349
357
  }
358
+
350
359
  .ui.three.connected.items > .row > .item,
351
360
  .ui.three.connected.items > .item {
352
361
  width: 33.333%;
353
362
  padding-left: 1%;
354
363
  padding-right: 1%;
355
364
  }
365
+
356
366
  .ui.four.connected.items > .row > .item,
357
367
  .ui.four.connected.items > .item {
358
368
  width: 25%;
359
369
  padding-left: 0.5%;
360
370
  padding-right: 0.5%;
361
371
  }
372
+
362
373
  .ui.five.connected.items > .row > .item,
363
374
  .ui.five.connected.items > .item {
364
375
  width: 20%;
365
376
  padding-left: 0.5%;
366
377
  padding-right: 0.5%;
367
378
  }
379
+
368
380
  .ui.six.connected.items > .row > .item,
369
381
  .ui.six.connected.items > .item {
370
382
  width: 16.66%;
371
383
  padding-left: 0.5%;
372
384
  padding-right: 0.5%;
373
385
  }
386
+
374
387
  .ui.seven.connected.items > .row > .item,
375
388
  .ui.seven.connected.items > .item {
376
389
  width: 14.28%;
377
390
  padding-left: 0.5%;
378
391
  padding-right: 0.5%;
379
392
  }
393
+
380
394
  .ui.eight.connected.items > .row > .item,
381
395
  .ui.eight.connected.items > .item {
382
396
  width: 12.5%;
383
397
  padding-left: 0.25%;
384
398
  padding-right: 0.25%;
385
399
  }
400
+
386
401
  .ui.nine.connected.items > .row > .item,
387
402
  .ui.nine.connected.items > .item {
388
403
  width: 11.11%;
389
404
  padding-left: 0.25%;
390
405
  padding-right: 0.25%;
391
406
  }
407
+
392
408
  .ui.ten.connected.items > .row > .item,
393
409
  .ui.ten.connected.items > .item {
394
410
  width: 10%;
395
411
  padding-left: 0.2%;
396
412
  padding-right: 0.2%;
397
413
  }
414
+
398
415
  .ui.eleven.connected.items > .row > .item,
399
416
  .ui.eleven.connected.items > .item {
400
417
  width: 9.09%;
401
418
  padding-left: 0.2%;
402
419
  padding-right: 0.2%;
403
420
  }
421
+
404
422
  .ui.twelve.connected.items > .row > .item,
405
423
  .ui.twelve.connected.items > .item {
406
424
  width: 8.3333%;
@@ -416,6 +434,7 @@
416
434
  .ui.stackable.items {
417
435
  display: block !important;
418
436
  }
437
+
419
438
  .ui.stackable.items > .item,
420
439
  .ui.stackable.items > .row > .item {
421
440
  display: block !important;
@@ -428,6 +447,7 @@
428
447
  /*--------------------
429
448
  Horizontal
430
449
  ---------------------*/
450
+
431
451
  .ui.horizontal.items > .item,
432
452
  .ui.items > .horizontal.item {
433
453
  display: table;
@@ -438,11 +458,13 @@
438
458
  display: table-cell;
439
459
  width: 50%;
440
460
  }
461
+
441
462
  .ui.horizontal.items > .item > .image + .content,
442
463
  .ui.items > .horizontal.item > .image + .content {
443
464
  width: 50%;
444
465
  display: table-cell;
445
466
  }
467
+
446
468
  .ui.horizontal.items > .item > .content,
447
469
  .ui.items > .horizontal.item > .content {
448
470
  padding: 1% 1.7% 11% 3%;
@@ -457,6 +479,7 @@
457
479
  left: 3%;
458
480
  width: 94%;
459
481
  }
482
+
460
483
  .ui.horizontal.items > .item > .image + .content + .meta,
461
484
  .ui.items > .horizontal.item > .image + .content + .meta {
462
485
  bottom: 7%;
@@ -464,7 +487,6 @@
464
487
  width: 44%;
465
488
  }
466
489
 
467
-
468
490
  .ui.horizontal.items > .item .avatar,
469
491
  .ui.items > .horizontal.item .avatar {
470
492
  width: 11.5%;
@@ -478,11 +500,11 @@
478
500
  Item Count
479
501
  ---------------*/
480
502
 
481
-
482
503
  .ui.one.items {
483
504
  margin-left: -2%;
484
505
  margin-right: -2%;
485
506
  }
507
+
486
508
  .ui.one.items > .item {
487
509
  width: 100%;
488
510
  margin-left: 2%;
@@ -493,11 +515,13 @@
493
515
  margin-left: -1%;
494
516
  margin-right: -1%;
495
517
  }
518
+
496
519
  .ui.two.items > .item {
497
520
  width: 48%;
498
521
  margin-left: 1%;
499
522
  margin-right: 1%;
500
523
  }
524
+
501
525
  .ui.two.items > .item:nth-child(2n+1) {
502
526
  clear: left;
503
527
  }
@@ -506,11 +530,13 @@
506
530
  margin-left: -1%;
507
531
  margin-right: -1%;
508
532
  }
533
+
509
534
  .ui.three.items > .item {
510
535
  width: 31.333%;
511
536
  margin-left: 1%;
512
537
  margin-right: 1%;
513
538
  }
539
+
514
540
  .ui.three.items > .item:nth-child(3n+1) {
515
541
  clear: left;
516
542
  }
@@ -519,11 +545,13 @@
519
545
  margin-left: -0.5%;
520
546
  margin-right: -0.5%;
521
547
  }
548
+
522
549
  .ui.four.items > .item {
523
550
  width: 24%;
524
551
  margin-left: 0.5%;
525
552
  margin-right: 0.5%;
526
553
  }
554
+
527
555
  .ui.four.items > .item:nth-child(4n+1) {
528
556
  clear: left;
529
557
  }
@@ -532,11 +560,13 @@
532
560
  margin-left: -0.5%;
533
561
  margin-right: -0.5%;
534
562
  }
563
+
535
564
  .ui.five.items > .item {
536
565
  width: 19%;
537
566
  margin-left: 0.5%;
538
567
  margin-right: 0.5%;
539
568
  }
569
+
540
570
  .ui.five.items > .item:nth-child(5n+1) {
541
571
  clear: left;
542
572
  }
@@ -545,11 +575,13 @@
545
575
  margin-left: -0.5%;
546
576
  margin-right: -0.5%;
547
577
  }
578
+
548
579
  .ui.six.items > .item {
549
580
  width: 15.66%;
550
581
  margin-left: 0.5%;
551
582
  margin-right: 0.5%;
552
583
  }
584
+
553
585
  .ui.six.items > .item:nth-child(6n+1) {
554
586
  clear: left;
555
587
  }
@@ -558,12 +590,14 @@
558
590
  margin-left: -0.5%;
559
591
  margin-right: -0.5%;
560
592
  }
593
+
561
594
  .ui.seven.items > .item {
562
595
  width: 13.28%;
563
596
  margin-left: 0.5%;
564
597
  margin-right: 0.5%;
565
598
  font-size: 11px;
566
599
  }
600
+
567
601
  .ui.seven.items > .item:nth-child(7n+1) {
568
602
  clear: left;
569
603
  }
@@ -572,12 +606,14 @@
572
606
  margin-left: -0.25%;
573
607
  margin-right: -0.25%;
574
608
  }
609
+
575
610
  .ui.eight.items > .item {
576
611
  width: 12.0%;
577
612
  margin-left: 0.25%;
578
613
  margin-right: 0.25%;
579
614
  font-size: 11px;
580
615
  }
616
+
581
617
  .ui.eight.items > .item:nth-child(8n+1) {
582
618
  clear: left;
583
619
  }
@@ -586,12 +622,14 @@
586
622
  margin-left: -0.25%;
587
623
  margin-right: -0.25%;
588
624
  }
625
+
589
626
  .ui.nine.items > .item {
590
627
  width: 10.61%;
591
628
  margin-left: 0.25%;
592
629
  margin-right: 0.25%;
593
630
  font-size: 10px;
594
631
  }
632
+
595
633
  .ui.nine.items > .item:nth-child(9n+1) {
596
634
  clear: left;
597
635
  }
@@ -600,12 +638,14 @@
600
638
  margin-left: -0.2%;
601
639
  margin-right: -0.2%;
602
640
  }
641
+
603
642
  .ui.ten.items > .item {
604
643
  width: 9.6%;
605
644
  margin-left: 0.2%;
606
645
  margin-right: 0.2%;
607
646
  font-size: 10px;
608
647
  }
648
+
609
649
  .ui.ten.items > .item:nth-child(10n+1) {
610
650
  clear: left;
611
651
  }
@@ -614,12 +654,14 @@
614
654
  margin-left: -0.2%;
615
655
  margin-right: -0.2%;
616
656
  }
657
+
617
658
  .ui.eleven.items > .item {
618
659
  width: 8.69%;
619
660
  margin-left: 0.2%;
620
661
  margin-right: 0.2%;
621
662
  font-size: 9px;
622
663
  }
664
+
623
665
  .ui.eleven.items > .item:nth-child(11n+1) {
624
666
  clear: left;
625
667
  }
@@ -628,13 +670,14 @@
628
670
  margin-left: -0.1%;
629
671
  margin-right: -0.1%;
630
672
  }
673
+
631
674
  .ui.twelve.items > .item {
632
675
  width: 8.1333%;
633
676
  margin-left: 0.1%;
634
677
  margin-right: 0.1%;
635
678
  font-size: 9px;
636
679
  }
680
+
637
681
  .ui.twelve.items > .item:nth-child(12n+1) {
638
682
  clear: left;
639
- }
640
-
683
+ }