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

403 lines
9.4 KiB
CSS
Raw Normal View History

2011-11-08 17:40:44 +01:00
/**
* dijit.layout.TabContainer
*/
/* 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 .dijitTab {
2013-03-18 07:26:24 +01:00
padding:4px 6px 2px 4px;
background: url("../images/tabContainerSprite.gif") repeat-x 0 -351px;
position: relative;
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 */
color: #243C5F;
2013-03-18 07:26:24 +01:00
border: 1px #8BA0BD solid;
border-bottom: 1px #B1BADF solid;
}
2011-11-08 17:40:44 +01:00
/* hovered tab */
.soria .dijitTabHover {
color: #243C5F;
2013-03-18 07:26:24 +01:00
background: url("../images/tabContainerSprite.gif") repeat-x 0 -201px;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
/* selected tab*/
.soria .dijitTabChecked
{
2013-03-18 07:26:24 +01:00
background: url("../images/tabContainerSprite.gif") repeat-x 0 -51px;
color: #243C5F !important;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
.soria .dijitTabListWrapper {
z-index: 10;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
2011-11-08 17:40:44 +01:00
/* Nested Tabs */
.soria .dijitTabContainerTabListNested {
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 */
}
2013-03-18 07:26:24 +01:00
.soria .dijitTabContainerTabListNested .dijitTabHover .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;
}
2013-03-18 07:26:24 +01:00
.soria .dijitTabContainerTop-tabs .dijitTab {
border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
}
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
2013-03-18 07:26:24 +01:00
/*unselected tabs */
.soria .dijitTabContainerTop-tabs .dijitTab {
top: 1px;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
/* selected 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
.soria .dijitTabContainerBottom-tabs .dijitTab {
2013-03-18 07:26:24 +01:00
border-bottom: none;
border-top: 1px solid #B1BADF;
border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
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 .dijitTabHover {
background: url("../images/tabBottomHoverC.gif") repeat-x bottom left;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
.soria .dijitTabContainerBottom-tabs .dijitTabChecked {
border-top-color:#94b4e6;
background: url("../images/tabBottomActiveC.gif") repeat-x bottom left;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
/* bottom container */
.soria .dijitTabContainerBottom-container {
border-bottom: none;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
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;
}
2013-03-18 07:26:24 +01:00
.soria .dijitTabContainerRight-tabs .dijitTab {
border-radius: 0 4px 4px 0;
-moz-border-radius: 0 4px 4px 0;
border-bottom: none;
border-left: 1px solid #B1BADF;
border-bottom: 1px solid #B1BADF !important;
padding: 4px 6px 2px 8px;
}
.soria .dijitTabContainerRight-tabs .dijitTabChecked {
border-left-color: #94b4e6;
background: url("../images/tabRightChecked.gif") no-repeat left top !important;
}
2011-11-08 17:40:44 +01:00
/* right container */
.soria .dijitTabContainerRight-container {
border-right: none;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
/* some odd ie bug when borders disappear when setting a bottom margin, this sort of helps */
.dj_ie6 .soria .dijitTabContainerRight-tabs .dijitTab,
.dj_ie7 .soria .dijitTabContainerRight-tabs .dijitTab {
border-bottom: solid #B1BADF 1px;
margin-bottom: -1px;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
/* some odd ie bug when borders disappear when setting a bottom margin, this sort of helps */
.dj_ie6 .soria .dijitTabContainerRight-tabs .dijitTabChecked,
.dj_ie7 .soria .dijitTabContainerRight-tabs .dijitTabChecked,
.dj_ie6 .soria .dijitTabContainerRight-tabs .dijitTabCheckedHover,
.dj_ie7 .soria .dijitTabContainerRight-tabs .dijitTabCheckedHover {
border-bottom: solid #94b4e6 1px;
margin-bottom: -1px;
}
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%;
}
.soria .dijitTabContainerLeft-tabs .dijitTab {
2013-03-18 07:26:24 +01:00
border-radius: 4px 0 0 4px;
-moz-border-radius: 4px 0 0 4px;
border-right: 1px solid #B1BADF;
border-bottom: 1px solid #B1BADF;
}
2011-11-08 17:40:44 +01:00
.soria .dijitTabContainerLeft-tabs .dijitTabChecked {
border-right: 1px solid #94b4e6;
2013-03-18 07:26:24 +01:00
background: url("../images/tabLeftChecked.gif") no-repeat right top;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
/* left container */
.soria .dijitTabContainerLeft-container {
border-left: none;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
.dj_ie6 .soria .dijitTabContainerLeft-tabs .dijitTab,
.dj_ie7 .soria .dijitTabContainerLeft-tabs .dijitTab {
border-bottom: solid #B1BADF 1px;
margin-bottom: -1px;
}
2011-11-08 17:40:44 +01:00
2013-03-18 07:26:24 +01:00
.dj_ie6 .soria .dijitTabContainerLeft-tabs .dijitTabChecked .dijitTab,
.dj_ie7 .soria .dijitTabContainerLeft-tabs .dijitTabChecked .dijitTab,
.dj_ie6 .soria .dijitTabContainerLeft-tabs .dijitTabCheckedHover .dijitTab,
.dj_ie7 .soria .dijitTabContainerLeft-tabs .dijitTabCheckedHover .dijitTab {
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 {
2013-03-18 07:26:24 +01:00
margin: 1px 0; /* 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
/* ================================ */
2013-03-18 07:26:24 +01:00
/* this resets the tabcontainer strip 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
.dj_ie6 .soria .tabStripButton .dijitTabContent,
.dj_ie7 .soria .tabStripButton .dijitTabContent {
padding-top: 7px;
}
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
2013-03-18 07:26:24 +01:00
.soria .dijitTabContainer .tabStripButton-bottom .dijitTab {
background: transparent url(../images/tabBottomEnabledSpriteLR.gif) no-repeat scroll right bottom;
}
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
}