browser/themes/osx/sanitizeDialog.css

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 /* Align the duration label with the warning box and item list */
michael@0 6 #sanitizeDurationLabel {
michael@0 7 -moz-margin-start: 1px;
michael@0 8 }
michael@0 9
michael@0 10
michael@0 11 /* Hide the duration dropdown suffix label if it's empty. Otherwise it
michael@0 12 takes up a little space, causing the end of the dropdown to not be aligned
michael@0 13 with the warning box. */
michael@0 14 #sanitizeDurationSuffixLabel[value=""] {
michael@0 15 display: none;
michael@0 16 }
michael@0 17
michael@0 18
michael@0 19 /* Places tree */
michael@0 20 #placesTreechildren::-moz-tree-row(selected),
michael@0 21 #placesTreechildren::-moz-tree-row(grippyRow) {
michael@0 22 background: #999;
michael@0 23 }
michael@0 24
michael@0 25 #placesTreechildren::-moz-tree-cell-text(selected) {
michael@0 26 color: #111;
michael@0 27 }
michael@0 28
michael@0 29
michael@0 30 /* Sanitize everything warning box */
michael@0 31 #sanitizeEverythingWarningBox {
michael@0 32 background-color: Window;
michael@0 33 border: 1px solid ThreeDDarkShadow;
michael@0 34 border-radius: 5px;
michael@0 35 padding: 16px;
michael@0 36 }
michael@0 37
michael@0 38 #sanitizeEverythingWarningIcon {
michael@0 39 list-style-image: url("chrome://global/skin/icons/warning-large.png");
michael@0 40 padding: 0;
michael@0 41 margin: 0;
michael@0 42 }
michael@0 43
michael@0 44 #sanitizeEverythingWarningDescBox {
michael@0 45 padding: 0 16px;
michael@0 46 margin: 0;
michael@0 47 }
michael@0 48
michael@0 49
michael@0 50 /* Progressive disclosure button */
michael@0 51 #detailsExpanderWrapper {
michael@0 52 padding: 0;
michael@0 53 margin-top: 6px;
michael@0 54 margin-bottom: 6px;
michael@0 55 -moz-margin-start: -2px;
michael@0 56 -moz-margin-end: 0;
michael@0 57 }
michael@0 58
michael@0 59 .expander-up,
michael@0 60 .expander-down {
michael@0 61 -moz-appearance: none;
michael@0 62 min-width: 0;
michael@0 63 padding: 0;
michael@0 64 margin: 0;
michael@0 65 }
michael@0 66
michael@0 67 .expander-up {
michael@0 68 list-style-image: url("chrome://browser/skin/places/expander-open.png");
michael@0 69 }
michael@0 70
michael@0 71 .expander-up:hover:active {
michael@0 72 list-style-image: url("chrome://browser/skin/places/expander-open-active.png");
michael@0 73 }
michael@0 74
michael@0 75 .expander-down {
michael@0 76 list-style-image: url("chrome://browser/skin/places/expander-closed.png");
michael@0 77 }
michael@0 78
michael@0 79 .expander-down:hover:active {
michael@0 80 list-style-image: url("chrome://browser/skin/places/expander-closed-active.png");
michael@0 81 }
michael@0 82
michael@0 83
michael@0 84 /* Make the item list the same width as the warning box */
michael@0 85 #itemList {
michael@0 86 -moz-margin-start: 0;
michael@0 87 -moz-margin-end: 0;
michael@0 88 }
michael@0 89
michael@0 90 /* Without this a useless scrollbar appears in the listbox when its rows
michael@0 91 attribute is set to the total number of listitems, as it is currently. See
michael@0 92 bug 489958 comment 14 and bug 491788. */
michael@0 93 #itemList > listitem {
michael@0 94 padding: 1px 0;
michael@0 95 }
michael@0 96
michael@0 97
michael@0 98 /* Align the last dialog button with the end of the warning box */
michael@0 99 .prefWindow-dlgbuttons {
michael@0 100 -moz-margin-end: 0;
michael@0 101 }
michael@0 102 .dialog-button[dlgtype="accept"] {
michael@0 103 -moz-margin-end: 0;
michael@0 104 }

mercurial