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 | /* vim:set ts=2 sw=2 sts=2 et: */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | /* Take away these two :visited rules to get a core dumper */ |
michael@0 | 7 | /* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */ |
michael@0 | 8 | .link, |
michael@0 | 9 | .link:visited { |
michael@0 | 10 | color: #0091ff; |
michael@0 | 11 | } |
michael@0 | 12 | .link, |
michael@0 | 13 | .helplink, |
michael@0 | 14 | .link:visited, |
michael@0 | 15 | .helplink:visited { |
michael@0 | 16 | text-decoration: none; |
michael@0 | 17 | } |
michael@0 | 18 | .link:hover { |
michael@0 | 19 | text-decoration: underline; |
michael@0 | 20 | } |
michael@0 | 21 | |
michael@0 | 22 | /* From content */ |
michael@0 | 23 | |
michael@0 | 24 | * { |
michael@0 | 25 | box-sizing: border-box; |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | :root { |
michael@0 | 29 | height: 100%; |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | body { |
michael@0 | 33 | margin: 0; |
michael@0 | 34 | display : flex; |
michael@0 | 35 | flex-direction: column; |
michael@0 | 36 | height: 100%; |
michael@0 | 37 | } |
michael@0 | 38 | |
michael@0 | 39 | #propertyContainer { |
michael@0 | 40 | -moz-user-select: text; |
michael@0 | 41 | overflow: auto; |
michael@0 | 42 | min-height: 0; |
michael@0 | 43 | flex: 1; |
michael@0 | 44 | } |
michael@0 | 45 | |
michael@0 | 46 | .property-view-hidden, |
michael@0 | 47 | .property-content-hidden { |
michael@0 | 48 | display: none; |
michael@0 | 49 | } |
michael@0 | 50 | |
michael@0 | 51 | .property-view { |
michael@0 | 52 | clear: both; |
michael@0 | 53 | padding: 2px 0 2px 17px; |
michael@0 | 54 | } |
michael@0 | 55 | |
michael@0 | 56 | .property-view > * { |
michael@0 | 57 | display: inline-block; |
michael@0 | 58 | vertical-align: middle; |
michael@0 | 59 | } |
michael@0 | 60 | |
michael@0 | 61 | .property-name { |
michael@0 | 62 | /* -12px is so the expander triangle isn't pushed up above the property */ |
michael@0 | 63 | width: calc(100% - 12px); |
michael@0 | 64 | overflow-x: hidden; |
michael@0 | 65 | text-overflow: ellipsis; |
michael@0 | 66 | white-space: nowrap; |
michael@0 | 67 | outline: 0; |
michael@0 | 68 | } |
michael@0 | 69 | |
michael@0 | 70 | .property-value { |
michael@0 | 71 | width: 100%; |
michael@0 | 72 | overflow-x: hidden; |
michael@0 | 73 | text-overflow: ellipsis; |
michael@0 | 74 | white-space: nowrap; |
michael@0 | 75 | background-image: url(arrow-e.png); |
michael@0 | 76 | background-repeat: no-repeat; |
michael@0 | 77 | background-size: 5px 8px; |
michael@0 | 78 | background-position: 2px center; |
michael@0 | 79 | padding-left: 10px; |
michael@0 | 80 | outline: 0; |
michael@0 | 81 | } |
michael@0 | 82 | |
michael@0 | 83 | .other-property-value { |
michael@0 | 84 | background-image: url(arrow-e.png); |
michael@0 | 85 | background-repeat: no-repeat; |
michael@0 | 86 | background-size: 5px 8px; |
michael@0 | 87 | background-position: left center; |
michael@0 | 88 | padding-left: 8px; |
michael@0 | 89 | } |
michael@0 | 90 | |
michael@0 | 91 | @media (min-width: 400px) { |
michael@0 | 92 | .property-name { |
michael@0 | 93 | width: 200px; |
michael@0 | 94 | } |
michael@0 | 95 | .property-value { |
michael@0 | 96 | /* -212px is accounting for the 200px property-name and the 12px triangle */ |
michael@0 | 97 | width: calc(100% - 212px); |
michael@0 | 98 | } |
michael@0 | 99 | } |
michael@0 | 100 | |
michael@0 | 101 | .property-content { |
michael@0 | 102 | padding-left: 17px; |
michael@0 | 103 | } |
michael@0 | 104 | |
michael@0 | 105 | /* From skin */ |
michael@0 | 106 | .expander { |
michael@0 | 107 | visibility: hidden; |
michael@0 | 108 | margin-left: -12px!important; |
michael@0 | 109 | } |
michael@0 | 110 | |
michael@0 | 111 | .expandable { |
michael@0 | 112 | visibility: visible; |
michael@0 | 113 | } |
michael@0 | 114 | |
michael@0 | 115 | .match { |
michael@0 | 116 | visibility: hidden; |
michael@0 | 117 | } |
michael@0 | 118 | |
michael@0 | 119 | .matchedselectors > p { |
michael@0 | 120 | clear: both; |
michael@0 | 121 | margin: 0 2px 0 0; |
michael@0 | 122 | padding: 2px; |
michael@0 | 123 | overflow-x: hidden; |
michael@0 | 124 | border-style: dotted; |
michael@0 | 125 | border-color: rgba(128,128,128,0.4); |
michael@0 | 126 | border-width: 1px 1px 0 1px; |
michael@0 | 127 | } |
michael@0 | 128 | |
michael@0 | 129 | .matchedselectors > p:last-of-type { |
michael@0 | 130 | border-bottom-width: 1px; |
michael@0 | 131 | } |
michael@0 | 132 | |
michael@0 | 133 | /* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */ |
michael@0 | 134 | .rule-text { |
michael@0 | 135 | direction: ltr; |
michael@0 | 136 | } |
michael@0 | 137 | |
michael@0 | 138 | .matched { |
michael@0 | 139 | text-decoration: line-through; |
michael@0 | 140 | } |
michael@0 | 141 | |
michael@0 | 142 | .parentmatch { |
michael@0 | 143 | opacity: 0.5; |
michael@0 | 144 | } |
michael@0 | 145 | |
michael@0 | 146 | #noResults { |
michael@0 | 147 | font-size: 110%; |
michael@0 | 148 | margin: 5px; |
michael@0 | 149 | text-align: center; |
michael@0 | 150 | } |
michael@0 | 151 | |
michael@0 | 152 | .onlyuserstyles { |
michael@0 | 153 | cursor: pointer; |
michael@0 | 154 | } |
michael@0 | 155 | |
michael@0 | 156 | .legendKey { |
michael@0 | 157 | margin: 0 5px; |
michael@0 | 158 | } |
michael@0 | 159 | |
michael@0 | 160 | .devtools-toolbar { |
michael@0 | 161 | width: 100%; |
michael@0 | 162 | } |
michael@0 | 163 | |
michael@0 | 164 | .link { |
michael@0 | 165 | padding: 0 3px; |
michael@0 | 166 | cursor: pointer; |
michael@0 | 167 | float: right; |
michael@0 | 168 | } |
michael@0 | 169 | |
michael@0 | 170 | .computedview-colorswatch { |
michael@0 | 171 | display: inline-block; |
michael@0 | 172 | border-radius: 50%; |
michael@0 | 173 | width: 1em; |
michael@0 | 174 | height: 1em; |
michael@0 | 175 | vertical-align: text-top; |
michael@0 | 176 | -moz-margin-end: 5px; |
michael@0 | 177 | } |