browser/themes/shared/identity-block.inc.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/themes/shared/identity-block.inc.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,100 @@
     1.4 +%if 0
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +%endif
     1.9 +
    1.10 +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
    1.11 +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
    1.12 +  background-position: right;
    1.13 +  background-size: 1px;
    1.14 +  background-repeat: no-repeat;
    1.15 +}
    1.16 +
    1.17 +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
    1.18 +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
    1.19 +  background-position: left;
    1.20 +}
    1.21 +
    1.22 +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
    1.23 +  color: hsl(92,100%,30%);
    1.24 +  background-image: linear-gradient(hsla(92,81%,16%,0),
    1.25 +                                    hsla(92,81%,16%,.2) 35%,
    1.26 +                                    hsla(92,81%,16%,.2) 65%,
    1.27 +                                    hsla(92,81%,16%,0));
    1.28 +}
    1.29 +
    1.30 +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
    1.31 +%ifdef MOZ_OFFICIAL_BRANDING
    1.32 +  color: rgb(229,115,0);
    1.33 +  background-image: linear-gradient(rgba(229,114,0,0),
    1.34 +                                    rgba(229,114,0,.5) 35%,
    1.35 +                                    rgba(229,114,0,.5) 65%,
    1.36 +                                    rgba(229,114,0,0));
    1.37 +%else
    1.38 +%if MOZ_UPDATE_CHANNEL == aurora
    1.39 +  color: rgb(51,30,84);
    1.40 +  background-image: linear-gradient(rgba(51,30,84,0),
    1.41 +                                    rgba(51,30,84,.5) 35%,
    1.42 +                                    rgba(51,30,84,.5) 65%,
    1.43 +                                    rgba(51,30,84,0));
    1.44 +%else
    1.45 +  color: rgb(0,33,71);
    1.46 +  background-image: linear-gradient(rgba(0,33,71,0),
    1.47 +                                    rgba(0,33,71,.5) 35%,
    1.48 +                                    rgba(0,33,71,.5) 65%,
    1.49 +                                    rgba(0,33,71,0));
    1.50 +%endif
    1.51 +%endif
    1.52 +}
    1.53 +
    1.54 +/* page proxy icon */
    1.55 +
    1.56 +#page-proxy-favicon {
    1.57 +  width: 16px;
    1.58 +  height: 16px;
    1.59 +  list-style-image: url(chrome://browser/skin/identity-icons-generic.png);
    1.60 +}
    1.61 +
    1.62 +.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
    1.63 +  list-style-image: url(chrome://branding/content/identity-icons-brand.png);
    1.64 +}
    1.65 +
    1.66 +.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
    1.67 +  list-style-image: url(chrome://browser/skin/identity-icons-https.png);
    1.68 +}
    1.69 +
    1.70 +.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
    1.71 +  list-style-image: url(chrome://browser/skin/identity-icons-https-ev.png);
    1.72 +}
    1.73 +
    1.74 +.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
    1.75 +  list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-active.png);
    1.76 +}
    1.77 +
    1.78 +.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
    1.79 +  list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-display.png);
    1.80 +}
    1.81 +
    1.82 +.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
    1.83 +  list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-display.png);
    1.84 +}
    1.85 +
    1.86 +#page-proxy-favicon[pageproxystate="invalid"] {
    1.87 +  opacity: 0.3;
    1.88 +}
    1.89 +
    1.90 +#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
    1.91 +  list-style-image: url("chrome://branding/content/icon64.png");
    1.92 +}
    1.93 +
    1.94 +#identity-popup-brandName {
    1.95 +  font-weight: bold;
    1.96 +  font-size: 1.25em;
    1.97 +  margin-top: .5em;
    1.98 +  margin-bottom: .5em;
    1.99 +}
   1.100 +
   1.101 +#identity-popup-content-box {
   1.102 +  max-width: 50ch;
   1.103 +}

mercurial