1/* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5/* ===== tabbox.css ================================================= 6 == Styles used by XUL tab-related elements. 7 ======================================================================= */ 8 9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 10 11 12/* ::::: tabs ::::: */ 13 14tabs { 15 position: relative; 16 z-index: 0; 17} 18 19/* ::::: tabpanels ::::: */ 20 21tabpanels { 22 appearance: auto; 23 -moz-default-appearance: tabpanels; 24 padding: 8px; 25 color: -moz-DialogText; 26} 27 28/* ::::: tab ::::: */ 29 30tab { 31 position: relative; 32 appearance: auto; 33 -moz-default-appearance: tab; 34 margin-top: 2px; 35 padding: 3px 4px; 36 color: -moz-DialogText; 37} 38 39tab[visuallyselected="true"] { 40 z-index: 1; 41 margin-top: 0; 42 margin-bottom: -2px; 43 padding-top: 4px; 44 padding-bottom: 6px; 45} 46 47tab + tab { 48 margin-inline-start: -2px; 49} 50 51.tab-text { 52 margin: 0 !important; 53} 54