ruby-clean-css 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +3 -0
- data/EXAMPLE.md +25 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +30 -0
- data/LICENSE +19 -0
- data/README.md +106 -0
- data/lib/javascript/clean-css/.gitignore +4 -0
- data/lib/javascript/clean-css/.jshintignore +3 -0
- data/lib/javascript/clean-css/.jshintrc +14 -0
- data/lib/javascript/clean-css/.travis.yml +11 -0
- data/lib/javascript/clean-css/History.md +556 -0
- data/lib/javascript/clean-css/LICENSE +19 -0
- data/lib/javascript/clean-css/README.md +218 -0
- data/lib/javascript/clean-css/bin/cleancss +157 -0
- data/lib/javascript/clean-css/index.js +1 -0
- data/lib/javascript/clean-css/lib/clean.js +426 -0
- data/lib/javascript/clean-css/lib/colors/hsl-to-hex.js +64 -0
- data/lib/javascript/clean-css/lib/colors/long-to-short-hex.js +12 -0
- data/lib/javascript/clean-css/lib/colors/rgb-to-hex.js +14 -0
- data/lib/javascript/clean-css/lib/colors/shortener.js +174 -0
- data/lib/javascript/clean-css/lib/images/url-rebase.js +32 -0
- data/lib/javascript/clean-css/lib/images/url-rewriter.js +60 -0
- data/lib/javascript/clean-css/lib/imports/inliner.js +319 -0
- data/lib/javascript/clean-css/lib/properties/optimizer.js +276 -0
- data/lib/javascript/clean-css/lib/properties/override-compactor.js +116 -0
- data/lib/javascript/clean-css/lib/properties/processable.js +859 -0
- data/lib/javascript/clean-css/lib/properties/scanner.js +20 -0
- data/lib/javascript/clean-css/lib/properties/shorthand-compactor.js +244 -0
- data/lib/javascript/clean-css/lib/properties/token.js +184 -0
- data/lib/javascript/clean-css/lib/properties/validator.js +140 -0
- data/lib/javascript/clean-css/lib/selectors/empty-removal.js +30 -0
- data/lib/javascript/clean-css/lib/selectors/optimizer.js +341 -0
- data/lib/javascript/clean-css/lib/selectors/tokenizer.js +168 -0
- data/lib/javascript/clean-css/lib/text/comments.js +83 -0
- data/lib/javascript/clean-css/lib/text/escape-store.js +32 -0
- data/lib/javascript/clean-css/lib/text/expressions.js +73 -0
- data/lib/javascript/clean-css/lib/text/free.js +26 -0
- data/lib/javascript/clean-css/lib/text/name-quotes.js +37 -0
- data/lib/javascript/clean-css/lib/text/quote-scanner.js +91 -0
- data/lib/javascript/clean-css/lib/text/splitter.js +35 -0
- data/lib/javascript/clean-css/lib/text/urls.js +41 -0
- data/lib/javascript/clean-css/package.json +50 -0
- data/lib/javascript/clean-css/test/batch-test.js +56 -0
- data/lib/javascript/clean-css/test/bench.js +11 -0
- data/lib/javascript/clean-css/test/binary-test.js +323 -0
- data/lib/javascript/clean-css/test/data-bench/_partial.css +1 -0
- data/lib/javascript/clean-css/test/data-bench/complex.css +4 -0
- data/lib/javascript/clean-css/test/data/129-assets/assets/ui.css +2 -0
- data/lib/javascript/clean-css/test/data/129-assets/components/bootstrap/css/bootstrap.css +3 -0
- data/lib/javascript/clean-css/test/data/129-assets/components/bootstrap/images/glyphs.gif +0 -0
- data/lib/javascript/clean-css/test/data/129-assets/components/jquery-ui/css/style.css +6 -0
- data/lib/javascript/clean-css/test/data/129-assets/components/jquery-ui/images/next.gif +0 -0
- data/lib/javascript/clean-css/test/data/129-assets/components/jquery-ui/images/prev.gif +0 -0
- data/lib/javascript/clean-css/test/data/960-min.css +125 -0
- data/lib/javascript/clean-css/test/data/960.css +602 -0
- data/lib/javascript/clean-css/test/data/big-min.css +2984 -0
- data/lib/javascript/clean-css/test/data/big.css +13794 -0
- data/lib/javascript/clean-css/test/data/blueprint-min.css +245 -0
- data/lib/javascript/clean-css/test/data/blueprint.css +556 -0
- data/lib/javascript/clean-css/test/data/charset-mixed-with-fonts-min.css +3 -0
- data/lib/javascript/clean-css/test/data/charset-mixed-with-fonts.css +14 -0
- data/lib/javascript/clean-css/test/data/font-awesome-ie7-min.css +392 -0
- data/lib/javascript/clean-css/test/data/font-awesome-ie7.css +1203 -0
- data/lib/javascript/clean-css/test/data/font-awesome-min.css +319 -0
- data/lib/javascript/clean-css/test/data/font-awesome.css +540 -0
- data/lib/javascript/clean-css/test/data/imports-min.css +5 -0
- data/lib/javascript/clean-css/test/data/imports.css +4 -0
- data/lib/javascript/clean-css/test/data/issue-117-snippet-min.css +3 -0
- data/lib/javascript/clean-css/test/data/issue-117-snippet.css +19 -0
- data/lib/javascript/clean-css/test/data/issue-159-snippet-min.css +7 -0
- data/lib/javascript/clean-css/test/data/issue-159-snippet.css +7 -0
- data/lib/javascript/clean-css/test/data/issue-192-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-192.css +8 -0
- data/lib/javascript/clean-css/test/data/issue-198-min.css +3 -0
- data/lib/javascript/clean-css/test/data/issue-198.css +4 -0
- data/lib/javascript/clean-css/test/data/issue-232-min.css +2 -0
- data/lib/javascript/clean-css/test/data/issue-232.css +17 -0
- data/lib/javascript/clean-css/test/data/issue-241-min.css +2 -0
- data/lib/javascript/clean-css/test/data/issue-241.css +2 -0
- data/lib/javascript/clean-css/test/data/issue-304-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-304.css +4 -0
- data/lib/javascript/clean-css/test/data/issue-305-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-305.css +3 -0
- data/lib/javascript/clean-css/test/data/issue-308-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-308.css +5 -0
- data/lib/javascript/clean-css/test/data/issue-312-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-312.css +7 -0
- data/lib/javascript/clean-css/test/data/issue-337-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-337.css +4 -0
- data/lib/javascript/clean-css/test/data/line-breaks-in-attributes-min.css +2 -0
- data/lib/javascript/clean-css/test/data/line-breaks-in-attributes.css +8 -0
- data/lib/javascript/clean-css/test/data/partials-absolute/base.css +3 -0
- data/lib/javascript/clean-css/test/data/partials-absolute/base2.css +1 -0
- data/lib/javascript/clean-css/test/data/partials-absolute/extra/sub.css +3 -0
- data/lib/javascript/clean-css/test/data/partials-relative/base.css +3 -0
- data/lib/javascript/clean-css/test/data/partials-relative/extra/included.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/comment.css +2 -0
- data/lib/javascript/clean-css/test/data/partials/extra/down.gif +0 -0
- data/lib/javascript/clean-css/test/data/partials/extra/four.css +3 -0
- data/lib/javascript/clean-css/test/data/partials/extra/three.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/five.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/four.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/one.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/three.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/two.css +5 -0
- data/lib/javascript/clean-css/test/data/reset-min.css +12 -0
- data/lib/javascript/clean-css/test/data/reset.css +64 -0
- data/lib/javascript/clean-css/test/data/sample1-min.css +4 -0
- data/lib/javascript/clean-css/test/data/sample1.css +12 -0
- data/lib/javascript/clean-css/test/data/unsupported/selectors-ie7.css +20 -0
- data/lib/javascript/clean-css/test/data/unsupported/selectors-ie8.css +17 -0
- data/lib/javascript/clean-css/test/module-test.js +185 -0
- data/lib/javascript/clean-css/test/protocol-imports-test.js +409 -0
- data/lib/javascript/clean-css/test/text/splitter-test.js +20 -0
- data/lib/javascript/clean-css/test/unit-test.js +2071 -0
- data/lib/ruby-clean-css.rb +6 -0
- data/lib/ruby-clean-css/compressor.rb +142 -0
- data/lib/ruby-clean-css/exports.rb +258 -0
- data/lib/ruby-clean-css/railtie.rb +27 -0
- data/lib/ruby-clean-css/sprockets.rb +19 -0
- data/lib/ruby-clean-css/version.rb +5 -0
- data/ruby-clean-css.gemspec +30 -0
- data/test/test_compressor.rb +84 -0
- metadata +203 -0
@@ -0,0 +1,245 @@
|
|
1
|
+
html{margin:0;padding:0;border:0}
|
2
|
+
a,abbr,acronym,address,article,aside,blockquote,body,caption,code,dd,del,dfn,dialog,div,dl,dt,em,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,iframe,img,label,legend,li,nav,object,ol,p,pre,q,section,span,table,tbody,td,tfoot,th,thead,tr,ul{margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline}
|
3
|
+
article,aside,dialog,figure,footer,header,hgroup,nav,section{display:block}
|
4
|
+
body{line-height:1.5}
|
5
|
+
table{border-collapse:separate;border-spacing:0}
|
6
|
+
caption,td,th{text-align:left;font-weight:400;float:none!important}
|
7
|
+
table,td,th{vertical-align:middle}
|
8
|
+
blockquote:after,blockquote:before,q:after,q:before{content:''}
|
9
|
+
blockquote,q{quotes:"" ""}
|
10
|
+
a img{border:none}
|
11
|
+
:focus{outline:0}
|
12
|
+
html{font-size:100.01%}
|
13
|
+
body{font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue",Arial,Helvetica,sans-serif}
|
14
|
+
h1,h2,h3,h4,h5,h6{font-weight:400;color:#111}
|
15
|
+
h1{font-size:3em;line-height:1;margin-bottom:.5em}
|
16
|
+
h2{font-size:2em;margin-bottom:.75em}
|
17
|
+
h3{font-size:1.5em;line-height:1;margin-bottom:1em}
|
18
|
+
h4{font-size:1.2em;line-height:1.25;margin-bottom:1.25em}
|
19
|
+
h5{font-size:1em;font-weight:700;margin-bottom:1.5em}
|
20
|
+
h6{font-size:1em;font-weight:700}
|
21
|
+
h1 img,h2 img,h3 img,h4 img,h5 img,h6 img{margin:0}
|
22
|
+
p{margin:0 0 1.5em}
|
23
|
+
.left{float:left!important}
|
24
|
+
p .left{margin:1.5em 1.5em 1.5em 0;padding:0}
|
25
|
+
.right{float:right!important}
|
26
|
+
p .right{margin:1.5em 0 1.5em 1.5em;padding:0}
|
27
|
+
a:focus,a:hover{color:#09f}
|
28
|
+
a{color:#06c;text-decoration:underline}
|
29
|
+
blockquote{margin:1.5em;color:#666;font-style:italic}
|
30
|
+
dfn,strong{font-weight:700}
|
31
|
+
dfn,em{font-style:italic}
|
32
|
+
sub,sup{line-height:0}
|
33
|
+
abbr,acronym{border-bottom:1px dotted #666}
|
34
|
+
address{margin:0 0 1.5em;font-style:italic}
|
35
|
+
del{color:#666}
|
36
|
+
pre{margin:1.5em 0;white-space:pre}
|
37
|
+
code,pre,tt{font:1em 'andale mono','lucida console',monospace;line-height:1.5}
|
38
|
+
li ol,li ul{margin:0}
|
39
|
+
ol,ul{margin:0 1.5em 1.5em 0;padding-left:1.5em}
|
40
|
+
ul{list-style-type:disc}
|
41
|
+
ol{list-style-type:decimal}
|
42
|
+
dl{margin:0 0 1.5em}
|
43
|
+
dl dt{font-weight:700}
|
44
|
+
dd{margin-left:1.5em}
|
45
|
+
table{margin-bottom:1.4em;width:100%}
|
46
|
+
th{font-weight:700}
|
47
|
+
thead th{background:#c3d9ff}
|
48
|
+
caption,td,th{padding:4px 10px 4px 5px}
|
49
|
+
tbody tr.even td,tbody tr:nth-child(even) td{background:#e5ecf9}
|
50
|
+
tfoot{font-style:italic}
|
51
|
+
caption{background:#eee}
|
52
|
+
.small{font-size:.8em;margin-bottom:1.875em;line-height:1.875em}
|
53
|
+
.large{font-size:1.2em;line-height:2.5em;margin-bottom:1.25em}
|
54
|
+
.hide{display:none}
|
55
|
+
.quiet{color:#666}
|
56
|
+
.loud{color:#000}
|
57
|
+
.highlight{background:#ff0}
|
58
|
+
.added{background:#060;color:#fff}
|
59
|
+
.removed{background:#900;color:#fff}
|
60
|
+
.first{margin-left:0;padding-left:0}
|
61
|
+
.last{padding-right:0}
|
62
|
+
.top{margin-top:0;padding-top:0}
|
63
|
+
.bottom{margin-bottom:0;padding-bottom:0}
|
64
|
+
label{font-weight:700}
|
65
|
+
fieldset{padding:0 1.4em 1.4em;margin:0 0 1.5em;border:1px solid #ccc}
|
66
|
+
legend{font-weight:700;font-size:1.2em}
|
67
|
+
#IE8#HACK,fieldset{padding-top:1.4em}
|
68
|
+
#IE8#HACK,legend{margin-top:0;margin-bottom:0}
|
69
|
+
input.text,input.title,input[type=password],input[type=text],textarea{background-color:#fff;border:1px solid #bbb}
|
70
|
+
input.text:focus,input.title:focus,input[type=password]:focus,input[type=text]:focus,textarea:focus{border-color:#666}
|
71
|
+
select{background-color:#fff;border-width:1px;border-style:solid}
|
72
|
+
input.text,input.title,input[type=password],input[type=text],select,textarea{margin:.5em 0}
|
73
|
+
input.text,input.title{width:300px;padding:5px}
|
74
|
+
input.title{font-size:1.5em}
|
75
|
+
textarea{width:390px;height:250px;padding:5px}
|
76
|
+
form.inline{line-height:3}
|
77
|
+
form.inline p{margin-bottom:0}
|
78
|
+
.alert,.error,.info,.notice,.success{padding:.8em;margin-bottom:1em;border:2px solid #ddd}
|
79
|
+
.alert,.error{background:#fbe3e4;color:#8a1f11;border-color:#fbc2c4}
|
80
|
+
.notice{background:#fff6bf;color:#514721;border-color:#ffd324}
|
81
|
+
.success{background:#e6efc2;color:#264409;border-color:#c6d880}
|
82
|
+
.info{background:#d5edf8;color:#205791;border-color:#92cae4}
|
83
|
+
.alert a,.error a{color:#8a1f11}
|
84
|
+
.notice a{color:#514721}
|
85
|
+
.success a{color:#264409}
|
86
|
+
.info a{color:#205791}
|
87
|
+
.container{width:950px;margin:0 auto}
|
88
|
+
.showgrid{background:url(src/grid.png)}
|
89
|
+
.column,.span-1,.span-10,.span-11,.span-12,.span-13,.span-14,.span-15,.span-16,.span-17,.span-18,.span-19,.span-2,.span-20,.span-21,.span-22,.span-23,.span-24,.span-3,.span-4,.span-5,.span-6,.span-7,.span-8,.span-9{float:left;margin-right:10px}
|
90
|
+
.last{margin-right:0}
|
91
|
+
.span-1{width:30px}
|
92
|
+
.span-2{width:70px}
|
93
|
+
.span-3{width:110px}
|
94
|
+
.span-4{width:150px}
|
95
|
+
.span-5{width:190px}
|
96
|
+
.span-6{width:230px}
|
97
|
+
.span-7{width:270px}
|
98
|
+
.span-8{width:310px}
|
99
|
+
.span-9{width:350px}
|
100
|
+
.span-10{width:390px}
|
101
|
+
.span-11{width:430px}
|
102
|
+
.span-12{width:470px}
|
103
|
+
.span-13{width:510px}
|
104
|
+
.span-14{width:550px}
|
105
|
+
.span-15{width:590px}
|
106
|
+
.span-16{width:630px}
|
107
|
+
.span-17{width:670px}
|
108
|
+
.span-18{width:710px}
|
109
|
+
.span-19{width:750px}
|
110
|
+
.span-20{width:790px}
|
111
|
+
.span-21{width:830px}
|
112
|
+
.span-22{width:870px}
|
113
|
+
.span-23{width:910px}
|
114
|
+
.span-24{width:950px;margin-right:0}
|
115
|
+
input.span-1,input.span-10,input.span-11,input.span-12,input.span-13,input.span-14,input.span-15,input.span-16,input.span-17,input.span-18,input.span-19,input.span-2,input.span-20,input.span-21,input.span-22,input.span-23,input.span-24,input.span-3,input.span-4,input.span-5,input.span-6,input.span-7,input.span-8,input.span-9,textarea.span-1,textarea.span-10,textarea.span-11,textarea.span-12,textarea.span-13,textarea.span-14,textarea.span-15,textarea.span-16,textarea.span-17,textarea.span-18,textarea.span-19,textarea.span-2,textarea.span-20,textarea.span-21,textarea.span-22,textarea.span-23,textarea.span-24,textarea.span-3,textarea.span-4,textarea.span-5,textarea.span-6,textarea.span-7,textarea.span-8,textarea.span-9{border-left-width:1px;border-right-width:1px;padding-left:5px;padding-right:5px}
|
116
|
+
input.span-1,textarea.span-1{width:18px}
|
117
|
+
input.span-2,textarea.span-2{width:58px}
|
118
|
+
input.span-3,textarea.span-3{width:98px}
|
119
|
+
input.span-4,textarea.span-4{width:138px}
|
120
|
+
input.span-5,textarea.span-5{width:178px}
|
121
|
+
input.span-6,textarea.span-6{width:218px}
|
122
|
+
input.span-7,textarea.span-7{width:258px}
|
123
|
+
input.span-8,textarea.span-8{width:298px}
|
124
|
+
input.span-9,textarea.span-9{width:338px}
|
125
|
+
input.span-10,textarea.span-10{width:378px}
|
126
|
+
input.span-11,textarea.span-11{width:418px}
|
127
|
+
input.span-12,textarea.span-12{width:458px}
|
128
|
+
input.span-13,textarea.span-13{width:498px}
|
129
|
+
input.span-14,textarea.span-14{width:538px}
|
130
|
+
input.span-15,textarea.span-15{width:578px}
|
131
|
+
input.span-16,textarea.span-16{width:618px}
|
132
|
+
input.span-17,textarea.span-17{width:658px}
|
133
|
+
input.span-18,textarea.span-18{width:698px}
|
134
|
+
input.span-19,textarea.span-19{width:738px}
|
135
|
+
input.span-20,textarea.span-20{width:778px}
|
136
|
+
input.span-21,textarea.span-21{width:818px}
|
137
|
+
input.span-22,textarea.span-22{width:858px}
|
138
|
+
input.span-23,textarea.span-23{width:898px}
|
139
|
+
input.span-24,textarea.span-24{width:938px}
|
140
|
+
.append-1{padding-right:40px}
|
141
|
+
.append-2{padding-right:80px}
|
142
|
+
.append-3{padding-right:120px}
|
143
|
+
.append-4{padding-right:160px}
|
144
|
+
.append-5{padding-right:200px}
|
145
|
+
.append-6{padding-right:240px}
|
146
|
+
.append-7{padding-right:280px}
|
147
|
+
.append-8{padding-right:320px}
|
148
|
+
.append-9{padding-right:360px}
|
149
|
+
.append-10{padding-right:400px}
|
150
|
+
.append-11{padding-right:440px}
|
151
|
+
.append-12{padding-right:480px}
|
152
|
+
.append-13{padding-right:520px}
|
153
|
+
.append-14{padding-right:560px}
|
154
|
+
.append-15{padding-right:600px}
|
155
|
+
.append-16{padding-right:640px}
|
156
|
+
.append-17{padding-right:680px}
|
157
|
+
.append-18{padding-right:720px}
|
158
|
+
.append-19{padding-right:760px}
|
159
|
+
.append-20{padding-right:800px}
|
160
|
+
.append-21{padding-right:840px}
|
161
|
+
.append-22{padding-right:880px}
|
162
|
+
.append-23{padding-right:920px}
|
163
|
+
.prepend-1{padding-left:40px}
|
164
|
+
.prepend-2{padding-left:80px}
|
165
|
+
.prepend-3{padding-left:120px}
|
166
|
+
.prepend-4{padding-left:160px}
|
167
|
+
.prepend-5{padding-left:200px}
|
168
|
+
.prepend-6{padding-left:240px}
|
169
|
+
.prepend-7{padding-left:280px}
|
170
|
+
.prepend-8{padding-left:320px}
|
171
|
+
.prepend-9{padding-left:360px}
|
172
|
+
.prepend-10{padding-left:400px}
|
173
|
+
.prepend-11{padding-left:440px}
|
174
|
+
.prepend-12{padding-left:480px}
|
175
|
+
.prepend-13{padding-left:520px}
|
176
|
+
.prepend-14{padding-left:560px}
|
177
|
+
.prepend-15{padding-left:600px}
|
178
|
+
.prepend-16{padding-left:640px}
|
179
|
+
.prepend-17{padding-left:680px}
|
180
|
+
.prepend-18{padding-left:720px}
|
181
|
+
.prepend-19{padding-left:760px}
|
182
|
+
.prepend-20{padding-left:800px}
|
183
|
+
.prepend-21{padding-left:840px}
|
184
|
+
.prepend-22{padding-left:880px}
|
185
|
+
.prepend-23{padding-left:920px}
|
186
|
+
.border{padding-right:4px;margin-right:5px;border-right:1px solid #ddd}
|
187
|
+
.colborder{padding-right:24px;margin-right:25px;border-right:1px solid #ddd}
|
188
|
+
.pull-1{margin-left:-40px}
|
189
|
+
.pull-2{margin-left:-80px}
|
190
|
+
.pull-3{margin-left:-120px}
|
191
|
+
.pull-4{margin-left:-160px}
|
192
|
+
.pull-5{margin-left:-200px}
|
193
|
+
.pull-6{margin-left:-240px}
|
194
|
+
.pull-7{margin-left:-280px}
|
195
|
+
.pull-8{margin-left:-320px}
|
196
|
+
.pull-9{margin-left:-360px}
|
197
|
+
.pull-10{margin-left:-400px}
|
198
|
+
.pull-11{margin-left:-440px}
|
199
|
+
.pull-12{margin-left:-480px}
|
200
|
+
.pull-13{margin-left:-520px}
|
201
|
+
.pull-14{margin-left:-560px}
|
202
|
+
.pull-15{margin-left:-600px}
|
203
|
+
.pull-16{margin-left:-640px}
|
204
|
+
.pull-17{margin-left:-680px}
|
205
|
+
.pull-18{margin-left:-720px}
|
206
|
+
.pull-19{margin-left:-760px}
|
207
|
+
.pull-20{margin-left:-800px}
|
208
|
+
.pull-21{margin-left:-840px}
|
209
|
+
.pull-22{margin-left:-880px}
|
210
|
+
.pull-23{margin-left:-920px}
|
211
|
+
.pull-24{margin-left:-960px}
|
212
|
+
.pull-1,.pull-10,.pull-11,.pull-12,.pull-13,.pull-14,.pull-15,.pull-16,.pull-17,.pull-18,.pull-19,.pull-2,.pull-20,.pull-21,.pull-22,.pull-23,.pull-24,.pull-3,.pull-4,.pull-5,.pull-6,.pull-7,.pull-8,.pull-9{float:left;position:relative}
|
213
|
+
.push-1{margin:0 -40px 1.5em 40px}
|
214
|
+
.push-2{margin:0 -80px 1.5em 80px}
|
215
|
+
.push-3{margin:0 -120px 1.5em 120px}
|
216
|
+
.push-4{margin:0 -160px 1.5em 160px}
|
217
|
+
.push-5{margin:0 -200px 1.5em 200px}
|
218
|
+
.push-6{margin:0 -240px 1.5em 240px}
|
219
|
+
.push-7{margin:0 -280px 1.5em 280px}
|
220
|
+
.push-8{margin:0 -320px 1.5em 320px}
|
221
|
+
.push-9{margin:0 -360px 1.5em 360px}
|
222
|
+
.push-10{margin:0 -400px 1.5em 400px}
|
223
|
+
.push-11{margin:0 -440px 1.5em 440px}
|
224
|
+
.push-12{margin:0 -480px 1.5em 480px}
|
225
|
+
.push-13{margin:0 -520px 1.5em 520px}
|
226
|
+
.push-14{margin:0 -560px 1.5em 560px}
|
227
|
+
.push-15{margin:0 -600px 1.5em 600px}
|
228
|
+
.push-16{margin:0 -640px 1.5em 640px}
|
229
|
+
.push-17{margin:0 -680px 1.5em 680px}
|
230
|
+
.push-18{margin:0 -720px 1.5em 720px}
|
231
|
+
.push-19{margin:0 -760px 1.5em 760px}
|
232
|
+
.push-20{margin:0 -800px 1.5em 800px}
|
233
|
+
.push-21{margin:0 -840px 1.5em 840px}
|
234
|
+
.push-22{margin:0 -880px 1.5em 880px}
|
235
|
+
.push-23{margin:0 -920px 1.5em 920px}
|
236
|
+
.push-24{margin:0 -960px 1.5em 960px}
|
237
|
+
.push-1,.push-10,.push-11,.push-12,.push-13,.push-14,.push-15,.push-16,.push-17,.push-18,.push-19,.push-2,.push-20,.push-21,.push-22,.push-23,.push-24,.push-3,.push-4,.push-5,.push-6,.push-7,.push-8,.push-9{float:left;position:relative}
|
238
|
+
.prepend-top,div.prepend-top{margin-top:1.5em}
|
239
|
+
.append-bottom,div.append-bottom{margin-bottom:1.5em}
|
240
|
+
.box{padding:1.5em;margin-bottom:1.5em;background:#e5eCf9}
|
241
|
+
hr{background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:1px;margin:0 0 1.45em;border:none}
|
242
|
+
hr.space{background:#fff;color:#fff;visibility:hidden}
|
243
|
+
.clearfix:after,.container:after{content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden}
|
244
|
+
.clearfix,.container{display:block}
|
245
|
+
.clear{clear:both}
|
@@ -0,0 +1,556 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
reset.css
|
4
|
+
* Resets default browser CSS.
|
5
|
+
|
6
|
+
-------------------------------------------------------------- */
|
7
|
+
|
8
|
+
html {
|
9
|
+
margin:0;
|
10
|
+
padding:0;
|
11
|
+
border:0;
|
12
|
+
}
|
13
|
+
|
14
|
+
body, div, span, object, iframe,
|
15
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
16
|
+
a, abbr, acronym, address, code,
|
17
|
+
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
|
18
|
+
fieldset, form, label, legend,
|
19
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
20
|
+
article, aside, dialog, figure, footer, header,
|
21
|
+
hgroup, nav, section {
|
22
|
+
margin: 0;
|
23
|
+
padding: 0;
|
24
|
+
border: 0;
|
25
|
+
font-weight: inherit;
|
26
|
+
font-style: inherit;
|
27
|
+
font-size: 100%;
|
28
|
+
font-family: inherit;
|
29
|
+
vertical-align: baseline;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* This helps to make newer HTML5 elements behave like DIVs in older browers */
|
33
|
+
article, aside, dialog, figure, footer, header,
|
34
|
+
hgroup, nav, section {
|
35
|
+
display:block;
|
36
|
+
}
|
37
|
+
|
38
|
+
/* Line-height should always be unitless! */
|
39
|
+
body {
|
40
|
+
line-height: 1.5;
|
41
|
+
background: white;
|
42
|
+
}
|
43
|
+
|
44
|
+
/* Tables still need 'cellspacing="0"' in the markup. */
|
45
|
+
table {
|
46
|
+
border-collapse: separate;
|
47
|
+
border-spacing: 0;
|
48
|
+
}
|
49
|
+
/* float:none prevents the span-x classes from breaking table-cell display */
|
50
|
+
caption, th, td {
|
51
|
+
text-align: left;
|
52
|
+
font-weight: normal;
|
53
|
+
float:none !important;
|
54
|
+
}
|
55
|
+
table, th, td {
|
56
|
+
vertical-align: middle;
|
57
|
+
}
|
58
|
+
|
59
|
+
/* Remove possible quote marks (") from <q>, <blockquote>. */
|
60
|
+
blockquote:before, blockquote:after, q:before, q:after { content: ''; }
|
61
|
+
blockquote, q { quotes: "" ""; }
|
62
|
+
|
63
|
+
/* Remove annoying border on linked images. */
|
64
|
+
a img { border: none; }
|
65
|
+
|
66
|
+
/* Remember to define your own focus styles! */
|
67
|
+
:focus { outline: 0; }
|
68
|
+
|
69
|
+
/* --------------------------------------------------------------
|
70
|
+
|
71
|
+
typography.css
|
72
|
+
* Sets up some sensible default typography.
|
73
|
+
|
74
|
+
-------------------------------------------------------------- */
|
75
|
+
|
76
|
+
/* Default font settings.
|
77
|
+
The font-size percentage is of 16px. (0.75 * 16px = 12px) */
|
78
|
+
html { font-size:100.01%; }
|
79
|
+
body {
|
80
|
+
font-size: 75%;
|
81
|
+
color: #222;
|
82
|
+
background: #fff;
|
83
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
84
|
+
}
|
85
|
+
|
86
|
+
|
87
|
+
/* Headings
|
88
|
+
-------------------------------------------------------------- */
|
89
|
+
|
90
|
+
h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }
|
91
|
+
|
92
|
+
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
|
93
|
+
h2 { font-size: 2em; margin-bottom: 0.75em; }
|
94
|
+
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
|
95
|
+
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
|
96
|
+
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
|
97
|
+
h6 { font-size: 1em; font-weight: bold; }
|
98
|
+
|
99
|
+
h1 img, h2 img, h3 img,
|
100
|
+
h4 img, h5 img, h6 img {
|
101
|
+
margin: 0;
|
102
|
+
}
|
103
|
+
|
104
|
+
|
105
|
+
/* Text elements
|
106
|
+
-------------------------------------------------------------- */
|
107
|
+
|
108
|
+
p { margin: 0 0 1.5em; }
|
109
|
+
/*
|
110
|
+
These can be used to pull an image at the start of a paragraph, so
|
111
|
+
that the text flows around it (usage: <p><img class="left">Text</p>)
|
112
|
+
*/
|
113
|
+
.left { float: left !important; }
|
114
|
+
p .left { margin: 1.5em 1.5em 1.5em 0; padding: 0; }
|
115
|
+
.right { float: right !important; }
|
116
|
+
p .right { margin: 1.5em 0 1.5em 1.5em; padding: 0; }
|
117
|
+
|
118
|
+
a:focus,
|
119
|
+
a:hover { color: #09f; }
|
120
|
+
a { color: #06c; text-decoration: underline; }
|
121
|
+
|
122
|
+
blockquote { margin: 1.5em; color: #666; font-style: italic; }
|
123
|
+
strong,dfn { font-weight: bold; }
|
124
|
+
em,dfn { font-style: italic; }
|
125
|
+
sup, sub { line-height: 0; }
|
126
|
+
|
127
|
+
abbr,
|
128
|
+
acronym { border-bottom: 1px dotted #666; }
|
129
|
+
address { margin: 0 0 1.5em; font-style: italic; }
|
130
|
+
del { color:#666; }
|
131
|
+
|
132
|
+
pre { margin: 1.5em 0; white-space: pre; }
|
133
|
+
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
|
134
|
+
|
135
|
+
|
136
|
+
/* Lists
|
137
|
+
-------------------------------------------------------------- */
|
138
|
+
|
139
|
+
li ul,
|
140
|
+
li ol { margin: 0; }
|
141
|
+
ul, ol { margin: 0 1.5em 1.5em 0; padding-left: 1.5em; }
|
142
|
+
|
143
|
+
ul { list-style-type: disc; }
|
144
|
+
ol { list-style-type: decimal; }
|
145
|
+
|
146
|
+
dl { margin: 0 0 1.5em 0; }
|
147
|
+
dl dt { font-weight: bold; }
|
148
|
+
dd { margin-left: 1.5em;}
|
149
|
+
|
150
|
+
|
151
|
+
/* Tables
|
152
|
+
-------------------------------------------------------------- */
|
153
|
+
|
154
|
+
/*
|
155
|
+
Because of the need for padding on TH and TD, the vertical rhythm
|
156
|
+
on table cells has to be 27px, instead of the standard 18px or 36px
|
157
|
+
of other elements.
|
158
|
+
*/
|
159
|
+
table { margin-bottom: 1.4em; width:100%; }
|
160
|
+
th { font-weight: bold; }
|
161
|
+
thead th { background: #c3d9ff; }
|
162
|
+
th,td,caption { padding: 4px 10px 4px 5px; }
|
163
|
+
/*
|
164
|
+
You can zebra-stripe your tables in outdated browsers by adding
|
165
|
+
the class "even" to every other table row.
|
166
|
+
*/
|
167
|
+
tbody tr:nth-child(even) td,
|
168
|
+
tbody tr.even td {
|
169
|
+
background: #e5ecf9;
|
170
|
+
}
|
171
|
+
tfoot { font-style: italic; }
|
172
|
+
caption { background: #eee; }
|
173
|
+
|
174
|
+
|
175
|
+
/* Misc classes
|
176
|
+
-------------------------------------------------------------- */
|
177
|
+
|
178
|
+
.small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
|
179
|
+
.large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
|
180
|
+
.hide { display: none; }
|
181
|
+
|
182
|
+
.quiet { color: #666; }
|
183
|
+
.loud { color: #000; }
|
184
|
+
.highlight { background:#ff0; }
|
185
|
+
.added { background:#060; color: #fff; }
|
186
|
+
.removed { background:#900; color: #fff; }
|
187
|
+
|
188
|
+
.first { margin-left:0; padding-left:0; }
|
189
|
+
.last { margin-right:0; padding-right:0; }
|
190
|
+
.top { margin-top:0; padding-top:0; }
|
191
|
+
.bottom { margin-bottom:0; padding-bottom:0; }
|
192
|
+
|
193
|
+
/* --------------------------------------------------------------
|
194
|
+
|
195
|
+
forms.css
|
196
|
+
* Sets up some default styling for forms
|
197
|
+
* Gives you classes to enhance your forms
|
198
|
+
|
199
|
+
Usage:
|
200
|
+
* For text fields, use class .title or .text
|
201
|
+
* For inline forms, use .inline (even when using columns)
|
202
|
+
|
203
|
+
-------------------------------------------------------------- */
|
204
|
+
|
205
|
+
/*
|
206
|
+
A special hack is included for IE8 since it does not apply padding
|
207
|
+
correctly on fieldsets
|
208
|
+
*/
|
209
|
+
label { font-weight: bold; }
|
210
|
+
fieldset { padding:0 1.4em 1.4em 1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
|
211
|
+
legend { font-weight: bold; font-size:1.2em; margin-top:-0.2em; margin-bottom:1em; }
|
212
|
+
|
213
|
+
fieldset, #IE8#HACK { padding-top:1.4em; }
|
214
|
+
legend, #IE8#HACK { margin-top:0; margin-bottom:0; }
|
215
|
+
|
216
|
+
/* Form fields
|
217
|
+
-------------------------------------------------------------- */
|
218
|
+
|
219
|
+
/*
|
220
|
+
Attribute selectors are used to differentiate the different types
|
221
|
+
of input elements, but to support old browsers, you will have to
|
222
|
+
add classes for each one. ".title" simply creates a large text
|
223
|
+
field, this is purely for looks.
|
224
|
+
*/
|
225
|
+
input[type=text], input[type=password],
|
226
|
+
input.text, input.title,
|
227
|
+
textarea {
|
228
|
+
background-color:#fff;
|
229
|
+
border:1px solid #bbb;
|
230
|
+
}
|
231
|
+
input[type=text]:focus, input[type=password]:focus,
|
232
|
+
input.text:focus, input.title:focus,
|
233
|
+
textarea:focus {
|
234
|
+
border-color:#666;
|
235
|
+
}
|
236
|
+
select { background-color:#fff; border-width:1px; border-style:solid; }
|
237
|
+
|
238
|
+
input[type=text], input[type=password],
|
239
|
+
input.text, input.title,
|
240
|
+
textarea, select {
|
241
|
+
margin:0.5em 0;
|
242
|
+
}
|
243
|
+
|
244
|
+
input.text,
|
245
|
+
input.title { width: 300px; padding:5px; }
|
246
|
+
input.title { font-size:1.5em; }
|
247
|
+
textarea { width: 390px; height: 250px; padding:5px; }
|
248
|
+
|
249
|
+
/*
|
250
|
+
This is to be used on forms where a variety of elements are
|
251
|
+
placed side-by-side. Use the p tag to denote a line.
|
252
|
+
*/
|
253
|
+
form.inline { line-height:3; }
|
254
|
+
form.inline p { margin-bottom:0; }
|
255
|
+
|
256
|
+
|
257
|
+
/* Success, info, notice and error/alert boxes
|
258
|
+
-------------------------------------------------------------- */
|
259
|
+
|
260
|
+
.error,
|
261
|
+
.alert,
|
262
|
+
.notice,
|
263
|
+
.success,
|
264
|
+
.info { padding: 0.8em; margin-bottom: 1em; border: 2px solid #ddd; }
|
265
|
+
|
266
|
+
.error, .alert { background: #fbe3e4; color: #8a1f11; border-color: #fbc2c4; }
|
267
|
+
.notice { background: #fff6bf; color: #514721; border-color: #ffd324; }
|
268
|
+
.success { background: #e6efc2; color: #264409; border-color: #c6d880; }
|
269
|
+
.info { background: #d5edf8; color: #205791; border-color: #92cae4; }
|
270
|
+
.error a, .alert a { color: #8a1f11; }
|
271
|
+
.notice a { color: #514721; }
|
272
|
+
.success a { color: #264409; }
|
273
|
+
.info a { color: #205791; }
|
274
|
+
|
275
|
+
|
276
|
+
/* --------------------------------------------------------------
|
277
|
+
|
278
|
+
grid.css
|
279
|
+
* Sets up an easy-to-use grid of 24 columns.
|
280
|
+
|
281
|
+
By default, the grid is 950px wide, with 24 columns
|
282
|
+
spanning 30px, and a 10px margin between columns.
|
283
|
+
|
284
|
+
If you need fewer or more columns, namespaces or semantic
|
285
|
+
element names, use the compressor script (lib/compress.rb)
|
286
|
+
|
287
|
+
-------------------------------------------------------------- */
|
288
|
+
|
289
|
+
/* A container should group all your columns. */
|
290
|
+
.container {
|
291
|
+
width: 950px;
|
292
|
+
margin: 0 auto;
|
293
|
+
}
|
294
|
+
|
295
|
+
/* Use this class on any .span / container to see the grid. */
|
296
|
+
.showgrid {
|
297
|
+
background: url(src/grid.png);
|
298
|
+
}
|
299
|
+
|
300
|
+
|
301
|
+
/* Columns
|
302
|
+
-------------------------------------------------------------- */
|
303
|
+
|
304
|
+
/* Sets up basic grid floating and margin. */
|
305
|
+
.column, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24 {
|
306
|
+
float: left;
|
307
|
+
margin-right: 10px;
|
308
|
+
}
|
309
|
+
|
310
|
+
/* The last column in a row needs this class. */
|
311
|
+
.last { margin-right: 0; }
|
312
|
+
|
313
|
+
/* Use these classes to set the width of a column. */
|
314
|
+
.span-1 {width: 30px;}
|
315
|
+
|
316
|
+
.span-2 {width: 70px;}
|
317
|
+
.span-3 {width: 110px;}
|
318
|
+
.span-4 {width: 150px;}
|
319
|
+
.span-5 {width: 190px;}
|
320
|
+
.span-6 {width: 230px;}
|
321
|
+
.span-7 {width: 270px;}
|
322
|
+
.span-8 {width: 310px;}
|
323
|
+
.span-9 {width: 350px;}
|
324
|
+
.span-10 {width: 390px;}
|
325
|
+
.span-11 {width: 430px;}
|
326
|
+
.span-12 {width: 470px;}
|
327
|
+
.span-13 {width: 510px;}
|
328
|
+
.span-14 {width: 550px;}
|
329
|
+
.span-15 {width: 590px;}
|
330
|
+
.span-16 {width: 630px;}
|
331
|
+
.span-17 {width: 670px;}
|
332
|
+
.span-18 {width: 710px;}
|
333
|
+
.span-19 {width: 750px;}
|
334
|
+
.span-20 {width: 790px;}
|
335
|
+
.span-21 {width: 830px;}
|
336
|
+
.span-22 {width: 870px;}
|
337
|
+
.span-23 {width: 910px;}
|
338
|
+
.span-24 {width:950px; margin-right:0;}
|
339
|
+
|
340
|
+
/* Use these classes to set the width of an input. */
|
341
|
+
input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5, input.span-6, textarea.span-6, input.span-7, textarea.span-7, input.span-8, textarea.span-8, input.span-9, textarea.span-9, input.span-10, textarea.span-10, input.span-11, textarea.span-11, input.span-12, textarea.span-12, input.span-13, textarea.span-13, input.span-14, textarea.span-14, input.span-15, textarea.span-15, input.span-16, textarea.span-16, input.span-17, textarea.span-17, input.span-18, textarea.span-18, input.span-19, textarea.span-19, input.span-20, textarea.span-20, input.span-21, textarea.span-21, input.span-22, textarea.span-22, input.span-23, textarea.span-23, input.span-24, textarea.span-24 {
|
342
|
+
border-left-width: 1px;
|
343
|
+
border-right-width: 1px;
|
344
|
+
padding-left: 5px;
|
345
|
+
padding-right: 5px;
|
346
|
+
}
|
347
|
+
|
348
|
+
input.span-1, textarea.span-1 { width: 18px; }
|
349
|
+
input.span-2, textarea.span-2 { width: 58px; }
|
350
|
+
input.span-3, textarea.span-3 { width: 98px; }
|
351
|
+
input.span-4, textarea.span-4 { width: 138px; }
|
352
|
+
input.span-5, textarea.span-5 { width: 178px; }
|
353
|
+
input.span-6, textarea.span-6 { width: 218px; }
|
354
|
+
input.span-7, textarea.span-7 { width: 258px; }
|
355
|
+
input.span-8, textarea.span-8 { width: 298px; }
|
356
|
+
input.span-9, textarea.span-9 { width: 338px; }
|
357
|
+
input.span-10, textarea.span-10 { width: 378px; }
|
358
|
+
input.span-11, textarea.span-11 { width: 418px; }
|
359
|
+
input.span-12, textarea.span-12 { width: 458px; }
|
360
|
+
input.span-13, textarea.span-13 { width: 498px; }
|
361
|
+
input.span-14, textarea.span-14 { width: 538px; }
|
362
|
+
input.span-15, textarea.span-15 { width: 578px; }
|
363
|
+
input.span-16, textarea.span-16 { width: 618px; }
|
364
|
+
input.span-17, textarea.span-17 { width: 658px; }
|
365
|
+
input.span-18, textarea.span-18 { width: 698px; }
|
366
|
+
input.span-19, textarea.span-19 { width: 738px; }
|
367
|
+
input.span-20, textarea.span-20 { width: 778px; }
|
368
|
+
input.span-21, textarea.span-21 { width: 818px; }
|
369
|
+
input.span-22, textarea.span-22 { width: 858px; }
|
370
|
+
input.span-23, textarea.span-23 { width: 898px; }
|
371
|
+
input.span-24, textarea.span-24 { width: 938px; }
|
372
|
+
|
373
|
+
/* Add these to a column to append empty cols. */
|
374
|
+
|
375
|
+
.append-1 { padding-right: 40px;}
|
376
|
+
.append-2 { padding-right: 80px;}
|
377
|
+
.append-3 { padding-right: 120px;}
|
378
|
+
.append-4 { padding-right: 160px;}
|
379
|
+
.append-5 { padding-right: 200px;}
|
380
|
+
.append-6 { padding-right: 240px;}
|
381
|
+
.append-7 { padding-right: 280px;}
|
382
|
+
.append-8 { padding-right: 320px;}
|
383
|
+
.append-9 { padding-right: 360px;}
|
384
|
+
.append-10 { padding-right: 400px;}
|
385
|
+
.append-11 { padding-right: 440px;}
|
386
|
+
.append-12 { padding-right: 480px;}
|
387
|
+
.append-13 { padding-right: 520px;}
|
388
|
+
.append-14 { padding-right: 560px;}
|
389
|
+
.append-15 { padding-right: 600px;}
|
390
|
+
.append-16 { padding-right: 640px;}
|
391
|
+
.append-17 { padding-right: 680px;}
|
392
|
+
.append-18 { padding-right: 720px;}
|
393
|
+
.append-19 { padding-right: 760px;}
|
394
|
+
.append-20 { padding-right: 800px;}
|
395
|
+
.append-21 { padding-right: 840px;}
|
396
|
+
.append-22 { padding-right: 880px;}
|
397
|
+
.append-23 { padding-right: 920px;}
|
398
|
+
|
399
|
+
/* Add these to a column to prepend empty cols. */
|
400
|
+
|
401
|
+
.prepend-1 { padding-left: 40px;}
|
402
|
+
.prepend-2 { padding-left: 80px;}
|
403
|
+
.prepend-3 { padding-left: 120px;}
|
404
|
+
.prepend-4 { padding-left: 160px;}
|
405
|
+
.prepend-5 { padding-left: 200px;}
|
406
|
+
.prepend-6 { padding-left: 240px;}
|
407
|
+
.prepend-7 { padding-left: 280px;}
|
408
|
+
.prepend-8 { padding-left: 320px;}
|
409
|
+
.prepend-9 { padding-left: 360px;}
|
410
|
+
.prepend-10 { padding-left: 400px;}
|
411
|
+
.prepend-11 { padding-left: 440px;}
|
412
|
+
.prepend-12 { padding-left: 480px;}
|
413
|
+
.prepend-13 { padding-left: 520px;}
|
414
|
+
.prepend-14 { padding-left: 560px;}
|
415
|
+
.prepend-15 { padding-left: 600px;}
|
416
|
+
.prepend-16 { padding-left: 640px;}
|
417
|
+
.prepend-17 { padding-left: 680px;}
|
418
|
+
.prepend-18 { padding-left: 720px;}
|
419
|
+
.prepend-19 { padding-left: 760px;}
|
420
|
+
.prepend-20 { padding-left: 800px;}
|
421
|
+
.prepend-21 { padding-left: 840px;}
|
422
|
+
.prepend-22 { padding-left: 880px;}
|
423
|
+
.prepend-23 { padding-left: 920px;}
|
424
|
+
|
425
|
+
|
426
|
+
/* Border on right hand side of a column. */
|
427
|
+
.border {
|
428
|
+
padding-right: 4px;
|
429
|
+
margin-right: 5px;
|
430
|
+
border-right: 1px solid #ddd;
|
431
|
+
}
|
432
|
+
|
433
|
+
/* Border with more whitespace, spans one column. */
|
434
|
+
.colborder {
|
435
|
+
padding-right: 24px;
|
436
|
+
margin-right: 25px;
|
437
|
+
border-right: 1px solid #ddd;
|
438
|
+
}
|
439
|
+
|
440
|
+
|
441
|
+
/* Use these classes on an element to push it into the
|
442
|
+
next column, or to pull it into the previous column. */
|
443
|
+
|
444
|
+
|
445
|
+
.pull-1 { margin-left: -40px; }
|
446
|
+
.pull-2 { margin-left: -80px; }
|
447
|
+
.pull-3 { margin-left: -120px; }
|
448
|
+
.pull-4 { margin-left: -160px; }
|
449
|
+
.pull-5 { margin-left: -200px; }
|
450
|
+
.pull-6 { margin-left: -240px; }
|
451
|
+
.pull-7 { margin-left: -280px; }
|
452
|
+
.pull-8 { margin-left: -320px; }
|
453
|
+
.pull-9 { margin-left: -360px; }
|
454
|
+
.pull-10 { margin-left: -400px; }
|
455
|
+
.pull-11 { margin-left: -440px; }
|
456
|
+
.pull-12 { margin-left: -480px; }
|
457
|
+
.pull-13 { margin-left: -520px; }
|
458
|
+
.pull-14 { margin-left: -560px; }
|
459
|
+
.pull-15 { margin-left: -600px; }
|
460
|
+
.pull-16 { margin-left: -640px; }
|
461
|
+
.pull-17 { margin-left: -680px; }
|
462
|
+
.pull-18 { margin-left: -720px; }
|
463
|
+
.pull-19 { margin-left: -760px; }
|
464
|
+
.pull-20 { margin-left: -800px; }
|
465
|
+
.pull-21 { margin-left: -840px; }
|
466
|
+
.pull-22 { margin-left: -880px; }
|
467
|
+
.pull-23 { margin-left: -920px; }
|
468
|
+
.pull-24 { margin-left: -960px; }
|
469
|
+
|
470
|
+
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 {float: left; position:relative;}
|
471
|
+
|
472
|
+
|
473
|
+
.push-1 { margin: 0 -40px 1.5em 40px; }
|
474
|
+
.push-2 { margin: 0 -80px 1.5em 80px; }
|
475
|
+
.push-3 { margin: 0 -120px 1.5em 120px; }
|
476
|
+
.push-4 { margin: 0 -160px 1.5em 160px; }
|
477
|
+
.push-5 { margin: 0 -200px 1.5em 200px; }
|
478
|
+
.push-6 { margin: 0 -240px 1.5em 240px; }
|
479
|
+
.push-7 { margin: 0 -280px 1.5em 280px; }
|
480
|
+
.push-8 { margin: 0 -320px 1.5em 320px; }
|
481
|
+
.push-9 { margin: 0 -360px 1.5em 360px; }
|
482
|
+
.push-10 { margin: 0 -400px 1.5em 400px; }
|
483
|
+
.push-11 { margin: 0 -440px 1.5em 440px; }
|
484
|
+
.push-12 { margin: 0 -480px 1.5em 480px; }
|
485
|
+
.push-13 { margin: 0 -520px 1.5em 520px; }
|
486
|
+
.push-14 { margin: 0 -560px 1.5em 560px; }
|
487
|
+
.push-15 { margin: 0 -600px 1.5em 600px; }
|
488
|
+
.push-16 { margin: 0 -640px 1.5em 640px; }
|
489
|
+
.push-17 { margin: 0 -680px 1.5em 680px; }
|
490
|
+
.push-18 { margin: 0 -720px 1.5em 720px; }
|
491
|
+
.push-19 { margin: 0 -760px 1.5em 760px; }
|
492
|
+
.push-20 { margin: 0 -800px 1.5em 800px; }
|
493
|
+
.push-21 { margin: 0 -840px 1.5em 840px; }
|
494
|
+
.push-22 { margin: 0 -880px 1.5em 880px; }
|
495
|
+
.push-23 { margin: 0 -920px 1.5em 920px; }
|
496
|
+
.push-24 { margin: 0 -960px 1.5em 960px; }
|
497
|
+
|
498
|
+
.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 {float: left; position:relative;}
|
499
|
+
|
500
|
+
|
501
|
+
/* Misc classes and elements
|
502
|
+
-------------------------------------------------------------- */
|
503
|
+
|
504
|
+
/* In case you need to add a gutter above/below an element */
|
505
|
+
div.prepend-top, .prepend-top {
|
506
|
+
margin-top:1.5em;
|
507
|
+
}
|
508
|
+
div.append-bottom, .append-bottom {
|
509
|
+
margin-bottom:1.5em;
|
510
|
+
}
|
511
|
+
|
512
|
+
/* Use a .box to create a padded box inside a column. */
|
513
|
+
.box {
|
514
|
+
padding: 1.5em;
|
515
|
+
margin-bottom: 1.5em;
|
516
|
+
background: #e5eCf9;
|
517
|
+
}
|
518
|
+
|
519
|
+
/* Use this to create a horizontal ruler across a column. */
|
520
|
+
hr {
|
521
|
+
background: #ddd;
|
522
|
+
color: #ddd;
|
523
|
+
clear: both;
|
524
|
+
float: none;
|
525
|
+
width: 100%;
|
526
|
+
height: 1px;
|
527
|
+
margin: 0 0 1.45em;
|
528
|
+
border: none;
|
529
|
+
}
|
530
|
+
|
531
|
+
hr.space {
|
532
|
+
background: #fff;
|
533
|
+
color: #fff;
|
534
|
+
visibility: hidden;
|
535
|
+
}
|
536
|
+
|
537
|
+
|
538
|
+
/* Clearing floats without extra markup
|
539
|
+
Based on How To Clear Floats Without Structural Markup by PiE
|
540
|
+
[http://www.positioniseverything.net/easyclearing.html] */
|
541
|
+
|
542
|
+
.clearfix:after, .container:after {
|
543
|
+
content: "\0020";
|
544
|
+
display: block;
|
545
|
+
height: 0;
|
546
|
+
clear: both;
|
547
|
+
visibility: hidden;
|
548
|
+
overflow:hidden;
|
549
|
+
}
|
550
|
+
.clearfix, .container {display: block;}
|
551
|
+
|
552
|
+
/* Regular clearing
|
553
|
+
apply to column that should drop below previous ones. */
|
554
|
+
|
555
|
+
.clear { clear:both; }
|
556
|
+
|