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,199 @@
1
+ /*
2
+ * # Semantic - Divider
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
+ Divider
15
+ *******************************/
16
+
17
+ .ui.divider {
18
+ margin: 1rem 0rem;
19
+
20
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
21
+ border-bottom: 1px solid rgba(255, 255, 255, 0.8);
22
+
23
+ line-height: 1;
24
+ height: 0em;
25
+
26
+ -webkit-box-sizing: border-box;
27
+ -moz-box-sizing: border-box;
28
+ -ms-box-sizing: border-box;
29
+ box-sizing: border-box;
30
+
31
+ -webkit-user-select: none;
32
+ -moz-user-select: none;
33
+ -ms-user-select: none;
34
+ user-select: none;
35
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
36
+ }
37
+
38
+ .ui.vertical.divider,
39
+ .ui.horizontal.divider {
40
+ position: absolute;
41
+
42
+ border: none;
43
+ height: 0em;
44
+ margin: 0em;
45
+ background-color: transparent;
46
+
47
+ font-size: 0.875rem;
48
+ font-weight: bold;
49
+ text-align: center;
50
+ text-transform: uppercase;
51
+
52
+ color: rgba(0, 0, 0, 0.8);
53
+ }
54
+
55
+
56
+ /*--------------
57
+ Vertical
58
+ ---------------*/
59
+
60
+ .ui.vertical.divider {
61
+ position: absolute;
62
+ z-index: 2;
63
+ top: 50%;
64
+ left: 50%;
65
+
66
+ margin: 0% 0% 0% -3%;
67
+
68
+ width: 6%;
69
+ height: 50%;
70
+
71
+ line-height: 0;
72
+ padding: 0em;
73
+ }
74
+
75
+ .ui.vertical.divider:before,
76
+ .ui.vertical.divider:after {
77
+ position: absolute;
78
+ left: 50%;
79
+ content: " ";
80
+ z-index: 3;
81
+
82
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
83
+ border-right: 1px solid rgba(255, 255, 255, 0.8);
84
+
85
+ width: 0%;
86
+ height: 80%;
87
+ }
88
+
89
+ .ui.vertical.divider:before {
90
+ top: -100%;
91
+ }
92
+
93
+ .ui.vertical.divider:after {
94
+ top: auto;
95
+ bottom: 0px;
96
+ }
97
+
98
+ /*--------------
99
+ Horizontal
100
+ ---------------*/
101
+
102
+ .ui.horizontal.divider {
103
+ position: relative;
104
+ top: 0%;
105
+ left: 0%;
106
+
107
+ margin: 1rem 1.5rem;
108
+ height: auto;
109
+ padding: 0em;
110
+
111
+ line-height: 1;
112
+ }
113
+
114
+ .ui.horizontal.divider:before,
115
+ .ui.horizontal.divider:after {
116
+ position: absolute;
117
+ top: 50%;
118
+ content: " ";
119
+ z-index: 3;
120
+
121
+ width: 50%;
122
+ top: 50%;
123
+ height: 0%;
124
+
125
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
126
+ border-bottom: 1px solid rgba(255, 255, 255, 0.8);
127
+ }
128
+
129
+ .ui.horizontal.divider:before {
130
+ left: 0%;
131
+ margin-left: -1.5rem;
132
+ }
133
+ .ui.horizontal.divider:after {
134
+ left: auto;
135
+ right: 0%;
136
+ margin-right: -1.5rem;
137
+ }
138
+
139
+ /*--------------
140
+ Icon
141
+ ---------------*/
142
+
143
+ .ui.divider > .icon {
144
+ margin: 0em;
145
+ font-size: 1rem;
146
+ vertical-align: middle;
147
+ }
148
+
149
+
150
+ /*******************************
151
+ Variations
152
+ *******************************/
153
+
154
+
155
+ /*--------------
156
+ Inverted
157
+ ---------------*/
158
+
159
+ .ui.divider.inverted {
160
+ color: rgba(255, 255, 255, 1);
161
+ }
162
+ .ui.vertical.inverted.divider,
163
+ .ui.horizontal.inverted.divider {
164
+ color: rgba(255, 255, 255, 0.9);
165
+ }
166
+ .ui.divider.inverted,
167
+ .ui.divider.inverted:after,
168
+ .ui.divider.inverted:before {
169
+ border-top-color: rgba(0, 0, 0, 0.15);
170
+ border-bottom-color: rgba(255, 255, 255, 0.15);
171
+
172
+ border-left-color: rgba(0, 0, 0, 0.15);
173
+ border-right-color: rgba(255, 255, 255, 0.15);
174
+ }
175
+
176
+ /*--------------
177
+ Fitted
178
+ ---------------*/
179
+
180
+ .ui.fitted.divider {
181
+ margin: 0em;
182
+ }
183
+
184
+ /*--------------
185
+ Clearing
186
+ ---------------*/
187
+
188
+ .ui.clearing.divider {
189
+ clear: both;
190
+ }
191
+
192
+ /*--------------
193
+ Section
194
+ ---------------*/
195
+
196
+ .ui.section.divider {
197
+ margin-top: 2rem;
198
+ margin-bottom: 2rem;
199
+ }
@@ -0,0 +1,342 @@
1
+ /*
2
+ * # Semantic - Header
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
+ Header
14
+ *******************************/
15
+
16
+ /* Standard */
17
+ .ui.header {
18
+ border: none;
19
+ margin: 1em 0em 1rem;
20
+ padding: 0em;
21
+
22
+ font-size: 1.33em;
23
+ font-weight: bold;
24
+ line-height: 1.33;
25
+ }
26
+
27
+ .ui.header .sub.header {
28
+ font-size: 1rem;
29
+ font-weight: normal;
30
+ margin: 0em;
31
+ padding: 0em;
32
+
33
+ line-height: 1.2;
34
+ color: rgba(0, 0, 0, 0.5);
35
+ }
36
+
37
+ .ui.header .icon {
38
+ display: table-cell;
39
+ vertical-align: middle;
40
+ padding-right: 0.5em;
41
+ }
42
+ .ui.header .icon:only-child {
43
+ display: inline-block;
44
+ }
45
+
46
+ .ui.header .content {
47
+ display: inline-block;
48
+ vertical-align: top;
49
+ }
50
+ .ui.header .icon + .content {
51
+ padding-left: 0.5em;
52
+ display: table-cell;
53
+ }
54
+
55
+ /* Positioning */
56
+ .ui.header:first-child {
57
+ margin-top: 0em;
58
+ }
59
+ .ui.header:last-child {
60
+ margin-bottom: 0em;
61
+ }
62
+ .ui.header + p {
63
+ margin-top: 0em;
64
+ }
65
+
66
+
67
+ /*--------------
68
+ Page Heading
69
+ ---------------*/
70
+
71
+ h1.ui.header {
72
+ min-height: 1rem;
73
+ line-height: 1.33;
74
+ font-size: 2rem;
75
+ }
76
+ h2.ui.header {
77
+ line-height: 1.33;
78
+ font-size: 1.75rem;
79
+ }
80
+ h3.ui.header {
81
+ line-height: 1.33;
82
+ font-size: 1.33rem;
83
+ }
84
+ h4.ui.header {
85
+ line-height: 1.33;
86
+ font-size: 1.1rem;
87
+ }
88
+ h5.ui.header {
89
+ line-height: 1.2;
90
+ font-size: 1rem;
91
+ }
92
+
93
+ /*--------------
94
+ Content Heading
95
+ ---------------*/
96
+
97
+ .ui.huge.header {
98
+ min-height: 1em;
99
+ font-size: 2em;
100
+ }
101
+ .ui.large.header {
102
+ font-size: 1.75em;
103
+ }
104
+ .ui.medium.header {
105
+ font-size: 1.33em;
106
+ }
107
+ .ui.small.header {
108
+ font-size: 1.1em;
109
+ }
110
+ .ui.tiny.header {
111
+ font-size: 1em;
112
+ }
113
+
114
+
115
+ /*******************************
116
+ Types
117
+ *******************************/
118
+
119
+
120
+ /*-------------------
121
+ Icon
122
+ --------------------*/
123
+
124
+ .ui.icon.header {
125
+ display: inline-block;
126
+ text-align: center;
127
+ }
128
+ .ui.icon.header .icon {
129
+ float: none;
130
+ display: block;
131
+ font-size: 3em;
132
+ margin: 0em auto 0.2em;
133
+ padding: 0em;
134
+ }
135
+ .ui.icon.header .content {
136
+ display: block;
137
+ }
138
+ .ui.icon.header .circular.icon,
139
+ .ui.icon.header .square.icon {
140
+ font-size: 2em;
141
+ }
142
+ .ui.block.icon.header .icon {
143
+ margin-bottom: 0em;
144
+ }
145
+ .ui.icon.header.aligned {
146
+ margin-left: auto;
147
+ margin-right: auto;
148
+ display: block;
149
+ }
150
+
151
+ /*******************************
152
+ States
153
+ *******************************/
154
+
155
+ .ui.disabled.header {
156
+ opacity: 0.5;
157
+ }
158
+
159
+
160
+ /*******************************
161
+ Variations
162
+ *******************************/
163
+
164
+
165
+ /*-------------------
166
+ Colors
167
+ --------------------*/
168
+
169
+ .ui.blue.header {
170
+ color: #6ECFF5 !important;
171
+ }
172
+ .ui.black.header {
173
+ color: #5C6166 !important;
174
+ }
175
+ .ui.green.header {
176
+ color: #A1CF64 !important;
177
+ }
178
+ .ui.red.header {
179
+ color: #D95C5C !important;
180
+ }
181
+ .ui.purple.header {
182
+ color: #564F8A !important;
183
+ }
184
+ .ui.teal.header {
185
+ color: #00B5AD !important;
186
+ }
187
+
188
+ .ui.blue.dividing.header {
189
+ border-bottom: 3px solid #6ECFF5;
190
+ }
191
+ .ui.black.dividing.header {
192
+ border-bottom: 3px solid #5C6166;
193
+ }
194
+ .ui.green.dividing.header {
195
+ border-bottom: 3px solid #A1CF64;
196
+ }
197
+ .ui.red.dividing.header {
198
+ border-bottom: 3px solid #D95C5C;
199
+ }
200
+ .ui.purple.dividing.header {
201
+ border-bottom: 3px solid #564F8A;
202
+ }
203
+ .ui.teal.dividing.header {
204
+ border-bottom: 3px solid #00B5AD;
205
+ }
206
+
207
+ /*-------------------
208
+ Inverted
209
+ --------------------*/
210
+
211
+ .ui.inverted.header {
212
+ color: #FFFFFF;
213
+ }
214
+ .ui.inverted.header .sub.header {
215
+ color: rgba(255, 255, 255, 0.85);
216
+ }
217
+
218
+
219
+ /*-------------------
220
+ Inverted Colors
221
+ --------------------*/
222
+
223
+ .ui.inverted.black.header {
224
+ background-color: #5C6166 !important;
225
+ color: #FFFFFF !important;
226
+ }
227
+ .ui.inverted.blue.header {
228
+ background-color: #6ECFF5 !important;
229
+ color: #FFFFFF !important;
230
+ }
231
+ .ui.inverted.green.header {
232
+ background-color: #A1CF64 !important;
233
+ color: #FFFFFF !important;
234
+ }
235
+ .ui.inverted.red.header {
236
+ background-color: #D95C5C !important;
237
+ color: #FFFFFF !important;
238
+ }
239
+ .ui.inverted.purple.header {
240
+ background-color: #564F8A !important;
241
+ color: #FFFFFF !important;
242
+ }
243
+ .ui.inverted.teal.header {
244
+ background-color: #00B5AD !important;
245
+ color: #FFFFFF !important;
246
+ }
247
+
248
+ .ui.inverted.block.header {
249
+ border-bottom: none;
250
+ }
251
+
252
+ /*-------------------
253
+ Aligned
254
+ --------------------*/
255
+
256
+ .ui.left.aligned.header {
257
+ text-align: left;
258
+ }
259
+ .ui.right.aligned.header {
260
+ text-align: right;
261
+ }
262
+ .ui.center.aligned.header {
263
+ text-align: center;
264
+ }
265
+
266
+ /*-------------------
267
+ Floated
268
+ --------------------*/
269
+
270
+ .ui.floated.header,
271
+ .ui.left.floated.header {
272
+ float: left;
273
+ margin-top: 0em;
274
+ margin-right: 0.5em;
275
+ }
276
+ .ui.right.floated.header {
277
+ float: right;
278
+ margin-top: 0em;
279
+ margin-left: 0.5em;
280
+ }
281
+
282
+ /*-------------------
283
+ Fittted
284
+ --------------------*/
285
+
286
+ .ui.fitted.header {
287
+ padding: 0em;
288
+ }
289
+
290
+
291
+ /*-------------------
292
+ Dividing
293
+ --------------------*/
294
+
295
+ .ui.dividing.header {
296
+ padding-bottom: 0.2rem;
297
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
298
+ }
299
+ .ui.dividing.header .sub.header {
300
+ padding-bottom: 0.5em;
301
+ }
302
+ .ui.dividing.header .icon {
303
+ margin-bottom: 0.2em;
304
+ }
305
+
306
+
307
+ /*-------------------
308
+ Block
309
+ --------------------*/
310
+
311
+ .ui.block.header {
312
+ background-color: #F5F5F5;
313
+ padding: 0.5em 1em;
314
+ }
315
+
316
+ /*-------------------
317
+ Attached
318
+ --------------------*/
319
+
320
+ .ui.attached.header {
321
+ background-color: #E0E0E0;
322
+ padding: 0.5em 1rem;
323
+
324
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
325
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
326
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
327
+ }
328
+ .ui.top.attached.header {
329
+ margin-bottom: 0em;
330
+
331
+ -webkit-border-radius: 0.3125em 0.3125em 0em 0em;
332
+ -moz-border-radius: 0.3125em 0.3125em 0em 0em;
333
+ border-radius: 0.3125em 0.3125em 0em 0em;
334
+ }
335
+ .ui.bottom.attached.header {
336
+ margin-top: 0em;
337
+
338
+ -webkit-border-radius: 0em 0em 0.3125em 0.3125em;
339
+ -moz-border-radius: 0em 0em 0.3125em 0.3125em;
340
+ border-radius: 0em 0em 0.3125em 0.3125em;
341
+ }
342
+