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

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

mercurial