semantic-ui-sass 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +51 -0
  6. data/Rakefile +5 -0
  7. data/app/assets/fonts/semantic-ui/basic.icons.eot +0 -0
  8. data/app/assets/fonts/semantic-ui/basic.icons.svg +450 -0
  9. data/app/assets/fonts/semantic-ui/basic.icons.ttf +0 -0
  10. data/app/assets/fonts/semantic-ui/basic.icons.woff +0 -0
  11. data/app/assets/fonts/semantic-ui/icons.eot +0 -0
  12. data/app/assets/fonts/semantic-ui/icons.otf +0 -0
  13. data/app/assets/fonts/semantic-ui/icons.svg +399 -0
  14. data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
  15. data/app/assets/fonts/semantic-ui/icons.woff +0 -0
  16. data/app/assets/images/semantic-ui/loader-large-inverted.gif +0 -0
  17. data/app/assets/images/semantic-ui/loader-large.gif +0 -0
  18. data/app/assets/images/semantic-ui/loader-medium-inverted.gif +0 -0
  19. data/app/assets/images/semantic-ui/loader-medium.gif +0 -0
  20. data/app/assets/images/semantic-ui/loader-mini-inverted.gif +0 -0
  21. data/app/assets/images/semantic-ui/loader-mini.gif +0 -0
  22. data/app/assets/images/semantic-ui/loader-small-inverted.gif +0 -0
  23. data/app/assets/images/semantic-ui/loader-small.gif +0 -0
  24. data/app/assets/javascripts/semantic-ui.js +20 -0
  25. data/app/assets/javascripts/semantic-ui/accordion.js +419 -0
  26. data/app/assets/javascripts/semantic-ui/behavior/api.js +638 -0
  27. data/app/assets/javascripts/semantic-ui/behavior/colorize.js +270 -0
  28. data/app/assets/javascripts/semantic-ui/behavior/form.js +702 -0
  29. data/app/assets/javascripts/semantic-ui/behavior/state.js +725 -0
  30. data/app/assets/javascripts/semantic-ui/chatroom.js +769 -0
  31. data/app/assets/javascripts/semantic-ui/checkbox.js +344 -0
  32. data/app/assets/javascripts/semantic-ui/dimmer.js +564 -0
  33. data/app/assets/javascripts/semantic-ui/dropdown.js +724 -0
  34. data/app/assets/javascripts/semantic-ui/modal.js +553 -0
  35. data/app/assets/javascripts/semantic-ui/nag.js +545 -0
  36. data/app/assets/javascripts/semantic-ui/popup.js +727 -0
  37. data/app/assets/javascripts/semantic-ui/rating.js +403 -0
  38. data/app/assets/javascripts/semantic-ui/search.js +772 -0
  39. data/app/assets/javascripts/semantic-ui/shape.js +778 -0
  40. data/app/assets/javascripts/semantic-ui/sidebar.js +490 -0
  41. data/app/assets/javascripts/semantic-ui/tab.js +689 -0
  42. data/app/assets/javascripts/semantic-ui/transition.js +654 -0
  43. data/app/assets/javascripts/semantic-ui/video.js +457 -0
  44. data/app/assets/stylesheets/semantic-ui.scss +4 -0
  45. data/app/assets/stylesheets/semantic-ui/collections/_all.scss +6 -0
  46. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +77 -0
  47. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +569 -0
  48. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +643 -0
  49. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +1767 -0
  50. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +347 -0
  51. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +524 -0
  52. data/app/assets/stylesheets/semantic-ui/elements/_all.scss +12 -0
  53. data/app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss +479 -0
  54. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +1187 -0
  55. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +199 -0
  56. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +342 -0
  57. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +772 -0
  58. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +181 -0
  59. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +338 -0
  60. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +827 -0
  61. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +185 -0
  62. data/app/assets/stylesheets/semantic-ui/elements/_progress.scss +352 -0
  63. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +464 -0
  64. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +293 -0
  65. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +199 -0
  66. data/app/assets/stylesheets/semantic-ui/modules/_all.scss +16 -0
  67. data/app/assets/stylesheets/semantic-ui/modules/_chatroom.scss +281 -0
  68. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +481 -0
  69. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +236 -0
  70. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +548 -0
  71. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +217 -0
  72. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +173 -0
  73. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +255 -0
  74. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +179 -0
  75. data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +365 -0
  76. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +273 -0
  77. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +113 -0
  78. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +150 -0
  79. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +63 -0
  80. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1096 -0
  81. data/app/assets/stylesheets/semantic-ui/modules/_video.scss +98 -0
  82. data/app/assets/stylesheets/semantic-ui/views/_all.scss +5 -0
  83. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +221 -0
  84. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +152 -0
  85. data/app/assets/stylesheets/semantic-ui/views/_item.scss +651 -0
  86. data/app/assets/stylesheets/semantic-ui/views/_list.scss +555 -0
  87. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +27 -0
  88. data/lib/semantic/ui/sass.rb +10 -0
  89. data/lib/semantic/ui/sass/engine.rb +13 -0
  90. data/lib/semantic/ui/sass/version.rb +8 -0
  91. data/semantic-ui-sass.gemspec +24 -0
  92. data/tasks/converter.rb +237 -0
  93. metadata +177 -0
@@ -0,0 +1,555 @@
1
+ /*
2
+ * # Semantic List - Flat
3
+ * http://github.com/jlukic/semantic-ui/
4
+ *
5
+ *
6
+ * Copyright 2013 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ * Released: April 26 2013
11
+ */
12
+
13
+ /*******************************
14
+ List
15
+ *******************************/
16
+
17
+ ul.ui.list,
18
+ ol.ui.list,
19
+ .ui.list {
20
+ list-style-type: none;
21
+ margin: 1em 0em;
22
+ padding: 0em;
23
+ }
24
+ ul.ui.list ul,
25
+ ol.ui.list ol,
26
+ .ui.list .list {
27
+ margin: 0em;
28
+ padding: 0.5em 0em 0.5em 1em;
29
+ }
30
+
31
+ ul.ui.list:first-child,
32
+ ol.ui.list:first-child,
33
+ .ui.list:first-child {
34
+ margin-top: 0em;
35
+ }
36
+
37
+ ul.ui.list:last-child,
38
+ ol.ui.list:last-child,
39
+ .ui.list:last-child {
40
+ margin-bottom: 0em;
41
+ }
42
+
43
+
44
+ /*******************************
45
+ Content
46
+ *******************************/
47
+
48
+ /* List Item */
49
+ ul.ui.list li,
50
+ ol.ui.list li,
51
+ .ui.list .item {
52
+ display: list-item;
53
+ list-style-type: none;
54
+ list-style-position: inside;
55
+
56
+ padding: 0.3em 0em;
57
+ line-height: 1.2;
58
+ }
59
+
60
+ .ui.list .item:after {
61
+ content: '';
62
+ display: block;
63
+ height: 0;
64
+ clear: both;
65
+ visibility: hidden;
66
+ }
67
+
68
+
69
+ /* Icon */
70
+ .ui.list .item > .icon {
71
+ display: table-cell;
72
+ margin: 0em;
73
+ padding: 0em 0.5em 0em 0em;
74
+ vertical-align: middle;
75
+ }
76
+ .ui.list .item > .icon:only-child {
77
+ display: inline-block;
78
+ }
79
+ .ui.horizontal.list .item > .icon {
80
+ padding: 0em 0.25em 0em 0em;
81
+ }
82
+
83
+ /* Image */
84
+ .ui.list .item > img {
85
+ display: inline-block;
86
+ width: 2em;
87
+ margin-right: 0.5em;
88
+
89
+ vertical-align: middle;
90
+ -webkit-border-radius: 0.2em;
91
+ -moz-border-radius: 0.2em;
92
+ border-radius: 0.2em;
93
+ }
94
+
95
+ /* Content */
96
+ .ui.list .item > .content {
97
+ display: inline-block;
98
+ vertical-align: middle;
99
+ line-height: 1.2;
100
+ }
101
+ .ui.list .item > .icon + .content {
102
+ display: table-cell;
103
+ vertical-align: top;
104
+ padding-left: 0.5em;
105
+ }
106
+
107
+ /* Link */
108
+ .ui.list a {
109
+ cursor: pointer;
110
+ }
111
+ .ui.list a .icon {
112
+ color: rgba(0, 0, 0, 0.6);
113
+
114
+ -webkit-transition: color 0.2s ease;
115
+ -moz-transition: color 0.2s ease;
116
+ -o-transition: color 0.2s ease;
117
+ -ms-transition: color 0.2s ease;
118
+ transition: color 0.2s ease;
119
+ }
120
+
121
+ /* Header */
122
+ .ui.list .header {
123
+ font-weight: bold;
124
+ }
125
+ .ui.list .description {
126
+ color: rgba(0, 0, 0, 0.5);
127
+ }
128
+
129
+ /* Floated Content */
130
+ .ui.list .item > .left.floated {
131
+ margin-right: 1em;
132
+ float: left;
133
+ }
134
+ .ui.list .item > .right.floated {
135
+ margin-left: 1em;
136
+ float: right;
137
+ }
138
+
139
+
140
+
141
+ /*******************************
142
+ Types
143
+ *******************************/
144
+
145
+ /*-------------------
146
+ Horizontal
147
+ --------------------*/
148
+
149
+ .ui.horizontal.list {
150
+ display: inline-block;
151
+ font-size: 0em;
152
+ }
153
+ .ui.horizontal.list .item {
154
+ display: inline-block;
155
+ margin-left: 1em;
156
+ font-size: 1rem;
157
+ }
158
+
159
+ .ui.horizontal.list .item:first-child {
160
+ margin-left: 0em;
161
+ }
162
+
163
+ /*******************************
164
+ States
165
+ *******************************/
166
+
167
+ /*-------------------
168
+ Hover
169
+ --------------------*/
170
+
171
+ .ui.list a:hover .icon {
172
+ color: rgba(0, 0, 0, 0.8);
173
+ }
174
+
175
+
176
+
177
+ /*******************************
178
+ Variations
179
+ *******************************/
180
+
181
+ /*-------------------
182
+ Link
183
+ --------------------*/
184
+
185
+ .ui.link.list a {
186
+ color: rgba(0, 0, 0, 0.5);
187
+ }
188
+ .ui.link.list a:hover {
189
+ color: rgba(0, 0, 0, 0.7);
190
+ }
191
+ .ui.link.list a:active {
192
+ color: rgba(0, 0, 0, 0.9);
193
+ }
194
+ .ui.link.list .active {
195
+ color: rgba(0, 0, 0, 0.7);
196
+ }
197
+
198
+ /*-------------------
199
+ Selection
200
+ --------------------*/
201
+
202
+ .ui.selection.list .item {
203
+ cursor: pointer;
204
+ color: rgba(0, 0, 0, 0.4);
205
+ padding: 0.5em;
206
+
207
+ -webkit-transition:
208
+ 0.2s color ease,
209
+ 0.2s padding-left ease,
210
+ 0.2s background-color ease
211
+ ;
212
+ -moz-transition:
213
+ 0.2s color ease,
214
+ 0.2s padding-left ease,
215
+ 0.2s background-color ease
216
+ ;
217
+ -o-transition:
218
+ 0.2s color ease,
219
+ 0.2s padding-left ease,
220
+ 0.2s background-color ease
221
+ ;
222
+ -ms-transition:
223
+ 0.2s color ease,
224
+ 0.2s padding-left ease,
225
+ 0.2s background-color ease
226
+ ;
227
+ transition:
228
+ 0.2s color ease,
229
+ 0.2s padding-left ease,
230
+ 0.2s background-color ease
231
+ ;
232
+ }
233
+ .ui.selection.list .item:hover {
234
+ background-color: rgba(0, 0, 0, 0.02);
235
+ color: rgba(0, 0, 0, 0.7);
236
+ }
237
+ .ui.selection.list:not(.horizontal, .ordered) .item:hover {
238
+ padding-left: 1em;
239
+ }
240
+ .ui.selection.list:not(.horizontal, .ordered) .item:hover .item:hover {
241
+ padding-left: 0.5em;
242
+ }
243
+
244
+ .ui.selection.list .item:active {
245
+ background-color: rgba(0, 0, 0, 0.05);
246
+ color: rgba(0, 0, 0, 0.7);
247
+ }
248
+ .ui.selection.list .item.active {
249
+ background-color: rgba(0, 0, 0, 0.04);
250
+ color: rgba(0, 0, 0, 0.7);
251
+ }
252
+
253
+
254
+
255
+ /*-------------------
256
+ Bulleted
257
+ --------------------*/
258
+
259
+ ul.ui.list,
260
+ .ui.bulleted.list {
261
+ margin-left: 1em;
262
+ }
263
+ ul.ui.list li,
264
+ .ui.bulleted.list .item {
265
+ position: relative;
266
+ }
267
+ ul.ui.list li:before,
268
+ .ui.bulleted.list .item:before {
269
+ position: absolute;
270
+ left: -1em;
271
+ content: '•';
272
+
273
+ line-height: 1.2rem;
274
+ vertical-align: top;
275
+ }
276
+
277
+ ul.ui.list ul,
278
+ .ui.bulleted.list .list {
279
+ padding-left: 1.2em;
280
+ }
281
+
282
+ /* Horizontal Bulleted */
283
+ ul.ui.horizontal.bulleted.list,
284
+ .ui.horizontal.bulleted.list {
285
+ margin-left: 0em;
286
+ }
287
+ ul.ui.horizontal.bulleted.list li,
288
+ .ui.horizontal.bulleted.list .item {
289
+ margin-left: 1.5em;
290
+ }
291
+ ul.ui.horizontal.bulleted.list li:before,
292
+ .ui.horizontal.bulleted.list .item:before {
293
+ left: -0.9em;
294
+ }
295
+ ul.ui.horizontal.bulleted.list li:first-child,
296
+ .ui.horizontal.bulleted.list .item:first-child {
297
+ margin-left: 0em;
298
+ }
299
+ ul.ui.horizontal.bulleted.list li:first-child::before,
300
+ .ui.horizontal.bulleted.list .item:first-child::before {
301
+ display: none;
302
+ }
303
+
304
+ /*-------------------
305
+ Ordered
306
+ --------------------*/
307
+
308
+ ol.ui.list,
309
+ .ui.ordered.list {
310
+ counter-reset: ordered;
311
+ margin-left: 2em;
312
+ list-style-type: none;
313
+ }
314
+ ol.ui.list li,
315
+ .ui.ordered.list .item {
316
+ list-style-type: none;
317
+ position: relative;
318
+ }
319
+ ol.ui.list li:before,
320
+ .ui.ordered.list .item:before {
321
+ position: absolute;
322
+ left: -2em;
323
+
324
+ counter-increment: ordered;
325
+ content: counters(ordered, ".");
326
+
327
+ text-align: right;
328
+ vertical-align: top;
329
+ opacity: 0.75;
330
+ }
331
+
332
+ ol.ui.list ol,
333
+ .ui.ordered.list .list {
334
+ counter-reset: ordered;
335
+ padding-left: 3em;
336
+ }
337
+
338
+ ol.ui.list ol li:before,
339
+ .ui.ordered.list .list .item:before {
340
+ left: -2.5em;
341
+ }
342
+
343
+ /* Horizontal Ordered */
344
+ ol.ui.horizontal.list,
345
+ .ui.ordered.horizontal.list {
346
+ margin-left: 0em;
347
+ }
348
+ ol.ui.horizontal.list li:before,
349
+ .ui.ordered.horizontal.list .item:before {
350
+ position: static;
351
+ margin: 0em 0.5em 0em 0em;
352
+ }
353
+
354
+
355
+ /*-------------------
356
+ Divided
357
+ --------------------*/
358
+
359
+ .ui.divided.list > .item,
360
+ .ui.divided.list > .list {
361
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
362
+ padding-left: 0.5em;
363
+ padding-right: 0.5em;
364
+ }
365
+ .ui.divided.list .item .menu .item {
366
+ border-width: 0px;
367
+ }
368
+ .ui.divided.list .item:first-child {
369
+ border-top-width: 0px;
370
+ }
371
+
372
+ /* Sub Menu */
373
+ .ui.divided.list .list {
374
+ margin-left: -0.5em;
375
+ margin-right: -0.5em;
376
+ }
377
+ .ui.divided.list .list .item {
378
+ padding-left: 1em;
379
+ padding-right: 1em;
380
+ }
381
+ .ui.divided.list .list .item:first-child {
382
+ border-top-width: 1px;
383
+ }
384
+
385
+ /* Divided bulleted */
386
+ .ui.divided.bulleted.list {
387
+ margin-left: 0em;
388
+ }
389
+ .ui.divided.bulleted.list .item {
390
+ padding-left: 1.5em;
391
+ }
392
+ .ui.divided.bulleted.list .item:before {
393
+ left: 0.5em;
394
+ }
395
+
396
+ /* Divided ordered */
397
+ .ui.divided.ordered.list {
398
+ margin-left: 0em;
399
+ }
400
+ .ui.divided.ordered.list > .item {
401
+ padding-left: 2em;
402
+ padding-right: 2em;
403
+ }
404
+ .ui.divided.ordered.list > .item:before {
405
+ left: 0.5em;
406
+ }
407
+ .ui.divided.ordered.list .item .list {
408
+ margin-left: -2em;
409
+ margin-right: -2em;
410
+ }
411
+
412
+
413
+ /* Divided horizontal */
414
+ .ui.divided.horizontal.list {
415
+ margin-left: 0em;
416
+ }
417
+ .ui.divided.horizontal.list .item {
418
+ border-top: none;
419
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
420
+ margin: 0em;
421
+ padding-left: 0.75em;
422
+ padding-right: 0.75em;
423
+
424
+ line-height: 0.6;
425
+ }
426
+ .ui.horizontal.divided.list .item:first-child {
427
+ border-left: none;
428
+ padding-left: 0em;
429
+ }
430
+
431
+
432
+
433
+
434
+ /*-------------------
435
+ Celled
436
+ --------------------*/
437
+
438
+ .ui.celled.list > .item,
439
+ .ui.celled.list > .list {
440
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
441
+ padding-left: 0.5em;
442
+ padding-right: 0.5em;
443
+ }
444
+ .ui.celled.list > .item:last-child {
445
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
446
+ }
447
+
448
+ /* Sub Menu */
449
+ .ui.celled.list .item .list {
450
+ margin-left: -0.5em;
451
+ margin-right: -0.5em;
452
+ }
453
+ .ui.celled.list .item .list .item {
454
+ border-width: 0px;
455
+ }
456
+ .ui.celled.list .list .item:first-child {
457
+ border-top-width: 0px;
458
+ }
459
+
460
+ /* Celled Bulleted */
461
+ .ui.celled.bulleted.list {
462
+ margin-left: 0em;
463
+ }
464
+ .ui.celled.bulleted.list > .item {
465
+ padding-left: 1.5em;
466
+ }
467
+ .ui.celled.bulleted.list > .item:before {
468
+ left: 0.5em;
469
+ }
470
+
471
+ /* Celled Ordered */
472
+ .ui.celled.ordered.list {
473
+ margin-left: 0em;
474
+ }
475
+ .ui.celled.ordered.list .item {
476
+ padding-left: 2em;
477
+ padding-right: 2em;
478
+ }
479
+ .ui.celled.ordered.list .item:before {
480
+ left: 0.5em;
481
+ }
482
+ .ui.celled.ordered.list .item .list {
483
+ margin-left: -2em;
484
+ margin-right: -2em;
485
+ }
486
+
487
+ /* Celled Horizontal */
488
+ .ui.horizontal.celled.list {
489
+ margin-left: 0em;
490
+ }
491
+ .ui.horizontal.celled.list .item {
492
+ border-top: none;
493
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
494
+ margin: 0em;
495
+ padding-left: 0.75em;
496
+ padding-right: 0.75em;
497
+
498
+ line-height: 0.6;
499
+ }
500
+ .ui.horizontal.celled.list .item:last-child {
501
+ border-bottom: none;
502
+ border-right: 1px solid rgba(0, 0, 0, 0.1);
503
+ }
504
+
505
+ /*-------------------
506
+ Relaxed
507
+ --------------------*/
508
+
509
+ .ui.relaxed.list:not(.horizontal) .item {
510
+ padding-top: 0.5em;
511
+ padding-bottom: 0.5em;
512
+ }
513
+ .ui.horizontal.relaxed.list .item {
514
+ padding-left: 1.25em;
515
+ padding-right: 1.25em;
516
+ }
517
+
518
+ .ui.very.relaxed.list:not(.horizontal) .item {
519
+ padding-top: 1em;
520
+ padding-bottom: 1em;
521
+ }
522
+ .ui.horizontal.very.relaxed.list .item {
523
+ padding-left: 2em;
524
+ padding-right: 2em;
525
+ }
526
+
527
+
528
+ /*-------------------
529
+ Sizes
530
+ --------------------*/
531
+
532
+ .ui.mini.list .item {
533
+ font-size: 0.7rem;
534
+ }
535
+ .ui.tiny.list .item {
536
+ font-size: 0.8125rem;
537
+ }
538
+ .ui.small.list .item {
539
+ font-size: 0.875rem;
540
+ }
541
+ .ui.list .item {
542
+ font-size: 1em;
543
+ }
544
+ .ui.large.list .item {
545
+ font-size: 1.125rem;
546
+ }
547
+ .ui.big.list .item {
548
+ font-size: 1.25rem;
549
+ }
550
+ .ui.huge.list .item {
551
+ font-size: 1.375rem;
552
+ }
553
+ .ui.massive.list .item {
554
+ font-size: 1.5rem;
555
+ }