Advertisement
Guest User

Untitled

a guest
Nov 5th, 2015
251
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None
  1. This userstyle modifies Firefox's Identity-Box.
  2. It is a modified version of a css found at userstyles.org several years ago and unsuccessfully searched for.
  3.  
  4. /* START ----------------------------------------------------------------------
  5.  
  6. @namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  7. @-moz-document url("chrome://browser/content/browser.xul") {
  8.  
  9. #urlbar-throbber, #identity-icon-label, #identity-icon-country-label {visibility: collapse !important;}
  10. #page-proxy-favicon {-moz-image-region: rect(0, 16px, 16px, 0) !important; opacity: 1 !important; margin-left: 2px !important; margin-right: 3px !important;}
  11.  
  12. #identity-box {background-image: -moz-linear-gradient(#EEEEFF,#DDDDFF) !important; margin-right: 4px !important;}
  13.  
  14. #identity-box:not([open]):hover {box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset !important;}
  15. #identity-box[open] {box-shadow: 0 1px 0 rgba(0,0,0,.05) inset, 0 0 2px rgba(0,0,0,.2) inset !important;}
  16. #identity-box:hover #page-proxy-favicon {opacity: .8 !important;}
  17. #identity-box:not([open]):hover {background-image: -moz-linear-gradient(#F5F7FD,#F0F3FD,#ECF0FC) !important;}
  18. #identity-box[open] {background-image: -moz-linear-gradient(#CDD1DE,#D8DCE9,#E2E6F3) !important;}
  19.  
  20. #identity-box.verifiedIdentity {background-image: -moz-linear-gradient(#D2F6BF,#6DBC5C,#79C349) !important;}
  21. #identity-box.verifiedIdentity:not([open]):hover {background-image: -moz-linear-gradient(#CFF294,#76D162,#85DA54) !important;}
  22. #identity-box.verifiedIdentity[open] {background-image: -moz-linear-gradient(#78B542,#59A949,#93DE64) !important;}
  23.  
  24. #identity-box.verifiedDomain {background-image: -moz-linear-gradient(#FBEE7B,#E8CA45,#F2E785) !important;}
  25. #identity-box.verifiedDomain:not([open]):hover {background-image: -moz-linear-gradient(#FFFCC7,#F1DC70,#F2E88E) !important;}
  26. #identity-box.verifiedDomain[open] {background-image: -moz-linear-gradient(#D1B84C,#D7AD36,#FEF5A2) !important;}
  27.  
  28. #identity-box.mixedContent {background-image: -moz-linear-gradient(#FFE2DF,#F5C8C1,#FFD6D2) !important;}
  29. #identity-box.mixedContent:not([open]):hover {background-image: -moz-linear-gradient(#FFF7F6,#FFD6D2) !important;}
  30. #identity-box.mixedContent[open] {background-image: -moz-linear-gradient(#C8ABA8,#FFD6D2) !important;}
  31.  
  32. #identity-icon-labels {visibility: visible !important;}
  33.  
  34. #urlbar:-moz-any([pageproxystate="invalid"],[focused]) #identity-icon-labels,
  35. #main-window[stylish-url^="https://"] #urlbar:not([level]) #identity-icon-labels {visibility: collapse !important;}
  36.  
  37. #identity-box #identity-icon-labels:after {display: -moz-box !important; -moz-box-align: center !important;
  38. color: rgba(0,0,0,.76) !important; text-shadow: none !important; margin-left: -2px !important;}
  39.  
  40. #identity-box #identity-icon-labels:after {content: "" !important;}
  41. #identity-box.verifiedIdentity #identity-icon-labels:after {content: "TRUSTED" !important; margin-right: 2px !important;}
  42. #identity-box.verifiedDomain #identity-icon-labels:after {content: "SECURE" !important; margin-right: 2px !important;}
  43. #identity-box.mixedContent #identity-icon-labels:after {content: "MIXED" !important; margin-right: 2px !important;}
  44.  
  45. /* Smart Location */
  46. #urlbar:not([focused]) :-moz-any(stsegment.protocol, stsegment.querry, stsegment.index) {visibility: collapse !important;}
  47. #main-window[stylish-url^="https://"] #urlbar:not([level]) stsegment.protocol {visibility: visible !important;}
  48. stsegment[class="subdomain www"] {display: block !important;}
  49.  
  50. }
  51.  
  52. /* END ------------------------------------------------------------------------
Advertisement
RAW Paste Data Copied
Advertisement