Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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 | /* ===== console.css ==================================================== |
michael@0 | 6 | == Styles used by the Error Console window. |
michael@0 | 7 | ======================================================================= */ |
michael@0 | 8 | |
michael@0 | 9 | /* View buttons */ |
michael@0 | 10 | @import "chrome://global/skin/viewbuttons.css"; |
michael@0 | 11 | |
michael@0 | 12 | %include ../shared.inc |
michael@0 | 13 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
michael@0 | 14 | |
michael@0 | 15 | .console-box { |
michael@0 | 16 | background-color: -moz-Field; |
michael@0 | 17 | color: -moz-FieldText; |
michael@0 | 18 | overflow: auto; |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | /* ::::: console rows ::::: */ |
michael@0 | 22 | |
michael@0 | 23 | .console-row { |
michael@0 | 24 | border-bottom: 1px solid #A3A3A3; |
michael@0 | 25 | padding: 4px; |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | .console-row-file { |
michael@0 | 29 | color: #505050; |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | .console-row-msg > label:first-child { |
michael@0 | 33 | font-weight: bold; |
michael@0 | 34 | } |
michael@0 | 35 | |
michael@0 | 36 | .console-row-msg > label, .comsole-row-msg > description, .console-error-msg, .console-row-file, .console-row-code { |
michael@0 | 37 | margin: 2px; |
michael@0 | 38 | } |
michael@0 | 39 | |
michael@0 | 40 | .console-row-file > label { |
michael@0 | 41 | margin: 0; |
michael@0 | 42 | } |
michael@0 | 43 | |
michael@0 | 44 | .console-msg-text { |
michael@0 | 45 | white-space: pre-wrap !important; |
michael@0 | 46 | } |
michael@0 | 47 | .console-icon { |
michael@0 | 48 | list-style-image: inherit; |
michael@0 | 49 | padding-right: 6px; |
michael@0 | 50 | padding-left: 6px; |
michael@0 | 51 | } |
michael@0 | 52 | |
michael@0 | 53 | /* ..... error rows ..... */ |
michael@0 | 54 | |
michael@0 | 55 | .console-row-code { |
michael@0 | 56 | color: #0000BB; |
michael@0 | 57 | font-size: larger; |
michael@0 | 58 | } |
michael@0 | 59 | |
michael@0 | 60 | .console-dots, |
michael@0 | 61 | .console-caret { |
michael@0 | 62 | height: 9px; |
michael@0 | 63 | } |
michael@0 | 64 | |
michael@0 | 65 | .console-dots { |
michael@0 | 66 | background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top; |
michael@0 | 67 | } |
michael@0 | 68 | |
michael@0 | 69 | .console-caret { |
michael@0 | 70 | width: 7px; |
michael@0 | 71 | background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top; |
michael@0 | 72 | } |
michael@0 | 73 | |
michael@0 | 74 | /* ..... message rows ..... */ |
michael@0 | 75 | |
michael@0 | 76 | .console-row[type="message"] { |
michael@0 | 77 | font-family: monospace; |
michael@0 | 78 | } |
michael@0 | 79 | |
michael@0 | 80 | /* ..... selected state ..... */ |
michael@0 | 81 | |
michael@0 | 82 | .console-row[selected="true"] { |
michael@0 | 83 | background-color: #3D80DF !important; |
michael@0 | 84 | color: #FFF; |
michael@0 | 85 | } |
michael@0 | 86 | |
michael@0 | 87 | .console-row-code[selected="true"], |
michael@0 | 88 | .console-row-content[selected="true"] > .console-row-file, |
michael@0 | 89 | .console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link { |
michael@0 | 90 | color: #FFF !important; |
michael@0 | 91 | } |
michael@0 | 92 | |
michael@0 | 93 | /* ::::: row colors ::::: */ |
michael@0 | 94 | |
michael@0 | 95 | .console-row[type="error"], |
michael@0 | 96 | .console-row[type="exception"] { |
michael@0 | 97 | background-color: #FFD0DC; |
michael@0 | 98 | } |
michael@0 | 99 | |
michael@0 | 100 | .console-row[type="warning"] { |
michael@0 | 101 | background-color: #F8F3CC; |
michael@0 | 102 | } |
michael@0 | 103 | |
michael@0 | 104 | .console-row[type="message"] { |
michael@0 | 105 | background-color: #D3EDFF; |
michael@0 | 106 | } |
michael@0 | 107 | |
michael@0 | 108 | /* ::::: toolbars ::::: */ |
michael@0 | 109 | |
michael@0 | 110 | #ToolbarEval { |
michael@0 | 111 | -moz-appearance: none; |
michael@0 | 112 | background: @scopeBarBackground@; |
michael@0 | 113 | border-bottom: @scopeBarSeparatorBorder@; |
michael@0 | 114 | padding: 2px; |
michael@0 | 115 | } |
michael@0 | 116 | |
michael@0 | 117 | #ToolbarEval > label { |
michael@0 | 118 | font-weight: bold; |
michael@0 | 119 | color: @scopeBarTitleColor@; |
michael@0 | 120 | } |
michael@0 | 121 | |
michael@0 | 122 | #TextfieldEval { |
michael@0 | 123 | margin: 2px !important; |
michael@0 | 124 | } |
michael@0 | 125 | |
michael@0 | 126 | #ButtonEval { |
michael@0 | 127 | margin: 0 4px; |
michael@0 | 128 | padding: 1px 10px; |
michael@0 | 129 | -moz-appearance: none; |
michael@0 | 130 | border-radius: 10000px; |
michael@0 | 131 | border: @roundButtonBorder@; |
michael@0 | 132 | background: @roundButtonBackground@; |
michael@0 | 133 | box-shadow: @roundButtonShadow@; |
michael@0 | 134 | } |
michael@0 | 135 | |
michael@0 | 136 | #ButtonEval > .toolbarbutton-text { |
michael@0 | 137 | margin: 0 !important; |
michael@0 | 138 | } |
michael@0 | 139 | |
michael@0 | 140 | #ButtonEval:hover:active { |
michael@0 | 141 | text-shadow: @loweredShadow@; |
michael@0 | 142 | background: @roundButtonPressedBackground@; |
michael@0 | 143 | box-shadow: @roundButtonPressedShadow@; |
michael@0 | 144 | } |
michael@0 | 145 | |
michael@0 | 146 | toolbarseparator { |
michael@0 | 147 | min-height: 1em; |
michael@0 | 148 | background-image: none; |
michael@0 | 149 | } |
michael@0 | 150 | |
michael@0 | 151 | /* Toolbar icons */ |
michael@0 | 152 | |
michael@0 | 153 | #ToolbarMode { |
michael@0 | 154 | -moz-box-pack: center; |
michael@0 | 155 | } |
michael@0 | 156 | |
michael@0 | 157 | #ToolbarMode toolbarbutton > .toolbarbutton-icon { |
michael@0 | 158 | display: none; |
michael@0 | 159 | } |
michael@0 | 160 | |
michael@0 | 161 | #Console\:clear { |
michael@0 | 162 | -moz-box-orient: vertical; |
michael@0 | 163 | -moz-box-align: center; |
michael@0 | 164 | -moz-appearance: toolbarbutton; |
michael@0 | 165 | font: menu; |
michael@0 | 166 | text-shadow: @loweredShadow@; |
michael@0 | 167 | margin: 4px 0 9px; |
michael@0 | 168 | padding: 0 1px; |
michael@0 | 169 | } |