semantic-ui-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +26 -0
  6. data/Rakefile +1 -0
  7. data/lib/generators/semantic/install/install_generator.rb +38 -0
  8. data/lib/generators/semantic/install/templates/semantic-ui.js +21 -0
  9. data/lib/generators/semantic/install/templates/semantic-ui/collections.less +6 -0
  10. data/lib/generators/semantic/install/templates/semantic-ui/elements.less +11 -0
  11. data/lib/generators/semantic/install/templates/semantic-ui/modules.less +18 -0
  12. data/lib/generators/semantic/install/templates/semantic-ui/views.less +6 -0
  13. data/lib/semantic/ui/rails.rb +10 -0
  14. data/lib/semantic/ui/rails/engine.rb +8 -0
  15. data/lib/semantic/ui/rails/version.rb +7 -0
  16. data/semantic-ui-rails.gemspec +23 -0
  17. data/vendor/assets/fonts/icons.eot +0 -0
  18. data/vendor/assets/fonts/icons.svg +450 -0
  19. data/vendor/assets/fonts/icons.ttf +0 -0
  20. data/vendor/assets/fonts/icons.woff +0 -0
  21. data/vendor/assets/images/semantic-ui/loader-large-inverted.gif +0 -0
  22. data/vendor/assets/images/semantic-ui/loader-large.gif +0 -0
  23. data/vendor/assets/images/semantic-ui/loader-medium-inverted.gif +0 -0
  24. data/vendor/assets/images/semantic-ui/loader-medium.gif +0 -0
  25. data/vendor/assets/images/semantic-ui/loader-mini-inverted.gif +0 -0
  26. data/vendor/assets/images/semantic-ui/loader-mini.gif +0 -0
  27. data/vendor/assets/images/semantic-ui/loader-small-inverted.gif +0 -0
  28. data/vendor/assets/images/semantic-ui/loader-small.gif +0 -0
  29. data/vendor/assets/javascripts/semantic-ui/accordion.js +411 -0
  30. data/vendor/assets/javascripts/semantic-ui/behavior/api.js +666 -0
  31. data/vendor/assets/javascripts/semantic-ui/behavior/colorize.js +271 -0
  32. data/vendor/assets/javascripts/semantic-ui/behavior/form.js +657 -0
  33. data/vendor/assets/javascripts/semantic-ui/behavior/state.js +752 -0
  34. data/vendor/assets/javascripts/semantic-ui/carousel.js +327 -0
  35. data/vendor/assets/javascripts/semantic-ui/chatroom.js +766 -0
  36. data/vendor/assets/javascripts/semantic-ui/checkbox.js +348 -0
  37. data/vendor/assets/javascripts/semantic-ui/dimmer.js +525 -0
  38. data/vendor/assets/javascripts/semantic-ui/dropdown.js +697 -0
  39. data/vendor/assets/javascripts/semantic-ui/modal.js +478 -0
  40. data/vendor/assets/javascripts/semantic-ui/nag.js +542 -0
  41. data/vendor/assets/javascripts/semantic-ui/popup.js +721 -0
  42. data/vendor/assets/javascripts/semantic-ui/rating.js +358 -0
  43. data/vendor/assets/javascripts/semantic-ui/search.js +770 -0
  44. data/vendor/assets/javascripts/semantic-ui/shape.js +776 -0
  45. data/vendor/assets/javascripts/semantic-ui/sidebar.js +489 -0
  46. data/vendor/assets/javascripts/semantic-ui/tab.js +674 -0
  47. data/vendor/assets/javascripts/semantic-ui/transition.js +645 -0
  48. data/vendor/assets/javascripts/semantic-ui/video.js +459 -0
  49. data/vendor/assets/stylesheets/semantic-ui/collections/breadcrumb.less +79 -0
  50. data/vendor/assets/stylesheets/semantic-ui/collections/form.less +536 -0
  51. data/vendor/assets/stylesheets/semantic-ui/collections/grid.less +655 -0
  52. data/vendor/assets/stylesheets/semantic-ui/collections/menu.less +1736 -0
  53. data/vendor/assets/stylesheets/semantic-ui/collections/message.less +337 -0
  54. data/vendor/assets/stylesheets/semantic-ui/collections/table.less +526 -0
  55. data/vendor/assets/stylesheets/semantic-ui/elements/button.less +1294 -0
  56. data/vendor/assets/stylesheets/semantic-ui/elements/divider.less +200 -0
  57. data/vendor/assets/stylesheets/semantic-ui/elements/header.less +325 -0
  58. data/vendor/assets/stylesheets/semantic-ui/elements/icon.less +449 -0
  59. data/vendor/assets/stylesheets/semantic-ui/elements/image.less +170 -0
  60. data/vendor/assets/stylesheets/semantic-ui/elements/input.less +287 -0
  61. data/vendor/assets/stylesheets/semantic-ui/elements/label.less +805 -0
  62. data/vendor/assets/stylesheets/semantic-ui/elements/loader.less +178 -0
  63. data/vendor/assets/stylesheets/semantic-ui/elements/progress.less +353 -0
  64. data/vendor/assets/stylesheets/semantic-ui/elements/segment.less +465 -0
  65. data/vendor/assets/stylesheets/semantic-ui/elements/step.less +294 -0
  66. data/vendor/assets/stylesheets/semantic-ui/modules/accordion.less +135 -0
  67. data/vendor/assets/stylesheets/semantic-ui/modules/carousel.less +71 -0
  68. data/vendor/assets/stylesheets/semantic-ui/modules/chatroom.less +271 -0
  69. data/vendor/assets/stylesheets/semantic-ui/modules/checkbox.less +378 -0
  70. data/vendor/assets/stylesheets/semantic-ui/modules/dimmer.less +230 -0
  71. data/vendor/assets/stylesheets/semantic-ui/modules/dropdown.less +506 -0
  72. data/vendor/assets/stylesheets/semantic-ui/modules/extra.transition.less +1197 -0
  73. data/vendor/assets/stylesheets/semantic-ui/modules/modal.less +154 -0
  74. data/vendor/assets/stylesheets/semantic-ui/modules/nag.less +175 -0
  75. data/vendor/assets/stylesheets/semantic-ui/modules/popup.less +238 -0
  76. data/vendor/assets/stylesheets/semantic-ui/modules/rating.less +151 -0
  77. data/vendor/assets/stylesheets/semantic-ui/modules/reveal.less +367 -0
  78. data/vendor/assets/stylesheets/semantic-ui/modules/search.less +275 -0
  79. data/vendor/assets/stylesheets/semantic-ui/modules/shape.less +115 -0
  80. data/vendor/assets/stylesheets/semantic-ui/modules/sidebar.less +147 -0
  81. data/vendor/assets/stylesheets/semantic-ui/modules/tab.less +59 -0
  82. data/vendor/assets/stylesheets/semantic-ui/modules/transition.less +839 -0
  83. data/vendor/assets/stylesheets/semantic-ui/modules/video.less +99 -0
  84. data/vendor/assets/stylesheets/semantic-ui/views/comment.less +221 -0
  85. data/vendor/assets/stylesheets/semantic-ui/views/feed.less +151 -0
  86. data/vendor/assets/stylesheets/semantic-ui/views/item.less +641 -0
  87. data/vendor/assets/stylesheets/semantic-ui/views/list.less +491 -0
  88. data/vendor/assets/stylesheets/semantic-ui/views/sitemap.less +47 -0
  89. data/vendor/assets/stylesheets/semantic-ui/views/statistic.less +34 -0
  90. metadata +161 -0
@@ -0,0 +1,200 @@
1
+ /*
2
+ * # Dividers
3
+ * http://github.com/quirkyinc/semantic
4
+ *
5
+ *
6
+ * Copyright 2013 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ * Released: April 17 2013
11
+ */
12
+
13
+
14
+ /*******************************
15
+ Divider
16
+ *******************************/
17
+
18
+ .ui.divider {
19
+ margin: 1rem 0rem;
20
+
21
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
22
+ border-bottom: 1px solid rgba(255, 255, 255, 0.8);
23
+
24
+ line-height: 1;
25
+ height: 0em;
26
+
27
+ -webkit-box-sizing: border-box;
28
+ -moz-box-sizing: border-box;
29
+ -ms-box-sizing: border-box;
30
+ box-sizing: border-box;
31
+
32
+ -webkit-user-select: none;
33
+ -moz-user-select: none;
34
+ -ms-user-select: none;
35
+ user-select: none;
36
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
37
+ }
38
+
39
+ .ui.vertical.divider,
40
+ .ui.horizontal.divider {
41
+ position: absolute;
42
+
43
+ border: none;
44
+ height: 0em;
45
+ margin: 0em;
46
+ background-color: transparent;
47
+
48
+ font-size: 0.875rem;
49
+ font-weight: bold;
50
+ text-align: center;
51
+ text-transform: uppercase;
52
+
53
+ color: rgba(0, 0, 0, 0.8);
54
+ }
55
+
56
+
57
+ /*--------------
58
+ Vertical
59
+ ---------------*/
60
+
61
+ .ui.vertical.divider {
62
+ position: absolute;
63
+ z-index: 2;
64
+ top: 50%;
65
+ left: 50%;
66
+
67
+ margin: 0% 0% 0% -3%;
68
+
69
+ width: 6%;
70
+ height: 50%;
71
+
72
+ line-height: 0;
73
+ padding: 0em;
74
+ }
75
+
76
+ .ui.vertical.divider:before,
77
+ .ui.vertical.divider:after {
78
+ position: absolute;
79
+ left: 50%;
80
+ content: " ";
81
+ z-index: 3;
82
+
83
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
84
+ border-right: 1px solid rgba(255, 255, 255, 0.8);
85
+
86
+ width: 0%;
87
+ height: 80%;
88
+ }
89
+
90
+ .ui.vertical.divider:before {
91
+ top: -100%;
92
+ }
93
+
94
+ .ui.vertical.divider:after {
95
+ top: auto;
96
+ bottom: 0px;
97
+ }
98
+
99
+ /*--------------
100
+ Horizontal
101
+ ---------------*/
102
+
103
+ .ui.horizontal.divider {
104
+ position: relative;
105
+ top: 0%;
106
+ left: 0%;
107
+
108
+ margin: 1rem 1.5rem;
109
+ height: auto;
110
+ padding: 0em;
111
+
112
+ line-height: 1;
113
+ }
114
+
115
+ .ui.horizontal.divider:before,
116
+ .ui.horizontal.divider:after {
117
+ position: absolute;
118
+ top: 50%;
119
+ content: " ";
120
+ z-index: 3;
121
+
122
+ width: 50%;
123
+ top: 50%;
124
+ height: 0%;
125
+
126
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
127
+ border-bottom: 1px solid rgba(255, 255, 255, 0.8);
128
+ }
129
+
130
+ .ui.horizontal.divider:before {
131
+ left: 0%;
132
+ margin-left: -1.5rem;
133
+ }
134
+ .ui.horizontal.divider:after {
135
+ left: auto;
136
+ right: 0%;
137
+ margin-right: -1.5rem;
138
+ }
139
+
140
+ /*--------------
141
+ Icon
142
+ ---------------*/
143
+
144
+ .ui.divider > .icon {
145
+ margin: 0em;
146
+ font-size: 1rem;
147
+ vertical-align: middle;
148
+ }
149
+
150
+
151
+ /*******************************
152
+ Variations
153
+ *******************************/
154
+
155
+
156
+ /*--------------
157
+ Inverted
158
+ ---------------*/
159
+
160
+ .ui.divider.inverted {
161
+ color: rgba(255, 255, 255, 1);
162
+ }
163
+ .ui.vertical.inverted.divider,
164
+ .ui.horizontal.inverted.divider {
165
+ color: rgba(255, 255, 255, 0.9);
166
+ }
167
+ .ui.divider.inverted,
168
+ .ui.divider.inverted:after,
169
+ .ui.divider.inverted:before {
170
+ border-top-color: rgba(0, 0, 0, 0.15);
171
+ border-bottom-color: rgba(255, 255, 255, 0.15);
172
+
173
+ border-left-color: rgba(0, 0, 0, 0.15);
174
+ border-right-color: rgba(255, 255, 255, 0.15);
175
+ }
176
+
177
+ /*--------------
178
+ Fitted
179
+ ---------------*/
180
+
181
+ .ui.fitted.divider {
182
+ margin: 0em;
183
+ }
184
+
185
+ /*--------------
186
+ Clearing
187
+ ---------------*/
188
+
189
+ .ui.clearing.divider {
190
+ clear: both;
191
+ }
192
+
193
+ /*--------------
194
+ Section
195
+ ---------------*/
196
+
197
+ .ui.section.divider {
198
+ margin-top: 2rem;
199
+ margin-bottom: 2rem;
200
+ }
@@ -0,0 +1,325 @@
1
+ /*
2
+ * # Semantic Headers - Flat
3
+ * http://github.com/quirkyinc/semantic
4
+ *
5
+ *
6
+ * Copyright 2013 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ * Released: April 29 2013
11
+ */
12
+
13
+ /*******************************
14
+ Header
15
+ *******************************/
16
+
17
+ /* Standard */
18
+ .ui.header {
19
+ border: none;
20
+ margin: 1em 0em 1rem;
21
+ padding: 0em;
22
+
23
+ font-size: 1.33em;
24
+ font-weight: bold;
25
+ line-height: 1.33;
26
+ }
27
+
28
+
29
+ .ui.header .sub.header {
30
+ font-size: 1rem;
31
+ font-weight: normal;
32
+ margin: 0em;
33
+ padding: 0em;
34
+
35
+ line-height: 1.2;
36
+ color: rgba(0, 0, 0, 0.5);
37
+ }
38
+
39
+ .ui.header .content {
40
+ display: inline-block;
41
+ vertical-align: top;
42
+ }
43
+ .ui.header .icon {
44
+ margin-right: 0.5em;
45
+ }
46
+
47
+ /* Positioning */
48
+ .ui.header:first-child {
49
+ margin-top: 0em;
50
+ }
51
+ .ui.header:last-child {
52
+ margin-bottom: 0em;
53
+ }
54
+ .ui.header + p {
55
+ margin-top: 0em;
56
+ }
57
+
58
+
59
+ /*--------------
60
+ Page Heading
61
+ ---------------*/
62
+
63
+ h1.ui.header {
64
+ min-height: 1rem;
65
+ line-height: 1.33;
66
+ font-size: 2rem;
67
+ }
68
+ h2.ui.header {
69
+ line-height: 1.33;
70
+ font-size: 1.75rem;
71
+ }
72
+ h3.ui.header {
73
+ line-height: 1.33;
74
+ font-size: 1.33rem;
75
+ }
76
+ h4.ui.header {
77
+ line-height: 1.33;
78
+ font-size: 1.1rem;
79
+ }
80
+ h5.ui.header {
81
+ line-height: 1.2;
82
+ font-size: 1rem;
83
+ }
84
+
85
+ /*--------------
86
+ Content Heading
87
+ ---------------*/
88
+
89
+ .ui.huge.header {
90
+ min-height: 1em;
91
+ font-size: 2em;
92
+ }
93
+ .ui.large.header {
94
+ font-size: 1.75em;
95
+ }
96
+ .ui.medium.header {
97
+ font-size: 1.33em;
98
+ }
99
+ .ui.small.header {
100
+ font-size: 1.1em;
101
+ }
102
+ .ui.tiny.header {
103
+ font-size: 1em;
104
+ }
105
+
106
+ /*******************************
107
+ States
108
+ *******************************/
109
+
110
+ .ui.disabled.header {
111
+ opacity: 0.5;
112
+ }
113
+
114
+
115
+ /*******************************
116
+ Variations
117
+ *******************************/
118
+
119
+
120
+ /*-------------------
121
+ Colors
122
+ --------------------*/
123
+
124
+ .ui.blue.header {
125
+ color: #6ECFF5 !important;
126
+ }
127
+ .ui.black.header {
128
+ color: #5C6166 !important;
129
+ }
130
+ .ui.green.header {
131
+ color: #A1CF64 !important;
132
+ }
133
+ .ui.red.header {
134
+ color: #D95C5C !important;
135
+ }
136
+ .ui.purple.header {
137
+ color: #564F8A !important;
138
+ }
139
+ .ui.teal.header {
140
+ color: #00B5AD !important;
141
+ }
142
+
143
+ .ui.blue.dividing.header {
144
+ border-bottom: 3px solid #6ECFF5;
145
+ }
146
+ .ui.black.dividing.header {
147
+ border-bottom: 3px solid #5C6166;
148
+ }
149
+ .ui.green.dividing.header {
150
+ border-bottom: 3px solid #A1CF64;
151
+ }
152
+ .ui.red.dividing.header {
153
+ border-bottom: 3px solid #D95C5C;
154
+ }
155
+ .ui.purple.dividing.header {
156
+ border-bottom: 3px solid #564F8A;
157
+ }
158
+ .ui.teal.dividing.header {
159
+ border-bottom: 3px solid #00B5AD;
160
+ }
161
+
162
+ /*-------------------
163
+ Inverted
164
+ --------------------*/
165
+
166
+ .ui.inverted.header {
167
+ color: #FFFFFF;
168
+ }
169
+ .ui.inverted.header .sub.header {
170
+ color: rgba(255, 255, 255, 0.85);
171
+ }
172
+
173
+
174
+ /*-------------------
175
+ Inverted Colors
176
+ --------------------*/
177
+
178
+ .ui.inverted.black.header {
179
+ background-color: #5C6166 !important;
180
+ color: #FFFFFF !important;
181
+ }
182
+ .ui.inverted.blue.header {
183
+ background-color: #6ECFF5 !important;
184
+ color: #FFFFFF !important;
185
+ }
186
+ .ui.inverted.green.header {
187
+ background-color: #A1CF64 !important;
188
+ color: #FFFFFF !important;
189
+ }
190
+ .ui.inverted.red.header {
191
+ background-color: #D95C5C !important;
192
+ color: #FFFFFF !important;
193
+ }
194
+ .ui.inverted.purple.header {
195
+ background-color: #564F8A !important;
196
+ color: #FFFFFF !important;
197
+ }
198
+ .ui.inverted.teal.header {
199
+ background-color: #00B5AD !important;
200
+ color: #FFFFFF !important;
201
+ }
202
+
203
+ .ui.inverted.block.header {
204
+ border-bottom: none;
205
+ }
206
+
207
+ /*-------------------
208
+ Aligned
209
+ --------------------*/
210
+
211
+ .ui.left.aligned.header {
212
+ text-align: left;
213
+ }
214
+ .ui.right.aligned.header {
215
+ text-align: right;
216
+ }
217
+ .ui.center.aligned.header {
218
+ text-align: center;
219
+ }
220
+
221
+ /*-------------------
222
+ Floated
223
+ --------------------*/
224
+
225
+ .ui.floated.header,
226
+ .ui.left.floated.header {
227
+ float: left;
228
+ margin-top: 0em;
229
+ margin-right: 0.5em;
230
+ }
231
+ .ui.right.floated.header {
232
+ float: right;
233
+ margin-top: 0em;
234
+ margin-left: 0.5em;
235
+ }
236
+
237
+ /*-------------------
238
+ Fittted
239
+ --------------------*/
240
+
241
+ .ui.fitted.header {
242
+ padding: 0em;
243
+ }
244
+
245
+
246
+ /*-------------------
247
+ Dividing
248
+ --------------------*/
249
+
250
+ .ui.dividing.header {
251
+ padding-bottom: 0.2rem;
252
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
253
+ }
254
+ .ui.dividing.header .sub.header {
255
+ padding-bottom: 0.5em;
256
+ }
257
+ .ui.dividing.header .icon {
258
+ margin-bottom: 0.2em;
259
+ }
260
+
261
+
262
+ /*-------------------
263
+ Block
264
+ --------------------*/
265
+
266
+ .ui.block.header {
267
+ background-color: #F5F5F5;
268
+ padding: 0.5em 1em;
269
+ }
270
+
271
+ /*-------------------
272
+ Attached
273
+ --------------------*/
274
+
275
+ .ui.attached.header {
276
+ background-color: #E0E0E0;
277
+ padding: 0.5em 1rem;
278
+
279
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
280
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
281
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
282
+ }
283
+ .ui.top.attached.header {
284
+ margin-bottom: 0em;
285
+
286
+ -webkit-border-radius: 0.3125em 0.3125em 0em 0em;
287
+ -moz-border-radius: 0.3125em 0.3125em 0em 0em;
288
+ border-radius: 0.3125em 0.3125em 0em 0em;
289
+ }
290
+ .ui.bottom.attached.header {
291
+ margin-top: 0em;
292
+
293
+ -webkit-border-radius: 0em 0em 0.3125em 0.3125em;
294
+ -moz-border-radius: 0em 0em 0.3125em 0.3125em;
295
+ border-radius: 0em 0em 0.3125em 0.3125em;
296
+ }
297
+
298
+
299
+ /*-------------------
300
+ Icon
301
+ --------------------*/
302
+
303
+ .ui.icon.header {
304
+ display: inline-block;
305
+ text-align: center;
306
+ }
307
+ .ui.icon.header .icon {
308
+ float: none;
309
+ display: block;
310
+ font-size: 3em;
311
+ margin: 0em auto 0.2em;
312
+ }
313
+ .ui.icon.header .circular.icon,
314
+ .ui.icon.header .square.icon {
315
+ font-size: 2em;
316
+ }
317
+ .ui.block.icon.header .icon {
318
+ margin-bottom: 0em;
319
+ }
320
+
321
+ .ui.icon.header.aligned {
322
+ margin-left: auto;
323
+ margin-right: auto;
324
+ display: block;
325
+ }