2 Copyright (c) 2011, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.com/yui/license.html
11 * @requires reset, fonts
15 * Note: Throughout this file, the *property (star-property) filter is used
16 * to give a value to IE < 8 that other browsers do not see. The _property (underscore-property)
17 * is only seen by IE < 7, so the combo of *prop and _prop can differentiate between IE6 and IE7.
19 * More information on these filters and related validation errors:
20 * http://tech.groups.yahoo.com/group/ydn-javascript/message/40059
24 * Section: General Rules
32 * Section: Page Width Rules (#doc, #doc2, #doc3, #doc4)
35 #doc,#doc2,#doc3,#doc4,
36 .yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7 {
43 /* 950 Centered (doc2) */
52 * Left and Right margins are not a structural part of Grids. Without them
53 * Grids works fine, but content bleeds to the very edge of the document, which
54 * often impairs readability and usability. They are provided because they
55 * prevent the content from "bleeding" into the browser's chrome.
61 /* 974 Centered (doc4) */
68 * Section: Preset Template Rules (.yui-t[1-6])
73 /* to preserve source-order independence for Gecko */
78 /* to preserve source-order independence for IE */
83 /* to preserve source-order independence for Gecko */
88 .yui-g .yui-u .yui-g {
96 /* IE: preserve layout at narrow widths */
104 /* IE: preserve layout at narrow widths */
109 * For Specific Template Presets
118 .yui-t1 #yui-main .yui-b {
119 margin-left: 13.30769em;
120 *margin-left: 13.05em;
129 .yui-t2 #yui-main .yui-b {
130 margin-left: 14.8461em;
131 *margin-left: 14.55em;
140 .yui-t3 #yui-main .yui-b {
141 margin-left: 24.0769em;
142 *margin-left: 23.62em;
151 .yui-t4 #yui-main .yui-b {
152 margin-right: 14.8456em;
153 *margin-right: 14.55em;
162 .yui-t5 #yui-main .yui-b {
163 margin-right: 19.4615em;
164 *margin-right: 19.125em;
173 .yui-t6 #yui-main .yui-b {
174 margin-right: 24.0769em;
175 *margin-right: 23.62em;
178 .yui-t7 #yui-main .yui-b {
189 * Section: Grids and Nesting Grids
192 /* Children generally take half the available space */
194 .yui-g .yui-gb .yui-u,
207 /* Float units (and sub grids) to the right */
217 .yui-g .yui-gc .yui-u,
225 /*Float units (and sub grids) to the left */
232 .yui-g .yui-gc div.first,
233 .yui-g .yui-ge div.first,
234 .yui-gc div.first div.first {
249 .yui-g .yui-gb .yui-u,
263 /* Give IE some extra breathing room for 1/3-based rounding issues */
288 .yui-g .yui-gb div.first,
296 * Section: Deep Nesting
299 .yui-g .yui-g .yui-u,
300 .yui-gb .yui-g .yui-u,
301 .yui-gc .yui-g .yui-u,
302 .yui-gd .yui-g .yui-u,
303 .yui-ge .yui-g .yui-u,
304 .yui-gf .yui-g .yui-u {
310 .yui-g .yui-g .yui-u {
314 /* YUILibrary bug #1927599 from 1.14 to 2.6.0*/
315 .yui-g .yui-gb div.first,
316 .yui-gb .yui-gb div.first {
322 .yui-g .yui-gc div.first,
327 .yui-gb .yui-g div.first {
332 .yui-gb .yui-gc div.first,
333 .yui-gb .yui-gd div.first {
337 .yui-gb .yui-gb .yui-u,
338 .yui-gb .yui-gc .yui-u {
343 .yui-g .yui-gb .yui-u {
347 .yui-gb .yui-gd .yui-u {
352 .yui-gb .yui-gd div.first {
357 .yui-g .yui-gc .yui-u,
358 .yui-gb .yui-gc .yui-u {
365 .yui-gb .yui-gc div.first {
371 .yui-gb .yui-ge .yui-u,
372 .yui-gb .yui-gf .yui-u {
376 .yui-gb .yui-gb .yui-u {
380 .yui-gb .yui-g div.first,
381 .yui-gb .yui-gb div.first {
385 .yui-gc .yui-g .yui-u,
386 .yui-gd .yui-g .yui-u {
391 .yui-gb .yui-gd div.first {
395 .yui-g .yui-gd div.first {
407 .yui-gb .yui-ge div.yui-u,
408 .yui-gb .yui-gf div.yui-u {
412 .yui-gb .yui-ge div.first,
413 .yui-gb .yui-gf div.first {
417 /* Width Accommodation for Nested Contexts */
418 .yui-gb .yui-ge .yui-u,
419 .yui-gb .yui-gf div.first {
424 /* Width Accommodation for Nested Contexts */
425 .yui-gb .yui-ge div.first,
426 .yui-gb .yui-gf .yui-u {
431 /* Patch for GD within GE */
432 .yui-ge div.first .yui-gd .yui-u {
436 .yui-ge div.first .yui-gd div.first {
440 /* @group Clearing */