]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - include/javascript/yui3/build/cssreset/reset-context.css
Release 6.2.2
[Github/sugarcrm.git] / include / javascript / yui3 / build / cssreset / reset-context.css
1 /*
2 Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.com/yui/license.html
5 version: 3.3.0
6 build: 3167
7 */
8 /*e
9         TODO will need to remove settings on HTML since we can't namespace it.
10         TODO with the prefix, should I group by selector or property for weight savings?
11 */
12 .yui3-cssreset html{
13         color:#000;
14         background:#FFF;
15 }
16 /*
17         TODO remove settings on BODY since we can't namespace it.
18 */
19 /*
20         TODO test putting a class on HEAD.
21                 - Fails on FF. 
22 */
23 .yui3-cssreset body,
24 .yui3-cssreset div,
25 .yui3-cssreset dl,
26 .yui3-cssreset dt,
27 .yui3-cssreset dd,
28 .yui3-cssreset ul,
29 .yui3-cssreset ol,
30 .yui3-cssreset li,
31 .yui3-cssreset h1,
32 .yui3-cssreset h2,
33 .yui3-cssreset h3,
34 .yui3-cssreset h4,
35 .yui3-cssreset h5,
36 .yui3-cssreset h6,
37 .yui3-cssreset pre,
38 .yui3-cssreset code,
39 .yui3-cssreset form,
40 .yui3-cssreset fieldset,
41 .yui3-cssreset legend,
42 .yui3-cssreset input,
43 .yui3-cssreset textarea,
44 .yui3-cssreset p,
45 .yui3-cssreset blockquote,
46 .yui3-cssreset th,
47 .yui3-cssreset td {
48         margin:0;
49         padding:0;
50 }
51 .yui3-cssreset table {
52         border-collapse:collapse;
53         border-spacing:0;
54 }
55 .yui3-cssreset fieldset,
56 .yui3-cssreset img {
57         border:0;
58 }
59 /*
60         TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
61 */
62 .yui3-cssreset address,
63 .yui3-cssreset caption,
64 .yui3-cssreset cite,
65 .yui3-cssreset code,
66 .yui3-cssreset dfn,
67 .yui3-cssreset em,
68 .yui3-cssreset strong,
69 .yui3-cssreset th,
70 .yui3-cssreset var {
71         font-style:normal;
72         font-weight:normal;
73 }
74 /*
75         TODO Figure out where this list-style rule is best set. Hedger has a request to investigate.
76 */
77 .yui3-cssreset li {
78         list-style:none;
79 }
80
81 .yui3-cssreset caption,
82 .yui3-cssreset th {
83         text-align:left;
84 }
85 .yui3-cssreset h1,
86 .yui3-cssreset h2,
87 .yui3-cssreset h3,
88 .yui3-cssreset h4,
89 .yui3-cssreset h5,
90 .yui3-cssreset h6 {
91         font-size:100%;
92         font-weight:normal;
93 }
94 .yui3-cssreset q:before,
95 .yui3-cssreset q:after {
96         content:'';
97 }
98 .yui3-cssreset abbr,
99 .yui3-cssreset acronym {
100         border:0;
101         font-variant:normal;
102 }
103 /* to preserve line-height and selector appearance */
104 .yui3-cssreset sup {
105         vertical-align:text-top;
106 }
107 .yui3-cssreset sub {
108         vertical-align:text-bottom;
109 }
110 .yui3-cssreset input,
111 .yui3-cssreset textarea,
112 .yui3-cssreset select {
113         font-family:inherit;
114         font-size:inherit;
115         font-weight:inherit;
116 }
117 /*to enable resizing for IE*/
118 .yui3-cssreset input,
119 .yui3-cssreset textarea,
120 .yui3-cssreset select {
121         *font-size:100%;
122 }
123 /*because legend doesn't inherit in IE */
124 .yui3-cssreset legend {
125         color:#000;
126 }