|
1 |
| -// import the CSS framework |
2 |
| -@import "foundation"; |
3 |
| - |
4 |
| -// override for the 'Home' navigation link |
5 |
| -.top-bar .name { |
6 |
| - font-size: rem-calc(13); |
7 |
| - line-height: 45px; } |
8 |
| -.top-bar .name a { |
9 |
| - font-weight: normal; |
10 |
| - color: white; |
11 |
| - padding: 0 15px; } |
12 |
| - |
13 |
| -// THESE ARE EXAMPLES YOU CAN MODIFY |
14 |
| -// create mixins using Foundation classes |
15 |
| -@mixin twelve-columns { |
16 |
| - @extend .small-12; |
17 |
| - @extend .columns; |
18 |
| - } |
19 |
| -@mixin six-columns-centered { |
20 |
| - @extend .small-6; |
21 |
| - @extend .columns; |
22 |
| - @extend .text-center; |
23 |
| - } |
24 |
| -// create your own classes |
25 |
| -// to make views framework-neutral |
26 |
| -.column { |
27 |
| - @include six-columns-centered; |
28 |
| - } |
29 |
| -.form { |
30 |
| - @include grid-column(6); |
31 |
| - } |
32 |
| -.form-centered { |
33 |
| - @include six-columns-centered; |
34 |
| - } |
35 |
| -.submit { |
36 |
| - @extend .button; |
37 |
| - @extend .radius; |
38 |
| - } |
39 |
| -// apply styles to HTML elements |
40 |
| -// to make views framework-neutral |
41 |
| -main { |
42 |
| - @include twelve-columns; |
43 |
| - background-color: #eee; |
44 |
| - } |
45 |
| -section { |
46 |
| - @extend .row; |
47 |
| - margin-top: 20px; |
48 |
| - } |
49 |
| - |
50 |
| -// Styles for form views |
51 |
| -// using Foundation |
52 |
| -// generated by the rails_layout gem |
53 |
| -.authform { |
54 |
| - padding-top: 30px; |
55 |
| - max-width: 320px; |
56 |
| - margin: 0 auto; |
57 |
| -} |
58 |
| -.authform form { |
59 |
| - @include panel(); |
60 |
| - padding-bottom: 60px; |
61 |
| -} |
62 |
| -.authform form a { |
63 |
| - font-size: rem-calc(13); |
64 |
| -} |
65 |
| -.authform form p { |
66 |
| - font-size: rem-calc(13); |
67 |
| -} |
68 |
| -.authform .form-group { |
69 |
| - // for Bootstrap, not used for Foundation |
70 |
| -} |
71 |
| -.authform .form-control { |
72 |
| - // for Bootstrap, not used for Foundation |
73 |
| -} |
74 |
| -.authform .checkbox { |
75 |
| - // for Bootstrap, not used for Foundation |
76 |
| -} |
77 |
| -.authform fieldset { |
78 |
| - @include panel(); |
79 |
| -} |
80 |
| -.authform #error_explanation { |
81 |
| - @extend .alert-box; |
82 |
| - @extend .alert; |
83 |
| -} |
84 |
| -.authform #error_explanation h2 { |
85 |
| - font-size: rem-calc(16); |
86 |
| - color: white; |
87 |
| -} |
88 |
| -.button-xs { |
89 |
| - @extend .button; |
90 |
| - @extend .radius; |
91 |
| - @extend .tiny; |
92 |
| -} |
0 commit comments