agnostic-frontend 0.0.1.rc3 → 0.0.1.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/.DS_Store +0 -0
  2. data/agnostic-frontend.gemspec +2 -2
  3. data/lib/.DS_Store +0 -0
  4. data/lib/agnostic-frontend.rb +1 -1
  5. data/lib/agnostic/frontend/engine.rb +8 -0
  6. data/lib/agnostic/frontend/version.rb +5 -0
  7. data/vendor/.DS_Store +0 -0
  8. data/vendor/assets/.DS_Store +0 -0
  9. data/vendor/assets/javascripts/adapt.js +145 -0
  10. data/vendor/assets/javascripts/bootstrap.js +2027 -0
  11. data/vendor/assets/javascripts/bootstrap.min.js +6 -0
  12. data/vendor/assets/javascripts/jquery.cookie.js +72 -0
  13. data/vendor/assets/javascripts/modernizr.js +1384 -0
  14. data/vendor/assets/stylesheets/.DS_Store +0 -0
  15. data/vendor/assets/stylesheets/grid/.DS_Store +0 -0
  16. data/vendor/assets/stylesheets/grid/960.css +653 -0
  17. data/vendor/assets/stylesheets/grid/960_12_col.css +357 -0
  18. data/vendor/assets/stylesheets/grid/960_12_col_rtl.css +357 -0
  19. data/vendor/assets/stylesheets/grid/960_16_col.css +446 -0
  20. data/vendor/assets/stylesheets/grid/960_16_col_rtl.css +446 -0
  21. data/vendor/assets/stylesheets/grid/960_24_col.css +621 -0
  22. data/vendor/assets/stylesheets/grid/960_24_col_rtl.css +621 -0
  23. data/vendor/assets/stylesheets/grid/960_rtl.css +653 -0
  24. data/vendor/assets/stylesheets/grid/blueprint.css +7 -0
  25. data/vendor/assets/stylesheets/grid/blueprint/.DS_Store +0 -0
  26. data/vendor/assets/stylesheets/grid/blueprint/forms.css +82 -0
  27. data/vendor/assets/stylesheets/grid/blueprint/grid.css +280 -0
  28. data/vendor/assets/stylesheets/grid/blueprint/ie.css +79 -0
  29. data/vendor/assets/stylesheets/grid/blueprint/print.css +92 -0
  30. data/vendor/assets/stylesheets/grid/blueprint/typography.css +123 -0
  31. data/vendor/assets/stylesheets/grid/bootstrap.css +338 -0
  32. data/vendor/assets/stylesheets/grid/bootstrap.min.css +87 -0
  33. data/vendor/assets/stylesheets/grid/fluid_960.css +491 -0
  34. data/vendor/assets/stylesheets/grid/intuit.css +927 -0
  35. data/vendor/assets/stylesheets/reset/blueprint.css +65 -0
  36. data/vendor/assets/stylesheets/reset/bootstrap.css +134 -0
  37. data/vendor/assets/stylesheets/reset/bootstrap.min.css +31 -0
  38. data/vendor/assets/stylesheets/reset/eric-meyer.css +1 -0
  39. data/vendor/assets/stylesheets/reset/eric-meyer.min.css +47 -0
  40. data/vendor/assets/stylesheets/reset/html5-doctor.css +86 -0
  41. data/vendor/assets/stylesheets/reset/html5-doctor.min.css +2 -0
  42. data/vendor/assets/stylesheets/reset/normalize.css +500 -0
  43. data/vendor/assets/stylesheets/reset/normalize.min.css +2 -0
  44. data/vendor/assets/stylesheets/reset/universal-selector.css +4 -0
  45. data/vendor/assets/stylesheets/reset/universal-selector.min.css +2 -0
  46. data/vendor/assets/stylesheets/reset/yui3.css +126 -0
  47. data/vendor/assets/stylesheets/reset/yui3.min.css +2 -0
  48. metadata +52 -8
  49. data/lib/agnostic-frontend/version.rb +0 -3
@@ -0,0 +1,92 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ print.css
4
+ * Gives you some sensible styles for printing pages.
5
+ * See Readme file in this directory for further instructions.
6
+
7
+ Some additions you'll want to make, customized to your markup:
8
+ #header, #footer, #navigation { display:none; }
9
+
10
+ -------------------------------------------------------------- */
11
+
12
+ body {
13
+ line-height: 1.5;
14
+ font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
15
+ color:#000;
16
+ background: none;
17
+ font-size: 10pt;
18
+ }
19
+
20
+
21
+ /* Layout
22
+ -------------------------------------------------------------- */
23
+
24
+ .container {
25
+ background: none;
26
+ }
27
+
28
+ hr {
29
+ background:#ccc;
30
+ color:#ccc;
31
+ width:100%;
32
+ height:2px;
33
+ margin:2em 0;
34
+ padding:0;
35
+ border:none;
36
+ }
37
+ hr.space {
38
+ background: #fff;
39
+ color: #fff;
40
+ visibility: hidden;
41
+ }
42
+
43
+
44
+ /* Text
45
+ -------------------------------------------------------------- */
46
+
47
+ h1,h2,h3,h4,h5,h6 { font-family: "Helvetica Neue", Arial, "Lucida Grande", sans-serif; }
48
+ code { font:.9em "Courier New", Monaco, Courier, monospace; }
49
+
50
+ a img { border:none; }
51
+ p img.top { margin-top: 0; }
52
+
53
+ blockquote {
54
+ margin:1.5em;
55
+ padding:1em;
56
+ font-style:italic;
57
+ font-size:.9em;
58
+ }
59
+
60
+ .small { font-size: .9em; }
61
+ .large { font-size: 1.1em; }
62
+ .quiet { color: #999; }
63
+ .hide { display:none; }
64
+
65
+
66
+ /* Links
67
+ -------------------------------------------------------------- */
68
+
69
+ a:link, a:visited {
70
+ background: transparent;
71
+ font-weight:700;
72
+ text-decoration: underline;
73
+ }
74
+
75
+ /*
76
+ This has been the source of many questions in the past. This
77
+ snippet of CSS appends the URL of each link within the text.
78
+ The idea is that users printing your webpage will want to know
79
+ the URLs they go to. If you want to remove this functionality,
80
+ comment out this snippet and make sure to re-compress your files.
81
+ */
82
+ a:link:after, a:visited:after {
83
+ content: " (" attr(href) ")";
84
+ font-size: 90%;
85
+ }
86
+
87
+ /* If you're having trouble printing relative links, uncomment and customize this:
88
+ (note: This is valid CSS3, but it still won't go through the W3C CSS Validator) */
89
+
90
+ /* a[href^="/"]:after {
91
+ content: " (http://www.yourdomain.com" attr(href) ") ";
92
+ } */
@@ -0,0 +1,123 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ typography.css
4
+ * Sets up some sensible default typography.
5
+
6
+ -------------------------------------------------------------- */
7
+
8
+ /* Default font settings.
9
+ The font-size percentage is of 16px. (0.75 * 16px = 12px) */
10
+ html { font-size:100.01%; }
11
+ body {
12
+ font-size: 75%;
13
+ color: #222;
14
+ background: #fff;
15
+ font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
16
+ }
17
+
18
+
19
+ /* Headings
20
+ -------------------------------------------------------------- */
21
+
22
+ h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }
23
+
24
+ h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
25
+ h2 { font-size: 2em; margin-bottom: 0.75em; }
26
+ h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
27
+ h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
28
+ h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
29
+ h6 { font-size: 1em; font-weight: bold; }
30
+
31
+ h1 img, h2 img, h3 img,
32
+ h4 img, h5 img, h6 img {
33
+ margin: 0;
34
+ }
35
+
36
+
37
+ /* Text elements
38
+ -------------------------------------------------------------- */
39
+
40
+ p { margin: 0 0 1.5em; }
41
+ /*
42
+ These can be used to pull an image at the start of a paragraph, so
43
+ that the text flows around it (usage: <p><img class="left">Text</p>)
44
+ */
45
+ .left { float: left !important; }
46
+ p .left { margin: 1.5em 1.5em 1.5em 0; padding: 0; }
47
+ .right { float: right !important; }
48
+ p .right { margin: 1.5em 0 1.5em 1.5em; padding: 0; }
49
+
50
+ a:focus,
51
+ a:hover { color: #09f; }
52
+ a { color: #06c; text-decoration: underline; }
53
+
54
+ blockquote { margin: 1.5em; color: #666; font-style: italic; }
55
+ strong,dfn { font-weight: bold; }
56
+ em,dfn { font-style: italic; }
57
+ sup, sub { line-height: 0; }
58
+
59
+ abbr,
60
+ acronym { border-bottom: 1px dotted #666; }
61
+ address { margin: 0 0 1.5em; font-style: italic; }
62
+ del { color:#666; }
63
+
64
+ pre { margin: 1.5em 0; white-space: pre; }
65
+ pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
66
+
67
+
68
+ /* Lists
69
+ -------------------------------------------------------------- */
70
+
71
+ li ul,
72
+ li ol { margin: 0; }
73
+ ul, ol { margin: 0 1.5em 1.5em 0; padding-left: 1.5em; }
74
+
75
+ ul { list-style-type: disc; }
76
+ ol { list-style-type: decimal; }
77
+
78
+ dl { margin: 0 0 1.5em 0; }
79
+ dl dt { font-weight: bold; }
80
+ dd { margin-left: 1.5em;}
81
+
82
+
83
+ /* Tables
84
+ -------------------------------------------------------------- */
85
+
86
+ /*
87
+ Because of the need for padding on TH and TD, the vertical rhythm
88
+ on table cells has to be 27px, instead of the standard 18px or 36px
89
+ of other elements.
90
+ */
91
+ table { margin-bottom: 1.4em; width:100%; }
92
+ th { font-weight: bold; }
93
+ thead th { background: #c3d9ff; }
94
+ th,td,caption { padding: 4px 10px 4px 5px; }
95
+ /*
96
+ You can zebra-stripe your tables in outdated browsers by adding
97
+ the class "even" to every other table row.
98
+ */
99
+ tbody tr:nth-child(even) td,
100
+ tbody tr.even td {
101
+ background: #e5ecf9;
102
+ }
103
+ tfoot { font-style: italic; }
104
+ caption { background: #eee; }
105
+
106
+
107
+ /* Misc classes
108
+ -------------------------------------------------------------- */
109
+
110
+ .small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
111
+ .large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
112
+ .hide { display: none; }
113
+
114
+ .quiet { color: #666; }
115
+ .loud { color: #000; }
116
+ .highlight { background:#ff0; }
117
+ .added { background:#060; color: #fff; }
118
+ .removed { background:#900; color: #fff; }
119
+
120
+ .first { margin-left:0; padding-left:0; }
121
+ .last { margin-right:0; padding-right:0; }
122
+ .top { margin-top:0; padding-top:0; }
123
+ .bottom { margin-bottom:0; padding-bottom:0; }
@@ -0,0 +1,338 @@
1
+ /*!
2
+ * Bootstrap v2.1.0
3
+ *
4
+ * Copyright 2012 Twitter, Inc
5
+ * Licensed under the Apache License v2.0
6
+ * http://www.apache.org/licenses/LICENSE-2.0
7
+ *
8
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
+ */
10
+ .clearfix {
11
+ *zoom: 1;
12
+ }
13
+ .clearfix:before,
14
+ .clearfix:after {
15
+ display: table;
16
+ content: "";
17
+ line-height: 0;
18
+ }
19
+ .clearfix:after {
20
+ clear: both;
21
+ }
22
+ .hide-text {
23
+ font: 0/0 a;
24
+ color: transparent;
25
+ text-shadow: none;
26
+ background-color: transparent;
27
+ border: 0;
28
+ }
29
+ .input-block-level {
30
+ display: block;
31
+ width: 100%;
32
+ min-height: 30px;
33
+ -webkit-box-sizing: border-box;
34
+ -moz-box-sizing: border-box;
35
+ box-sizing: border-box;
36
+ }
37
+ .row {
38
+ margin-left: -20px;
39
+ *zoom: 1;
40
+ }
41
+ .row:before,
42
+ .row:after {
43
+ display: table;
44
+ content: "";
45
+ line-height: 0;
46
+ }
47
+ .row:after {
48
+ clear: both;
49
+ }
50
+ [class*="span"] {
51
+ float: left;
52
+ margin-left: 20px;
53
+ }
54
+ .container,
55
+ .navbar-static-top .container,
56
+ .navbar-fixed-top .container,
57
+ .navbar-fixed-bottom .container {
58
+ width: 940px;
59
+ }
60
+ .span12 {
61
+ width: 940px;
62
+ }
63
+ .span11 {
64
+ width: 860px;
65
+ }
66
+ .span10 {
67
+ width: 780px;
68
+ }
69
+ .span9 {
70
+ width: 700px;
71
+ }
72
+ .span8 {
73
+ width: 620px;
74
+ }
75
+ .span7 {
76
+ width: 540px;
77
+ }
78
+ .span6 {
79
+ width: 460px;
80
+ }
81
+ .span5 {
82
+ width: 380px;
83
+ }
84
+ .span4 {
85
+ width: 300px;
86
+ }
87
+ .span3 {
88
+ width: 220px;
89
+ }
90
+ .span2 {
91
+ width: 140px;
92
+ }
93
+ .span1 {
94
+ width: 60px;
95
+ }
96
+ .offset12 {
97
+ margin-left: 980px;
98
+ }
99
+ .offset11 {
100
+ margin-left: 900px;
101
+ }
102
+ .offset10 {
103
+ margin-left: 820px;
104
+ }
105
+ .offset9 {
106
+ margin-left: 740px;
107
+ }
108
+ .offset8 {
109
+ margin-left: 660px;
110
+ }
111
+ .offset7 {
112
+ margin-left: 580px;
113
+ }
114
+ .offset6 {
115
+ margin-left: 500px;
116
+ }
117
+ .offset5 {
118
+ margin-left: 420px;
119
+ }
120
+ .offset4 {
121
+ margin-left: 340px;
122
+ }
123
+ .offset3 {
124
+ margin-left: 260px;
125
+ }
126
+ .offset2 {
127
+ margin-left: 180px;
128
+ }
129
+ .offset1 {
130
+ margin-left: 100px;
131
+ }
132
+ .row-fluid {
133
+ width: 100%;
134
+ *zoom: 1;
135
+ }
136
+ .row-fluid:before,
137
+ .row-fluid:after {
138
+ display: table;
139
+ content: "";
140
+ line-height: 0;
141
+ }
142
+ .row-fluid:after {
143
+ clear: both;
144
+ }
145
+ .row-fluid [class*="span"] {
146
+ display: block;
147
+ width: 100%;
148
+ min-height: 30px;
149
+ -webkit-box-sizing: border-box;
150
+ -moz-box-sizing: border-box;
151
+ box-sizing: border-box;
152
+ float: left;
153
+ margin-left: 2.127659574468085%;
154
+ *margin-left: 2.074468085106383%;
155
+ }
156
+ .row-fluid [class*="span"]:first-child {
157
+ margin-left: 0;
158
+ }
159
+ .row-fluid .span12 {
160
+ width: 100%;
161
+ *width: 99.94680851063829%;
162
+ }
163
+ .row-fluid .span11 {
164
+ width: 91.48936170212765%;
165
+ *width: 91.43617021276594%;
166
+ }
167
+ .row-fluid .span10 {
168
+ width: 82.97872340425532%;
169
+ *width: 82.92553191489361%;
170
+ }
171
+ .row-fluid .span9 {
172
+ width: 74.46808510638297%;
173
+ *width: 74.41489361702126%;
174
+ }
175
+ .row-fluid .span8 {
176
+ width: 65.95744680851064%;
177
+ *width: 65.90425531914893%;
178
+ }
179
+ .row-fluid .span7 {
180
+ width: 57.44680851063829%;
181
+ *width: 57.39361702127659%;
182
+ }
183
+ .row-fluid .span6 {
184
+ width: 48.93617021276595%;
185
+ *width: 48.88297872340425%;
186
+ }
187
+ .row-fluid .span5 {
188
+ width: 40.42553191489362%;
189
+ *width: 40.37234042553192%;
190
+ }
191
+ .row-fluid .span4 {
192
+ width: 31.914893617021278%;
193
+ *width: 31.861702127659576%;
194
+ }
195
+ .row-fluid .span3 {
196
+ width: 23.404255319148934%;
197
+ *width: 23.351063829787233%;
198
+ }
199
+ .row-fluid .span2 {
200
+ width: 14.893617021276595%;
201
+ *width: 14.840425531914894%;
202
+ }
203
+ .row-fluid .span1 {
204
+ width: 6.382978723404255%;
205
+ *width: 6.329787234042553%;
206
+ }
207
+ .row-fluid .offset12 {
208
+ margin-left: 104.25531914893617%;
209
+ *margin-left: 104.14893617021275%;
210
+ }
211
+ .row-fluid .offset12:first-child {
212
+ margin-left: 102.12765957446808%;
213
+ *margin-left: 102.02127659574467%;
214
+ }
215
+ .row-fluid .offset11 {
216
+ margin-left: 95.74468085106382%;
217
+ *margin-left: 95.6382978723404%;
218
+ }
219
+ .row-fluid .offset11:first-child {
220
+ margin-left: 93.61702127659574%;
221
+ *margin-left: 93.51063829787232%;
222
+ }
223
+ .row-fluid .offset10 {
224
+ margin-left: 87.23404255319149%;
225
+ *margin-left: 87.12765957446807%;
226
+ }
227
+ .row-fluid .offset10:first-child {
228
+ margin-left: 85.1063829787234%;
229
+ *margin-left: 84.99999999999999%;
230
+ }
231
+ .row-fluid .offset9 {
232
+ margin-left: 78.72340425531914%;
233
+ *margin-left: 78.61702127659572%;
234
+ }
235
+ .row-fluid .offset9:first-child {
236
+ margin-left: 76.59574468085106%;
237
+ *margin-left: 76.48936170212764%;
238
+ }
239
+ .row-fluid .offset8 {
240
+ margin-left: 70.2127659574468%;
241
+ *margin-left: 70.10638297872339%;
242
+ }
243
+ .row-fluid .offset8:first-child {
244
+ margin-left: 68.08510638297872%;
245
+ *margin-left: 67.9787234042553%;
246
+ }
247
+ .row-fluid .offset7 {
248
+ margin-left: 61.70212765957446%;
249
+ *margin-left: 61.59574468085106%;
250
+ }
251
+ .row-fluid .offset7:first-child {
252
+ margin-left: 59.574468085106375%;
253
+ *margin-left: 59.46808510638297%;
254
+ }
255
+ .row-fluid .offset6 {
256
+ margin-left: 53.191489361702125%;
257
+ *margin-left: 53.085106382978715%;
258
+ }
259
+ .row-fluid .offset6:first-child {
260
+ margin-left: 51.063829787234035%;
261
+ *margin-left: 50.95744680851063%;
262
+ }
263
+ .row-fluid .offset5 {
264
+ margin-left: 44.68085106382979%;
265
+ *margin-left: 44.57446808510638%;
266
+ }
267
+ .row-fluid .offset5:first-child {
268
+ margin-left: 42.5531914893617%;
269
+ *margin-left: 42.4468085106383%;
270
+ }
271
+ .row-fluid .offset4 {
272
+ margin-left: 36.170212765957444%;
273
+ *margin-left: 36.06382978723405%;
274
+ }
275
+ .row-fluid .offset4:first-child {
276
+ margin-left: 34.04255319148936%;
277
+ *margin-left: 33.93617021276596%;
278
+ }
279
+ .row-fluid .offset3 {
280
+ margin-left: 27.659574468085104%;
281
+ *margin-left: 27.5531914893617%;
282
+ }
283
+ .row-fluid .offset3:first-child {
284
+ margin-left: 25.53191489361702%;
285
+ *margin-left: 25.425531914893618%;
286
+ }
287
+ .row-fluid .offset2 {
288
+ margin-left: 19.148936170212764%;
289
+ *margin-left: 19.04255319148936%;
290
+ }
291
+ .row-fluid .offset2:first-child {
292
+ margin-left: 17.02127659574468%;
293
+ *margin-left: 16.914893617021278%;
294
+ }
295
+ .row-fluid .offset1 {
296
+ margin-left: 10.638297872340425%;
297
+ *margin-left: 10.53191489361702%;
298
+ }
299
+ .row-fluid .offset1:first-child {
300
+ margin-left: 8.51063829787234%;
301
+ *margin-left: 8.404255319148938%;
302
+ }
303
+ [class*="span"].hide,
304
+ .row-fluid [class*="span"].hide {
305
+ display: none;
306
+ }
307
+ [class*="span"].pull-right,
308
+ .row-fluid [class*="span"].pull-right {
309
+ float: right;
310
+ }
311
+ .container {
312
+ margin-right: auto;
313
+ margin-left: auto;
314
+ *zoom: 1;
315
+ }
316
+ .container:before,
317
+ .container:after {
318
+ display: table;
319
+ content: "";
320
+ line-height: 0;
321
+ }
322
+ .container:after {
323
+ clear: both;
324
+ }
325
+ .container-fluid {
326
+ padding-right: 20px;
327
+ padding-left: 20px;
328
+ *zoom: 1;
329
+ }
330
+ .container-fluid:before,
331
+ .container-fluid:after {
332
+ display: table;
333
+ content: "";
334
+ line-height: 0;
335
+ }
336
+ .container-fluid:after {
337
+ clear: both;
338
+ }