browser/themes/linux/sanitizeDialog.css

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     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 #sanitizeDurationChoice {
     6   -moz-margin-end: 0;
     7 }
     9 /* Align the duration label with the warning box and item list */
    10 #sanitizeDurationLabel {
    11   -moz-margin-start: 3px;
    12 }
    15 /* Hide the duration dropdown suffix label if it's empty.  Otherwise it
    16    takes up a little space, causing the end of the dropdown to not be aligned
    17    with the warning box. */
    18 #sanitizeDurationSuffixLabel[value=""] {
    19   display: none;
    20 }
    23 /* Places tree */
    24 #placesTreechildren::-moz-tree-row(selected),
    25 #placesTreechildren::-moz-tree-row(grippyRow) {
    26   background: #999;
    27 }
    29 #placesTreechildren::-moz-tree-cell-text(selected) {
    30   color: #111;
    31 }
    34 /* Sanitize everything warning box */
    35 #sanitizeEverythingWarningBox {
    36   background-color: Window;
    37   border: 1px solid ThreeDDarkShadow;
    38   border-radius: 5px;
    39   padding: 16px;
    40 }
    42 #sanitizeEverythingWarningIcon {
    43   list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog");
    44   padding: 0;
    45   margin: 0;
    46 }
    48 #sanitizeEverythingWarningDescBox {
    49   padding: 0 16px;
    50   margin: 0;
    51 }
    54 /* Progressive disclosure button */
    55 #detailsExpanderWrapper {
    56   padding: 0;
    57   margin-top: 6px;
    58   margin-bottom: 6px;
    59   -moz-margin-start: -6px;
    60   -moz-margin-end: 0;
    61 }
    63 .expander-up,
    64 .expander-down {
    65   min-width: 0;
    66   padding: 2px 0;
    67   -moz-padding-start: 2px;
    68 }
    70 .expander-up {
    71   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
    72 }
    74 .expander-down {
    75   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
    76 }
    78 .expander-down:hover:active {
    79   list-style-image: url("chrome://global/skin/arrow/arrow-dn-hov.gif");
    80 }
    82 .expander-up:hover:active {
    83   list-style-image: url("chrome://global/skin/arrow/arrow-up-hov.gif");
    84 }
    87 /* Make the item list the same width as the warning box */
    88 #itemList {
    89   -moz-margin-start: 0;
    90   -moz-margin-end: 0;
    91 }
    93 /* Without this a useless scrollbar appears in the listbox when its rows
    94    attribute is set to the total number of listitems, as it is currently.  See
    95    bug 489958 comment 14 and bug 491788. */
    96 #itemList > listitem {
    97   padding: 1px 0;
    98 }
   101 /* Align the last dialog button with the end of the warning box */
   102 .prefWindow-dlgbuttons {
   103   -moz-margin-end: 0;
   104 }
   105 .dialog-button[dlgtype="accept"] {
   106   -moz-margin-end: 0;
   107 }

mercurial