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,273 @@
1
+ /*
2
+ * # Semantic - Search
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
+ Search
14
+ *******************************/
15
+
16
+ .ui.search {
17
+ position: relative;
18
+
19
+ text-shadow: none;
20
+ font-style: normal;
21
+ font-weight: normal;
22
+ }
23
+
24
+ .ui.search input {
25
+ -webkit-border-radius: 500rem;
26
+ -moz-border-radius: 500rem;
27
+ border-radius: 500rem;
28
+ }
29
+
30
+ /*--------------
31
+ Button
32
+ ---------------*/
33
+
34
+ .ui.search > .button {
35
+ position: relative;
36
+ z-index: 2;
37
+ float: right;
38
+ margin: 0px 0px 0px -15px;
39
+ padding: 6px 15px 7px;
40
+ -webkit-border-radius: 0px 15px 15px 0px;
41
+ -moz-border-radius: 0px 15px 15px 0px;
42
+ border-radius: 0px 15px 15px 0px;
43
+ -webkit-box-shadow: none;
44
+ -moz-box-shadow: none;
45
+ box-shadow: none;
46
+ }
47
+
48
+ /*--------------
49
+ Results
50
+ ---------------*/
51
+
52
+ .ui.search .results {
53
+ display: none;
54
+
55
+ position: absolute;
56
+ z-index: 999;
57
+ top: 100%;
58
+ left: 0px;
59
+
60
+ overflow: hidden;
61
+ background-color: #FFFFFF;
62
+
63
+ margin-top: 0.5em;
64
+ width: 380px;
65
+ font-size: 0.875em;
66
+ line-height: 1.2;
67
+ color: #555555;
68
+
69
+ -webkit-border-radius: 3px;
70
+ -moz-border-radius: 3px;
71
+ border-radius: 3px;
72
+
73
+ -webkit-box-shadow:
74
+ 0px 0px 1px 1px rgba(0, 0, 0, 0.1),
75
+ 0px -2px 0px 0px rgba(0, 0, 0, 0.1) inset
76
+ ;
77
+ -moz-box-shadow:
78
+ 0px 0px 1px 1px rgba(0, 0, 0, 0.1),
79
+ 0px -2px 0px 0px rgba(0, 0, 0, 0.1) inset
80
+ ;
81
+ box-shadow:
82
+ 0px 0px 1px 1px rgba(0, 0, 0, 0.1),
83
+ 0px -2px 0px 0px rgba(0, 0, 0, 0.1) inset
84
+ ;
85
+ }
86
+ .ui.search .result {
87
+ cursor: pointer;
88
+ overflow: hidden;
89
+ padding: 0.5em 1em;
90
+ }
91
+ .ui.search .result:first-child {
92
+ border-top: none;
93
+ }
94
+ .ui.search .result .image {
95
+ background: #F0F0F0;
96
+ margin-right: 10px;
97
+ float: left;
98
+ overflow: hidden;
99
+ -webkit-border-radius: 3px;
100
+ -moz-border-radius: 3px;
101
+ border-radius: 3px;
102
+ width: 38px;
103
+ height: 38px;
104
+ }
105
+ .ui.search .result .image img {
106
+ display: block;
107
+ width: 38px;
108
+ height: 38px;
109
+ }
110
+ .ui.search .result .image ~ .info {
111
+ float: none;
112
+ margin-left: 50px;
113
+ }
114
+
115
+ .ui.search .result .info {
116
+ float: left;
117
+ }
118
+ .ui.search .result .title {
119
+ font-weight: bold;
120
+ color: rgba(0, 0, 0, 0.8);
121
+ }
122
+ .ui.search .result .description {
123
+ color: rgba(0, 0, 0, 0.6);
124
+ }
125
+ .ui.search .result .price {
126
+ float: right;
127
+ color: #5BBD72;
128
+ font-weight: bold;
129
+ }
130
+
131
+ /*--------------
132
+ Message
133
+ ---------------*/
134
+
135
+ .ui.search .message {
136
+ padding: 1em;
137
+ }
138
+ .ui.search .message .text .title {
139
+ margin: 0em 0em 0.5rem;
140
+
141
+ font-size: 1.25rem;
142
+ font-weight: bold;
143
+ color: rgba(0, 0, 0, 0.8);
144
+ }
145
+ .ui.search .message .text .description {
146
+ margin: 0em;
147
+ font-size: 1rem;
148
+ color: rgba(0, 0, 0, 0.5);
149
+ }
150
+
151
+
152
+ /*--------------
153
+ Categories
154
+ ---------------*/
155
+
156
+ .ui.search .results .category {
157
+ background-color: #FAFAFA;
158
+
159
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
160
+
161
+ -webkit-transition: background 0.2s ease-in;
162
+ -moz-transition: background 0.2s ease-in;
163
+ -o-transition: background 0.2s ease-in;
164
+ -ms-transition: background 0.2s ease-in;
165
+ transition: background 0.2s ease-in;
166
+ }
167
+ .ui.search .results .category:first-child {
168
+ border-top: none;
169
+ }
170
+
171
+ .ui.search .results .category > .name {
172
+ float: left;
173
+ padding: 12px 0px 0px 8px;
174
+ font-weight: bold;
175
+ color: #777777;
176
+ text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
177
+ }
178
+ .ui.search .results .category .result {
179
+ background-color: #FFFFFF;
180
+ margin-left: 80px;
181
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
182
+ }
183
+
184
+ /* View All Results */
185
+ .ui.search .all {
186
+ display: block;
187
+
188
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
189
+ background-color: #FAFAFA;
190
+ height: 2em;
191
+ line-height: 2em;
192
+ color: rgba(0, 0, 0, 0.6);
193
+
194
+ font-weight: bold;
195
+ text-align: center;
196
+ }
197
+
198
+
199
+ /*******************************
200
+ States
201
+ *******************************/
202
+
203
+ /*--------------
204
+ Hover
205
+ ---------------*/
206
+
207
+ .ui.search .result:hover,
208
+ .ui.search .category .result:hover {
209
+ background-color: #F8F8F8;
210
+ }
211
+ .ui.search .all:hover {
212
+ background-color: #F0F0F0;
213
+ }
214
+
215
+ /*--------------
216
+ Loading
217
+ ---------------*/
218
+
219
+ .ui.search.loading .input .icon {
220
+ background: image-url("semantic-ui/loader-mini.gif") no-repeat 50% 50%;
221
+ }
222
+ .ui.search.loading .input .icon:before,
223
+ .ui.search.loading .input .icon:after {
224
+ display: none;
225
+ }
226
+
227
+
228
+ /*--------------
229
+ Active
230
+ ---------------*/
231
+
232
+ .ui.search .results .category.active {
233
+ background-color: #F1F1F1;
234
+ }
235
+ .ui.search .results .category.active > .name {
236
+ color: #333333;
237
+ }
238
+
239
+ .ui.search .result.active,
240
+ .ui.search .category .result.active {
241
+ background-color: #FBFBFB;
242
+ }
243
+ .ui.search .result.active .title {
244
+ color: #000000;
245
+ }
246
+ .ui.search .result.active .description {
247
+ color: #555555;
248
+ }
249
+
250
+
251
+
252
+ /*******************************
253
+ Variations
254
+ *******************************/
255
+
256
+
257
+
258
+ /* Large */
259
+ .ui.search .large.result .image,
260
+ .ui.search .large.result .image img {
261
+ width: 50px;
262
+ height: 50px;
263
+ }
264
+ .ui.search .large.results .indented.info {
265
+ margin-left: 65px;
266
+ }
267
+ .ui.search .large.results .info .title {
268
+ font-size: 16px;
269
+ }
270
+ .ui.search .large.results .info .description {
271
+ font-size: 11px;
272
+ }
273
+
@@ -0,0 +1,113 @@
1
+ /*
2
+ * # Semantic - Shape
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
+ Shape
14
+ *******************************/
15
+
16
+ .ui.shape {
17
+ position: relative;
18
+
19
+ -webkit-perspective: 2000px;
20
+ -moz-perspective: 2000px;
21
+ -ms-perspective: 2000px;
22
+ perspective: 2000px;
23
+ }
24
+
25
+ .ui.shape .sides {
26
+ -webkit-transform-style: preserve-3d;
27
+ -moz-transform-style: preserve-3d;
28
+ -ms-transform-style: preserve-3d;
29
+ transform-style: preserve-3d;
30
+ }
31
+
32
+ .ui.shape .side {
33
+ opacity: 1;
34
+ width: 100%;
35
+ -webkit-backface-visibility: hidden;
36
+ -moz-backface-visibility: hidden;
37
+ -ms-backface-visibility: hidden;
38
+ backface-visibility: hidden;
39
+ }
40
+
41
+ .ui.shape .side {
42
+ display: none;
43
+ }
44
+
45
+
46
+
47
+ /*******************************
48
+ States
49
+ *******************************/
50
+
51
+
52
+ /*--------------
53
+ Animating
54
+ ---------------*/
55
+
56
+ .ui.shape.animating .sides {
57
+ position: absolute;
58
+ }
59
+ .ui.shape .animating.side {
60
+ position: absolute;
61
+ width: 100%;
62
+ top: 0px;
63
+ left: 0px;
64
+ z-index: 100;
65
+ }
66
+ .ui.shape .hidden.side {
67
+ opacity: 0.4;
68
+ }
69
+
70
+
71
+ /*--------------
72
+ CSS
73
+ ---------------*/
74
+
75
+ .ui.shape.css {
76
+ -webkit-transition:
77
+ all 0.6s ease-in-out;
78
+ ;
79
+ -moz-transition:
80
+ all 0.6s ease-in-out;
81
+ ;
82
+ -o-transition:
83
+ all 0.6s ease-in-out;
84
+ ;
85
+ -ms-transition:
86
+ all 0.6s ease-in-out;
87
+ ;
88
+ transition:
89
+ all 0.6s ease-in-out;
90
+ ;
91
+ }
92
+ .ui.shape.css .sides {
93
+ -webkit-transition: all 0.6s ease-in-out;
94
+ -moz-transition: all 0.6s ease-in-out;
95
+ -o-transition: all 0.6s ease-in-out;
96
+ -ms-transition: all 0.6s ease-in-out;
97
+ transition: all 0.6s ease-in-out;
98
+ }
99
+ .ui.shape.css .side {
100
+ -webkit-transition: opacity 0.6s ease-in-out;
101
+ -moz-transition: opacity 0.6s ease-in-out;
102
+ -o-transition: opacity 0.6s ease-in-out;
103
+ -ms-transition: opacity 0.6s ease-in-out;
104
+ transition: opacity 0.6s ease-in-out;
105
+ }
106
+
107
+ /*--------------
108
+ Active
109
+ ---------------*/
110
+
111
+ .ui.shape .active.side {
112
+ display: block;
113
+ }
@@ -0,0 +1,150 @@
1
+ /*
2
+ * # Semantic - Sidebar
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
+ Sidebar
13
+ *******************************/
14
+
15
+ body {
16
+ -webkit-transition:
17
+ margin 0.3s ease,
18
+ -webkit-transform 0.3s ease
19
+ ;
20
+ -moz-transition:
21
+ margin 0.3s ease,
22
+ -moz-transform 0.3s ease
23
+ ;
24
+ -o-transition:
25
+ margin 0.3s ease,
26
+ transform 0.3s ease
27
+ ;
28
+ -ms-transition:
29
+ margin 0.3s ease,
30
+ transform 0.3s ease
31
+ ;
32
+ transition:
33
+ margin 0.3s ease,
34
+ transform 0.3s ease
35
+ ;
36
+ }
37
+
38
+ .ui.sidebar {
39
+ position: fixed;
40
+
41
+ margin: 0 !important;
42
+
43
+ width: 275px !important;
44
+ height: 100% !important;
45
+
46
+ -webkit-border-radius: 0px !important;
47
+ -moz-border-radius: 0px !important;
48
+ border-radius: 0px !important;
49
+
50
+ -ms-overflow-y: auto;
51
+ overflow-y: auto;
52
+ top: 0px;
53
+ left: 0px;
54
+ z-index: 999;
55
+
56
+ -webkit-transition:
57
+ margin-left 0.3s ease,
58
+ margin-top 0.3s ease
59
+ ;
60
+ -moz-transition:
61
+ margin-left 0.3s ease,
62
+ margin-top 0.3s ease
63
+ ;
64
+ -o-transition:
65
+ margin-left 0.3s ease,
66
+ margin-top 0.3s ease
67
+ ;
68
+ -ms-transition:
69
+ margin-left 0.3s ease,
70
+ margin-top 0.3s ease
71
+ ;
72
+ transition:
73
+ margin-left 0.3s ease,
74
+ margin-top 0.3s ease
75
+ ;
76
+ }
77
+
78
+
79
+ /*******************************
80
+ Types
81
+ *******************************/
82
+
83
+ .ui.sidebar {
84
+ margin-left: -275px !important;
85
+ }
86
+
87
+ .ui.right.sidebar {
88
+ left: 100%;
89
+ margin: 0px !important;
90
+ }
91
+
92
+ .ui.top.sidebar {
93
+ margin: -40px 0px 0px 0px !important;
94
+ width: 100% !important;
95
+ height: 40px !important;
96
+ }
97
+
98
+ .ui.bottom.sidebar {
99
+ width: 100% !important;
100
+ height: 40px !important;
101
+ top: 100%;
102
+ margin: 0px !important;
103
+ }
104
+
105
+
106
+ /*******************************
107
+ States
108
+ *******************************/
109
+
110
+ .ui.active.sidebar {
111
+ margin-left: 0px !important;
112
+ }
113
+ .ui.active.right.sidebar {
114
+ margin-left: -275px !important;
115
+ }
116
+
117
+ .ui.active.top.sidebar {
118
+ margin-top: 0px !important;
119
+ }
120
+ .ui.active.bottom.sidebar {
121
+ margin-top: -40px !important;
122
+ }
123
+
124
+ /*******************************
125
+ Variations
126
+ *******************************/
127
+
128
+ .ui.floating.sidebar {
129
+ -webkit-box-shadow: 3px 0px 3px rgba(0, 0, 0, 0.2);
130
+ -moz-box-shadow: 3px 0px 3px rgba(0, 0, 0, 0.2);
131
+ box-shadow: 3px 0px 3px rgba(0, 0, 0, 0.2);
132
+ }
133
+
134
+ .ui.right.floating.sidebar {
135
+ -webkit-box-shadow: -3px 0px 3px rgba(0, 0, 0, 0.2);
136
+ -moz-box-shadow: -3px 0px 3px rgba(0, 0, 0, 0.2);
137
+ box-shadow: -3px 0px 3px rgba(0, 0, 0, 0.2);
138
+ }
139
+
140
+ .ui.top.floating.sidebar {
141
+ -webkit-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
142
+ -moz-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
143
+ box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
144
+ }
145
+
146
+ .ui.bottom.floating.sidebar {
147
+ -webkit-box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.2);
148
+ -moz-box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.2);
149
+ box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.2);
150
+ }