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,181 @@
1
+ /*
2
+ * # Semantic - Image
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
+ Image
15
+ *******************************/
16
+
17
+ .ui.image {
18
+ position: relative;
19
+ display: inline-block;
20
+ vertical-align: middle;
21
+ max-width: 100%;
22
+ background-color: rgba(0, 0, 0, 0.05);
23
+ }
24
+ img.ui.image {
25
+ display: block;
26
+ background: none;
27
+ }
28
+ .ui.image img {
29
+ display: block;
30
+ max-width: 100%;
31
+ height: auto;
32
+ }
33
+
34
+ /*******************************
35
+ States
36
+ *******************************/
37
+
38
+
39
+ .ui.disabled.image {
40
+ cursor: default;
41
+ opacity: 0.3;
42
+ }
43
+
44
+
45
+ /*******************************
46
+ Variations
47
+ *******************************/
48
+
49
+ /*--------------
50
+ Rounded
51
+ ---------------*/
52
+
53
+ .ui.rounded.images .image,
54
+ .ui.rounded.images img,
55
+ .ui.rounded.image img,
56
+ .ui.rounded.image {
57
+ -webkit-border-radius: 0.3125em;
58
+ -moz-border-radius: 0.3125em;
59
+ border-radius: 0.3125em;
60
+ }
61
+
62
+ /*--------------
63
+ Circular
64
+ ---------------*/
65
+
66
+ .ui.circular.images .image,
67
+ .ui.circular.images img,
68
+ .ui.circular.image img,
69
+ .ui.circular.image {
70
+ -webkit-border-radius: 500rem;
71
+ -moz-border-radius: 500rem;
72
+ border-radius: 500rem;
73
+ }
74
+
75
+ /*--------------
76
+ Fluid
77
+ ---------------*/
78
+
79
+ .ui.fluid.images,
80
+ .ui.fluid.image,
81
+ .ui.fluid.images img,
82
+ .ui.fluid.image img {
83
+ display: block;
84
+ width: 100%;
85
+ }
86
+
87
+
88
+ /*--------------
89
+ Avatar
90
+ ---------------*/
91
+
92
+ .ui.avatar.images .image,
93
+ .ui.avatar.images img,
94
+ .ui.avatar.image img,
95
+ .ui.avatar.image {
96
+ margin-right: 0.5em;
97
+
98
+ display: inline-block;
99
+ width: 2em;
100
+ height: 2em;
101
+
102
+ -webkit-border-radius: 500rem;
103
+ -moz-border-radius: 500rem;
104
+ border-radius: 500rem;
105
+ }
106
+
107
+
108
+
109
+ /*-------------------
110
+ Floated
111
+ --------------------*/
112
+
113
+ .ui.floated.image,
114
+ .ui.floated.images {
115
+ float: left;
116
+ margin-right: 1em;
117
+ margin-bottom: 1em;
118
+ }
119
+ .ui.right.floated.images,
120
+ .ui.right.floated.image {
121
+ float: right;
122
+ margin-bottom: 1em;
123
+ margin-left: 1em;
124
+ }
125
+
126
+
127
+ /*--------------
128
+ Sizes
129
+ ---------------*/
130
+
131
+ .ui.tiny.images .image,
132
+ .ui.tiny.images img,
133
+ .ui.tiny.image {
134
+ width: 20px;
135
+ font-size: 0.7rem;
136
+ }
137
+ .ui.mini.images .image,
138
+ .ui.mini.images img,
139
+ .ui.mini.image {
140
+ width: 35px;
141
+ font-size: 0.8rem;
142
+ }
143
+ .ui.small.images .image,
144
+ .ui.small.images img,
145
+ .ui.small.image {
146
+ width: 80px;
147
+ font-size: 0.9rem;
148
+ }
149
+ .ui.medium.images .image,
150
+ .ui.medium.images img,
151
+ .ui.medium.image {
152
+ width: 300px;
153
+ font-size: 1rem;
154
+ }
155
+ .ui.large.images .image,
156
+ .ui.large.images img,
157
+ .ui.large.image {
158
+ width: 450px;
159
+ font-size: 1.1rem;
160
+ }
161
+ .ui.huge.images .image,
162
+ .ui.huge.images img,
163
+ .ui.huge.image {
164
+ width: 600px;
165
+ font-size: 1.2rem;
166
+ }
167
+
168
+ /*******************************
169
+ Groups
170
+ *******************************/
171
+
172
+ .ui.images {
173
+ font-size: 0em;
174
+ margin: 0em -0.25rem 0rem;
175
+ }
176
+
177
+ .ui.images .image,
178
+ .ui.images img {
179
+ display: inline-block;
180
+ margin: 0em 0.25em 0.5em;
181
+ }
@@ -0,0 +1,338 @@
1
+ /*
2
+ * # Semantic - Input
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
+ Standard
15
+ *******************************/
16
+
17
+
18
+ /*--------------------
19
+ Inputs
20
+ ---------------------*/
21
+
22
+ .ui.input {
23
+ display: inline-block;
24
+ position: relative;
25
+ }
26
+ .ui.input input {
27
+ width: 100%;
28
+ font-family: "Helvetica Neue", "Helvetica", Arial;
29
+
30
+ margin: 0em;
31
+ padding: 0.85em 1.2em;
32
+ font-size: 0.875em;
33
+
34
+ background-color: #FFFFFF;
35
+ border: 1px solid rgba(0, 0, 0, 0.15);
36
+ outline: none;
37
+
38
+ color: rgba(0, 0, 0, 0.7);
39
+
40
+ -webkit-border-radius: 0.3125em;
41
+ -moz-border-radius: 0.3125em;
42
+ border-radius: 0.3125em;
43
+
44
+ -webkit-transition:
45
+ background-color 0.3s ease-out,
46
+ box-shadow 0.2s ease,
47
+ border-color 0.2s ease
48
+ ;
49
+ -moz-transition:
50
+ background-color 0.3s ease-out,
51
+ box-shadow 0.2s ease,
52
+ border-color 0.2s ease
53
+ ;
54
+ -o-transition:
55
+ background-color 0.3s ease-out,
56
+ box-shadow 0.2s ease,
57
+ border-color 0.2s ease
58
+ ;
59
+ -ms-transition:
60
+ background-color 0.3s ease-out,
61
+ box-shadow 0.2s ease,
62
+ border-color 0.2s ease
63
+ ;
64
+ transition:
65
+ background-color 0.3s ease-out,
66
+ box-shadow 0.2s ease,
67
+ border-color 0.2s ease
68
+ ;
69
+
70
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
71
+
72
+ -webkit-box-sizing: border-box;
73
+ -moz-box-sizing: border-box;
74
+ -ms-box-sizing: border-box;
75
+ box-sizing: border-box;
76
+ }
77
+
78
+
79
+ /*--------------------
80
+ Placeholder
81
+ ---------------------*/
82
+
83
+ /* browsers require these rules separate */
84
+ .ui.input::-web inputkit-input-placeholder {
85
+ color: #E0E0E0;
86
+ }
87
+ .ui.input::-moz input-placeholder {
88
+ color: #E0E0E0;
89
+ }
90
+
91
+
92
+ /*******************************
93
+ States
94
+ *******************************/
95
+
96
+ /*--------------------
97
+ Active
98
+ ---------------------*/
99
+
100
+ .ui.input input:active,
101
+ .ui.input.down input {
102
+ border-color: rgba(0, 0, 0, 0.3);
103
+ background-color: #FAFAFA;
104
+ }
105
+
106
+ /*--------------------
107
+ Loading
108
+ ---------------------*/
109
+
110
+ .ui.loading.input > .icon {
111
+ background: image-url("semantic-ui/loader-mini.gif") no-repeat 50% 50%;
112
+ }
113
+ .ui.loading.input > .icon:before,
114
+ .ui.loading.input > .icon:after {
115
+ display: none;
116
+ }
117
+
118
+ /*--------------------
119
+ Focus
120
+ ---------------------*/
121
+
122
+ .ui.input.focus input,
123
+ .ui.input input:focus {
124
+ border-color: rgba(0, 0, 0, 0.2);
125
+ color: rgba(0, 0, 0, 0.85);
126
+ }
127
+ .ui.input.focus input input::-webkit-input-placeholder,
128
+ .ui.input input:focus input::-webkit-input-placeholder {
129
+ color: #AAAAAA;
130
+ }
131
+ .ui.input.focus input input::-moz-placeholder,
132
+ .ui.input input:focus input::-moz-placeholder {
133
+ color: #AAAAAA;
134
+ }
135
+
136
+
137
+ /*--------------------
138
+ Error
139
+ ---------------------*/
140
+
141
+ .ui.input.error input {
142
+ background-color: #FFFAFA;
143
+ border-color: #E7BEBE;
144
+ color: #D95C5C;
145
+ }
146
+
147
+ /* Error Placeholder */
148
+ .ui.input.error input ::-webkit-input-placeholder {
149
+ color: rgba(255, 80, 80, 0.4);
150
+ }
151
+ .ui.input.error input ::-moz-placeholder {
152
+ color: rgba(255, 80, 80, 0.4);
153
+ }
154
+ .ui.input.error input :focus::-webkit-input-placeholder {
155
+ color: rgba(255, 80, 80, 0.7);
156
+ }
157
+ .ui.input.error input :focus::-moz-placeholder {
158
+ color: rgba(255, 80, 80, 0.7);
159
+ }
160
+
161
+ /*******************************
162
+ Variations
163
+ *******************************/
164
+
165
+
166
+ /*--------------------
167
+ Transparent
168
+ ---------------------*/
169
+
170
+ .ui.transparent.input input {
171
+ border: none;
172
+ background-color: transparent;
173
+ }
174
+
175
+
176
+ /*--------------------
177
+ Icon
178
+ ---------------------*/
179
+
180
+ .ui.icon.input > .icon {
181
+ position: absolute;
182
+ opacity: 0.5;
183
+ top: 0px;
184
+ right: 0px;
185
+
186
+ margin: 0em;
187
+
188
+ width: 2.6em;
189
+ height: 100%;
190
+ padding-top: 0.85em;
191
+
192
+ text-align: center;
193
+
194
+ -webkit-border-radius: 0em 0.3125em 0.3125em 0em;
195
+ -moz-border-radius: 0em 0.3125em 0.3125em 0em;
196
+ border-radius: 0em 0.3125em 0.3125em 0em;
197
+
198
+ -webkit-box-sizing: border-box;
199
+ -moz-box-sizing: border-box;
200
+ -ms-box-sizing: border-box;
201
+ box-sizing: border-box;
202
+
203
+ -webkit-transition: opacity 0.3s ease-out;
204
+ -moz-transition: opacity 0.3s ease-out;
205
+ -o-transition: opacity 0.3s ease-out;
206
+ -ms-transition: opacity 0.3s ease-out;
207
+ transition: opacity 0.3s ease-out;
208
+ }
209
+ .ui.icon.input input {
210
+ padding-right: 3em !important;
211
+ }
212
+ .ui.icon.input > .circular.icon {
213
+ top: 0.35em;
214
+ right: 0.5em;
215
+ }
216
+
217
+ /* Left Side */
218
+ .ui.left.icon.input > .icon {
219
+ right: auto;
220
+ left: 1px;
221
+
222
+ -webkit-border-radius: 0.3125em 0em 0em 0.3125em;
223
+ -moz-border-radius: 0.3125em 0em 0em 0.3125em;
224
+ border-radius: 0.3125em 0em 0em 0.3125em;
225
+ }
226
+ .ui.left.icon.input > .circular.icon {
227
+ right: auto;
228
+ left: 0.5em;
229
+ }
230
+ .ui.left.icon.input > input {
231
+ padding-left: 3em !important;
232
+ padding-right: 1.2em !important;
233
+ }
234
+
235
+ /* Focus */
236
+ .ui.icon.input > input:focus ~ .icon {
237
+ opacity: 1;
238
+ }
239
+
240
+ /*--------------------
241
+ Labeled
242
+ ---------------------*/
243
+
244
+ .ui.labeled.input .corner.label {
245
+ top: 1px;
246
+ right: 1px;
247
+
248
+ -webkit-border-top-right-radius: 0.3125em;
249
+ -moz-border-top-right-radius: 0.3125em;
250
+ border-top-right-radius: 0.3125em;
251
+ }
252
+ .ui.labeled.input input {
253
+ padding-right: 2.5em !important;
254
+ }
255
+
256
+ /* Spacing with corner label */
257
+ .ui.labeled.icon.input:not(.left) > input {
258
+ padding-right: 3.25em !important;
259
+ }
260
+ .ui.labeled.icon.input:not(.left) > .icon {
261
+ margin-right: 0.75em;
262
+ }
263
+
264
+
265
+ /*--------------------
266
+ Action
267
+ ---------------------*/
268
+
269
+ .ui.action.input {
270
+ display: table;
271
+ }
272
+
273
+ .ui.action.input > input {
274
+ display: table-cell;
275
+ border-top-right-radius: 0px !important;
276
+ border-bottom-right-radius: 0px !important;
277
+ border-right: none;
278
+ }
279
+ .ui.action.input > .button {
280
+ display: table-cell;
281
+ opacity: 0.9;
282
+
283
+ border-top-left-radius: 0px;
284
+ border-bottom-left-radius: 0px;
285
+
286
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
287
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
288
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
289
+ white-space: nowrap;
290
+ }
291
+ .ui.action.input > .button > .icon {
292
+ display: inline;
293
+ }
294
+
295
+ .ui.action.input > input:focus ~ .button {
296
+ opacity: 1;
297
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
298
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
299
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
300
+ }
301
+
302
+ /*--------------------
303
+ Fluid
304
+ ---------------------*/
305
+
306
+ .ui.fluid.input {
307
+ display: block;
308
+ }
309
+
310
+
311
+ /*--------------------
312
+ Size
313
+ ---------------------*/
314
+
315
+ .ui.mini.input {
316
+ font-size: 0.8125rem;
317
+ }
318
+ .ui.tiny.input {
319
+ font-size: 0.875rem;
320
+ }
321
+ .ui.small.input {
322
+ font-size: 0.875rem;
323
+ }
324
+ .ui.input {
325
+ font-size: 1rem;
326
+ }
327
+ .ui.large.input {
328
+ font-size: 1.125rem;
329
+ }
330
+ .ui.big.input {
331
+ font-size: 1.25rem;
332
+ }
333
+ .ui.huge.input {
334
+ font-size: 1.375rem;
335
+ }
336
+ .ui.massive.input {
337
+ font-size: 1.5rem;
338
+ }