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,185 @@
1
+ /*
2
+ * # Semantic - Loader
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
+ */
11
+
12
+
13
+ /*******************************
14
+ Loader
15
+ *******************************/
16
+
17
+
18
+ /* Standard Size */
19
+ .ui.loader {
20
+ display: none;
21
+ position: absolute;
22
+ top: 50%;
23
+ left: 50%;
24
+ margin: 0px;
25
+ z-index: 1000;
26
+
27
+ -webkit-transform: translateX(-50%) translateY(-50%);
28
+ -moz-transform: translateX(-50%) translateY(-50%);
29
+ -o-transform: translateX(-50%) translateY(-50%);
30
+ -ms-transform: translateX(-50%) translateY(-50%);
31
+ transform: translateX(-50%) translateY(-50%);
32
+ }
33
+
34
+ .ui.dimmer .loader {
35
+ display: block;
36
+ }
37
+
38
+ /*******************************
39
+ Types
40
+ *******************************/
41
+
42
+ /*-------------------
43
+ Text
44
+ --------------------*/
45
+
46
+ .ui.text.loader {
47
+ width: auto !important;
48
+ height: auto !important;
49
+ text-align: center;
50
+ font-style: normal;
51
+ }
52
+
53
+ .ui.mini.text.loader {
54
+ min-width: 16px;
55
+ padding-top: 2em;
56
+ font-size: 0.875em;
57
+ }
58
+ .ui.small.text.loader {
59
+ min-width: 24px;
60
+ padding-top: 2.5em;
61
+ font-size: 0.875em;
62
+ }
63
+ .ui.text.loader {
64
+ min-width: 32px;
65
+ font-size: 1em;
66
+ padding-top: 3em;
67
+ }
68
+ .ui.large.text.loader {
69
+ min-width: 64px;
70
+ padding-top: 5em;
71
+ font-size: 1.2em;
72
+ }
73
+
74
+ /*******************************
75
+ States
76
+ *******************************/
77
+
78
+ .ui.loader.active,
79
+ .ui.loader.visible {
80
+ display: block;
81
+ }
82
+
83
+ .ui.loader.disabled,
84
+ .ui.loader.hidden {
85
+ display: none;
86
+ }
87
+
88
+
89
+ /*******************************
90
+ Variations
91
+ *******************************/
92
+
93
+ /*-------------------
94
+ Inverted
95
+ --------------------*/
96
+
97
+ .ui.dimmer .ui.text.loader,
98
+ .ui.inverted.text.loader {
99
+ color: rgba(255, 255, 255, 0.8);
100
+ }
101
+ .ui.inverted.dimmer .ui.text.loader {
102
+ color: rgba(0, 0, 0, 0.8);
103
+ }
104
+
105
+ /* Tiny Size */
106
+ .ui.dimmer .mini.ui.loader,
107
+ .ui.inverted .mini.ui.loader {
108
+ background-image: image-url("semantic-ui/loader-mini-inverted.gif");
109
+ }
110
+
111
+ /* Small Size */
112
+ .ui.dimmer .small.ui.loader,
113
+ .ui.inverted .small.ui.loader {
114
+ background-image: image-url("semantic-ui/loader-small-inverted.gif");
115
+ }
116
+
117
+ /* Standard Size */
118
+ .ui.dimmer .ui.loader,
119
+ .ui.inverted.loader {
120
+ background-image: image-url("semantic-ui/loader-medium-inverted.gif");
121
+ }
122
+
123
+ /* Large Size */
124
+ .ui.dimmer .large.ui.loader,
125
+ .ui.inverted .large.ui.loader {
126
+ background-image: image-url("semantic-ui/loader-large-inverted.gif");
127
+ }
128
+
129
+ /*-------------------
130
+ Sizes
131
+ --------------------*/
132
+
133
+ /* Tiny Size */
134
+ .ui.inverted.dimmer .ui.mini.loader,
135
+ .ui.mini.loader {
136
+ width: 16px;
137
+ height: 16px;
138
+ background-image: image-url("semantic-ui/loader-mini.gif");
139
+ }
140
+
141
+ /* Small Size */
142
+ .ui.inverted.dimmer .ui.small.loader,
143
+ .ui.small.loader {
144
+ width: 24px;
145
+ height: 24px;
146
+ background-image: image-url("semantic-ui/loader-small.gif");
147
+ }
148
+
149
+ .ui.inverted.dimmer .ui.loader,
150
+ .ui.loader {
151
+ width: 32px;
152
+ height: 32px;
153
+ background: image-url("semantic-ui/loader-medium.gif") no-repeat;
154
+ background-position: 48% 0px;
155
+ }
156
+
157
+ /* Large Size */
158
+ .ui.inverted.dimmer .ui.loader.large,
159
+ .ui.loader.large {
160
+ width: 64px;
161
+ height: 64px;
162
+ background-image: image-url("semantic-ui/loader-large.gif");
163
+ }
164
+
165
+
166
+ /*-------------------
167
+ Inline
168
+ --------------------*/
169
+
170
+ .ui.inline.loader {
171
+ position: static;
172
+ vertical-align: middle;
173
+ margin: 0em;
174
+
175
+ -webkit-transform: none;
176
+ -moz-transform: none;
177
+ -o-transform: none;
178
+ -ms-transform: none;
179
+ transform: none;
180
+ }
181
+
182
+ .ui.inline.loader.active,
183
+ .ui.inline.loader.visible {
184
+ display: inline-block;
185
+ }
@@ -0,0 +1,352 @@
1
+ /*
2
+ * # Semantic - Progress Bar
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
+ */
11
+
12
+
13
+ /*******************************
14
+ Progress Bar
15
+ *******************************/
16
+
17
+ .ui.progress {
18
+ border: 1px solid rgba(0, 0, 0, 0.1);
19
+
20
+ width: 100%;
21
+ height: 35px;
22
+
23
+ background-color: #FAFAFA;
24
+ padding: 5px;
25
+
26
+ -webkit-border-radius: 0.3125em;
27
+ -moz-border-radius: 0.3125em;
28
+ border-radius: 0.3125em;
29
+
30
+ -webkit-box-sizing: border-box;
31
+ -moz-box-sizing: border-box;
32
+ -ms-box-sizing: border-box;
33
+ box-sizing: border-box;
34
+ }
35
+
36
+ .ui.progress .bar {
37
+ display: inline-block;
38
+ height: 100%;
39
+
40
+ background-color: #CCCCCC;
41
+
42
+ -moz-border-radius: 3px;
43
+ -webkit-border-radius: 3px;
44
+ 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
+ ;
66
+ }
67
+
68
+
69
+ /*******************************
70
+ States
71
+ *******************************/
72
+
73
+
74
+ /*--------------
75
+ Successful
76
+ ---------------*/
77
+
78
+ .ui.successful.progress .bar {
79
+ background-color: #73E064 !important;
80
+ }
81
+ .ui.successful.progress .bar,
82
+ .ui.successful.progress .bar::after {
83
+ -webkit-animation: none !important;
84
+ -moz-animation: none !important;
85
+ animation: none !important;
86
+ }
87
+
88
+ /*--------------
89
+ Failed
90
+ ---------------*/
91
+
92
+ .ui.failed.progress .bar {
93
+ background-color: #DF9BA4 !important;
94
+ }
95
+ .ui.failed.progress .bar,
96
+ .ui.failed.progress .bar::after {
97
+ -webkit-animation: none !important;
98
+ -moz-animation: none !important;
99
+ animation: none !important;
100
+ }
101
+
102
+ /*--------------
103
+ Active
104
+ ---------------*/
105
+
106
+ .ui.active.progress .bar {
107
+ position: relative;
108
+ }
109
+ .ui.active.progress .bar::after {
110
+ content: '';
111
+ opacity: 0;
112
+
113
+ position: absolute;
114
+ top: 0px;
115
+ left: 0px;
116
+ right: 0px;
117
+ bottom: 0px;
118
+ background: #FFFFFF;
119
+
120
+ -moz-border-radius: 3px;
121
+ -webkit-border-radius: 3px;
122
+ border-radius: 3px;
123
+
124
+ -webkit-animation: progress-active 2s ease-out infinite;
125
+ -moz-animation: progress-active 2s ease-out infinite;
126
+ animation: progress-active 2s ease-out infinite;
127
+ }
128
+
129
+ @-webkit-keyframes progress-active {
130
+ 0% {
131
+ opacity: 0;
132
+ width: 0;
133
+ }
134
+ 50% {
135
+ opacity: 0.3;
136
+ }
137
+ 100% {
138
+ opacity: 0;
139
+ width: 95%;
140
+ }
141
+ }
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
+ }
155
+ @keyframes progress-active {
156
+ 0% {
157
+ opacity: 0;
158
+ width: 0;
159
+ }
160
+ 50% {
161
+ opacity: 0.3;
162
+ }
163
+ 100% {
164
+ opacity: 0;
165
+ width: 100%;
166
+ }
167
+ }
168
+
169
+ /*--------------
170
+ Disabled
171
+ ---------------*/
172
+
173
+ .ui.disabled.progress {
174
+ opacity: 0.35;
175
+ }
176
+ .ui.disabled.progress .bar,
177
+ .ui.disabled.progress .bar::after {
178
+ -webkit-animation: none !important;
179
+ -moz-animation: none !important;
180
+ animation: none !important;
181
+ }
182
+
183
+
184
+
185
+ /*******************************
186
+ Variations
187
+ *******************************/
188
+
189
+
190
+ /*--------------
191
+ Attached
192
+ ---------------*/
193
+
194
+ /* bottom attached */
195
+ .ui.progress.attached {
196
+ position: relative;
197
+ border: none;
198
+ }
199
+ .ui.progress.attached,
200
+ .ui.progress.attached .bar {
201
+ display: block;
202
+ height: 3px;
203
+ padding: 0px;
204
+ overflow: hidden;
205
+ -webkit-border-radius: 0em 0em 0.3125em 0.3125em;
206
+ -moz-border-radius: 0em 0em 0.3125em 0.3125em;
207
+ border-radius: 0em 0em 0.3125em 0.3125em;
208
+ }
209
+ .ui.progress.attached .bar {
210
+ -webkit-border-radius: 0em;
211
+ -moz-border-radius: 0em;
212
+ border-radius: 0em;
213
+ }
214
+
215
+ /* top attached */
216
+ .ui.progress.top.attached,
217
+ .ui.progress.top.attached .bar {
218
+ top: -2px;
219
+ -webkit-border-radius: 0.3125em 0.3125em 0em 0em;
220
+ -moz-border-radius: 0.3125em 0.3125em 0em 0em;
221
+ border-radius: 0.3125em 0.3125em 0em 0em;
222
+ }
223
+ .ui.progress.top.attached .bar {
224
+ -webkit-border-radius: 0em;
225
+ -moz-border-radius: 0em;
226
+ border-radius: 0em;
227
+ }
228
+
229
+
230
+ /*--------------
231
+ Colors
232
+ ---------------*/
233
+
234
+ .ui.blue.progress .bar {
235
+ background-color: #6ECFF5;
236
+ }
237
+ .ui.black.progress .bar {
238
+ background-color: #5C6166;
239
+ }
240
+ .ui.green.progress .bar {
241
+ background-color: #A1CF64;
242
+ }
243
+ .ui.red.progress .bar {
244
+ background-color: #EF4D6D;
245
+ }
246
+ .ui.purple.progress .bar {
247
+ background-color: #564F8A;
248
+ }
249
+ .ui.teal.progress .bar {
250
+ background-color: #00B5AD;
251
+ }
252
+
253
+
254
+ /*--------------
255
+ Striped
256
+ ---------------*/
257
+
258
+ .ui.progress.striped .bar {
259
+ -webkit-background-size: 30px 30px;
260
+ -moz-background-size: 30px 30px;
261
+ background-size: 30px 30px;
262
+ background-image:
263
+ -webkit-gradient(linear, left top, right bottom,
264
+ color-stop(.25, rgba(255, 255, 255, .15)), color-stop(.25, transparent),
265
+ color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .15)),
266
+ color-stop(.75, rgba(255, 255, 255, .15)), color-stop(.75, transparent),
267
+ to(transparent)
268
+ )
269
+ ;
270
+ background-image:
271
+ -webkit-linear-gradient(
272
+ 135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
273
+ transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
274
+ transparent 75%, transparent
275
+ )
276
+ ;
277
+ background-image:
278
+ -moz-linear-gradient(
279
+ 135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
280
+ transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
281
+ 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
+ ;
305
+ }
306
+
307
+ .ui.progress.active.striped .bar:after {
308
+ -webkit-animation: none;
309
+ -moz-animation: none;
310
+ -ms-animation: none;
311
+ -o-animation: none;
312
+ animation: none;
313
+ }
314
+ .ui.progress.active.striped .bar {
315
+ -webkit-animation: progress-striped 3s linear infinite;
316
+ -moz-animation: progress-striped 3s linear infinite;
317
+ animation: progress-striped 3s linear infinite;
318
+ }
319
+
320
+ @-webkit-keyframes progress-striped {
321
+ 0% {
322
+ background-position: 0px 0;
323
+ }
324
+ 100% {
325
+ background-position: 60px 0;
326
+ }
327
+ }
328
+ @-moz-keyframes progress-striped {
329
+ 0% {
330
+ background-position: 0px 0;
331
+ }
332
+ 100% {
333
+ background-position: 60px 0;
334
+ }
335
+ }
336
+ @keyframes progress-striped {
337
+ 0% {
338
+ background-position: 0px 0;
339
+ }
340
+ 100% {
341
+ background-position: 60px 0;
342
+ }
343
+ }
344
+
345
+
346
+ /*--------------
347
+ Sizes
348
+ ---------------*/
349
+
350
+ .ui.small.progress .bar {
351
+ height: 14px;
352
+ }