@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 

#urlbar,
.searchbar-textbox {
  background-clip: padding-box !important;
  border: 1px solid rgba(0, 0, 0, .4) !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.13) inset !important;
}
#urlbar {
  height: 20px !important;
}

/* Identity-box */
#identity-box {
  margin: -1px 0 -1px -1px !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset !important;
  border: 1px solid !important;
  border-color: rgba(0,0,0,0.4) rgba(0,0,0,.15) rgba(0,0,0,.4) rgba(0,0,0,.4) !important;
  text-shadow: none !important;
  background-clip:content-box !important;
  padding:0 !important;
}
#identity-box:not([open]):hover {
  border-color: rgba(0,0,0,.6) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset !important;
}
#identity-box[open="true"] {
  box-shadow: 0 0 2px rgba(0,0,0,.25) inset !important;
  border-color: rgba(0,0,0,.6) !important;
}
:-moz-any(.unknownIdentity, .verifiedIdentity, .verifiedDomain, .chromeUI, main-window[stylish-url^="file:///"]) #identity-icon-labels {
  font-size: 0 !important;
  visibility: visible !important;
  margin-top:2px !important;
}

/* get rid of the favicon glow effect */
#identity-box #page-proxy-stack {
  background-image: none !important;
  padding:0 2px !important;
  width:20px !important;
  height:16px !important;
  margin:0 !important;
}

/* Unknown Identity (Grey) */
#identity-box.unknownIdentity:not([open]) {
  background: -moz-linear-gradient(top, rgb(241,244,249), rgb(219,224,240)) !important;
}
#identity-box.unknownIdentity:not([open]):hover {
  background: -moz-linear-gradient(top, rgb(246,249,254), rgb(224,229,245)) !important;
}
#identity-box.unknownIdentity[open="true"] {
  background: -moz-linear-gradient(top, rgb(213,213,213), rgb(180,180,180)) !important;
}
/* Verified Domains (Gold) */
#identity-box.verifiedDomain:not([open]) {
  background: -moz-linear-gradient(top, rgb(246,242,202), rgb(225,199,129)) !important;
}
#identity-box.verifiedDomain:not([open]) {
  background: -moz-linear-gradient(top, rgb(248,244,209), rgb(231,210,146)) !important;
}
#identity-box.verifiedDomain[open="true"] {
  background: -moz-linear-gradient(top, rgb(233,224,167), rgb(206,175,94)) !important;
}
/* Verified Identities (Green) */
#identity-box.verifiedIdentity:not([open]) {
  background: -moz-linear-gradient(top, rgb(210,246,191), rgb(144,197,147)) !important;
}
#identity-box.verifiedIdentity:not([open]):hover {
  background: -moz-linear-gradient(top, rgb(217,247,199), rgb(160,206,161)) !important;
}
#identity-box.verifiedIdentity[open="true"] {
  background: -moz-linear-gradient(top, rgb(183,229,174), rgb(127,188,138)) !important;
}
/* Chrome, local files (grey) */
#identity-box.chromeUI,
#main-window[stylish-url^="file:///"] #identity-box {
  background: -moz-linear-gradient(top, rgb(233,233,233), rgb(213,213,213)) !important;
}

#urlbar:not([focused]) #identity-icon-labels:after {
  font-size: 10px !important;
  font-weight:normal !important;
  font-family:Bitstream Vera Sans,"Segoe UI", Tahoma !important;
  color: rgb(0,0,0) !important;
  text-shadow:none !important;
  padding-right:2px !important;
}
#urlbar[focused="true"] #identity-icon-labels {
  display:none !important;
}
#urlbar[focused="true"] #page-proxy-stack {margin-right:0 !important;}
#urlbar:not([focused]) .unknownIdentity #identity-icon-labels:after { content: "Web" !important; }
#urlbar:not([focused]) .verifiedIdentity #identity-icon-labels:after { content: "Trusted" !important; }
#urlbar:not([focused]) .verifiedDomain #identity-icon-labels:after { content: "Secure" !important; }
#urlbar:not([focused]) .chromeUI #identity-icon-labels:after { content: "Firefox" !important; }
#main-window[stylish-url^="file:///"] #urlbar:not([focused]) #identity-icon-labels:after { content: "Local" !important; }