Created
April 7, 2014 07:13
-
-
Save wenketel/10015931 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url("chrome://browser/content/browser.xul") { | |
#identity-icon-labels { | |
margin-top: -2px !important; | |
margin-bottom: -2px !important; | |
} | |
#urlbar > hbox > hbox > .autocomplete-textbox.urlbar-input.textbox-input.uri-element-right-align { | |
padding-left: 3px !important; | |
} | |
/* hidden */ | |
#urlbar-throbber, | |
#identity-icon-label, | |
#identity-icon-country-label/*, | |
#urlbar[focused] #urlbar-icons */{ | |
visibility: collapse !important; | |
} | |
#page-proxy-favicon { | |
-moz-image-region: rect(0, 16px, 16px, 0) !important; | |
opacity: 1 !important; | |
/*margin-top: 1px !important; | |
margin-bottom: 2px !important;*/ | |
} | |
/* other */ | |
#urlbar-icons { | |
font-size: .9em !important; | |
} | |
/* default */ | |
#identity-box { | |
background-image: -moz-linear-gradient(#ECF1FD,#E5EAF6,#D5D9E6) !important; | |
box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset !important; | |
-moz-border-end: 1px solid /*threedshadow*/rgba(0,0,0,.2) !important; | |
-moz-margin-end: 0 !important; | |
background-size: auto !important; | |
background-clip: padding-box !important; | |
background-position: center !important; | |
/*padding-top: 1px !important; | |
padding-bottom: 1px !important;*/ | |
} | |
#identity-box:not([open]):hover { | |
box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset !important; | |
} | |
#identity-box[open] { | |
box-shadow: 0 1px 0 rgba(0,0,0,.05) inset, | |
0 0 2px rgba(0,0,0,.2) inset !important; | |
} | |
#identity-box:hover #page-proxy-favicon { | |
opacity: .8 !important; | |
} | |
#identity-box:not([open]):hover { | |
background-image: -moz-linear-gradient(#F5F7FD,#F0F3FD,#ECF0FC) !important; | |
} | |
#identity-box[open] { | |
background-image: -moz-linear-gradient(#CDD1DE,#D8DCE9,#E2E6F3) !important; | |
} | |
/* color */ | |
#identity-box.verifiedIdentity { | |
background-image: -moz-linear-gradient(#D2F6BF,#6DBC5C,#79C349) !important; | |
} | |
#identity-box.verifiedIdentity:not([open]):hover { | |
background-image: -moz-linear-gradient(#CFF294,#76D162,#85DA54) !important; | |
} | |
#identity-box.verifiedIdentity[open] { | |
background-image: -moz-linear-gradient(#78B542,#59A949,#93DE64) !important; | |
} | |
#identity-box.verifiedDomain { | |
background-image: -moz-linear-gradient(#FBEE7B,#E8CA45,#F2E785) !important; | |
} | |
#identity-box.verifiedDomain:not([open]):hover { | |
background-image: -moz-linear-gradient(#FFFCC7,#F1DC70,#F2E88E) !important; | |
} | |
#identity-box.verifiedDomain[open] { | |
background-image: -moz-linear-gradient(#D1B84C,#D7AD36,#FEF5A2) !important; | |
} | |
#identity-box.mixedContent { | |
background-image: -moz-linear-gradient(#FFE2DF,#F5C8C1,#FFD6D2) !important; | |
} | |
#identity-box.mixedContent:not([open]):hover { | |
background-image: -moz-linear-gradient(#FFF7F6,#FFD6D2) !important; | |
} | |
#identity-box.mixedContent[open] { | |
background-image: -moz-linear-gradient(#C8ABA8,#FFD6D2) !important; | |
} | |
#urlbar[pageproxystate="invalid"] #identity-box { | |
background-image: -moz-linear-gradient(hsl(0,0%,98%), hsl(0,0%,92%)) !important; | |
} | |
/* image */ | |
#identity-box.unknownIdentity #page-proxy-favicon { | |
list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARCAYAAADUryzEAAACk0lEQVR42rWT309SYRjH07lZ66Lr/oLuunR1YVSG3qigHMFfcEAOHuAowhE56OEgPyQ4EhMlytISV8sYQslEXQjPVleuravc6iLXRRetrVqb68dss4dWLay8qS4+2/u+z/f73fO+e58Du7u7f8W/D9D0eerIfm9Ya/EDafEBrguaPq+I55J9A7rM7sPdZrdIopEPXU1GphfuFB48TGw82pwZEKJZnTUAWA+grvr3ASYhTNtDy7HZ1KLdG8/QjvDqkDfmZ0ejnJkTc0LoSlbNeAF1Y78EtFFOSYfRVdh8uhW6eC0V0A+GgXZGQc148qGphP/xk2dB1JmnE4vJdtoFqD9RFqC3+uJ88PKSwzdFdJk96yY+DgbHBEzPZ25hXYocLelevnpNaJjRvM7iie3pgLuH7d5U0cKa1iaCyXUJ9EMTgI+Xlalt9UjlN8PB4OTc7U6aX/0R0NhpqWxWs2D3TCb8kZlUm95ZVPYKoLGKXyEoHhq7BmZQd6hkCEavi3INW/y5gwqF1r7OCpFZXHdsb7+/kFkuzONd1zXWcSDZCMjJIVBRjtqSYdAdCaooLl92BZr1Z+VqW06qoKtwX43UOLyTi0raA90D4yDXOoGyebmSlmSEOcuImC4LmL2RiUgJE0gJmvleUBm4tMLghnbmPMgwgB4ci9W1GCR1rb2wkF71lQV8+PjpJMm4cmdbekHS3MNJmnRVDUqm2GoYBYL2gUw3Ap1GV+qcwrjW7wwuoef43o9UsfX8xbDaNJw71dQDp2VUvF5lAVmPAE3aEWhot5bOgB+bSr55+878p1k4srPzmV1Ir8yTDJ88I6eKtY06qCeMecYRuFu4v1F6ZCVSvd8wVSA1CI2MIxNIAKGQY/9lnL8AZ4qtPjFEuwQAAAAASUVORK5CYII=) !important; | |
} | |
#identity-box.verifiedIdentity #page-proxy-favicon { | |
list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARCAYAAADUryzEAAABMUlEQVQ4y2P4//8/AyWYgSYGaCVr62qnaE/RydDdD8JA9gSgmBpRBmgkaqhop+rs0snS2a+dCcEgtlaq9k6gnCxBA0yyTDo10jT3F88oXv3i3YvJT14/mQJia6Rq7jfOMGkiaIBOqu4OlUTV/fee34sC8nmAmBfEBonppOhuJ2iAYrzSfo0UjX1ANheSOJdSovJ+kBxeA6RDZZYppirtV0xX2i8XI7dfNgqC5WLl9ytmAMWBciA1OA2QDJPar5CtuF8hBwcGyoHU4DRALFh8v0yGLF4MUoPTACF/4f3iyRJ4MUgNTgP4fQT2C8eL4MUgNTgN4PHk3c8fLYAXg9TgNIDTlXM/dyjPfu5wHBgoB1KD0wDLNKtNbE7s+9mccWCgnHmqxWZ8CSkLiPsJ4ByqZmcAQj18xglJKFsAAAAASUVORK5CYII=) !important; | |
} | |
#identity-box.verifiedDomain #page-proxy-favicon { | |
list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARCAYAAADUryzEAAABMUlEQVQ4y2P4//8/AyWYgSYG5IZp6eaHa08pjtbZD8JA9gSgmBpRBmSHaKgURGjvKovR2V8arQ3GIHZ+hNZOoJwsQQOK40w6CyM09s+fULz6/dsXk9++ejIFxAaJFcUYNxE0ID9SZ0dOsMr+F0/vRQH5PEDMC2LnhqgAXaGznbAXghSBftbYB2RzIYlz5QQr7QfJ4TUgwUN6WVGY4v6ScMX9GX5y+1N9ZME4w19uf2mE4n6QHEgNTgMSPST3V0Yp7K+Kxo5BciA1OA2IcxPbXxYugxeD1OA0IMpJaH9hkDheDFKD04BwO/79uX7CeDFIDU4DQqx59md68ePFIDU4DQgw59yf7Mq9P9UNOwbJgdTgNCAvxnKTrynbfj8z7BgklxtlvhlfQsoC4n4COIeq2RkA/CSXkU0GjUYAAAAASUVORK5CYII=) !important; | |
} | |
#identity-box.mixedContent #page-proxy-favicon { | |
list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARCAYAAADUryzEAAABUUlEQVR42mNgGJQgh0FDN49Bc0ohg/Z+EM5j0JqQzaChRpTmLAZllXwGrV2lQI0lUFwKNkRzJ1BOlqABhQxGnQUM6vvnaReuftf+fPKb1kdTQGyQWAGDYRNBA3IZtHdkMyjvf1p/N+pV/Sue152veUHsHKBYHoP2doIGZDIoABWq73ta/5QLJgZiZzMo7gfJ4dUczyC1rBCoqBiI0xlk96cwyIAxiF0CFAPJgdTgNCCBQWJ/BYP8/ko0DJT6jwVjglgGUWCIS6NgkOL/eXn//4eE/P9vYPAfqPP/AVyGRDIIAkNaHI7hmu3twRqRMVZDQhn49+cwCMMx2ICoKAzNOA0IZuDenwE0BIbBBoCcjQVgNcCfgWN/ItCQFChmwGIzXhfkMlhs8mFg3e8LxQxQhdg0T8RmwJ/pf7L+zvzbj4xhhoCxiAhEs7Iy7qjEAXCmAwB1BfZ1gB3BCAAAAABJRU5ErkJggg==) !important; | |
} | |
#main-window[stylish-url^="resource://"] #page-proxy-favicon, | |
#identity-box.chromeUI #page-proxy-favicon { | |
list-style-image: url("chrome://branding/content/icon16.png") !important; | |
} | |
#main-window[stylish-url^="ftp://"] #page-proxy-favicon { | |
list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAeBJREFUeNqcU81O20AQ/tZ2AgQSYQRqL1UPVG2hAUQkxLEStz4DrXpLpD5Drz31Cajax+ghhx6qHIJURBTxIwQRwopCBbZjHMcOTrzermPipsSt1Iw03p3ZmW++2R0TxhgOD34wjCHZlQ0iDYz9yvEfhxMTCYhEQDIZhkxKd2sqzX2TOD2vBQCQhpPefng1ZP2dVPlLLdpL8SEMcxng/bs0RIHhtgs4twxOh+HjZxvzDx/3GQQiDFISiRBLFMPKTRMollzcWECrDVhtxtdRVsL9youPxGj/bdfFlUZhtDyYbYqWRUdai1oQRZ5oHeHl2gNM+01Uqio8RlH+nsazJzNwXcq1B+iXPHprlEEymeBfXs1w8XxxihfyuXqoHqpoGjZM04bddgG/9+8WGj87qDdsrK9m+oA+pbhQTDh2l1+i2weNbSHMZyjvNXmVbqh9Fj5Oz27uEoP+STxANruJs9L/T6P0ewqPx5nmiAG5f6AoCtN1PbJzuRyJAyDBzzSQYvErf06yYxhGXlEa8H2KVGoasjwLx3Ewk858opQWXm+/ib9EQrBzclLLLy89xYvlpchvtixcX6uo1y/zsiwHrkIsgKbp+YWFOWicuqppoNTnStHzPFCPQhBEBOyGAX4JMADFetubi4BSYAAAAABJRU5ErkJggg==) !important; | |
} | |
#main-window:-moz-any([stylish-url^="file:///"],[stylish-url^="jar:file:///"],[stylish-url^="unmht:///"]) #page-proxy-favicon { | |
list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARCAYAAADUryzEAAAA5UlEQVQ4y2P4//8/AyWYYfAYkFLUlpxR3rM/q6ofL04v694PVBuHYQBIc8OkNftbZ2zGi0FqQIZgGJAGFGyYvI4onIbNgIT81v0V3cuIwiC1GAZEZtTtz2+aSxQGqcUwIDChbH9qxWSiMEgthgGeEXn7o/M6icIgtRgGOPgl7/dLrNoflNqAF/snVu8HqcUwYPLsZcssPWL323gn7rfzS9lv75+Ggu18U8ByIDUTZi5Zhi0lOgNxPwjPX75h8YLlG1HwktVbFsLkgdgVb1I2cQrbb+IcjoLNXSO3k5IX+rHg9sGZGwFu6c9m8lA2cAAAAABJRU5ErkJggg==) !important; | |
} | |
#main-window #urlbar[pageproxystate="invalid"] #page-proxy-favicon { | |
opacity: 0 !important; | |
} | |
#main-window #urlbar[focused]:not([pageproxystate="valid"]) #page-proxy-favicon { | |
list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABKElEQVQ4y2P4//8/AyWYYXAZUF9fj4IZRI21ueTtyoU03GcKqrn2MEuYpwPFBEByBA0AKrQQ1vSYKarjPYlPxTlHQM21XFzXZyaPkmMPUE4ErwFABdy8yk4TgDZ3ghQjiRuJanvNZJY0TydkgKGguttMJnFTF3Rv8So7lgLxJEIGWPGrus4EeQPdAGCYZAC9MZ2QAdJARTM55e1K0cJFCOi1SazSllUEA5FNxiqVV8V5JrusTTFQoy2jmKkz0MBOIJ4O5KvhNAAoqQT0ewEwoJxZpSyTgQbM5JCzBWNWaas+oLwJzmgEaQZqmMSpYD+TUcykAGqgCChQQbYCMSvMhVgNYBI36+aQt5vJIm01AahYAT0AkTEuF6QzipuCnKmETzNOAwYkMwEATAcUn60X3LAAAAAASUVORK5CYII=) !important; | |
opacity: 1 !important; | |
} | |
/* text */ | |
#identity-icon-labels { | |
visibility: visible !important; | |
} | |
#urlbar:-moz-any([pageproxystate="invalid"],[focused]) #identity-icon-labels, | |
#main-window[stylish-url^="https://"] #urlbar:not([level]) #identity-icon-labels { | |
visibility: collapse !important; | |
} | |
#identity-box #identity-icon-labels:after { | |
display: -moz-box !important; | |
-moz-box-align: center !important; | |
color: rgba(0,0,0,.76) !important; | |
text-shadow: none !important; | |
} | |
#identity-box.unknownIdentity #identity-icon-labels:after { | |
content: "Web" !important; | |
} | |
#identity-box.verifiedIdentity #identity-icon-labels:after { | |
content: "Trusted" !important; | |
} | |
#identity-box.verifiedDomain #identity-icon-labels:after { | |
content: "Secure" !important; | |
} | |
#identity-box.mixedContent #identity-icon-labels:after { | |
content: "Mixed" !important; | |
} | |
#main-window[stylish-url^="resource://"] #identity-icon-labels:after, | |
#identity-box.chromeUI #identity-icon-labels:after { | |
content: "Firefox" !important; | |
} | |
#main-window:-moz-any([stylish-url^="file:///"],[stylish-url^="jar:file:///"],[stylish-url^="unmht:///"]) #identity-icon-labels:after { | |
content: "Local" !important; | |
} | |
/* Smart Location */ | |
#urlbar:not([focused]) :-moz-any(stsegment.protocol, stsegment.querry, stsegment.index) { | |
visibility: collapse !important; | |
} | |
#main-window[stylish-url^="https://"] #urlbar:not([level]) stsegment.protocol { | |
visibility: visible !important; | |
} | |
stsegment[class="subdomain www"] { | |
display: block !important; | |
} | |
} | |
#notification-popup-box { | |
background-image: linear-gradient(#ECF1FD,#E5EAF6,#D5D9E6) !important; | |
border:none !important; | |
margin-right:1px !important; | |
} | |
#notification-popup-box:hover { | |
background-image: linear-gradient(#F5F7FD,#F0F3FD,#ECF0FC) !important; | |
} | |
#plugins-notification-icon { | |
list-style-image:url("chrome://branding/content/identity-icons-brand.png") !important; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment