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 | %if 0 |
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 | %endif |
michael@0 | 6 | |
michael@0 | 7 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, |
michael@0 | 8 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
michael@0 | 9 | background-position: right; |
michael@0 | 10 | background-size: 1px; |
michael@0 | 11 | background-repeat: no-repeat; |
michael@0 | 12 | } |
michael@0 | 13 | |
michael@0 | 14 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl), |
michael@0 | 15 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { |
michael@0 | 16 | background-position: left; |
michael@0 | 17 | } |
michael@0 | 18 | |
michael@0 | 19 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
michael@0 | 20 | color: hsl(92,100%,30%); |
michael@0 | 21 | background-image: linear-gradient(hsla(92,81%,16%,0), |
michael@0 | 22 | hsla(92,81%,16%,.2) 35%, |
michael@0 | 23 | hsla(92,81%,16%,.2) 65%, |
michael@0 | 24 | hsla(92,81%,16%,0)); |
michael@0 | 25 | } |
michael@0 | 26 | |
michael@0 | 27 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI { |
michael@0 | 28 | %ifdef MOZ_OFFICIAL_BRANDING |
michael@0 | 29 | color: rgb(229,115,0); |
michael@0 | 30 | background-image: linear-gradient(rgba(229,114,0,0), |
michael@0 | 31 | rgba(229,114,0,.5) 35%, |
michael@0 | 32 | rgba(229,114,0,.5) 65%, |
michael@0 | 33 | rgba(229,114,0,0)); |
michael@0 | 34 | %else |
michael@0 | 35 | %if MOZ_UPDATE_CHANNEL == aurora |
michael@0 | 36 | color: rgb(51,30,84); |
michael@0 | 37 | background-image: linear-gradient(rgba(51,30,84,0), |
michael@0 | 38 | rgba(51,30,84,.5) 35%, |
michael@0 | 39 | rgba(51,30,84,.5) 65%, |
michael@0 | 40 | rgba(51,30,84,0)); |
michael@0 | 41 | %else |
michael@0 | 42 | color: rgb(0,33,71); |
michael@0 | 43 | background-image: linear-gradient(rgba(0,33,71,0), |
michael@0 | 44 | rgba(0,33,71,.5) 35%, |
michael@0 | 45 | rgba(0,33,71,.5) 65%, |
michael@0 | 46 | rgba(0,33,71,0)); |
michael@0 | 47 | %endif |
michael@0 | 48 | %endif |
michael@0 | 49 | } |
michael@0 | 50 | |
michael@0 | 51 | /* page proxy icon */ |
michael@0 | 52 | |
michael@0 | 53 | #page-proxy-favicon { |
michael@0 | 54 | width: 16px; |
michael@0 | 55 | height: 16px; |
michael@0 | 56 | list-style-image: url(chrome://browser/skin/identity-icons-generic.png); |
michael@0 | 57 | } |
michael@0 | 58 | |
michael@0 | 59 | .chromeUI > #page-proxy-favicon[pageproxystate="valid"] { |
michael@0 | 60 | list-style-image: url(chrome://branding/content/identity-icons-brand.png); |
michael@0 | 61 | } |
michael@0 | 62 | |
michael@0 | 63 | .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { |
michael@0 | 64 | list-style-image: url(chrome://browser/skin/identity-icons-https.png); |
michael@0 | 65 | } |
michael@0 | 66 | |
michael@0 | 67 | .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { |
michael@0 | 68 | list-style-image: url(chrome://browser/skin/identity-icons-https-ev.png); |
michael@0 | 69 | } |
michael@0 | 70 | |
michael@0 | 71 | .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { |
michael@0 | 72 | list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-active.png); |
michael@0 | 73 | } |
michael@0 | 74 | |
michael@0 | 75 | .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] { |
michael@0 | 76 | list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-display.png); |
michael@0 | 77 | } |
michael@0 | 78 | |
michael@0 | 79 | .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] { |
michael@0 | 80 | list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-display.png); |
michael@0 | 81 | } |
michael@0 | 82 | |
michael@0 | 83 | #page-proxy-favicon[pageproxystate="invalid"] { |
michael@0 | 84 | opacity: 0.3; |
michael@0 | 85 | } |
michael@0 | 86 | |
michael@0 | 87 | #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { |
michael@0 | 88 | list-style-image: url("chrome://branding/content/icon64.png"); |
michael@0 | 89 | } |
michael@0 | 90 | |
michael@0 | 91 | #identity-popup-brandName { |
michael@0 | 92 | font-weight: bold; |
michael@0 | 93 | font-size: 1.25em; |
michael@0 | 94 | margin-top: .5em; |
michael@0 | 95 | margin-bottom: .5em; |
michael@0 | 96 | } |
michael@0 | 97 | |
michael@0 | 98 | #identity-popup-content-box { |
michael@0 | 99 | max-width: 50ch; |
michael@0 | 100 | } |