vision 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +11 -3
- data/app/assets/stylesheets/vision/bootstrap_and_overrides.css.less +20 -34
- data/app/assets/stylesheets/vision/cosmo_theme/bootswatch.css.less +613 -0
- data/app/assets/stylesheets/vision/{bootstrap_theme/variables.less → cosmo_theme/variables.css.less} +2 -2
- data/app/helpers/vision/resource_helper.rb +5 -2
- data/lib/vision/version.rb +1 -1
- data/test/dummy/app/controllers/theme_controller.rb +4 -0
- data/test/dummy/app/views/vision/theme/index.html.haml +160 -0
- data/test/dummy/config/routes.rb +1 -1
- data/test/dummy/db/seeds.rb +2 -0
- metadata +237 -287
- data/app/assets/stylesheets/vision/bootstrap_theme/bootstrap-responsive.min.css.less +0 -9
- data/app/assets/stylesheets/vision/bootstrap_theme/bootstrap.css.less +0 -5616
- data/app/assets/stylesheets/vision/bootstrap_theme/bootswatch.css.less +0 -412
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -4
@@ -1,412 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
padding-top: 80px;
|
3
|
-
padding-bottom: 20px;
|
4
|
-
}
|
5
|
-
|
6
|
-
.navbar a > i {
|
7
|
-
opacity: 0.5;
|
8
|
-
}
|
9
|
-
|
10
|
-
.navbar a:hover > i {
|
11
|
-
opacity: 1;
|
12
|
-
}
|
13
|
-
|
14
|
-
section {
|
15
|
-
margin-top: 100px;
|
16
|
-
}
|
17
|
-
|
18
|
-
.subhead {
|
19
|
-
padding-bottom: 0;
|
20
|
-
margin-bottom: 9px;
|
21
|
-
}
|
22
|
-
|
23
|
-
.subhead h1 {
|
24
|
-
font-size: 54px;
|
25
|
-
}
|
26
|
-
|
27
|
-
.subnav {
|
28
|
-
margin-bottom: 60px;
|
29
|
-
width: 100%;
|
30
|
-
height: 36px;
|
31
|
-
background-color: #eeeeee; /* Old browsers */
|
32
|
-
background-repeat: repeat-x; /* Repeat the gradient */
|
33
|
-
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
|
34
|
-
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
|
35
|
-
background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
|
36
|
-
background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
|
37
|
-
background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
|
38
|
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
|
39
|
-
background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
|
40
|
-
border: 1px solid #e5e5e5;
|
41
|
-
-webkit-border-radius: 4px;
|
42
|
-
-moz-border-radius: 4px;
|
43
|
-
border-radius: 4px;
|
44
|
-
}
|
45
|
-
|
46
|
-
.subnav .nav {
|
47
|
-
margin-bottom: 0;
|
48
|
-
}
|
49
|
-
|
50
|
-
.subnav .nav > li > a {
|
51
|
-
margin: 0;
|
52
|
-
padding-top: 11px;
|
53
|
-
padding-bottom: 11px;
|
54
|
-
border-left: 1px solid #f5f5f5;
|
55
|
-
border-right: 1px solid #e5e5e5;
|
56
|
-
-webkit-border-radius: 0;
|
57
|
-
-moz-border-radius: 0;
|
58
|
-
border-radius: 0;
|
59
|
-
}
|
60
|
-
|
61
|
-
.subnav .nav > .active > a,
|
62
|
-
.subnav .nav > .active > a:hover {
|
63
|
-
padding-left: 13px;
|
64
|
-
color: #777;
|
65
|
-
background-color: #e9e9e9;
|
66
|
-
border-right-color: #ddd;
|
67
|
-
border-left: 0;
|
68
|
-
-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
|
69
|
-
-moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
|
70
|
-
box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
|
71
|
-
}
|
72
|
-
|
73
|
-
.subnav .nav > .active > a .caret,
|
74
|
-
.subnav .nav > .active > a:hover .caret {
|
75
|
-
border-top-color: #777;
|
76
|
-
}
|
77
|
-
|
78
|
-
.subnav .nav > li:first-child > a,
|
79
|
-
.subnav .nav > li:first-child > a:hover {
|
80
|
-
border-left: 0;
|
81
|
-
padding-left: 12px;
|
82
|
-
-webkit-border-radius: 4px 0 0 4px;
|
83
|
-
-moz-border-radius: 4px 0 0 4px;
|
84
|
-
border-radius: 4px 0 0 4px;
|
85
|
-
}
|
86
|
-
|
87
|
-
.subnav .nav > li:last-child > a {
|
88
|
-
border-right: 0;
|
89
|
-
}
|
90
|
-
|
91
|
-
.subnav .dropdown-menu {
|
92
|
-
-webkit-border-radius: 0 0 4px 4px;
|
93
|
-
-moz-border-radius: 0 0 4px 4px;
|
94
|
-
border-radius: 0 0 4px 4px;
|
95
|
-
}
|
96
|
-
|
97
|
-
.tooltip-inner {
|
98
|
-
max-width: 500px;
|
99
|
-
}
|
100
|
-
|
101
|
-
.hero-unit {
|
102
|
-
margin-bottom: 10px;
|
103
|
-
text-align: center;
|
104
|
-
}
|
105
|
-
|
106
|
-
.hero-unit h1,
|
107
|
-
.hero-unit p {
|
108
|
-
margin-bottom: 15px;
|
109
|
-
}
|
110
|
-
|
111
|
-
#social {
|
112
|
-
display: inline-block;
|
113
|
-
margin-top: 45px;
|
114
|
-
text-align: center;
|
115
|
-
}
|
116
|
-
|
117
|
-
#gh-star {
|
118
|
-
margin-right: 10px;
|
119
|
-
}
|
120
|
-
|
121
|
-
.twitter-follow-button {
|
122
|
-
width: 60px !important;
|
123
|
-
}
|
124
|
-
|
125
|
-
.twitter-share-button {
|
126
|
-
margin-right: 15px;
|
127
|
-
}
|
128
|
-
|
129
|
-
.rss-button {
|
130
|
-
width: 40px;
|
131
|
-
height: 14px;
|
132
|
-
font-size: 11px;
|
133
|
-
line-height: 14px;
|
134
|
-
font-weight: bold;
|
135
|
-
margin: 0 0 10px;
|
136
|
-
padding: 2px 5px 2px 4px;
|
137
|
-
}
|
138
|
-
|
139
|
-
.icon-rss {
|
140
|
-
background: url(../img/rss-icons.png) no-repeat 0 0;
|
141
|
-
opacity: .65;
|
142
|
-
width: 16px;
|
143
|
-
}
|
144
|
-
|
145
|
-
#ticker {
|
146
|
-
margin-bottom: 40px;
|
147
|
-
}
|
148
|
-
|
149
|
-
.about {
|
150
|
-
margin-top: 20px;
|
151
|
-
}
|
152
|
-
|
153
|
-
.about > div {
|
154
|
-
margin-bottom: 20px;
|
155
|
-
}
|
156
|
-
|
157
|
-
.about h3 {
|
158
|
-
margin: 0 0 5px 35px;
|
159
|
-
}
|
160
|
-
|
161
|
-
.about img {
|
162
|
-
float: left;
|
163
|
-
margin-top: 5px;
|
164
|
-
opacity: 0.7;
|
165
|
-
}
|
166
|
-
|
167
|
-
#gallery {
|
168
|
-
margin: 45px 0 30px 0;
|
169
|
-
padding-right: 20px;
|
170
|
-
text-align: center;
|
171
|
-
}
|
172
|
-
|
173
|
-
.thumbnail {
|
174
|
-
margin-bottom: 20px;
|
175
|
-
background-color: rgba(0, 0, 0, 0.05);
|
176
|
-
}
|
177
|
-
|
178
|
-
.thumbnail img {
|
179
|
-
width: 100%;
|
180
|
-
-webkit-border-radius: 7px;
|
181
|
-
-moz-border-radius: 7px;
|
182
|
-
border-radius: 7px;
|
183
|
-
}
|
184
|
-
|
185
|
-
.thumbnail .caption {
|
186
|
-
color: inherit !important;
|
187
|
-
}
|
188
|
-
|
189
|
-
.thumbnail h3 {
|
190
|
-
margin-bottom: 0;
|
191
|
-
}
|
192
|
-
|
193
|
-
.thumbnail .btn-toolbar {
|
194
|
-
margin-top: 15px;
|
195
|
-
text-align: right;
|
196
|
-
}
|
197
|
-
|
198
|
-
.links {
|
199
|
-
margin-bottom: 20px;
|
200
|
-
}
|
201
|
-
|
202
|
-
.links > a {
|
203
|
-
margin-right: 10px;
|
204
|
-
}
|
205
|
-
|
206
|
-
div.one .bsa_it_ad {
|
207
|
-
padding: 25px 25px 15px 25px;
|
208
|
-
}
|
209
|
-
|
210
|
-
div.one .bsa_it_p {
|
211
|
-
display: none;
|
212
|
-
}
|
213
|
-
|
214
|
-
.bsa {
|
215
|
-
float: right;
|
216
|
-
max-width: 400px;
|
217
|
-
padding: 0;
|
218
|
-
}
|
219
|
-
|
220
|
-
body .one .bsa_it_ad {
|
221
|
-
margin-bottom: -10px;
|
222
|
-
background: none;
|
223
|
-
border: none;
|
224
|
-
font-family: inherit;
|
225
|
-
color: inherit;
|
226
|
-
}
|
227
|
-
|
228
|
-
body .one .bsa_it_ad .bsa_it_t,
|
229
|
-
body .one .bsa_it_ad .bsa_it_d {
|
230
|
-
color: inherit;
|
231
|
-
font-size: inherit;
|
232
|
-
}
|
233
|
-
|
234
|
-
body .one .bsa_it_p {
|
235
|
-
display: none;
|
236
|
-
}
|
237
|
-
|
238
|
-
#bsap_aplink {
|
239
|
-
float: right;
|
240
|
-
position: relative;
|
241
|
-
right: 10px;
|
242
|
-
height: 0;
|
243
|
-
font-size: 11px;
|
244
|
-
}
|
245
|
-
|
246
|
-
.links {
|
247
|
-
margin-bottom: 20px;
|
248
|
-
}
|
249
|
-
|
250
|
-
.links > a {
|
251
|
-
margin-right: 10px;
|
252
|
-
}
|
253
|
-
|
254
|
-
@media (max-width: 480px) {
|
255
|
-
|
256
|
-
.hero-unit {
|
257
|
-
padding: 20px 20px 0;
|
258
|
-
margin: 0 0 20px;
|
259
|
-
}
|
260
|
-
|
261
|
-
.hero-unit h1 {
|
262
|
-
font-size: 36px;
|
263
|
-
}
|
264
|
-
|
265
|
-
.hero-unit iframe {
|
266
|
-
margin-right: 0 !important;
|
267
|
-
}
|
268
|
-
|
269
|
-
#social {
|
270
|
-
margin-top: 0px;
|
271
|
-
margin-bottom: 20px;
|
272
|
-
}
|
273
|
-
|
274
|
-
#social > span {
|
275
|
-
display: block;
|
276
|
-
}
|
277
|
-
|
278
|
-
.about {
|
279
|
-
margin-top: 0;
|
280
|
-
}
|
281
|
-
|
282
|
-
.about h3 {
|
283
|
-
margin-top: 20px;
|
284
|
-
}
|
285
|
-
|
286
|
-
.about p {
|
287
|
-
margin-bottom: 0;
|
288
|
-
}
|
289
|
-
|
290
|
-
.modal {
|
291
|
-
position: fixed !important;
|
292
|
-
top: 25% !important;
|
293
|
-
}
|
294
|
-
}
|
295
|
-
|
296
|
-
/* Landscape phone to portrait tablet */
|
297
|
-
@media (min-width: 481px) and (max-width: 767px) {
|
298
|
-
|
299
|
-
.hero-unit {
|
300
|
-
margin-top: 0;
|
301
|
-
padding: 30px;
|
302
|
-
}
|
303
|
-
|
304
|
-
.about {
|
305
|
-
margin-top: 0;
|
306
|
-
}
|
307
|
-
}
|
308
|
-
|
309
|
-
@media (max-width: 767px) {
|
310
|
-
|
311
|
-
body {
|
312
|
-
padding-top: 0;
|
313
|
-
}
|
314
|
-
|
315
|
-
.subnav {
|
316
|
-
position: static;
|
317
|
-
top: auto;
|
318
|
-
z-index: auto;
|
319
|
-
width: auto;
|
320
|
-
height: auto;
|
321
|
-
background: #fff; /* whole background property since we use a background-image for gradient */
|
322
|
-
-webkit-box-shadow: none;
|
323
|
-
-moz-box-shadow: none;
|
324
|
-
box-shadow: none;
|
325
|
-
}
|
326
|
-
|
327
|
-
.subnav .nav > li {
|
328
|
-
float: none;
|
329
|
-
}
|
330
|
-
|
331
|
-
.subnav .nav > li > a {
|
332
|
-
border: 0;
|
333
|
-
}
|
334
|
-
|
335
|
-
.subnav .nav > li + li > a {
|
336
|
-
border-top: 1px solid #e5e5e5;
|
337
|
-
}
|
338
|
-
|
339
|
-
.subnav .nav > li:first-child > a,
|
340
|
-
.subnav .nav > li:first-child > a:hover {
|
341
|
-
-webkit-border-radius: 4px 4px 0 0;
|
342
|
-
-moz-border-radius: 4px 4px 0 0;
|
343
|
-
border-radius: 4px 4px 0 0;
|
344
|
-
}
|
345
|
-
|
346
|
-
.bsa {
|
347
|
-
float: none;
|
348
|
-
}
|
349
|
-
}
|
350
|
-
|
351
|
-
/* Portrait tablet to landscape and desktop */
|
352
|
-
@media (min-width: 768px) and (max-width: 979px) {
|
353
|
-
|
354
|
-
.hero-unit {
|
355
|
-
margin-top: 0;
|
356
|
-
}
|
357
|
-
|
358
|
-
.thumbnail p {
|
359
|
-
font-size: 12px;
|
360
|
-
}
|
361
|
-
|
362
|
-
.thumbnail .btn {
|
363
|
-
padding: 8px 12px;
|
364
|
-
font-size: 12px;
|
365
|
-
}
|
366
|
-
}
|
367
|
-
|
368
|
-
/* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
|
369
|
-
@media (min-width: 980px) {
|
370
|
-
.subnav-fixed {
|
371
|
-
position: fixed;
|
372
|
-
top: 40px;
|
373
|
-
left: 0;
|
374
|
-
right: 0;
|
375
|
-
z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
|
376
|
-
border-color: #d5d5d5;
|
377
|
-
border-width: 0 0 1px; /* drop the border on the fixed edges */
|
378
|
-
-webkit-border-radius: 0;
|
379
|
-
-moz-border-radius: 0;
|
380
|
-
border-radius: 0;
|
381
|
-
-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
|
382
|
-
-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
|
383
|
-
box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
|
384
|
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
|
385
|
-
}
|
386
|
-
.subnav-fixed .nav {
|
387
|
-
width: 938px;
|
388
|
-
margin: 0 auto;
|
389
|
-
padding: 0 1px;
|
390
|
-
}
|
391
|
-
.subnav .nav > li:first-child > a,
|
392
|
-
.subnav .nav > li:first-child > a:hover {
|
393
|
-
-webkit-border-radius: 0;
|
394
|
-
-moz-border-radius: 0;
|
395
|
-
border-radius: 0;
|
396
|
-
}
|
397
|
-
}
|
398
|
-
|
399
|
-
@media (min-width: 768px) and (max-width: 979px) {
|
400
|
-
|
401
|
-
/* Remove any padding from the body */
|
402
|
-
body {
|
403
|
-
padding-top: 0;
|
404
|
-
}
|
405
|
-
}
|
406
|
-
|
407
|
-
@media (min-width: 1210px) {
|
408
|
-
|
409
|
-
.subnav-fixed .nav {
|
410
|
-
width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
|
411
|
-
}
|
412
|
-
}
|
File without changes
|