-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.sass
More file actions
608 lines (584 loc) · 11.8 KB
/
style.sass
File metadata and controls
608 lines (584 loc) · 11.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
@import "sass-vars.sass"
@import ../../sass/event.sass
@import ../../sass/landing.sass
@import ./sass/_reset.sass
@import ./sass/_config.sass
@import ./sass/_default.sass
@import ./sass/_elements.sass
@import ./sass/_messages.sass
@import ./sass/config/_utilities.sass
@import ./sass/config/_colors.sass
@import ./sass/config/_typography.sass
@import ./sass/config/_nineSixty.sass
=maxWidth
:margin 0 auto
:width 960px
#flashMessage
//IE6 will only apply class colors to "relative" positioned divs
:background = !light
//
Set position to "fixed" if you want the message to follow scroll, or "relative"
if you prefer to have it inline. Currently, only absolute works for IE6.
:position absolute
:border-bottom 2px solid
:top 0
:right 0
:z-index 10
:padding 10px 5px
:text-align center
:width 100%
:overflow hidden
.message
:margin 0 auto
:margin-left 1.5em
:min-height 15px
:padding 0 40px
#close
:border 2px solid
:cursor pointer
:right 10px
:top 20%
:padding 0 2px 5px
:position absolute
:width 15px
&.success
+flash(!success, "accept")
&.alert
+flash(!alert, "error")
&.error
+flash(!error, "exclamation")
.errorMessage
:display none
p
:color = !errorText
.fieldWithErrors
:background = "url('/images/icons/exclamation.png') no-repeat 1%" !error
:line-height 1.6
:padding 5px
label
:padding-left 20px
.checkbox, .radio
:float left
.fieldWithErrors
:background-position 14%
:overflow hidden
:padding-left 20px
:padding-bottom 2px
.label
.fieldWithErrors
label
:padding 10px 0
.file
.fieldWithErrors
:background-position 1% 42%
:padding-left 30px
#errorExplanation
:background-color = !error
:border = "2px solid" !red
:margin-bottom 20px
:padding-bottom 10px
h2
+typeSans
:background-color = !red
:color #fff
:font-size 12px
:font-weight bold
:padding 10px 20px
:margin 0
:text-align left
p
:padding 10px 20px 0
ul
:padding-left 20px
/* Hide content from screenreader and browsers. 'hidden' HTML attribute is also useful */
.hidden
display: none !important;
visibility: hidden;
.initially-hidden
display: none !important;
visibility: hidden;
/* Micro clearfix from h5bp.com */
.clearfix
&:before, &:after
content: " ";
display: table;
//
Always add mixins first so styles can be overridden as needed. For instance:
top-bar-inner has a +maxWidth mixin applied, which has a default padding of 0 15px, but
here additional padding-top specific to the element is also added aftwerward.
body
:background = !body
//basic layout elements
#wrapper
:width 100%
#top-bar
:background = !topBar
:border-bottom = "1px solid" !topBar - #333
:height 80px
:margin-bottom 30px
:padding-top 10px
&.tabs
:height 100px
#top-bar-inner
+maxWidth
+topBarType
:padding 20px 20px 0
//IE6 hack (top padding not being respected)
:*margin-top 20px
:width 940px
#logo
+logoType
:float left
:width 260px
.tagline
:float left
:padding-top 5px
:width 200px
#nav
:float right
:padding-top 5px
a
:margin 0 10px
//tabbed nav for an admin like area
#tabs
+roundedTop
:background = !tabs
:height 30px
:margin-top 50px
ul
:list-style none
:margin 0
li
:float left
:display inline
:margin-top 3px
a
:color = !tabLink
:display block
#primary-nav
+primaryNavType
ul li
+roundedTop
:cursor pointer
:padding 4px 25px 11px
&.active
:background = !body
:border-bottom = "1px solid" !body
a
:color = !tabs
#secondary-nav
+secondaryNavType
:float right
:margin 2px 10px
ul li
:float left
:padding 0 10px
#content
+clearfix
+maxWidth
.tagline
+baseLine
+contentTaglineType
:border-bottom = "1px solid" !border
:border-top = "1px solid " !border
:padding 16px 0 2px
:text-align center
#sidebar
:float left
:width 300px
:margin 0 10px
#main
:float left
:width 620px
:margin 0 10px
#footer
:background = !topBar
:border-top = "1px solid" !topBar - #333
:margin-top 19px
:padding 25px 40px
:text-align center
p
:color = !light
a
:margin 0 10px
//content elements
.box
+baseLine
+borderThin
:background = !contentBox
:padding 10px
.actions
:border-top = "1px solid" !border
:padding-top 20px
//paginate classes based on default output of mislav's will_paginate plugin
.paginate
:float right
a
+borderThin
:margin 0 5px
:padding 1px 1px 1px 5px
:text-decoration none
&:hover
:background = !link
:border-color = !link
:color #fff
.next_page
:background none
:border 0
.current
:color = !contentBox
:background = !link
:margin 0 5px
:padding 1px 1px 1px 5px
.disabled
:border none
:color #888
/* ''
.uberbox-icon-close:before
content: '\e801'
/* ''
.uberbox-icon-arrows-ccw:before
content: '\e802'
/* ''
.uberbox-icon-share:before
content: '\e803'
/* ''
.uberbox-icon-fullscreen:before
content: '\e804'
/* ''
.uberbox-icon-exit-fullscreen:before
content: '\e805'
/* ''
.uberbox-icon-download:before
content: '\e806'
/* ''
.uberbox-icon-duckduckgo:before
content: '\e80f'
/* ''
.uberbox-icon-aim:before
content: '\e810'
/* ''
.uberbox-icon-delicious:before
content: '\e812'
/* ''
.uberbox-icon-paypal:before
content: '\e814'
/* ''
.uberbox-icon-flattr:before
content: '\e815'
/* ''
.uberbox-icon-android:before
content: '\e816'
/* ''
.uberbox-icon-eventful:before
content: '\e817'
/* ''
.uberbox-icon-smashmag:before
content: '\e818'
/* ''
.uberbox-icon-googleplus:before
content: '\e819'
/* ''
.uberbox-icon-wikipedia:before
content: '\e81a'
/* ''
.uberbox-icon-lanyrd:before
content: '\e81b'
/* ''
.uberbox-icon-calendar:before
content: '\e81c'
/* ''
.uberbox-icon-stumbleupon:before
content: '\e81d'
/* ''
.uberbox-icon-fivehundredpx:before
content: '\e81e'
/* ''
.uberbox-icon-pinterest:before
content: '\e81f'
/* ''
.uberbox-icon-bitcoin:before
content: '\e820'
/* ''
.uberbox-icon-w3c:before
content: '\e821'
/* ''
.uberbox-icon-foursquare:before
content: '\e822'
/* ''
.uberbox-icon-html5:before
content: '\e823'
/* ''
.uberbox-icon-ie:before
content: '\e824'
/* ''
.uberbox-icon-call:before
content: '\e825'
/* ''
.uberbox-icon-grooveshark:before
content: '\e826'
/* ''
.uberbox-icon-ninetyninedesigns:before
content: '\e827'
/* ''
.uberbox-icon-forrst:before
content: '\e828'
/* ''
.uberbox-icon-digg:before
content: '\e829'
/* ''
.uberbox-icon-spotify:before
content: '\e82a'
/* ''
.uberbox-icon-reddit:before
content: '\e82b'
/* ''
.uberbox-icon-guest:before
content: '\e82c'
/* ''
.uberbox-icon-gowalla:before
content: '\e82d'
/* ''
.uberbox-icon-appstore:before
content: '\e82e'
/* ''
.uberbox-icon-blogger:before
content: '\e82f'
/* ''
.uberbox-icon-cc:before
content: '\e830'
/* ''
.uberbox-icon-dribbble:before
content: '\e831'
/* ''
.uberbox-icon-evernote:before
content: '\e832'
/* ''
.uberbox-icon-flickr:before
content: '\e833'
/* ''
.uberbox-icon-google:before
content: '\e834'
/* ''
.uberbox-icon-viadeo:before
content: '\e835'
/* ''
.uberbox-icon-instapaper:before
content: '\e836'
/* ''
.uberbox-icon-weibo:before
content: '\e837'
/* ''
.uberbox-icon-klout:before
content: '\e838'
/* ''
.uberbox-icon-linkedin:before
content: '\e839'
/* ''
.uberbox-icon-meetup:before
content: '\e83a'
/* ''
.uberbox-icon-vk:before
content: '\e83b'
/* ''
.uberbox-icon-plancast:before
content: '\e83c'
/* ''
.uberbox-icon-disqus:before
content: '\e83d'
/* ''
.uberbox-icon-rss:before
content: '\e83e'
/* ''
.uberbox-icon-skype:before
content: '\e83f'
/* ''
.uberbox-icon-twitter:before
content: '\e840'
/* ''
.uberbox-icon-youtube:before
content: '\e841'
/* ''
.uberbox-icon-vimeo:before
content: '\e842'
/* ''
.uberbox-icon-windows:before
content: '\e843'
/* ''
.uberbox-icon-xing:before
content: '\e844'
/* ''
.uberbox-icon-yahoo:before
content: '\e845'
/* ''
.uberbox-icon-chrome:before
content: '\e846'
/* ''
.uberbox-icon-email:before
content: '\e847'
/* ''
.uberbox-icon-macstore:before
content: '\e848'
/* ''
.uberbox-icon-myspace:before
content: '\e849'
/* ''
.uberbox-icon-podcast:before
content: '\e84a'
/* ''
.uberbox-icon-amazon:before
content: '\e84b'
/* ''
.uberbox-icon-steam:before
content: '\e84c'
/* ''
.uberbox-icon-cloudapp:before
content: '\e84d'
/* ''
.uberbox-icon-dropbox:before
content: '\e84e'
/* ''
.uberbox-icon-ebay:before
content: '\e84f'
/* ''
.uberbox-icon-facebook:before
content: '\e850'
/* ''
.uberbox-icon-github:before
content: '\e851'
/* ''
.uberbox-icon-github-circled:before
content: '\e852'
/* ''
.uberbox-icon-googleplay:before
content: '\e853'
/* ''
.uberbox-icon-itunes:before
content: '\e854'
/* ''
.uberbox-icon-plurk:before
content: '\e855'
/* ''
.uberbox-icon-songkick:before
content: '\e856'
/* ''
.uberbox-icon-lastfm:before
content: '\e857'
/* ''
.uberbox-icon-gmail:before
content: '\e858'
/* ''
.uberbox-icon-pinboard:before
content: '\e859'
/* ''
.uberbox-icon-openid:before
content: '\e85a'
/* ''
.uberbox-icon-quora:before
content: '\e85b'
/* ''
.uberbox-icon-soundcloud:before
content: '\e85c'
/* ''
.uberbox-icon-tumblr:before
content: '\e85d'
/* ''
.uberbox-icon-eventasaurus:before
content: '\e85e'
/* ''
.uberbox-icon-wordpress:before
content: '\e85f'
/* ''
.uberbox-icon-yelp:before
content: '\e860'
/* ''
.uberbox-icon-intensedebate:before
content: '\e861'
/* ''
.uberbox-icon-eventbrite:before
content: '\e862'
/* ''
.uberbox-icon-scribd:before
content: '\e863'
/* ''
.uberbox-icon-posterous:before
content: '\e864'
/* ''
.uberbox-icon-stripe:before
content: '\e865'
/* ''
.uberbox-icon-opentable:before
content: '\e866'
/* ''
.uberbox-icon-cart:before
content: '\e867'
/* ''
.uberbox-icon-print:before
content: '\e868'
/* ''
.uberbox-icon-angellist:before
content: '\e869'
/* ''
.uberbox-icon-instagram:before
content: '\e86a'
/* ''
.uberbox-icon-dwolla:before
content: '\e86b'
/* ''
.uberbox-icon-appnet:before
content: '\e86c'
/* ''
.uberbox-icon-statusnet:before
content: '\e86d'
/* ''
.uberbox-icon-acrobat:before
content: '\e86e'
/* ''
.uberbox-icon-drupal:before
content: '\e86f'
/* ''
.uberbox-icon-buffer:before
content: '\e870'
/* ''
.uberbox-icon-pocket:before
content: '\e871'
/* ''
.uberbox-icon-bitbucket:before
content: '\e872'
/* ''
.uberbox-icon-lego:before
content: '\e873'
/* ''
.uberbox-icon-login:before
content: '\e874'
/* ''
.uberbox-icon-stackoverflow:before
content: '\e875'
/* ''
.uberbox-icon-hackernews:before
content: '\e876'
/* ''
.uberbox-icon-lkdto:before
content: '\e877'
/* ''
.html
position: fixed
left: 50%
top: -20%
transform: translate(-50%, -50%)
width: 320px
border-radius: 5px
color: #eee
background: #333
text-align: center
font-size: 14px
line-height: 24px
transition: all 0.3s
padding: 24px
font-weight: 200
opacity: 0
z-index: 100002
font-family: myriad-pro, 'Myriad Pro', 'Helvetica Neue', Helvetica, Arial,sans-serif;
&.uberbox-active
top: 50%
opacity: 1