1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/faststripe/global/tabbox.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,122 @@ 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 +/* ::::: tabs ::::: */ 1.15 + 1.16 +.tabs-left, 1.17 +.tabs-right { 1.18 + border-bottom: 1px solid #555555; 1.19 +} 1.20 + 1.21 +/* ::::: tabpanels ::::: */ 1.22 + 1.23 +tabpanels { 1.24 + border-right: 1px solid #555555; 1.25 + border-bottom: 1px solid #555555; 1.26 + border-left: 1px solid #555555; 1.27 + padding: 8px; 1.28 + background-color: -moz-Dialog; 1.29 + color: -moz-DialogText; 1.30 +} 1.31 + 1.32 +/* ::::: tab ::::: */ 1.33 + 1.34 +tab 1.35 +{ 1.36 + margin-top: 2px; 1.37 + border-top: 1px solid #555555; 1.38 + border-right: 1px solid #555555; 1.39 + border-left: 1px solid #555555; 1.40 + border-bottom: 1px solid #555555; 1.41 + border-top-left-radius: 2px; 1.42 + border-top-right-radius: 2px; 1.43 + padding: 1px 4px 2px 4px; 1.44 + background-color: -moz-Dialog; 1.45 + color: -moz-DialogText; 1.46 +} 1.47 + 1.48 +tab:-moz-locale-dir(rtl) { 1.49 + border-bottom-left-radius: 1px; 1.50 + border-bottom-right-radius: 0px; 1.51 +} 1.52 + 1.53 +.tab-text { 1.54 + margin: 0 !important; 1.55 +} 1.56 + 1.57 +tab[selected="true"] { 1.58 + margin-top: 0; 1.59 + border-bottom-color: transparent; 1.60 + padding: 1px 6px 4px 6px; 1.61 +} 1.62 + 1.63 +tab:focus > .tab-middle { 1.64 + /* Don't specify the outline-color, we should always use initial value. */ 1.65 + outline: 1px dotted; 1.66 +} 1.67 + 1.68 +tab[beforeselected="true"]:not(:-moz-locale-dir(rtl)), 1.69 +tab[selected="true"]:-moz-locale-dir(rtl) + tab { 1.70 + border-right: none; 1.71 + border-top-right-radius: 0; 1.72 +} 1.73 + 1.74 +tab[selected="true"]:not(:-moz-locale-dir(rtl)) + tab, 1.75 +tab[beforeselected="true"]:-moz-locale-dir(rtl) { 1.76 + border-left: none; 1.77 + border-top-left-radius: 0; 1.78 +} 1.79 + 1.80 +tab:first-of-type[selected="true"] { 1.81 + padding-right: 5px; 1.82 + padding-left: 5px; 1.83 +} 1.84 + 1.85 +/* ::::: tab-bottom :::::::::: 1.86 + :: Tabs that are attached to the bottom of a panel, but not necessarily 1.87 + :: a tabpanels. 1.88 + ::::: */ 1.89 + 1.90 +.tab-bottom { 1.91 + margin-top: 0; 1.92 + margin-bottom: 2px; 1.93 + border-top: 1px solid; 1.94 + border-bottom: 1px solid #555555; 1.95 + border-top-left-radius: 0; 1.96 + border-top-right-radius: 0; 1.97 + border-bottom-right-radius: 2px; 1.98 + border-bottom-left-radius: 2px; 1.99 + padding: 2px 4px 1px 4px; 1.100 +} 1.101 + 1.102 +.tab-bottom[selected="true"] { 1.103 + margin-bottom: 0; 1.104 + -moz-border-top-colors: -moz-Dialog; 1.105 + padding: 4px 6px 1px 6px; 1.106 +} 1.107 + 1.108 +.tab-bottom[beforeselected="true"]:not(:-moz-locale-dir(rtl)), 1.109 +.tab-bottom[selected="true"]:-moz-locale-dir(rtl) + .tab-bottom { 1.110 + border-bottom-right-radius: 0; 1.111 +} 1.112 + 1.113 +.tab-bottom[selected="true"]:not(:-moz-locale-dir(rtl)) + .tab-bottom, 1.114 +.tab-bottom[beforeselected="true"]:-moz-locale-dir(rtl) { 1.115 + border-bottom-left-radius: 0; 1.116 +} 1.117 + 1.118 +/* ::::: tabs-bottom ::::: */ 1.119 + 1.120 +.tabs-bottom > .tabs-left, 1.121 +.tabs-bottom > .tabs-right { 1.122 + border-top: 1px solid ThreeDShadow; 1.123 + border-bottom: none; 1.124 +} 1.125 +