Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / resources / themes / stylesheets / ext4 / default / widgets / _html.scss
1 /**
2  * W3C Suggested Default style sheet for HTML 4
3  * http://www.w3.org/TR/CSS21/sample.html
4  */
5 @mixin extjs-html {
6     .#{$prefix}html {
7         html,
8         address,
9         blockquote,
10         body,
11         dd,
12         div,
13         dl,
14         dt,
15         fieldset,
16         form,
17         frame, frameset,
18         h1,
19         h2,
20         h3,
21         h4,
22         h5,
23         h6,
24         noframes,
25         ol,
26         p,
27         ul,
28         center,
29         dir,
30         hr,
31         menu,
32         pre                     { display: block; }
33         li              { display: list-item; list-style: disc; }
34         head            { display: none; }
35         table           { display: table; }
36         tr              { display: table-row; }
37         thead           { display: table-header-group; }
38         tbody           { display: table-row-group; }
39         tfoot           { display: table-footer-group; }
40         col             { display: table-column; }
41         colgroup        { display: table-column-group; }
42         td,
43         th                  { display: table-cell; }
44         caption         { display: table-caption; }
45         th              { font-weight: bolder; text-align: center; }
46         caption         { text-align: center; }
47         body            { margin: 8px; }
48         h1              { font-size: 2em; margin: .67em 0; }
49         h2              { font-size: 1.5em; margin: .75em 0; }
50         h3              { font-size: 1.17em; margin: .83em 0; }
51         h4,
52         p,
53         blockquote,
54         ul,
55         fieldset,
56         form,
57         ol,
58         dl,
59         dir,
60         menu            { margin: 1.12em 0; }
61         h5              { font-size: .83em; margin: 1.5em 0; }
62         h6              { font-size: .75em; margin: 1.67em 0; }
63         h1,
64         h2,
65         h3,
66         h4,
67         h5,
68         h6,
69         b,
70         strong          { font-weight: bolder; }
71         blockquote      { margin-left: 40px; margin-right: 40px; }
72         i,
73         cite,
74         em,
75         var,
76         address             { font-style: italic; }
77         pre,
78         tt,
79         code,
80         kbd,
81         samp                { font-family: monospace; }
82         pre             { white-space: pre; }
83         button,
84         textarea,
85         input,
86         select                  { display: inline-block; }
87         big             { font-size: 1.17em; }
88         small,
89         sub,
90         sup                     { font-size: .83em; }
91         sub             { vertical-align: sub; }
92         sup             { vertical-align: super; }
93         table           { border-spacing: 2px; }
94         thead,
95         tbody,
96         tfoot           { vertical-align: middle; }
97         td,
98         th              { vertical-align: inherit; }
99         s,
100         strike,
101         del                     { text-decoration: line-through; }
102         hr              { border: 1px inset; }
103         ol,
104         ul,
105         dir,
106         menu,
107         dd                  { margin-left: 40px; }
108         ul, menu, dir   { list-style-type: disc; }
109         ol              { list-style-type: decimal; }
110         ol ul,
111         ul ol,
112         ul ul,
113         ol ol                   { margin-top: 0; margin-bottom: 0; }
114         u,
115         ins             { text-decoration: underline; }
116         br:before       { content: "\A"; }
117         :before, :after { white-space: pre-line; }
118         center          { text-align: center; }
119         :link, :visited { text-decoration: underline; }
120         :focus          { outline: invert dotted thin; }
121
122         /* Begin bidirectionality settings (do not change) */
123         BDO[DIR="ltr"]  { direction: ltr; unicode-bidi: bidi-override; }
124         BDO[DIR="rtl"]  { direction: rtl; unicode-bidi: bidi-override; }
125    ; }
126 }