2
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
3
Code licensed under the BSD License:
4
http://developer.yahoo.net/yui/license.txt
9
* The YUI CSS Foundation uses the *property and _property CSS filter
10
* techniques to shield a value from A-grade browsers [1] other than
11
* IE6 & IE7 (*property) and IE6 (_property)
14
Section: General Rules
23
Section: Page Width Rules (#doc, #doc2, #doc3, #doc4)
30
.yui-d1f, /* 750px fixed */
32
.yui-d2f, /* 950px fixed */
34
.yui-d3f { /* 974px fixed */
38
*width: 56.25em; /* doc1*/
53
Subsection: 100% (doc)
56
/* Left and Right margins are not a structural part of Grids. Without them Grids
57
works fine, but content bleeds to the very edge of the document, which often
58
impairs readability and usability. They are
59
provided because they prevent the content from "bleeding" into the browser's chrome.*/
68
Subsection: 950 Centered (doc2)
78
Subsection: 974 Centered (doc3)
88
Section: Preset Template Rules (.yui-t[1-6])
94
/* to preserve source-order independence for Gecko without breaking IE */
111
/* IE: preserve layout at narrow widths */
118
/* IE: preserve layout at narrow widths */
122
/* Subsection: For Specific Template Presets */
125
* Nudge down to get to 13px equivalent for these form elements
129
TODO Create t1-6's that are based on fixed widths
131
/* t1 narrow block = left, equivalent of 160px */
137
.yui-t1 .yui-main .yui-b {
138
margin-left: 13.30769em;
139
*margin-left:12.975em;
141
/* t2 narrow block = left, equivalent of 180px */
147
.yui-t2 .yui-main .yui-b {
148
margin-left: 14.84615em;
149
*margin-left: 14.475em;
151
/* t3 narrow block = left, equivalent of 300px */
157
.yui-t3 .yui-main .yui-b {
158
margin-left: 24.0769em;
159
*margin-left: 23.475em;
161
/* t4 narrow block = right, equivalent of 180px */
167
.yui-t4 .yui-main .yui-b {
168
margin-right: 14.8456em;
169
*margin-right: 14.475em;
171
/* t5 narrow block = right, equivalent of 240px */
177
.yui-t5 .yui-main .yui-b {
178
margin-right: 19.4615em;
179
*margin-right: 18.975em;
181
/* t6 narrow block = equivalent of 300px */
187
.yui-t6 .yui-main .yui-b {
188
margin-right: 24.0769em;
189
*margin-right: 23.475em;
198
Section: Grids and Nesting Grids
202
Subsection: Children generally take half the available space
206
.yui-g .yui-gb .yui-u,
219
/*Float units (and sub grids) to the right */
229
.yui-g .yui-gc .yui-u,
237
/*Float units (and sub grids) to the left */
244
.yui-g .yui-gc div.first,
245
.yui-g .yui-ge div.first,
246
.yui-gc div.first div.first {
261
.yui-g .yui-gb .yui-u,
275
/* Give IE some extra breathing room for 1/3-based rounding issues */
303
.yui-g .yui-gb div.first,
311
Section: Deep Nesting
313
.yui-g .yui-g .yui-u,
314
.yui-gb .yui-g .yui-u,
315
.yui-gc .yui-g .yui-u,
316
.yui-gd .yui-g .yui-u,
317
.yui-ge .yui-g .yui-u,
318
.yui-gf .yui-g .yui-u {
324
.yui-g .yui-gb div.first,
325
.yui-gb .yui-gb div.first {
331
.yui-g .yui-gc div.first,
336
.yui-gb .yui-g div.first {
341
.yui-gb .yui-gc div.first,
342
.yui-gb .yui-gd div.first {
346
.yui-gb .yui-gb .yui-u,
347
.yui-gb .yui-gc .yui-u {
352
.yui-g .yui-gb .yui-u {
356
.yui-gb .yui-gd .yui-u {
360
.yui-gb .yui-gd div.first {
365
.yui-g .yui-gc .yui-u,
366
.yui-gb .yui-gc .yui-u {
372
.yui-gb .yui-gc div.first {
378
.yui-gb .yui-ge .yui-u,
379
.yui-gb .yui-gf .yui-u {
383
.yui-gb .yui-gb .yui-u {
387
.yui-gb .yui-g div.first,
388
.yui-gb .yui-gb div.first {
392
.yui-gc .yui-g .yui-u,
393
.yui-gd .yui-g .yui-u {
398
.yui-gb .yui-gd div.first {
401
.yui-g .yui-gd div.first {
412
.yui-gb .yui-ge div.yui-u,
413
.yui-gb .yui-gf div.yui-u {
416
.yui-gb .yui-ge div.first,
417
.yui-gb .yui-gf div.first {
421
/* Width Accommodation for Nested Contexts */
422
.yui-gb .yui-ge .yui-u,
423
.yui-gb .yui-gf div.first {
428
/* Width Accommodation for Nested Contexts */
429
.yui-gb .yui-ge div.first,
430
.yui-gb .yui-gf .yui-u {
435
/* Patch for GD within GE */
436
.yui-ge div.first .yui-gd .yui-u {
439
.yui-ge div.first .yui-gd div.first {
444
Section: Clearing. zoom for IE, :after for others
b'\\ No newline at end of file'