root / drupal7 / themes / seven / reset.css @ 76597ebf
1 |
|
---|---|
2 |
/**
|
3 |
* Reset CSS styles.
|
4 |
*
|
5 |
* Based on Eric Meyer's "Reset CSS 1.0" tool from
|
6 |
* http://meyerweb.com/eric/tools/css/reset
|
7 |
*/
|
8 |
|
9 |
html,
|
10 |
body,
|
11 |
div,
|
12 |
span,
|
13 |
applet,
|
14 |
object,
|
15 |
iframe,
|
16 |
h1,
|
17 |
h2,
|
18 |
h3,
|
19 |
h4,
|
20 |
h5,
|
21 |
h6,
|
22 |
p,
|
23 |
blockquote,
|
24 |
pre,
|
25 |
a,
|
26 |
abbr,
|
27 |
acronym,
|
28 |
address,
|
29 |
big,
|
30 |
cite,
|
31 |
code,
|
32 |
del,
|
33 |
dfn,
|
34 |
em,
|
35 |
font,
|
36 |
img,
|
37 |
ins,
|
38 |
kbd,
|
39 |
q,
|
40 |
s,
|
41 |
samp,
|
42 |
small,
|
43 |
strike,
|
44 |
strong,
|
45 |
sub,
|
46 |
sup,
|
47 |
tt,
|
48 |
var,
|
49 |
b,
|
50 |
u,
|
51 |
i,
|
52 |
center,
|
53 |
dl,
|
54 |
dt,
|
55 |
dd,
|
56 |
ol,
|
57 |
ul,
|
58 |
li,
|
59 |
fieldset,
|
60 |
form,
|
61 |
input,
|
62 |
select,
|
63 |
textarea,
|
64 |
label,
|
65 |
legend,
|
66 |
table,
|
67 |
caption,
|
68 |
tbody,
|
69 |
tfoot,
|
70 |
thead,
|
71 |
tr,
|
72 |
th,
|
73 |
td,
|
74 |
/* Drupal: system-menus.css */
|
75 |
td.menu-disabled, |
76 |
ul.links, |
77 |
ul.links.inline, |
78 |
ul.links li, |
79 |
.block ul, |
80 |
/* Drupal: admin.css */
|
81 |
div.admin, |
82 |
/* Drupal: system.css */
|
83 |
tr.even, |
84 |
tr.odd, |
85 |
tr.drag, |
86 |
tbody,
|
87 |
tbody th, |
88 |
thead th, |
89 |
.breadcrumb,
|
90 |
.item-list .icon, |
91 |
.item-list .title, |
92 |
.item-list ul, |
93 |
.item-list ul li, |
94 |
ol.task-list li.active, |
95 |
.form-item,
|
96 |
tr.odd .form-item, |
97 |
tr.even .form-item, |
98 |
.form-item .description, |
99 |
.form-item label, |
100 |
.form-item label.option, |
101 |
.form-checkboxes,
|
102 |
.form-radios,
|
103 |
.form-checkboxes .form-item, |
104 |
.form-radios .form-item, |
105 |
.marker,
|
106 |
.form-required,
|
107 |
.more-link,
|
108 |
.more-help-link,
|
109 |
.item-list .pager, |
110 |
.item-list .pager li, |
111 |
.pager-current,
|
112 |
.tips,
|
113 |
ul.primary, |
114 |
ul.primary li, |
115 |
ul.primary li a, |
116 |
ul.primary li.active a, |
117 |
ul.primary li a:hover, |
118 |
ul.secondary, |
119 |
ul.secondary li, |
120 |
ul.secondary a, |
121 |
ul.secondary a.active, |
122 |
.resizable-textarea {
|
123 |
margin: 0; |
124 |
padding: 0; |
125 |
border: 0; |
126 |
vertical-align: baseline; |
127 |
} |
128 |
/* Drupal: system-menus.css */
|
129 |
ul.links, |
130 |
ul.links.inline, |
131 |
ul.links li, |
132 |
.block ul, |
133 |
ol,
|
134 |
ul,
|
135 |
.item-list ul, |
136 |
.item-list ul li { |
137 |
list-style: none; |
138 |
} |
139 |
blockquote,
|
140 |
q {
|
141 |
quotes: none; |
142 |
} |
143 |
blockquote:before, |
144 |
blockquote:after, |
145 |
q:before, |
146 |
q:after { |
147 |
content: ''; |
148 |
content: none; |
149 |
} |
150 |
|
151 |
/* Remember to highlight inserts somehow! */
|
152 |
ins {
|
153 |
text-decoration: none; |
154 |
} |
155 |
del {
|
156 |
text-decoration: line-through; |
157 |
} |
158 |
|
159 |
/* Tables still need 'cellspacing="0"' in the markup. */
|
160 |
table {
|
161 |
border-collapse: collapse; |
162 |
border-spacing: 0; |
163 |
} |
164 |
|
165 |
/**
|
166 |
* Font reset.
|
167 |
*
|
168 |
* Specifically targets form elements which browsers often times give
|
169 |
* special treatment.
|
170 |
*/
|
171 |
input,
|
172 |
select,
|
173 |
textarea {
|
174 |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
175 |
} |
176 |
textarea {
|
177 |
font-size: 1em; |
178 |
line-height: 1.538em; |
179 |
} |
180 |
/**
|
181 |
* Markup free clearing.
|
182 |
*
|
183 |
* Consider adding your own selectors to this instead of finding ways
|
184 |
* to sneak the clearfix class into Drupal's markup.
|
185 |
* From http://perishablepress.com/press/2009/12/06/new-clearfix-hack
|
186 |
*/
|
187 |
ul.links:after, |
188 |
div.admin-panel .body:after, |
189 |
.clearfix:after { |
190 |
content: "."; |
191 |
display: block; |
192 |
height: 0; |
193 |
clear: both; |
194 |
visibility: hidden; |
195 |
} |
196 |
|
197 |
/* Exclude inline links from clearfix behavior */
|
198 |
ul.inline:after { |
199 |
content: ""; |
200 |
display: none; |
201 |
clear: none; |
202 |
} |
203 |
/* IE6 */
|
204 |
* html .form-item, |
205 |
* html ul.links, |
206 |
* html div.admin-panel .body, |
207 |
* html .clearfix { |
208 |
height: 1%; |
209 |
} |
210 |
/* IE7 */
|
211 |
*:first-child + html .form-item, |
212 |
*:first-child + html ul.links, |
213 |
*:first-child + html div.admin-panel .body, |
214 |
*:first-child + html .clearfix { |
215 |
min-height: 1%; |
216 |
} |