Advertisement
Guest User

userChrome.css

a guest
Feb 18th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.63 KB | None | 0 0
  1. /*
  2.  * Originally from:
  3.  * http://forums.mozillazine.org/viewtopic.php?p=14404121#p14404121
  4.  */
  5.  
  6.  #urlbar {
  7.     position: relative;
  8.     z-index: 1;
  9.   }
  10.  
  11.   #identity-box:after {
  12.     content: '';
  13.     position: absolute;
  14.     height: 100%;
  15.     width: 100%;
  16.     top: 0;
  17.     left: 0;
  18.     pointer-events: none;
  19.     z-index: -1;
  20.     background: white;
  21.     opacity: 0.2;
  22.   }
  23.  
  24.  
  25.   /* There is also grantedPermissions, but irrelevant. */
  26.  
  27.   /* about:about */
  28.   #urlbar[pageproxystate='valid'] #identity-box.unknownIdentity:after {
  29.     background: #ff0039; /* Firefox Red 50 */
  30.   }
  31.  
  32.   /* about:config */
  33.   #urlbar[pageproxystate='valid'] #identity-box.chromeUI:after {
  34.     background: #0a84ff; /* Firefox Blue 50 */
  35.   }
  36.  
  37.   /* uBlock Origin Dashboard */
  38.   #urlbar[pageproxystate='valid'] #identity-box.extensionPage:after {
  39.     background: #45a1ff; /* Firefox Blue 40 */
  40.   }
  41.  
  42.   /* https://www.github.com/ */
  43.   #urlbar[pageproxystate='valid'] #identity-box.verifiedIdentity:after{
  44.     background: #058b00; /* Firefox Green 70 */
  45.   }
  46.  
  47.   /* https://www.google.com/ */
  48.   #urlbar[pageproxystate='valid'] #identity-box.verifiedDomain:after{
  49.     background: #12bc00; /* Firefox Green 60 */
  50.   }
  51.  
  52.   /* https://mixed-script.badssl.com/ */
  53.   #urlbar[pageproxystate='valid'] #identity-box.mixedActiveBlocked:after {
  54.     background: #30e60b; /* Firefox Green 50 */
  55.   }
  56.  
  57.   /* https://mixed.badssl.com/ */
  58.   #urlbar[pageproxystate='valid'] #identity-box.mixedDisplayContent:after {
  59.     background: #d7b600; /* Firefox Yellow 60 */
  60.   }
  61.  
  62.   /* https://very.badssl.com/ */
  63.   #urlbar[pageproxystate='valid'] #identity-box.mixedDisplayContentLoadedActiveBlocked:after {
  64.     background: #d7b600; /* Firefox Yellow 60 */
  65.   }
  66.  
  67.   /* https://self-signed.badssl.com/ but add certificate exception */
  68.   #urlbar[pageproxystate='valid'] #identity-box.certUserOverridden:after {
  69.     background: #ffe900; /* Firefox Yellow 50 */
  70.   }
  71.  
  72.   /* Don't know an example for this */
  73. #urlbar[pageproxystate='valid'] #identity-box.weakCipher:after {
  74.     background: #a47f00; /* Firefox Yellow 70 */
  75.   }
  76.  
  77.   /* https://mixed-script.badssl.com/ but disable protection */
  78.   #urlbar[pageproxystate='valid'] #identity-box.mixedActiveContent:after {
  79.     background: #d70022;  /* Firefox Red 60 */
  80.   }
  81.  
  82.   /* http://http-login.badssl.com/ */
  83.   #urlbar[pageproxystate='valid'] #identity-box.insecureLoginForms:after {
  84.     background: #a4000f;  /* Firefox Red 70 */
  85.   }
  86.  
  87.   @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  88.  
  89. /* hide the native tabs */
  90. #TabsToolbar-customization-target {
  91.     visibility: collapse;
  92. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement