1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/themes/osx/sanitizeDialog.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,104 @@ 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 +/* Align the duration label with the warning box and item list */ 1.9 +#sanitizeDurationLabel { 1.10 + -moz-margin-start: 1px; 1.11 +} 1.12 + 1.13 + 1.14 +/* Hide the duration dropdown suffix label if it's empty. Otherwise it 1.15 + takes up a little space, causing the end of the dropdown to not be aligned 1.16 + with the warning box. */ 1.17 +#sanitizeDurationSuffixLabel[value=""] { 1.18 + display: none; 1.19 +} 1.20 + 1.21 + 1.22 +/* Places tree */ 1.23 +#placesTreechildren::-moz-tree-row(selected), 1.24 +#placesTreechildren::-moz-tree-row(grippyRow) { 1.25 + background: #999; 1.26 +} 1.27 + 1.28 +#placesTreechildren::-moz-tree-cell-text(selected) { 1.29 + color: #111; 1.30 +} 1.31 + 1.32 + 1.33 +/* Sanitize everything warning box */ 1.34 +#sanitizeEverythingWarningBox { 1.35 + background-color: Window; 1.36 + border: 1px solid ThreeDDarkShadow; 1.37 + border-radius: 5px; 1.38 + padding: 16px; 1.39 +} 1.40 + 1.41 +#sanitizeEverythingWarningIcon { 1.42 + list-style-image: url("chrome://global/skin/icons/warning-large.png"); 1.43 + padding: 0; 1.44 + margin: 0; 1.45 +} 1.46 + 1.47 +#sanitizeEverythingWarningDescBox { 1.48 + padding: 0 16px; 1.49 + margin: 0; 1.50 +} 1.51 + 1.52 + 1.53 +/* Progressive disclosure button */ 1.54 +#detailsExpanderWrapper { 1.55 + padding: 0; 1.56 + margin-top: 6px; 1.57 + margin-bottom: 6px; 1.58 + -moz-margin-start: -2px; 1.59 + -moz-margin-end: 0; 1.60 +} 1.61 + 1.62 +.expander-up, 1.63 +.expander-down { 1.64 + -moz-appearance: none; 1.65 + min-width: 0; 1.66 + padding: 0; 1.67 + margin: 0; 1.68 +} 1.69 + 1.70 +.expander-up { 1.71 + list-style-image: url("chrome://browser/skin/places/expander-open.png"); 1.72 +} 1.73 + 1.74 +.expander-up:hover:active { 1.75 + list-style-image: url("chrome://browser/skin/places/expander-open-active.png"); 1.76 +} 1.77 + 1.78 +.expander-down { 1.79 + list-style-image: url("chrome://browser/skin/places/expander-closed.png"); 1.80 +} 1.81 + 1.82 +.expander-down:hover:active { 1.83 + list-style-image: url("chrome://browser/skin/places/expander-closed-active.png"); 1.84 +} 1.85 + 1.86 + 1.87 +/* Make the item list the same width as the warning box */ 1.88 +#itemList { 1.89 + -moz-margin-start: 0; 1.90 + -moz-margin-end: 0; 1.91 +} 1.92 + 1.93 +/* Without this a useless scrollbar appears in the listbox when its rows 1.94 + attribute is set to the total number of listitems, as it is currently. See 1.95 + bug 489958 comment 14 and bug 491788. */ 1.96 +#itemList > listitem { 1.97 + padding: 1px 0; 1.98 +} 1.99 + 1.100 + 1.101 +/* Align the last dialog button with the end of the warning box */ 1.102 +.prefWindow-dlgbuttons { 1.103 + -moz-margin-end: 0; 1.104 +} 1.105 +.dialog-button[dlgtype="accept"] { 1.106 + -moz-margin-end: 0; 1.107 +}