322 lines
7.6 KiB
CSS
322 lines
7.6 KiB
CSS
/**
|
|
* Sencha GXT 3.1.1 - Sencha for GWT
|
|
* Copyright(c) 2007-2014, Sencha, Inc.
|
|
* licensing@sencha.com
|
|
*
|
|
* http://www.sencha.com/products/gxt/license/
|
|
*/
|
|
@def borderColor value('theme.tabs.borderColor');
|
|
@def bodyBackgroundColor value('theme.tabs.bodyBackgroundColor');
|
|
/*@def cornerRadius value('theme.tabs.borderRadius', 'px');*/
|
|
|
|
@def cornerRadius 8px;
|
|
@def tabItemMarginTop 2px;
|
|
@def lastStopColor value('theme.tabs.lastStopColor');
|
|
@def headerGradient value('theme.tabs.gradient');
|
|
@def hoverGradient value('theme.tabs.hoverGradient');
|
|
@def inactiveHeaderGradient value('theme.tabs.inactiveGradient');
|
|
@def tabStripGradient value('theme.tabs.tabStripGradient');
|
|
|
|
@def headingTextColor value('theme.tabs.headingText.color');
|
|
@def headingTextSize value('theme.tabs.headingText.size');
|
|
@def headingTextWeight value('theme.tabs.headingText.weight');
|
|
@def headingTextFont value('theme.tabs.headingText.family');
|
|
|
|
@def hoverHeadingTextColor value('theme.tabs.hoverHeadingText.color');
|
|
@def hoverTextSize value('theme.tabs.hoverHeadingText.size');
|
|
@def hoverHeadingTextWeight value('theme.tabs.hoverHeadingText.weight');
|
|
@def hoverHeadingTextFont value('theme.tabs.hoverHeadingText.family');
|
|
|
|
@def activeHeadingTextColor value('theme.tabs.activeHeadingText.color');
|
|
@def activeHeadingTextSize value('theme.tabs.activeHeadingText.size');
|
|
@def activeHeadingTextWeight value('theme.tabs.activeHeadingText.weight');
|
|
@def activeHeadingTextFont value('theme.tabs.activeHeadingText.family');
|
|
|
|
@def tabLeftPadding value('theme.tabs.padding.left', 'px');
|
|
|
|
/*@def tabLeftPaddingIcon value('theme.tabs.paddingWithIcon.left', 'px');*//*extra space for icon, default to 16px for icon*/
|
|
|
|
|
|
@def tabLeftPaddingIcon 50px;
|
|
|
|
@def tabRightPadding value('theme.tabs.padding.right', 'px');
|
|
@def tabRightPaddingClosable value('theme.tabs.paddingWithClosable.right', 'px');/*extra space for close icon*/
|
|
|
|
@def tabIconLeftOffset value('theme.tabs.iconLeftOffset', 'px');
|
|
@def tabIconTopOffset value('theme.tabs.iconTopOffset', 'px');
|
|
|
|
@def scrollerBackgroundColor value('theme.tabs.scrollerBackgroundColor');
|
|
@def scrollerWidth value('theme.tabs.scrollerWidth', 'px');
|
|
|
|
/*
|
|
@def tabHeight value('theme.tabs.tabHeight', 'px');
|
|
*/
|
|
@def tabHeight 56px;
|
|
@def tabSpacing value('theme.tabs.tabSpacing', 'px');
|
|
|
|
@def tabItemBorderLeft value('theme.tabs.tabItemBorderLeft');
|
|
@def tabItemBorderTop value('theme.tabs.tabItemBorderTop');
|
|
@def tabItemBorderRight value('theme.tabs.tabItemBorderRight');
|
|
|
|
@def tabStripPaddingTop value('theme.tabs.tabStripPadding.top','px');
|
|
@def tabBarBorder value('theme.tabs.tabBarBorder');
|
|
@def tabBarBottomHeight value('theme.tabs.tabBarBottomHeight', 'px');
|
|
@def tabStripBottomBorder value('theme.tabs.tabStripBottomBorder');
|
|
@def tabBodyBorder value('theme.tabs.tabBodyBorder');
|
|
@def tabTextPadding value('theme.tabs.tabTextPadding.toString');
|
|
@def tabTexPaddingTop 16px;
|
|
|
|
.tab {
|
|
overflow: hidden;
|
|
outline: none;
|
|
}
|
|
|
|
.tabBar {
|
|
background-color: lastStopColor;
|
|
border: tabBarBorder;
|
|
overflow: hidden;
|
|
padding-bottom: tabBarBottomHeight;
|
|
}
|
|
|
|
.tabStripWrap {
|
|
background: -webkit-linear-gradient(top, tabStripGradient); /* Chrome10+,Safari5.1+ */
|
|
background: linear-gradient(to bottom, tabStripGradient); /* W3C */
|
|
width: 100%;
|
|
overflow: hidden;
|
|
position: relative;
|
|
padding-top: tabStripPaddingTop;
|
|
}
|
|
|
|
.tabStrip {
|
|
display: block;
|
|
/* widths great than this in ie8 causes north / south resize handles to have white background when tab panel put into window */
|
|
/* width: 65520px; */
|
|
whidth: auto;
|
|
float: left;
|
|
|
|
background: repeat-x bottom;
|
|
border-bottom: tabStripBottomBorder;
|
|
}
|
|
|
|
li.tabItem {
|
|
float: left;
|
|
position: relative;
|
|
margin-right: tabSpacing;
|
|
height: tabHeight;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tabStripActive.tabItem {
|
|
cursor: default;
|
|
}
|
|
|
|
.tabStrip li.tabEdge {
|
|
float: left;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: 0 none !important;
|
|
font-size: 1px !important;
|
|
line-height: 1px !important;
|
|
overflow: hidden;
|
|
background: transparent !important;
|
|
width: 1px;
|
|
}
|
|
|
|
.tabStrip a, .tabStrip span, .tabStrip em {
|
|
display: block;
|
|
}
|
|
|
|
.tabStrip a {
|
|
text-decoration: none !important;
|
|
cursor: pointer;
|
|
outline: none;
|
|
}
|
|
|
|
.tabStripInner {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.tabStripText {
|
|
font: normal headingTextWeight headingTextSize headingTextFont;
|
|
color: headingTextColor;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
padding: tabTextPadding;
|
|
padding-top: tabTexPaddingTop;
|
|
|
|
|
|
}
|
|
|
|
.tabWithIcon .tabStripText {
|
|
padding-left: tabLeftPaddingIcon;
|
|
background-position: 0 3px;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.tabStripActive, .tabStripActive a.tabRight {
|
|
cursor: default;
|
|
}
|
|
.tabStripOver .tabStripText {
|
|
font: normal hoverHeadingTextWeight hoverHeadingTextSize hoverHeadingTextFont;
|
|
color: hoverHeadingTextColor;
|
|
}
|
|
|
|
.tabStripActive .tabStripText {
|
|
cursor: default;
|
|
margin-bottom: -1px;
|
|
font: normal activeHeadingTextWeight activeHeadingTextSize activeHeadingTextFont;
|
|
color: activeHeadingTextColor;
|
|
}
|
|
|
|
@sprite .tabStrip .tabStripClosable a.tabStripClose {
|
|
gwt-image: "tabClose";
|
|
}
|
|
|
|
@sprite .tabStrip .tabStripClosable a.tabStripClose:hover {
|
|
gwt-image: "tabCloseOver";
|
|
}
|
|
|
|
.tabBody {
|
|
overflow: hidden;
|
|
background-color: bodyBackgroundColor;
|
|
}
|
|
|
|
.tabStripActive .tabRight {
|
|
margin-bottom: -1px;
|
|
}
|
|
|
|
.tabStripActive .tabStripText {
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.tabStrip .tabStripClose {
|
|
display: none;
|
|
}
|
|
|
|
.tabStripClosable .tabStripClose {
|
|
background-repeat: no-repeat;
|
|
display: block;
|
|
width: 11px;
|
|
height: 11px;
|
|
position: absolute;
|
|
top: 3px;
|
|
right: 3px;
|
|
cursor: pointer;
|
|
z-index: 2;
|
|
}
|
|
|
|
.tabStripClosable .tabStripClose {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.tabStripActive .tabStripClose {
|
|
opacity: .8;
|
|
}
|
|
|
|
.tabStripClosable .tabStripClose:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.tabBody {
|
|
border: tabBodyBorder;
|
|
border-top: 0 none;
|
|
}
|
|
|
|
.tabScrolling .tabStripWrap {
|
|
margin-left: scrollerWidth;
|
|
margin-right: scrollerWidth;
|
|
}
|
|
|
|
.tabScrolling {
|
|
position: relative;
|
|
}
|
|
|
|
.tabImage {
|
|
position: absolute;
|
|
|
|
top: tabIconTopOffset;
|
|
left: tabIconLeftOffset;
|
|
}
|
|
|
|
.tabStripOver.tabItem {
|
|
background: -webkit-linear-gradient(top, hoverGradient); /* Chrome10+,Safari5.1+ */
|
|
background: linear-gradient(to bottom, hoverGradient); /* W3C */
|
|
|
|
margin-bottom: -1px;
|
|
border-bottom: 1px solid lastStopColor;
|
|
}
|
|
|
|
.tabStripActive.tabItem {
|
|
background: -webkit-linear-gradient(top, headerGradient); /* Chrome10+,Safari5.1+ */
|
|
background: linear-gradient(to bottom, headerGradient); /* W3C */
|
|
|
|
margin-bottom: -1px;
|
|
border-bottom: 1px solid lastStopColor;
|
|
}
|
|
|
|
.tabItem {
|
|
border-top-left-radius: cornerRadius;
|
|
border-top-right-radius: cornerRadius;
|
|
border-top: tabItemBorderTop;
|
|
border-left: tabItemBorderLeft;
|
|
border-right: tabItemBorderRight;
|
|
|
|
margin-top: tabItemMarginTop;
|
|
|
|
padding-left: tabLeftPadding;
|
|
padding-right: tabRightPadding;
|
|
|
|
background: -webkit-linear-gradient(top, inactiveHeaderGradient); /* Chrome10+,Safari5.1+ */
|
|
background: linear-gradient(to bottom, inactiveHeaderGradient); /* W3C */
|
|
}
|
|
.tabItem.tabStripClosable {
|
|
padding-right: tabRightPaddingClosable;
|
|
}
|
|
|
|
@sprite .tabScrollerLeft {
|
|
gwt-image: "scrollerLeft";
|
|
width: scrollerWidth;
|
|
background-position: center;
|
|
background-color: scrollerBackgroundColor;
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 10;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tabScrollerLeftOver {
|
|
opacity: .7;
|
|
}
|
|
|
|
@sprite .tabScrollerRight {
|
|
gwt-image: "scrollerRight";
|
|
width: scrollerWidth;
|
|
|
|
background-position: center;
|
|
background-color: scrollerBackgroundColor;
|
|
|
|
border: none;
|
|
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
z-index: 10;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tabScrollerLeftDisabled, .tabScrollerRightDisabled {
|
|
cursor: default;
|
|
opacity: .7;
|
|
}
|
|
|
|
.tabScrollerRightOver {
|
|
opacity: .7;
|
|
}
|