1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/linux/global/tabbox.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,91 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +/* ===== tabbox.css ================================================= 1.9 + == Styles used by XUL tab-related elements. 1.10 + ======================================================================= */ 1.11 + 1.12 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.13 + 1.14 + 1.15 +/* ::::: tabs ::::: */ 1.16 + 1.17 +tabs { 1.18 + position: relative; 1.19 + z-index: 0; 1.20 +} 1.21 + 1.22 +/* ::::: tabpanels ::::: */ 1.23 + 1.24 +tabpanels { 1.25 + -moz-appearance: tabpanels; 1.26 + border: 2px solid; 1.27 + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; 1.28 + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; 1.29 + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; 1.30 + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; 1.31 + padding: 8px; 1.32 + background-color: -moz-Dialog; 1.33 + color: -moz-DialogText; 1.34 +} 1.35 + 1.36 +/* ::::: tab ::::: */ 1.37 + 1.38 +tab { 1.39 + position: relative; 1.40 + -moz-appearance: tab; 1.41 + margin-top: 2px; 1.42 + border: 2px solid; 1.43 + border-bottom: none; 1.44 + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; 1.45 + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; 1.46 + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; 1.47 + border-top-left-radius: 2px; 1.48 + border-top-right-radius: 2px; 1.49 + padding: 3px 4px; 1.50 + background-color: -moz-Dialog; 1.51 + color: -moz-DialogText; 1.52 +} 1.53 + 1.54 +tab[selected="true"] { 1.55 + z-index: 1; 1.56 + margin-top: 0; 1.57 + margin-bottom: -2px; 1.58 + border-bottom-left-radius: 3px; 1.59 + border-bottom-right-radius: 3px; 1.60 + padding-top: 4px; 1.61 + padding-bottom: 6px; 1.62 +} 1.63 + 1.64 +tab + tab { 1.65 + -moz-margin-start: -2px; 1.66 +} 1.67 + 1.68 +.tab-text { 1.69 + margin: 0 !important; 1.70 +} 1.71 + 1.72 +/* ::::: tab-bottom :::::::::: 1.73 + :: Tabs that are attached to the bottom of a panel, but not necessarily 1.74 + :: a tabpanels. 1.75 + ::::: */ 1.76 + 1.77 +.tab-bottom { 1.78 + margin-top: 0; 1.79 + margin-bottom: 2px; 1.80 + border-top: none; 1.81 + border-bottom: 2px solid; 1.82 + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; 1.83 + border-top-left-radius: 0; 1.84 + border-top-right-radius: 0; 1.85 + border-bottom-right-radius: 2px; 1.86 + border-bottom-left-radius: 2px; 1.87 +} 1.88 + 1.89 +.tab-bottom[selected="true"] { 1.90 + margin-bottom: 0; 1.91 + margin-top: -2px; 1.92 + padding-top: 6px; 1.93 + padding-bottom: 4px; 1.94 +}