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,293 @@
1
+ /*
2
+ * # Semantic - Steps
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
+ Step
14
+ *******************************/
15
+
16
+ .ui.step,
17
+ .ui.steps .step {
18
+ display: inline-block;
19
+ position: relative;
20
+ padding: 1em 2em 1em 3em;
21
+
22
+ vertical-align: top;
23
+ background-color: #FFFFFF;
24
+ color: #888888;
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
+ .ui.step:after,
32
+ .ui.steps .step:after {
33
+ position: absolute;
34
+ z-index: 2;
35
+ content: '';
36
+ top: 0em;
37
+ right: -1.45em;
38
+
39
+ border-bottom: 1.5em solid transparent;
40
+ border-left: 1.5em solid #FFFFFF;
41
+ border-top: 1.5em solid transparent;
42
+
43
+ width: 0em;
44
+ height: 0em;
45
+ }
46
+
47
+ .ui.step,
48
+ .ui.steps .step,
49
+ .ui.steps .step:after {
50
+ -webkit-transition:
51
+ opacity 0.1s ease,
52
+ color 0.1s ease,
53
+ box-shadow 0.1s ease
54
+ ;
55
+ -moz-transition:
56
+ opacity 0.1s ease,
57
+ color 0.1s ease,
58
+ box-shadow 0.1s ease
59
+ ;
60
+ -o-transition:
61
+ opacity 0.1s ease,
62
+ color 0.1s ease,
63
+ box-shadow 0.1s ease
64
+ ;
65
+ -ms-transition:
66
+ opacity 0.1s ease,
67
+ color 0.1s ease,
68
+ box-shadow 0.1s ease
69
+ ;
70
+ transition:
71
+ opacity 0.1s ease,
72
+ color 0.1s ease,
73
+ box-shadow 0.1s ease
74
+ ;
75
+ }
76
+
77
+ /*******************************
78
+ Group
79
+ *******************************/
80
+
81
+ .ui.steps {
82
+ cursor: pointer;
83
+ display: inline-block;
84
+ font-size: 0em;
85
+
86
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
87
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
88
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
89
+
90
+ line-height: 1;
91
+
92
+ -webkit-box-sizing: border-box;
93
+ -moz-box-sizing: border-box;
94
+ -ms-box-sizing: border-box;
95
+ box-sizing: border-box;
96
+
97
+ -moz-border-radius: 0.3125rem;
98
+ -webkit-border-radius: 0.3125rem;
99
+ border-radius: 0.3125rem;
100
+ }
101
+
102
+ .ui.steps .step:first-child {
103
+ padding-left: 1.35em;
104
+ -webkit-border-radius: 0.3125em 0em 0em 0.3125em;
105
+ -moz-border-radius: 0.3125em 0em 0em 0.3125em;
106
+ border-radius: 0.3125em 0em 0em 0.3125em;
107
+ }
108
+ .ui.steps .step:last-child {
109
+ -webkit-border-radius: 0em 0.3125em 0.3125em 0em;
110
+ -moz-border-radius: 0em 0.3125em 0.3125em 0em;
111
+ border-radius: 0em 0.3125em 0.3125em 0em;
112
+ }
113
+ .ui.steps .step:only-child {
114
+ -webkit-border-radius: 0.3125em;
115
+ -moz-border-radius: 0.3125em;
116
+ border-radius: 0.3125em;
117
+ }
118
+
119
+ .ui.steps .step:last-child {
120
+ margin-right: 0em;
121
+ }
122
+ .ui.steps .step:last-child:after {
123
+ display: none;
124
+ }
125
+
126
+
127
+ /*******************************
128
+ States
129
+ *******************************/
130
+
131
+ /* Hover */
132
+ .ui.step:hover,
133
+ .ui.step.hover {
134
+ background-color: #F7F7F7;
135
+ color: rgba(0, 0, 0, 0.8);
136
+ }
137
+ .ui.steps .step.hover:after,
138
+ .ui.steps .step:hover:after,
139
+ .ui.step:hover,
140
+ .ui.step.hover::after {
141
+ border-left-color: #F7F7F7;
142
+ }
143
+
144
+ /* Hover */
145
+ .ui.steps .step.down,
146
+ .ui.steps .step:active,
147
+ .ui.step.down,
148
+ .ui.step:active {
149
+ background-color: #F0F0F0;
150
+ }
151
+ .ui.steps .step.down:after,
152
+ .ui.steps .step:active:after,
153
+ .ui.steps.down::after,
154
+ .ui.steps:active::after {
155
+ border-left-color: #F0F0F0;
156
+ }
157
+
158
+ /* Active */
159
+ .ui.steps .step.active,
160
+ .ui.active.step {
161
+ cursor: auto;
162
+ background-color: #555555;
163
+
164
+ color: #FFFFFF;
165
+ font-weight: bold;
166
+ }
167
+ .ui.steps .step.active:after,
168
+ .ui.active.steps:after {
169
+ border-left-color: #555555;
170
+ }
171
+
172
+ /* Disabled */
173
+ .ui.steps .disabled.step,
174
+ .ui.disabled.step {
175
+ cursor: auto;
176
+ background-color: #FFFFFF;
177
+ color: #CBCBCB;
178
+ }
179
+ .ui.disabled.step:after {
180
+ border: none;
181
+ background-color: #FFFFFF;
182
+ top: 0.42em;
183
+ right: -1em;
184
+
185
+ width: 2.15em;
186
+ height: 2.15em;
187
+
188
+ -webkit-transform: rotate(-45deg);
189
+ -moz-transform: rotate(-45deg);
190
+ -o-transform: rotate(-45deg);
191
+ -ms-transform: rotate(-45deg);
192
+ transform: rotate(-45deg);
193
+
194
+ -webkit-box-shadow: -1px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
195
+ -moz-box-shadow: -1px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
196
+ box-shadow: -1px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
197
+ }
198
+
199
+ /*******************************
200
+ Variations
201
+ *******************************/
202
+
203
+ /* Attached */
204
+ .attached.ui.steps {
205
+ margin: 0em;
206
+ -webkit-border-radius: 0.3125em 0.3125em 0em 0em;
207
+ -moz-border-radius: 0.3125em 0.3125em 0em 0em;
208
+ border-radius: 0.3125em 0.3125em 0em 0em;
209
+ }
210
+ .attached.ui.steps .step:first-child {
211
+ -webkit-border-radius: 0.3125em 0em 0em 0em;
212
+ -moz-border-radius: 0.3125em 0em 0em 0em;
213
+ border-radius: 0.3125em 0em 0em 0em;
214
+ }
215
+ .attached.ui.steps .step:last-child {
216
+ -webkit-border-radius: 0em 0.3125em 0em 0em;
217
+ -moz-border-radius: 0em 0.3125em 0em 0em;
218
+ border-radius: 0em 0.3125em 0em 0em;
219
+ }
220
+
221
+ /* Bottom Side */
222
+ .bottom.attached.ui.steps {
223
+ margin-top: -1px;
224
+ -webkit-border-radius: 0em 0em 0.3125em 0.3125em;
225
+ -moz-border-radius: 0em 0em 0.3125em 0.3125em;
226
+ border-radius: 0em 0em 0.3125em 0.3125em;
227
+ }
228
+ .bottom.attached.ui.steps .step:first-child {
229
+ -webkit-border-radius: 0em 0em 0em 0.3125em;
230
+ -moz-border-radius: 0em 0em 0em 0.3125em;
231
+ border-radius: 0em 0em 0em 0.3125em;
232
+ }
233
+ .bottom.attached.ui.steps .step:last-child {
234
+ -webkit-border-radius: 0em 0em 0.3125em 0em;
235
+ -moz-border-radius: 0em 0em 0.3125em 0em;
236
+ border-radius: 0em 0em 0.3125em 0em;
237
+ }
238
+
239
+
240
+ /* Evenly divided */
241
+ .ui.one.steps,
242
+ .ui.two.steps,
243
+ .ui.three.steps,
244
+ .ui.four.steps,
245
+ .ui.five.steps,
246
+ .ui.six.steps,
247
+ .ui.seven.steps,
248
+ .ui.eight.steps {
249
+ display: block;
250
+ }
251
+ .ui.one.steps > .step {
252
+ width: 100%;
253
+ }
254
+ .ui.two.steps > .step {
255
+ width: 50%;
256
+ }
257
+ .ui.three.steps > .step {
258
+ width: 33.333%;
259
+ }
260
+ .ui.four.steps > .step {
261
+ width: 25%;
262
+ }
263
+ .ui.five.steps > .step {
264
+ width: 20%;
265
+ }
266
+ .ui.six.steps > .step {
267
+ width: 16.666%;
268
+ }
269
+ .ui.seven.steps > .step {
270
+ width: 14.285%;
271
+ }
272
+ .ui.eight.steps > .step {
273
+ width: 12.500%;
274
+ }
275
+
276
+
277
+
278
+ /*******************************
279
+ Sizes
280
+ *******************************/
281
+
282
+ .ui.small.step,
283
+ .ui.small.steps .step {
284
+ font-size: 0.8rem;
285
+ }
286
+ .ui.step,
287
+ .ui.steps .step {
288
+ font-size: 1rem;
289
+ }
290
+ .ui.large.step,
291
+ .ui.large.steps .step {
292
+ font-size: 1.25rem;
293
+ }
@@ -0,0 +1,199 @@
1
+ /*
2
+ * # Semantic - Accordion
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
+ Accordion
14
+ *******************************/
15
+
16
+ .ui.accordion {
17
+ width: 600px;
18
+ max-width: 100%;
19
+ overflow: hidden;
20
+
21
+ font-size: 1rem;
22
+ border-radius: 0.3125em;
23
+
24
+ background-color: #FFFFFF;
25
+
26
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
27
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
28
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
29
+ }
30
+
31
+ .ui.accordion .title {
32
+ cursor: pointer;
33
+
34
+ margin: 0em;
35
+ padding: 0.75em 1em;
36
+
37
+ color: rgba(0, 0, 0, 0.6);
38
+
39
+ border-top: 1px solid rgba(0, 0, 0, 0.05);
40
+
41
+ -webkit-transition:
42
+ background-color 0.2s ease-out
43
+ ;
44
+ -moz-transition:
45
+ background-color 0.2s ease-out
46
+ ;
47
+ -o-transition:
48
+ background-color 0.2s ease-out
49
+ ;
50
+ -ms-transition:
51
+ background-color 0.2s ease-out
52
+ ;
53
+ transition:
54
+ background-color 0.2s ease-out
55
+ ;
56
+ }
57
+ .ui.accordion .title:first-child {
58
+ border-top: none;
59
+ }
60
+
61
+
62
+ /* Content */
63
+ .ui.accordion .content {
64
+ display: none;
65
+ margin: 0em;
66
+ padding: 1.3em 1em;
67
+ }
68
+
69
+ /* Arrow */
70
+ .ui.accordion .title .dropdown.icon {
71
+ display: inline-block;
72
+ float: none;
73
+ margin: 0em 0.5em 0em 0em;
74
+
75
+ -webkit-transition:
76
+ -webkit-transform 0.2s ease,
77
+ opacity 0.2s ease
78
+ ;
79
+ -moz-transition:
80
+ -moz-transform 0.2s ease,
81
+ opacity 0.2s ease
82
+ ;
83
+ -o-transition:
84
+ -o-transform 0.2s ease,
85
+ opacity 0.2s ease
86
+ ;
87
+ -ms-transition:
88
+ -ms-transform 0.2s ease,
89
+ opacity 0.2s ease
90
+ ;
91
+ transition:
92
+ transform 0.2s ease,
93
+ opacity 0.2s ease
94
+ ;
95
+ -webkit-transform: rotate(0deg);
96
+ -moz-transform: rotate(0deg);
97
+ -o-transform: rotate(0deg);
98
+ -ms-transform: rotate(0deg);
99
+ transform: rotate(0deg);
100
+ }
101
+ .ui.accordion .title .dropdown.icon:before {
102
+ content: '\f0da';
103
+ }
104
+
105
+ /*--------------
106
+ Loose Coupling
107
+ ---------------*/
108
+
109
+ .ui.basic.accordion.menu {
110
+ background-color: #FFFFFF;
111
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
112
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
113
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
114
+ }
115
+ .ui.basic.accordion.menu .title,
116
+ .ui.basic.accordion.menu .content {
117
+ padding: 0em;
118
+ }
119
+
120
+
121
+ /*******************************
122
+ Types
123
+ *******************************/
124
+
125
+ /*--------------
126
+ Basic
127
+ ---------------*/
128
+
129
+ .ui.basic.accordion {
130
+ background-color: transparent;
131
+
132
+ -webkit-box-shadow: none;
133
+ -moz-box-shadow: none;
134
+ box-shadow: none;
135
+ }
136
+
137
+ .ui.basic.accordion .title,
138
+ .ui.basic.accordion .title {
139
+ background-color: transparent;
140
+ border-top: none;
141
+ padding-left: 0em;
142
+ padding-right: 0em;
143
+ }
144
+
145
+ .ui.basic.accordion .content {
146
+ padding-left: 0em;
147
+ padding-right: 0em;
148
+ }
149
+
150
+ .ui.basic.accordion .active.title {
151
+ background-color: transparent;
152
+ }
153
+
154
+
155
+ /*******************************
156
+ States
157
+ *******************************/
158
+
159
+
160
+ /*--------------
161
+ Hover
162
+ ---------------*/
163
+
164
+ .ui.accordion .title:hover,
165
+ .ui.accordion .active.title {
166
+ color: rgba(0, 0, 0, 0.8);
167
+ }
168
+
169
+ /*--------------
170
+ Active
171
+ ---------------*/
172
+
173
+ .ui.accordion .active.title {
174
+ background-color: rgba(0, 0, 0, 0.1);
175
+ color: rgba(0, 0, 0, 0.8);
176
+ }
177
+ .ui.accordion .active.title .dropdown.icon {
178
+ -webkit-transform: rotate(90deg);
179
+ -moz-transform: rotate(90deg);
180
+ -o-transform: rotate(90deg);
181
+ -ms-transform: rotate(90deg);
182
+ transform: rotate(90deg);
183
+ }
184
+ .ui.accordion .active.content {
185
+ display: block;
186
+ }
187
+
188
+
189
+ /*******************************
190
+ Variations
191
+ *******************************/
192
+
193
+ /*--------------
194
+ Fluid
195
+ ---------------*/
196
+
197
+ .ui.fluid.accordion {
198
+ width: 100%;
199
+ }