import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -1,53 +1,49 @@
|
||||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.6.0
|
||||
version: 2.7.0
|
||||
*/
|
||||
.yui-navset .yui-nav li a,
|
||||
.yui-navset .yui-content {
|
||||
.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 {
|
||||
.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 .yui-nav li em { padding:.5em; } /* tab padding */
|
||||
|
||||
/* defaults to orientation "top" */
|
||||
.yui-navset .yui-nav .selected a,
|
||||
.yui-navset .yui-navset-top .yui-nav .selected a {
|
||||
border-width:1px 1px 0; /* no bottom border for active tab */
|
||||
padding:0 0 1px; /* to match height of other tabs */
|
||||
.yui-navset .yui-nav .selected a {
|
||||
border-bottom-width:0; /* no bottom border for active tab */
|
||||
padding-bottom:1px; /* to match height of other tabs */
|
||||
}
|
||||
.yui-navset .yui-content,
|
||||
.yui-navset .yui-navset-top .yui-content {
|
||||
margin:-1px 0 0; /* for active tab overlap */
|
||||
|
||||
.yui-navset .yui-content {
|
||||
margin-top:-1px; /* for active tab overlap */
|
||||
}
|
||||
|
||||
/* overrides for other orientations */
|
||||
.yui-navset .yui-navset-bottom .yui-nav .selected a,
|
||||
|
||||
.yui-navset-bottom .yui-nav .selected a {
|
||||
border-width:0 1px 1px; /* no top border for active tab */
|
||||
padding:1px 0 0; /* to match height of other tabs */
|
||||
}
|
||||
.yui-navset .yui-navset-bottom .yui-content,
|
||||
|
||||
.yui-navset-bottom .yui-content {
|
||||
margin:0 0 -1px; /* for active tab overlap */
|
||||
}
|
||||
.yui-navset .yui-navset-left .yui-nav li.selected a,
|
||||
|
||||
.yui-navset-left .yui-nav li.selected a {
|
||||
border-width:1px 0 1px 1px; /* no right border for active tab */
|
||||
padding:0 1px 0 0; /* to match width of other tabs */
|
||||
}
|
||||
.yui-navset .yui-navset-left .yui-content,
|
||||
|
||||
.yui-navset-left .yui-content {
|
||||
margin:0 0 0 -1px; /* for active tab overlap */
|
||||
}
|
||||
.yui-navset .yui-navset-right .yui-nav li.selected a,
|
||||
|
||||
.yui-navset-right .yui-nav li.selected a {
|
||||
border-width:1px 1px 1px 0; /* no left border for active tab */
|
||||
padding:0 0 0 1px; /* to match width of other tabs */
|
||||
@ -55,4 +51,4 @@ version: 2.6.0
|
||||
|
||||
.yui-navset-right .yui-content {
|
||||
margin:0 -1px 0 0; /* for active tab overlap */
|
||||
}
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.6.0
|
||||
version: 2.7.0
|
||||
*/
|
||||
.yui-navset .yui-nav li {
|
||||
margin-right:0.16em; /* space between tabs */
|
||||
|
@ -1,15 +1,14 @@
|
||||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.6.0
|
||||
version: 2.7.0
|
||||
*/
|
||||
/* .yui-navset defaults to .yui-navset-top */
|
||||
.yui-skin-sam .yui-navset .yui-nav,
|
||||
.yui-skin-sam .yui-navset .yui-navset-top .yui-nav { /* protect nested tabviews from other orientations */
|
||||
border:solid #2647a0; /* color between tab list and content */
|
||||
border-width:0 0 5px;
|
||||
Xposition:relative;
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,8 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.6.0
|
||||
version: 2.7.0
|
||||
*/
|
||||
/* default space between tabs */
|
||||
.yui-navset .yui-nav li,
|
||||
@ -16,7 +16,9 @@ version: 2.6.0
|
||||
}
|
||||
|
||||
.yui-navset .yui-content .yui-hidden {
|
||||
display:none;
|
||||
position:absolute;
|
||||
left:-999999px;
|
||||
visibility:hidden;
|
||||
}
|
||||
|
||||
/* default width for side tabs */
|
||||
@ -52,7 +54,8 @@ version: 2.6.0
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
.yui-navset .yui-content {
|
||||
.yui-navset .yui-content,
|
||||
.yui-navset .yui-content div {
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
|
@ -1,41 +1,25 @@
|
||||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.6.0
|
||||
version: 2.7.0
|
||||
*/
|
||||
/* default space between tabs */
|
||||
.yui-navset .yui-nav li,
|
||||
.yui-navset .yui-navset-top .yui-nav li,
|
||||
.yui-navset .yui-navset-bottom .yui-nav li {
|
||||
margin:0 0.5em 0 0; /* horizontal tabs */
|
||||
.yui-navset .yui-nav li {
|
||||
margin-right:0.5em; /* horizontal tabs */
|
||||
}
|
||||
.yui-navset-left .yui-nav li,
|
||||
.yui-navset-right .yui-nav li {
|
||||
.yui-navset-left .yui-nav li, .yui-navset-right .yui-nav li {
|
||||
margin:0 0 0.5em; /* vertical tabs */
|
||||
}
|
||||
|
||||
/* default width for side tabs */
|
||||
.yui-navset .yui-navset-left .yui-nav,
|
||||
.yui-navset .yui-navset-right .yui-nav,
|
||||
.yui-navset-left .yui-nav,
|
||||
.yui-navset-right .yui-nav { width:6em; }
|
||||
.yui-navset-top .yui-nav,
|
||||
.yui-navset-bottom .yui-nav {
|
||||
width:auto;
|
||||
}
|
||||
.yui-navset .yui-navset-left,
|
||||
.yui-navset-left { padding:0 0 0 6em; } /* map to nav width */
|
||||
.yui-navset-right { padding:0 6em 0 0; } /* ditto */
|
||||
.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 */
|
||||
|
||||
.yui-navset-top,
|
||||
.yui-navset-bottom {
|
||||
padding:auto;
|
||||
}
|
||||
/* core */
|
||||
|
||||
.yui-nav,
|
||||
.yui-nav li {
|
||||
.yui-nav, .yui-nav li {
|
||||
margin:0;
|
||||
padding:0;
|
||||
list-style:none;
|
||||
@ -49,9 +33,9 @@ version: 2.6.0
|
||||
|
||||
.yui-navset .yui-content { zoom:1; }
|
||||
|
||||
.yui-navset .yui-nav li,
|
||||
.yui-navset .yui-navset-top .yui-nav li, /* in case nested */
|
||||
.yui-navset .yui-navset-bottom .yui-nav li {
|
||||
.yui-navset .yui-hidden { display:none; }
|
||||
|
||||
.yui-navset .yui-nav li {
|
||||
display:inline-block;
|
||||
display:-moz-inline-stack;
|
||||
*display:inline; /* IE */
|
||||
@ -60,8 +44,7 @@ version: 2.6.0
|
||||
zoom:1; /* IE: kill space between horizontal tabs */
|
||||
}
|
||||
|
||||
.yui-navset-left .yui-nav li,
|
||||
.yui-navset-right .yui-nav li {
|
||||
.yui-navset-left .yui-nav li, .yui-navset-right .yui-nav li {
|
||||
display:block;
|
||||
}
|
||||
|
||||
@ -71,43 +54,24 @@ version: 2.6.0
|
||||
|
||||
.yui-navset .yui-nav a { position:relative; } /* IE: to allow overlap */
|
||||
|
||||
.yui-navset .yui-nav li a,
|
||||
.yui-navset-top .yui-nav li a,
|
||||
.yui-navset-bottom .yui-nav li a {
|
||||
.yui-navset .yui-nav li a {
|
||||
display:block;
|
||||
display:inline-block;
|
||||
vertical-align:bottom; /* safari: for overlap */
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
.yui-navset-left .yui-nav li a,
|
||||
.yui-navset-right .yui-nav li a {
|
||||
.yui-navset-left .yui-nav li a, .yui-navset-right .yui-nav li a {
|
||||
display:block;
|
||||
}
|
||||
|
||||
.yui-navset-bottom .yui-nav li a {
|
||||
vertical-align:text-top; /* for inline overlap (reverse for Opera border bug) */
|
||||
vertical-align:text-top; /* for inline overlap (reverse for Op border bug) */
|
||||
}
|
||||
|
||||
.yui-navset .yui-nav li a em,
|
||||
.yui-navset-top .yui-nav li a em,
|
||||
.yui-navset-bottom .yui-nav li a em { display:block; }
|
||||
.yui-navset .yui-nav li a em { display:block; }
|
||||
|
||||
/* position left and right oriented tabs */
|
||||
.yui-navset .yui-navset-left .yui-nav,
|
||||
.yui-navset .yui-navset-right .yui-nav,
|
||||
.yui-navset-left .yui-nav,
|
||||
.yui-navset-right .yui-nav {
|
||||
position:absolute;
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
.yui-navset-top .yui-nav,
|
||||
.yui-navset-bottom .yui-nav {
|
||||
position:static;
|
||||
}
|
||||
.yui-navset .yui-navset-left .yui-nav,
|
||||
.yui-navset-left .yui-nav { left:0; right:auto; }
|
||||
|
||||
.yui-navset .yui-navset-right .yui-nav,
|
||||
.yui-navset-right .yui-nav { right:0; left:auto; }
|
||||
.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; }
|
||||
|
Reference in New Issue
Block a user