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