tt-rss/lib/dijit/themes/soria/layout/TabContainer.css

492 lines
12 KiB
CSS
Raw Normal View History

2011-11-08 17:40:44 +01:00
/**
* dijit.layout.TabContainer
*
* To style TabContainer with rounded corners
* you can use these classes: .dijitTab (left), .dijitTabContent (center), dijitTabInnerDiv (right)
* For tabs aligned to top you can style a stripe div right underneath the tabs using .dijitTabStripe
*/
/* Classes for all types of tabs (top/bottom/left/right) */
.soria .dijitTabContainer .tabStripRBtn {
margin-right: 21px;
}
.soria .dijitTabContainer .tabStripLBtn {
margin-left: 21px;
}
2011-11-08 17:40:44 +01:00
.soria .nowrapTabStrip .dijitTab {
top: 2px;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom-tabs .dijitTab {
top: -1px;
bottom: 2px;
}
2011-11-08 17:40:44 +01:00
/* Tabs, shared classes */
.soria .dijitTabPaneWrapper {
background:#fff;
border:1px solid #B1BADF;
margin: 0;
2011-11-08 17:40:44 +01:00
padding-left: 0;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabInnerDiv {
2011-11-08 17:40:44 +01:00
padding:0 3px 0 0;
margin: 0 0 0 4px;
background: url("../images/tabContainerSprite.gif") no-repeat;
background-position: right -400px;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTab {
line-height:normal;
2011-11-08 17:40:44 +01:00
margin:0 2px 0 0; /* space between one tab and the next in top/bottom mode */
padding:0;
background: url("../images/tabContainerSprite.gif") no-repeat 0 -300px;
color: #243C5F;
border-bottom: 1px #B1BADF solid;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabInnerDiv .dijitTabContent {
padding:4px 3px 2px 4px;
background: url("../images/tabContainerSprite.gif") repeat-x 0 -350px;
position: relative;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabListWrapper {
z-index: 10;
}
2011-11-08 17:40:44 +01:00
/* hovered tab */
.soria .dijitTabHover {
color: #243C5F;
2011-11-08 17:40:44 +01:00
background: url("../images/tabContainerSprite.gif") no-repeat 0 -150px;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabHover .dijitTabInnerDiv {
background: url("../images/tabContainerSprite.gif") no-repeat right -250px;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabHover .dijitTabInnerDiv .dijitTabContent {
background: url("../images/tabContainerSprite.gif") repeat-x 0 -200px;
}
2011-11-08 17:40:44 +01:00
/* checked tab*/
.soria .dijitTabChecked
{
2011-11-08 17:40:44 +01:00
/* the selected tab (with or without hover) */
background: url("../images/tabContainerSprite.gif") no-repeat 0 -0;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabChecked .dijitTabInnerDiv {
background: url("../images/tabContainerSprite.gif") no-repeat right -100px;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabChecked .dijitTabInnerDiv .dijitTabContent {
background: url("../images/tabContainerSprite.gif") repeat-x 0 -50px;
color: #243C5F !important;
}
2011-11-08 17:40:44 +01:00
/* Nested Tabs */
.soria .dijitTabContainerTabListNested {
background: #F0F4FC;
background: #D9E9F9;
border: none;
}
.soria .dijitTabContainerTabListNested .dijitTab {
background: none;
border: none;
2011-11-08 17:40:44 +01:00
top: 0; /* override top:1px setting of top-level tabs */
}
.soria .dijitTabContainerTabListNested .dijitTab .dijitTabInnerDiv,
.soria .dijitTabContainerTabListNested .dijitTab .dijitTabContent {
background: none;
}
.soria .dijitTabContainerTabListNested .dijitTabHover .dijitTabContent .tabLabel {
text-decoration: underline;
}
.soria .dijitTabContainerTabListNested .dijitTabChecked .tabLabel {
text-decoration: underline;
font-weight: bold;
}
.soria .dijitTabContainerSpacerNested .dijitTabSpacer {
2011-11-08 17:40:44 +01:00
/* thinner line between tab (labels) and content */
height: 0;
}
.soria .dijitTabPaneWrapperNested {
2011-11-08 17:40:44 +01:00
border: none; /* prevent double border */
}
2011-11-08 17:40:44 +01:00
/* Close Button */
.soria .dijitTabCloseButton {
width: 15px;
height: 15px;
background: url("../images/spriteRoundedIconsSmall.png") no-repeat -60px top;
margin-top: -1px;
}
.dj_ie6 .soria .dijitTabCloseButton {
background: url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px top;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabCloseButtonHover {
background: url("../images/spriteRoundedIconsSmall.png") no-repeat -60px -15px;
}
.dj_ie6 .soria .dijitTabCloseButtonHover {
background: url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px -15px;
}
2011-11-08 17:40:44 +01:00
/* ================================ */
/* top tabs */
.soria .dijitTabContainerTop-tabs {
border-color: #B1BADF;
padding-left: 3px;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerTopNoStrip {
padding-top: 3px;
}
2011-11-08 17:40:44 +01:00
/* top container */
.soria .dijitTabContainerTop-container {
border-top: none;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerTop .dijitTabListWrapper {
border-bottom: none;
}
2011-11-08 17:40:44 +01:00
/*non-checked tabs */
.soria .dijitTabContainerTop-tabs .dijitTab {
top: 1px;
}
2011-11-08 17:40:44 +01:00
/* checked tabs */
.soria .dijitTabContainerTop-tabs .dijitTabChecked {
border-bottom-color: #94b4e6;
}
2011-11-08 17:40:44 +01:00
/* strip */
.soria .dijitTabContainerTopStrip {
border: 1px solid #B1BADF;
margin-top: 1px;
padding-top: 1px;
background: #F0F4FC;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerTopStrip .dijitTabContainerTop-tabs {
padding-left: 3px;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerNested .dijitTabListWrapper {
height: auto;
}
2011-11-08 17:40:44 +01:00
/* ================================ */
/* bottom tabs */
.soria .dijitTabContainerBottom-tabs {
margin-top: -1px;
padding-left: 3px;
border-top: 1px solid #B1BADF;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom .dijitTabListWrapper {
border-top: none;
padding-top: 1px;
padding-bottom: 1px;
float: left;
}
2011-11-08 17:40:44 +01:00
/* bottom container */
.soria .dijitTabContainerBottom-container {
border-bottom: none;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom-tabs .dijitTab {
border-bottom: none;
border-top: 1px solid #B1BADF;
background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom left;
}
2011-11-08 17:40:44 +01:00
/* checked tabs */
.soria .dijitTabContainerBottom-tabs .dijitTabChecked {
border-top-color:#94b4e6;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom-tabs .dijitTabInnerDiv .dijitTabContent {
padding-top: 3px;
padding-bottom: 3px;
background: url("../images/tabBottomEnabledC.gif") repeat-x bottom left;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom-tabs .dijitTabInnerDiv {
background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom right;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom-tabs .dijitTabHover {
color: #243C5F;
background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom left;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom-tabs .dijitTabHover .dijitTabInnerDiv {
background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom right;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom-tabs .dijitTabHover .dijitTabInnerDiv .dijitTabContent {
background: url("../images/tabBottomHoverC.gif") repeat-x bottom left;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom-tabs .dijitTabChecked {
2011-11-08 17:40:44 +01:00
/* the selected tab (with or without hover) */
background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom left;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom-tabs .dijitTabChecked .dijitTabInnerDiv {
background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom right;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom-tabs .dijitTabChecked .dijitTabInnerDiv .dijitTabContent {
background: url("../images/tabBottomActiveC.gif") repeat-x bottom left;
}
2011-11-08 17:40:44 +01:00
/* strip */
.soria .dijitTabContainerBottomStrip {
padding-bottom: 2px;
border: 1px solid #B1BADF;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottomStrip {
background: #F0F4FC;
}
2011-11-08 17:40:44 +01:00
/* top/bottom strip */
.soria .dijitTabContainerBottom-spacer,
.soria .dijitTabContainerTop-spacer {
height: 2px;
border: 1px solid #8ba0bd;
background: #94b4e6;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerTop-spacer {
border-top: none;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerBottom-spacer {
border-bottom: none;
}
2011-11-08 17:40:44 +01:00
/* ================================ */
/* right tabs */
.soria .dijitTabContainerRight-tabs {
height: 100%;
border-color: #ccc;
padding-top: 3px;
}
2011-11-08 17:40:44 +01:00
/* right container */
.soria .dijitTabContainerRight-container {
border-right: none;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerRight-tabs .dijitTab {
border-bottom: none;
border-left: 1px solid #B1BADF;
border-bottom: 1px solid #B1BADF !important;
}
2011-11-08 17:40:44 +01:00
/* some odd ie bug when borders dissapear when setting a bottom margin, this sortof helps */
.dj_ie6 .soria .dijitTabContainerRight-tabs .dijitTabInnerDiv,
.dj_ie7 .soria .dijitTabContainerRight-tabs .dijitTabInnerDiv {
border-bottom: solid #B1BADF 1px;
margin-bottom: -1px;
}
2011-11-08 17:40:44 +01:00
/* checked tabs */
.soria .dijitTabContainerRight-tabs .dijitTabChecked {
border-left-color: #94b4e6;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerRight-tabs .dijitTabChecked {
background: url("../images/tabRightChecked.gif") no-repeat left top !important;
}
2011-11-08 17:40:44 +01:00
/* some odd ie bug when borders dissapear when setting a bottom margin, this sortof helps */
.dj_ie6 .soria .dijitTabContainerRight-tabs .dijitTabChecked .dijitTabInnerDiv,
.dj_ie7 .soria .dijitTabContainerRight-tabs .dijitTabChecked .dijitTabInnerDiv,
.dj_ie6 .soria .dijitTabContainerRight-tabs .dijitTabCheckedHover .dijitTabInnerDiv,
.dj_ie7 .soria .dijitTabContainerRight-tabs .dijitTabCheckedHover .dijitTabInnerDiv {
border-bottom: solid #94b4e6 1px;
margin-bottom: -1px;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerRight-tabs .dijitTab {
background: url("../images/tabContainerSprite.gif") no-repeat left -350px;
}
.soria .dijitTabContainerRight-tabs .dijitTabHover .dijitTab {
background: url("../images/tabContainerSprite.gif") no-repeat left -200px;
}
2011-11-08 17:40:44 +01:00
/* strip */
.soria .dijitTabContainerRightStrip {
padding-right: 2px;
border: 1px solid #B1BADF;
background: #F0F4FC;
border-left: none;
}
2011-11-08 17:40:44 +01:00
/* ================================ */
/* left tabs */
.soria .dijitTabContainerLeft-tabs {
border-color: #ccc;
padding-top: 3px;
height: 100%;
}
2011-11-08 17:40:44 +01:00
/* left conatiner */
.soria .dijitTabContainerLeft-container {
border-left: none;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerLeft-tabs .dijitTab {
border-right: 1px solid #B1BADF;
border-bottom: 1px solid #B1BADF;
}
2011-11-08 17:40:44 +01:00
/* checked tabs */
.soria .dijitTabContainerLeft-tabs .dijitTabChecked {
border-right: 1px solid #94b4e6;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerLeft-tabs .dijitTabInnerDiv {
background: url("../images/tabContainerSprite.gif") no-repeat right -350px;
}
.soria .dijitTabContainerLeft-tabs .dijitTabHover .dijitTabInnerDiv {
background: url("../images/tabContainerSprite.gif") no-repeat right -200px;
}
.soria .dijitTabContainerLeft-tabs .dijitTabChecked .dijitTabInnerDiv,
.soria .dijitTabContainerLeft-tabs .dijitTabCheckedHover .dijitTabInnerDiv {
background: url("../images/tabLeftChecked.gif") no-repeat right top;
}
2011-11-08 17:40:44 +01:00
.dj_ie6 .soria .dijitTabContainerLeft-tabs .dijitTabInnerDiv,
.dj_ie7 .soria .dijitTabContainerLeft-tabs .dijitTabInnerDiv {
border-bottom: solid #B1BADF 1px;
margin-bottom: -1px;
}
2011-11-08 17:40:44 +01:00
.dj_ie6 .soria .dijitTabContainerLeft-tabs .dijitTabChecked .dijitTabInnerDiv,
.dj_ie7 .soria .dijitTabContainerLeft-tabs .dijitTabChecked .dijitTabInnerDiv,
.dj_ie6 .soria .dijitTabContainerLeft-tabs .dijitTabCheckedHover .dijitTabInnerDiv,
.dj_ie7 .soria .dijitTabContainerLeft-tabs .dijitTabCheckedHover .dijitTabInnerDiv {
border-bottom: solid #94b4e6 1px;
margin-bottom: -1px;
}
2011-11-08 17:40:44 +01:00
/* strip */
.soria .dijitTabContainerLeftStrip {
padding-left: 2px;
border: 1px solid #B1BADF;
background: #F0F4FC;
border-right: none;
}
2011-11-08 17:40:44 +01:00
/* ================================ */
/* left/right tabs */
.soria .dijitTabContainerLeft-tabs .dijitTab,
.soria .dijitTabContainerRight-tabs .dijitTab {
margin-right:auto;
2011-11-08 17:40:44 +01:00
margin-bottom:2px; /* space between one tab and the next in left/right mode */
}
2011-11-08 17:40:44 +01:00
/* left/right tabstrip */
.soria .dijitTabContainerLeft-spacer,
.soria .dijitTabContainerRight-spacer {
width: 2px;
border: 1px solid #8ba0bd;
background: #94b4e6;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerLeft-spacer {
border-left: none;
}
.soria .dijitTabContainerRight-spacer {
border-right: none;
}
2011-11-08 17:40:44 +01:00
/* ================================ */
/* this resets the tabcontainer stripe when within a contentpane */
.soria .dijitTabContainerTop-dijitContentPane .dijitTabContainerTop-tabs {
2011-11-08 17:40:44 +01:00
border-left: 0 solid #ccc;
border-top: 0 solid #ccc;
border-right: 0 solid #ccc;
padding-top: 0;
padding-left: 0;
}
2011-11-08 17:40:44 +01:00
/* ================================ */
/* Menu and slider control styles */
.soria .dijitTabContainer .tabStripButton {
margin-right: 0;
}
.soria .dijitTabContainer .tabStripButton-top {
margin-top: 1px;
}
2011-11-08 17:40:44 +01:00
.soria .tabStripButton .dijitTabContent{
padding: 6px 0 5px 0;
}
2011-11-08 17:40:44 +01:00
.dj_ie6 .soria .tabStripButton .dijitTabContent,
.dj_ie7 .soria .tabStripButton .dijitTabContent {
padding-top: 7px;
}
2011-11-08 17:40:44 +01:00
.soria .tabStrip-disabled .tabStripButton .dijitTabContent {
padding: 5px 0 3px 0;
}
2011-11-08 17:40:44 +01:00
.dj_ie6 .soria .tabStrip-disabled .tabStripButton .dijitTabContent,
.dj_ie7 .soria .tabStrip-disabled .tabStripButton .dijitTabContent {
padding-top: 6px;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainer .tabStripButton-bottom {
background: transparent url(../images/tabBottomEnabledSpriteLR.gif) no-repeat scroll left bottom;
border-bottom: medium none;
border-top: 1px solid #B1BADF;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainer .tabStripButton-bottom .dijitTabInnerDiv {
background: transparent url(../images/tabBottomEnabledSpriteLR.gif) no-repeat scroll right bottom;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainer .tabStripButton-bottom .dijitTabContent {
background: transparent;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabStripIcon {
height: 14px;
width: 14px;
background: url(../images/spriteRoundedIconsSmall.png) no-repeat left top ;
}
2011-11-08 17:40:44 +01:00
.dj_ie6 .soria .dijitTabStripIcon {
background-image: url(../images/spriteRoundedIconsSmall.gif);
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabStripSlideRightIcon {
background-position: -30px top;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabStripMenuIcon {
background-position: -15px top;
2011-11-08 17:40:44 +01:00
}