michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* Align the duration label with the warning box and item list */ michael@0: #sanitizeDurationLabel { michael@0: -moz-margin-start: 1px; michael@0: } michael@0: michael@0: michael@0: /* Hide the duration dropdown suffix label if it's empty. Otherwise it michael@0: takes up a little space, causing the end of the dropdown to not be aligned michael@0: with the warning box. */ michael@0: #sanitizeDurationSuffixLabel[value=""] { michael@0: display: none; michael@0: } michael@0: michael@0: michael@0: /* Places tree */ michael@0: #placesTreechildren::-moz-tree-row(selected), michael@0: #placesTreechildren::-moz-tree-row(grippyRow) { michael@0: background: #999; michael@0: } michael@0: michael@0: #placesTreechildren::-moz-tree-cell-text(selected) { michael@0: color: #111; michael@0: } michael@0: michael@0: michael@0: /* Sanitize everything warning box */ michael@0: #sanitizeEverythingWarningBox { michael@0: background-color: Window; michael@0: border: 1px solid ThreeDDarkShadow; michael@0: border-radius: 5px; michael@0: padding: 16px; michael@0: } michael@0: michael@0: #sanitizeEverythingWarningIcon { michael@0: list-style-image: url("chrome://global/skin/icons/warning-large.png"); michael@0: padding: 0; michael@0: margin: 0; michael@0: } michael@0: michael@0: #sanitizeEverythingWarningDescBox { michael@0: padding: 0 16px; michael@0: margin: 0; michael@0: } michael@0: michael@0: michael@0: /* Progressive disclosure button */ michael@0: #detailsExpanderWrapper { michael@0: padding: 0; michael@0: margin-top: 6px; michael@0: margin-bottom: 6px; michael@0: -moz-margin-start: -2px; michael@0: -moz-margin-end: 0; michael@0: } michael@0: michael@0: .expander-up, michael@0: .expander-down { michael@0: -moz-appearance: none; michael@0: min-width: 0; michael@0: padding: 0; michael@0: margin: 0; michael@0: } michael@0: michael@0: .expander-up { michael@0: list-style-image: url("chrome://browser/skin/places/expander-open.png"); michael@0: } michael@0: michael@0: .expander-up:hover:active { michael@0: list-style-image: url("chrome://browser/skin/places/expander-open-active.png"); michael@0: } michael@0: michael@0: .expander-down { michael@0: list-style-image: url("chrome://browser/skin/places/expander-closed.png"); michael@0: } michael@0: michael@0: .expander-down:hover:active { michael@0: list-style-image: url("chrome://browser/skin/places/expander-closed-active.png"); michael@0: } michael@0: michael@0: michael@0: /* Make the item list the same width as the warning box */ michael@0: #itemList { michael@0: -moz-margin-start: 0; michael@0: -moz-margin-end: 0; michael@0: } michael@0: michael@0: /* Without this a useless scrollbar appears in the listbox when its rows michael@0: attribute is set to the total number of listitems, as it is currently. See michael@0: bug 489958 comment 14 and bug 491788. */ michael@0: #itemList > listitem { michael@0: padding: 1px 0; michael@0: } michael@0: michael@0: michael@0: /* Align the last dialog button with the end of the warning box */ michael@0: .prefWindow-dlgbuttons { michael@0: -moz-margin-end: 0; michael@0: } michael@0: .dialog-button[dlgtype="accept"] { michael@0: -moz-margin-end: 0; michael@0: }