CommunityID/webdir/javascript/yui/tabview/assets/tabview.css

78 lines
2.0 KiB
CSS
Raw Normal View History

2019-07-17 20:08:50 +00:00
/*
2019-07-17 20:16:19 +00:00
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
2019-07-17 20:08:50 +00:00
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
2019-07-17 20:16:19 +00:00
version: 2.7.0
2019-07-17 20:08:50 +00:00
*/
/* default space between tabs */
2019-07-17 20:16:19 +00:00
.yui-navset .yui-nav li {
margin-right:0.5em; /* horizontal tabs */
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
.yui-navset-left .yui-nav li, .yui-navset-right .yui-nav li {
2019-07-17 20:08:50 +00:00
margin:0 0 0.5em; /* vertical tabs */
}
/* default width for side tabs */
2019-07-17 20:16:19 +00:00
.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 */
2019-07-17 20:08:50 +00:00
/* core */
2019-07-17 20:16:19 +00:00
.yui-nav, .yui-nav li {
2019-07-17 20:08:50 +00:00
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; }
2019-07-17 20:16:19 +00:00
.yui-navset .yui-hidden { display:none; }
.yui-navset .yui-nav li {
2019-07-17 20:08:50 +00:00
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 */
}
2019-07-17 20:16:19 +00:00
.yui-navset-left .yui-nav li, .yui-navset-right .yui-nav li {
2019-07-17 20:08:50 +00:00
display:block;
}
.yui-navset .yui-nav a {
outline:0; /* gecko: keep from shifting */
}
.yui-navset .yui-nav a { position:relative; } /* IE: to allow overlap */
2019-07-17 20:16:19 +00:00
.yui-navset .yui-nav li a {
2019-07-17 20:08:50 +00:00
display:block;
display:inline-block;
vertical-align:bottom; /* safari: for overlap */
zoom:1;
}
2019-07-17 20:16:19 +00:00
.yui-navset-left .yui-nav li a, .yui-navset-right .yui-nav li a {
2019-07-17 20:08:50 +00:00
display:block;
}
.yui-navset-bottom .yui-nav li a {
2019-07-17 20:16:19 +00:00
vertical-align:text-top; /* for inline overlap (reverse for Op border bug) */
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
.yui-navset .yui-nav li a em { display:block; }
2019-07-17 20:08:50 +00:00
/* position left and right oriented tabs */
2019-07-17 20:16:19 +00:00
.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; }