X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Ftabbox.css;h=99ed145615ca65e082e572904e78590b7b5597bb;hp=50134932e2bfc31eb15cc58aaa764905d16c7ae3;hb=31e46317376d8a241d13edee5fe9fdf5815be034;hpb=351107c90e7ee7a17d9bf63798f2861307118309 diff --git a/LCARStrek/global/tabbox.css b/LCARStrek/global/tabbox.css index 50134932..99ed1456 100644 --- a/LCARStrek/global/tabbox.css +++ b/LCARStrek/global/tabbox.css @@ -35,173 +35,96 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -/*============ tabpanels widget =============*/ +/* ===== tabbox.css ================================================= + == Styles used by XUL tab-related elements. + ======================================================================= */ -tabpanels { - padding: 5px; -} +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* we give all tabpanel types a full border - tabpanel is the box in which contents show up */ +/* ::::: tabs ::::: */ -/* top tabs */ -tabs + tabpanels { - -moz-border-radius: 5px; - border: 1px solid #9C9CFF; - padding: 5px; +.tabs-left, +.tabs-right { +/* + border-bottom: 2px solid; + -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow; +*/ } -/* bottom tabs */ -tabbox > tabpanels { - -moz-border-radius: 5px; - border: 1px solid #9C9CFF; - padding: 5px; -} +/* ::::: tabpanels ::::: */ -/* left tabs */ -tabbox[orient="horizontal"] > tabs + tabpanels { - -moz-border-radius: 5px; - border: 1px solid #9C9CFF; - padding: 5px; -} +/* tabpanel is the box in which contents show up */ -/* right tabs */ -tabbox[orient="horizontal"] > tabpanels { +tabpanels { -moz-border-radius: 5px; border: 1px solid #9C9CFF; padding: 5px; + background-color: #000000; + color: #FF9F00; } -/* border on bottom only, no padding (used in search) */ -tabpanels.light { - border: none; - border-bottom: 1px solid #9C9CFF; - padding: 0px; -} - -.tabpanels-inner-box { -} - -/* tabs-spacer ========================== */ - -/* top tabs */ -tabbox > tabs > .tabs-spacer { -} - -/* bottom tabs */ -tabbox > tabpanels + tabs > .tabs-spacer { -} - -/* left tabs */ -tabbox[orient="horizontal"] > tabs > .tabs-spacer { -} - -/* right tabs */ -tabbox[orient="horizontal"] > tabpanels + tabs > .tabs-spacer { -} +/* ::::: tab ::::: */ -/*============ tab widget ============*/ -/* NOTE: there should be code in here for indenting the first tab - by two pixels, however, this needs to be done with a spacer to - fill in the border, but current attempts to use said spacer - result in said spacer not rendering. Will revisit. - JRH */ - -/* tabs is the strip showing the tabs, while tab is the tab (switcher) itself */ - tab { - -moz-border-radius: 3px 3px 0px 0px; - border: 1px solid #9C9CFF; - color: #FF9F00; -} - -tab > .tab-box > .tab-text { - border: 1px solid transparent; - padding: 0px 1px 0px 1px; -} - -tab:focus > .tab-box > .tab-text { - border: 1px dotted #008484; -} - -.tab-box { - margin: 0px; - padding: 1px 3px 1px 3px !important; -} - -/* top tabs */ -tabs tab[first-tab="true"] { - margin-left: 2px; -} - -tabs tab { + -moz-border-radius: 8px 8px 0px 0px; margin-top: 2px; + border: 1px solid #9C9CFF; border-bottom: none; - -moz-border-radius: 8px 8px 0px 0px; + padding: 1px 4px 2px 4px; + background-color: #000000; + color: #FF9F00; } -tabs tab > .tab-box { -/* -moz-border-radius: 4px 4px 0px 0px; */ +.tab-text { + margin: 0 !important; } -/* bottom tabs */ -tabpanels + tabs > tab { - margin-top: 0px; - margin-bottom: 2px; - border-top: none; - -moz-border-radius: 0px 0px 8px 8px; - padding: 1px 5px 3px 5px; -} - -tabpanels + tabs > tab > .tab-box { -/* -moz-border-radius: 0px 0px 4px 4px; */ -} - -/* left tabs */ -tabbox[orient="horizontal"] > tabs[orient="vertical"] tab[first-tab="true"] { - margin-top: 2px; +tab[selected="true"] { + -moz-user-focus: normal; + font-weight: bold; + background-color: #008484; } -tabbox[orient="horizontal"] > tabs[orient="vertical"] tab { - margin-left: 2px; - border-right: none; - -moz-border-radius: 8px 0px 0px 8px; +tab:hover { + background-color: #FFCF00; + color: #000000; } -tabbox[orient="horizontal"] > tabs[orient="vertical"] tab > .tab-box { -/* -moz-border-radius: 4px 0px 0px 4px; */ +tab:hover:active { + background-color: #FF9F00; + color: #000000; } -/* right tabs */ -tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab { - margin-right: 2px; - margin-left: 0px; - border-left: none; - -moz-border-radius: 0px 8px 8px 0px !important; +tab:focus > .tab-middle { + /* Don't specify the outline-color, we should always use initial value. */ + outline: 1px dotted; } -tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab > .tab-box { -/* -moz-border-radius: 0px 4px 4px 0px !important; */ +/* +tab[first-tab="true"][selected="true"] { + padding-right: 5px; + padding-left: 5px; } +*/ -/* selected tabs ============================= */ +/* ::::: tab-bottom :::::::::: + :: Tabs that are attached to the bottom of a panel, but not necessarily + :: a tabpanels. + ::::: */ -tab[selected="true"] { - font-weight: bold; -} - -tab[selected="true"] { - font-weight: bold; - background-color: #008484; +.tab-bottom { + -moz-border-radius: 0px 0px 8px 8px; + margin-top: 0; + margin-bottom: 2px; + border: 1px solid #9C9CFF; + border-top: none; + padding: 2px 4px 1px 4px; } -tab:hover { - background-color: #FFCF00; - color: #000000; - text-decoration: underline; -} +/* ::::: tabs-bottom ::::: */ -tab:hover:active { - text-decoration: none; -} +.tabs-bottom > .tabs-left, +.tabs-bottom > .tabs-right { + border-top: 1px solid #9C9CFF; + border-bottom: none; +} \ No newline at end of file