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