From: vyshane Date: Thu, 23 Nov 2006 03:27:27 +0000 (+0000) Subject: Updating YUI to 0.12.0. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ec67df2944359fbe72ffcfa71e376c376fd6efa5;p=moodle.git Updating YUI to 0.12.0. --- diff --git a/lib/yui/tabview/assets/border_tabs.css b/lib/yui/tabview/assets/border_tabs.css new file mode 100755 index 0000000000..7a1bd32a2d --- /dev/null +++ b/lib/yui/tabview/assets/border_tabs.css @@ -0,0 +1,44 @@ +.yui-navset .yui-nav li a, .yui-navset .yui-content { + border:1px solid #000; /* label and content borders */ +} + +.yui-navset .yui-nav .selected a, .yui-navset .yui-nav a:hover, .yui-navset .yui-content { + background-color:#f6f7ee; /* active tab, tab hover, and content bgcolor */ +} + +.yui-navset-top .yui-nav .selected a { + border-bottom:0; /* no bottom border for active tab */ + padding-bottom:1px; /* to match height of other tabs */ +} + +.yui-navset-top .yui-content { + margin-top:-1px; /* for active tab overlap */ +} + +.yui-navset-bottom .yui-nav .selected a { + border-top:0; /* no bottom border for active tab */ + padding-top:1px; /* to match height of other tabs */ +} + +.yui-navset-bottom .yui-content { + margin-bottom:-1px; /* for active tab overlap */ +} + +.yui-navset-left .yui-nav li.selected a { + border-right:0; /* no bottom border for active tab */ + padding-right:1px; /* to match height of other tabs */ +} + +.yui-navset-left .yui-content { + margin-left:-1px; /* for active tab overlap */ +} + +.yui-navset-right .yui-nav li.selected a { + border-left:0; /* no bottom border for active tab */ + padding-left:1px; /* to match height of other tabs */ +} + +.yui-navset-right .yui-content { + margin-right:-1px; /* for active tab overlap */ + *margin-right:0; /* except IE */ +} \ No newline at end of file diff --git a/lib/yui/tabview/assets/tabs.css b/lib/yui/tabview/assets/tabs.css new file mode 100755 index 0000000000..da8ef13b60 --- /dev/null +++ b/lib/yui/tabview/assets/tabs.css @@ -0,0 +1,66 @@ +/* default space between tabs */ +.yui-navset-top .yui-nav li, .yui-navset-bottom .yui-nav li { + margin-right:0.5em; /* horizontal tabs */ +} +.yui-navset-left .yui-nav li, .yui-navset-right .yui-nav li { + margin-bottom:0.5em; /* vertical tabs */ +} + +.yui-navset .yui-nav li em { padding:.5em; } /* default tab padding */ + +/* default width for side tabs */ +.yui-navset-left .yui-nav, .yui-navset-right .yui-nav { width:6em; } +.yui-navset-left { padding-left:6em; } /* map to nav width */ +.yui-navset-right { padding-right:6em; } /* ditto */ + +/* core */ + +.yui-nav, .yui-nav li { + margin:0; + padding:0; + list-style:none; +} +.yui-navset li em { font-style:normal; } + +.yui-navset { + position:relative; /* contain absolute positioned tabs (left/right) */ + zoom:1; +} + +.yui-navset .yui-content { zoom:1; } + +.yui-navset-top .yui-nav li, .yui-navset-bottom .yui-nav li { + display:inline-block; + display:-moz-inline-stack; + *display:inline; /* IE */ + vertical-align:bottom; /* safari: for overlap */ + cursor:pointer; /* gecko: due to -moz-inline-stack on anchor */ + zoom:1; /* IE: kill space between horizontal tabs */ +} + +.yui-navset .yui-nav a { + outline:0; /* gecko: keep from shifting */ +} + +.yui-navset .yui-nav a { position:relative; } /* IE: to allow overlap */ + +.yui-navset .yui-nav li a { + display:block; + zoom:1; +} + +.yui-navset-top .yui-nav li a, .yui-navset-bottom .yui-nav li a { + display:inline-block; + vertical-align:bottom; /* safari: for overlap */ +} + +.yui-navset-bottom .yui-nav li a { + vertical-align:text-top; /* for inline overlap (reverse for Op border bug) */ +} + +.yui-navset .yui-nav li a em { display:block; } + +/* position left and right oriented tabs */ +.yui-navset-left .yui-nav, .yui-navset-right .yui-nav { position:absolute; z-index:1; } +.yui-navset-left .yui-nav { left:0; } +.yui-navset-right .yui-nav { right:0; }