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

54 lines
1.6 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
*/
2019-07-17 20:16:19 +00:00
.yui-navset .yui-nav li a, .yui-navset .yui-content {
2019-07-17 20:08:50 +00:00
border:1px solid #000; /* label and content borders */
}
2019-07-17 20:16:19 +00:00
.yui-navset .yui-nav .selected a, .yui-navset .yui-nav a:hover, .yui-navset .yui-content {
2019-07-17 20:08:50 +00:00
background-color:#f6f7ee; /* active tab, tab hover, and content bgcolor */
}
.yui-navset .yui-nav li em { padding:.5em; } /* tab padding */
/* defaults to orientation "top" */
2019-07-17 20:16:19 +00:00
.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 */
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
.yui-navset .yui-content {
margin-top:-1px; /* for active tab overlap */
2019-07-17 20:08:50 +00:00
}
/* overrides for other orientations */
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
.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 */
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
.yui-navset-bottom .yui-content {
margin:0 0 -1px; /* for active tab overlap */
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
.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 */
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
.yui-navset-left .yui-content {
margin:0 0 0 -1px; /* for active tab overlap */
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
.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 */
}
.yui-navset-right .yui-content {
margin:0 -1px 0 0; /* for active tab overlap */
2019-07-17 20:16:19 +00:00
}