| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Mozilla Public License Version |
| 5 | * 1.1 (the "License"); you may not use this file except in compliance with |
| 6 | * the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/MPL/ |
| 8 | * |
| 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 11 | * for the specific language governing rights and limitations under the |
| 12 | * License. |
| 13 | * |
| 14 | * The Original Code is the Mozilla Inspector Module. |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * The Mozilla Foundation. |
| 18 | * Portions created by the Initial Developer are Copyright (C) 2011 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * Joe Walker <jwalker@mozilla.com> (original author) |
| 23 | * Mihai Șucan <mihai.sucan@gmail.com> |
| 24 | * Michael Ratcliffe <mratcliffe@mozilla.com> |
| 25 | * |
| 26 | * Alternatively, the contents of this file may be used under the terms of |
| 27 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 28 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 29 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 30 | * of those above. If you wish to allow use of your version of this file only |
| 31 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 32 | * use your version of this file under the terms of the MPL, indicate your |
| 33 | * decision by deleting the provisions above and replace them with the notice |
| 34 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 35 | * the provisions above, a recipient may use your version of this file under |
| 36 | * the terms of any one of the MPL, the GPL or the LGPL. |
| 37 | * |
| 38 | * ***** END LICENSE BLOCK ***** */ |
| 39 | |
| 40 | body { |
| 41 | font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
| 42 | font-size: 11px; |
| 43 | background: #000000; |
| 44 | } |
| 45 | .path, |
| 46 | .filters { |
| 47 | font-size: 11px; |
| 48 | word-spacing: -1px; |
| 49 | } |
| 50 | .path ol { |
| 51 | list-style: none outside none; |
| 52 | margin: 0; |
| 53 | padding: 0; |
| 54 | } |
| 55 | .path li { |
| 56 | border-radius: 3px; |
| 57 | padding: 2px 3px; |
| 58 | font-weight: bold; |
| 59 | font-size: 11px; |
| 60 | display: inline-block; |
| 61 | } |
| 62 | .path li:after { |
| 63 | content: " > "; |
| 64 | } |
| 65 | .path li:last-child { |
| 66 | } |
| 67 | .path li:last-child:after { |
| 68 | color: red; |
| 69 | content: ""; |
| 70 | } |
| 71 | |
| 72 | .property-header { |
| 73 | padding: 2px 5px; |
| 74 | color: #9C9CFF; |
| 75 | } |
| 76 | |
| 77 | .property-name, |
| 78 | .rule-matched, |
| 79 | .rule-unmatched { |
| 80 | cursor: pointer; |
| 81 | } |
| 82 | |
| 83 | /* Take away these two :visited rules to get a core dumper */ |
| 84 | /* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */ |
| 85 | .link { |
| 86 | color: #55A; |
| 87 | } |
| 88 | .link:visited { |
| 89 | color: #55A; |
| 90 | } |
| 91 | a.link { |
| 92 | text-decoration: none; |
| 93 | cursor: pointer; |
| 94 | } |
| 95 | a.link:visited { |
| 96 | text-decoration: none; |
| 97 | } |
| 98 | |
| 99 | .rule-matched, |
| 100 | .rule-unmatched { |
| 101 | padding: 2px 0; |
| 102 | white-space: nowrap; |
| 103 | } |
| 104 | |
| 105 | .rulelink { |
| 106 | color: #55A; |
| 107 | } |
| 108 | |
| 109 | .expander { |
| 110 | width: 8px; |
| 111 | height: 8px; |
| 112 | float: left; |
| 113 | -moz-margin-start: 15px; |
| 114 | -moz-margin-end: 5px; |
| 115 | margin-top: 3px; |
| 116 | background: url("chrome://browser/skin/devtools/arrows.png"); |
| 117 | background-position: 24px 0; |
| 118 | } |
| 119 | |
| 120 | .searchfield { |
| 121 | background: url("chrome://browser/skin/devtools/search.png") no-repeat; |
| 122 | border-radius: 5px; |
| 123 | -moz-padding-start: 20px; |
| 124 | width: 135px; |
| 125 | float: right; |
| 126 | } |
| 127 | |
| 128 | .expander[dir="rtl"] { |
| 129 | background-position: 16px 0; |
| 130 | } |
| 131 | .expander[open] { |
| 132 | background-position: 8px 0; |
| 133 | } |
| 134 | |
| 135 | .property-name { |
| 136 | display: inline-block; |
| 137 | font-size: 12px; |
| 138 | font-weight: bold; |
| 139 | color: #FF9F00; |
| 140 | } |
| 141 | .property-value { |
| 142 | display: inline-block; |
| 143 | font-size: 10px; |
| 144 | } |
| 145 | |
| 146 | .property-view-hidden { |
| 147 | display: none; |
| 148 | } |
| 149 | |
| 150 | .rule-link { |
| 151 | text-align: end; |
| 152 | -moz-padding-start: 10px; |
| 153 | } |
| 154 | |
| 155 | /* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */ |
| 156 | .rule-text { |
| 157 | direction: ltr; |
| 158 | -moz-padding-start: 10px; |
| 159 | } |
| 160 | |
| 161 | .resizerbox { |
| 162 | background-color: #000000; |
| 163 | } |
| 164 | |
| 165 | .bestmatch { |
| 166 | color: #FFCF00; |
| 167 | } |
| 168 | .matched { |
| 169 | text-decoration: line-through; |
| 170 | } |
| 171 | .parentmatch { |
| 172 | color: #9C9CFF; |
| 173 | } |
| 174 | .unmatched { |
| 175 | color: #E7ADE7; |
| 176 | } |
| 177 | |
| 178 | .userStyles { |
| 179 | position: relative; |
| 180 | top: 3px; |
| 181 | } |
| 182 | |
| 183 | .userStyles, |
| 184 | .userStylesLabel { |
| 185 | cursor: pointer; |
| 186 | } |