~landscape/lazr-js/trunk

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/3.0.0/build/cssreset/reset-context.css

  • Committer: Sidnei da Silva
  • Date: 2009-10-21 21:43:07 UTC
  • mfrom: (120.2.15 yui-3.0.0)
  • mto: (124.5.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 126.
  • Revision ID: sidnei.da.silva@canonical.com-20091021214307-mpul9404n317puk5
- Merge from yui-3.0.0, resolving conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
 
3
Code licensed under the BSD License:
 
4
http://developer.yahoo.net/yui/license.txt
 
5
version: 3.0.0
 
6
build: 1549
 
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
.yui-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
.yui-cssreset body,
 
24
.yui-cssreset div,
 
25
.yui-cssreset dl,
 
26
.yui-cssreset dt,
 
27
.yui-cssreset dd,
 
28
.yui-cssreset ul,
 
29
.yui-cssreset ol,
 
30
.yui-cssreset li,
 
31
.yui-cssreset h1,
 
32
.yui-cssreset h2,
 
33
.yui-cssreset h3,
 
34
.yui-cssreset h4,
 
35
.yui-cssreset h5,
 
36
.yui-cssreset h6,
 
37
.yui-cssreset pre,
 
38
.yui-cssreset code,
 
39
.yui-cssreset form,
 
40
.yui-cssreset fieldset,
 
41
.yui-cssreset legend,
 
42
.yui-cssreset input,
 
43
.yui-cssreset textarea,
 
44
.yui-cssreset p,
 
45
.yui-cssreset blockquote,
 
46
.yui-cssreset th,
 
47
.yui-cssreset td {
 
48
        margin:0;
 
49
        padding:0;
 
50
}
 
51
.yui-cssreset table {
 
52
        border-collapse:collapse;
 
53
        border-spacing:0;
 
54
}
 
55
.yui-cssreset fieldset,
 
56
.yui-cssreset img {
 
57
        border:0;
 
58
}
 
59
/*
 
60
        TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
 
61
*/
 
62
.yui-cssreset address,
 
63
.yui-cssreset caption,
 
64
.yui-cssreset cite,
 
65
.yui-cssreset code,
 
66
.yui-cssreset dfn,
 
67
.yui-cssreset em,
 
68
.yui-cssreset strong,
 
69
.yui-cssreset th,
 
70
.yui-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
.yui-cssreset li {
 
78
        list-style:none;
 
79
}
 
80
 
 
81
.yui-cssreset caption,
 
82
.yui-cssreset th {
 
83
        text-align:left;
 
84
}
 
85
.yui-cssreset h1,
 
86
.yui-cssreset h2,
 
87
.yui-cssreset h3,
 
88
.yui-cssreset h4,
 
89
.yui-cssreset h5,
 
90
.yui-cssreset h6 {
 
91
        font-size:100%;
 
92
        font-weight:normal;
 
93
}
 
94
.yui-cssreset q:before,
 
95
.yui-cssreset q:after {
 
96
        content:'';
 
97
}
 
98
.yui-cssreset abbr,
 
99
.yui-cssreset acronym {
 
100
        border:0;
 
101
        font-variant:normal;
 
102
}
 
103
/* to preserve line-height and selector appearance */
 
104
.yui-cssreset sup {
 
105
        vertical-align:text-top;
 
106
}
 
107
.yui-cssreset sub {
 
108
        vertical-align:text-bottom;
 
109
}
 
110
.yui-cssreset input,
 
111
.yui-cssreset textarea,
 
112
.yui-cssreset select {
 
113
        font-family:inherit;
 
114
        font-size:inherit;
 
115
        font-weight:inherit;
 
116
}
 
117
/*to enable resizing for IE*/
 
118
.yui-cssreset input,
 
119
.yui-cssreset textarea,
 
120
.yui-cssreset select {
 
121
        *font-size:100%;
 
122
}
 
123
/*because legend doesn't inherit in IE */
 
124
.yui-cssreset legend {
 
125
        color:#000;
 
126
}
 
 
b'\\ No newline at end of file'