X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;ds=sidebyside;f=EarlyBlue%2Fskin%2FEarlyBlue%2Fglobal%2Ftabbox.css;fp=EarlyBlue%2Fskin%2FEarlyBlue%2Fglobal%2Ftabbox.css;h=97009a691508233b2af7913bcfe704db797cfd3e;hb=f6e0a33f329fdf02e7c41c683152890a9c44ccd3;hp=0000000000000000000000000000000000000000;hpb=eded43de50f02946eb9ad3b89bbe2217f8cb742e;p=themes.git diff --git a/EarlyBlue/skin/EarlyBlue/global/tabbox.css b/EarlyBlue/skin/EarlyBlue/global/tabbox.css new file mode 100644 index 00000000..97009a69 --- /dev/null +++ b/EarlyBlue/skin/EarlyBlue/global/tabbox.css @@ -0,0 +1,147 @@ +@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); + +/*============ tabpanels widget =============*/ + +tabpanels { + padding: 5px; +} + +/* we give all tabpanel types a full border + tabpanel is the box in which contents show up */ + +/* top tabs */ +tabs + tabpanels { + border: 1px outset #CCD0DD; +} + +/* bottom tabs */ +tabbox[orient="vertical"] > tabpanels { + border: 1px outset #CCD0DD; +} + +/* left tabs */ +tabbox[orient="horizontal"] > tabs + tabpanels { + border: 1px outset #CCD0DD; +} + +/* right tabs */ +tabbox[orient="horizontal"] > tabpanels { + border: 1px outset #CCD0DD; +} + +/* border on bottom only, no padding (used in search) */ +tabpanels.light { + border: none; + border-bottom: 1px outset #CCD0DD; + padding: 0px; +} + +.tabpanels-inner-box { +} + +/* tabs-spacer ========================== */ + +/* top tabs */ +tabbox[orient="vertical"] > tabs > .tabs-spacer { +} + +/* bottom tabs */ +tabbox[orient="vertical"] > tabpanels + tabs > .tabs-spacer { +} + +/* left tabs */ +tabbox[orient="horizontal"] > tabs > .tabs-spacer { +} + +/* right tabs */ +tabbox[orient="horizontal"] > tabpanels + tabs > .tabs-spacer { +} + +/*============ 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 { + border: 1px outset #CCD0DD; + color: black; +} + +tab > .tab-box > .tab-text { + border: 1px solid transparent; + padding: 0px 1px 0px 1px; +} + +tab:focus > .tab-box > .tab-text { + border: 1px dotted #9999CC; +} + +.tab-box { + margin: 0px; + padding: 1px 3px 1px 3px !important; +} + +/* top tabs */ +tabs tab[first-tab="true"] { + margin-left: 2px; +} + +tabs tab { + margin-top: 2px; + border-bottom: none; +/* -moz-border-radius: 4px 4px 0px 0px; */ +} + +tabs tab > .tab-box { +/* -moz-border-radius: 4px 4px 0px 0px; */ +} + +/* bottom tabs */ +tabpanels + tabs > tab { + margin-top: 0px; + margin-bottom: 2px; + border-top: none; +/* -moz-border-radius: 0px 0px 4px 4px; */ + 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; +} + +tabbox[orient="horizontal"] > tabs[orient="vertical"] tab { + margin-left: 2px; + border-right: none; +/* -moz-border-radius: 4px 0px 0px 4px; */ +} + +tabbox[orient="horizontal"] > tabs[orient="vertical"] tab > .tab-box { +/* -moz-border-radius: 4px 0px 0px 4px; */ +} + +/* right tabs */ +tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab { + margin-right: 2px; + margin-left: 0px; + border-left: none; +/* -moz-border-radius: 0px 4px 4px 0px !important; */ +} + +tabbox[orient="horizontal"] > tabpanels + tabs[orient="vertical"] > tab > .tab-box { +/* -moz-border-radius: 0px 4px 4px 0px !important; */ +} + +/* selected tabs ============================= */ + +tab[selected="true"] { + font-weight: bold; +} +