toolkit/themes/linux/global/console/console.css

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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 /* ===== console.css ====================================================
     6    == Styles used by the Error Console window.
     7    ====================================================================== */
     9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    11 .console-box {
    12   background-color: -moz-Field;
    13   color: -moz-FieldText;
    14 }
    16 /* ::::: console rows ::::: */
    18 .console-row {
    19   border-bottom: 1px dotted threedshadow;
    20   padding: 4px 0px;
    21 }
    23 .console-row-icon {
    24   padding: 4px;
    25   -moz-padding-start: 5px;
    26   -moz-box-align: start !important;
    27 }
    29 .console-row-msg > label:first-child,
    30 .console-row-file > label:first-child {
    31   display: none;
    32 }
    34 .console-time {
    35   font-weight: normal !important;
    36 }
    38 .console-icon {
    39   list-style-image: inherit;
    40 }
    42 .console-error-msg {
    43   margin-bottom: 2px;
    44 }
    46 /* ..... error rows ..... */
    48 .console-row-code {
    49   padding-top: 3px;
    50   padding-bottom: 3px;
    51   -moz-padding-start: 3px;
    52   -moz-padding-end: 0px;
    53   color: #0000BB;
    54   font-size: larger;
    55 }
    57 .console-dots,
    58 .console-caret {
    59   height: 9px;
    60 }
    62 .console-dots {
    63   background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top;
    64 }
    66 .console-caret {
    67   width: 7px;
    68   background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top;
    69 }
    71 /* ..... message rows ..... */
    73 .console-row[type="message"] {
    74   font-family: monospace;
    75 }
    77 /* ..... selected state ..... */
    79 .console-row[selected="true"] {
    80     background-image: url("chrome://global/skin/console/itemSelected.png");
    81 }
    83 .console-row-code[selected="true"],
    84 .console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link {
    85   color: inherit !important;
    86 }
    88 /* ::::: icons ::::: */
    90 .console-row[type="error"],
    91 .console-row[type="exception"] {
    92   list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu");
    93 }
    95 .console-row[type="error"] .console-row-msg,
    96 .console-row[type="exception"] .console-row-msg {
    97   font-weight: bold;
    98 }
   100 .console-row[type="warning"] {
   101   list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu");
   102 }
   104 .console-row[type="message"] {
   105   list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu");
   106 }
   108 /* ::::: toolbars ::::: */
   110 #TextboxEval {
   111   margin: 2px !important;
   112 }
   114 #ButtonEval {
   115   margin-top: 2px !important;
   116   margin-bottom: 2px !important;
   117   -moz-margin-start: 0px !important;
   118   -moz-margin-end: 2px !important;
   119 }
   121 /* Toolbar icons */
   123 toolbar#ToolbarMode toolbarbutton {
   124   -moz-box-orient: horizontal;
   125 }
   127 #Console\:modeAll {
   128   list-style-image: url("chrome://global/skin/console/console-toolbar.png");
   129 }
   131 #Console\:modeErrors {
   132   list-style-image: url("moz-icon://stock/gtk-dialog-error?size=toolbar");
   133 }
   135 #Console\:modeWarnings {
   136   list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=toolbar");
   137 }
   139 #Console\:modeMessages {
   140   list-style-image: url("moz-icon://stock/gtk-dialog-info?size=toolbar");
   141 }
   143 #Console\:clear {
   144   list-style-image: url("moz-icon://stock/gtk-clear?size=toolbar");
   145 }
   147 toolbar#ToolbarMode .toolbarbutton-text {
   148   -moz-padding-end: 4px;
   149 }
   151 /* ::::: Fix Error Console toolbar button text spacing ::::: */
   153 .toolbarbutton-text {
   154   -moz-padding-start: 0px;
   155   -moz-padding-end: 5px;
   156 }

mercurial