diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-18 10:00:38 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-18 10:00:38 +0200 |
commit | 7ae63b1e06f607ede3ed32829ac9316e4c657247 (patch) | |
tree | 2d347681207e337dad6ad21ec15a319b6a734a62 /js/yui/base | |
parent | 3eb535037ca7ef9ea026cc7799fa0e7d93438089 (diff) | |
download | bugzilla-7ae63b1e06f607ede3ed32829ac9316e4c657247.tar.gz bugzilla-7ae63b1e06f607ede3ed32829ac9316e4c657247.tar.xz |
Bug 572949: Update YUI to 2.8.1
r=glob, a=mkanat
Diffstat (limited to 'js/yui/base')
-rw-r--r-- | js/yui/base/base-min.css | 7 | ||||
-rw-r--r-- | js/yui/base/base.css | 131 |
2 files changed, 138 insertions, 0 deletions
diff --git a/js/yui/base/base-min.css b/js/yui/base/base-min.css new file mode 100644 index 000000000..6eaa26064 --- /dev/null +++ b/js/yui/base/base-min.css @@ -0,0 +1,7 @@ +/* +Copyright (c) 2010, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.com/yui/license.html +version: 2.8.1 +*/ +body{margin:10px;}h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:1em 0;}h1,h2,h3,h4,h5,h6,strong,dt{font-weight:bold;}optgroup{font-weight:normal;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;}em{font-style:italic;}del{text-decoration:line-through;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{border:1px solid #000;padding:.5em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}sup{vertical-align:super;}sub{vertical-align:sub;}p,fieldset,table,pre{margin-bottom:1em;}button,input[type="checkbox"],input[type="radio"],input[type="reset"],input[type="submit"]{padding:1px;}
\ No newline at end of file diff --git a/js/yui/base/base.css b/js/yui/base/base.css new file mode 100644 index 000000000..95d63c176 --- /dev/null +++ b/js/yui/base/base.css @@ -0,0 +1,131 @@ +/* +Copyright (c) 2010, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.com/yui/license.html +version: 2.8.1 +*/ +/** + * YUI Base + * @module base + * @namespace yui- + * @requires reset, fonts +*/ + +body { + /* For breathing room between content and viewport. */ + margin:10px; +} + +h1 { + /* 18px via YUI Fonts CSS foundation. */ + font-size: 138.5%; +} + +h2 { + /* 16px via YUI Fonts CSS foundation. */ + font-size: 123.1%; +} + +h3 { + /* 14px via YUI Fonts CSS foundation. */ + font-size: 108%; +} + +h1,h2,h3 { + /* Top & bottom margin based on font size. */ + margin: 1em 0; +} + +h1,h2,h3,h4,h5,h6,strong,dt { + /* Bringing boldness back to headers and the strong element. */ + font-weight: bold; +} +optgroup { + font-weight:normal; +} + +abbr,acronym { + /* Indicating to users that more info is available. */ + border-bottom: 1px dotted #000; + cursor: help; +} + +em { + /* Bringing italics back to the em element. */ + font-style: italic; +} + +del { + /* Striking deleted phrases. */ + text-decoration: line-through; +} + +blockquote,ul,ol,dl { + /* Giving blockquotes and lists room to breath. */ + margin: 1em; +} + +ol,ul,dl { + /* Bringing lists on to the page with breathing room. */ + margin-left: 2em; +} + +ol li { + /* Giving OL's LIs generated numbers. */ + list-style: decimal outside; +} + +ul li { + /* Giving UL's LIs generated disc markers. */ + list-style: disc outside; +} + +dl dd { + /* Giving UL's LIs generated numbers. */ + margin-left: 1em; +} + +th,td { + /* Borders and padding to make the table readable. */ + border: 1px solid #000; + padding: .5em; +} + +th { + /* Distinguishing table headers from data cells. */ + font-weight: bold; + text-align: center; +} + +caption { + /* Coordinated margin to match cell's padding. */ + margin-bottom: .5em; + /* Centered so it doesn't blend in to other content. */ + text-align: center; +} + +sup { + /* to preserve line-height and selector appearance */ + vertical-align: super; +} + +sub { + /* to preserve line-height and selector appearance */ + vertical-align: sub; +} + +p, +fieldset, +table, +pre { + /* So things don't run into each other. */ + margin-bottom: 1em; +} +/* Opera requires 1px of passing to render with contemporary native chrome */ +button, +input[type="checkbox"], +input[type="radio"], +input[type="reset"], +input[type="submit"] { + padding:1px; +} |