delucks

delucks' Custom CSS

May 5th, 2013
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 24.83 KB | None | 0 0
  1. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  2. @namespace html url("http://www.w3.org/1999/xhtml");
  3.  
  4. /* searchbar */
  5. #search-container { max-width: 250px !important; }
  6.  
  7. /* urlbar */
  8. #urlbar-container {
  9.     /*max-width: 250px !important;*/
  10.     min-width: 250px !important;
  11.     background: inherit !important;
  12. }
  13. /* favicon and throbber (when tab is loading) */
  14. .tab-throbber, .tab-icon-image {
  15.     width: 14px !important;
  16.     height: 14px !important;
  17.     margin: 0 3px 0 1px !important;
  18. }
  19. /* favicon */
  20. .tab-icon-image {
  21.     /* default favicon */
  22.     /* almost empty image with semi-transparent white dashed frame */
  23.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QQMER0Wy36sIwAAACVpVFh0Q29tbWVudAABAAAAGJVzLkpNLElNUSjPLMlQcPf0DQAAN50F4vAq9YIAAAAmSURBVDjLY/j//789CDNAAdF8ZEFiATl6qADIduqoH4ePH8lJ5ABRUVqRbskH8gAAAABJRU5ErkJggg==") !important;
  24.     -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  25. }
  26. /* common style for some toolbar buttons */
  27. #TabsToolbar toolbarbutton, /* on tabs toolbar */
  28. #addon-bar toolbarbutton { /* on addonbar */
  29.     background: transparent !important;
  30.     -moz-appearance: none !important;
  31.     border-radius: 0 !important;
  32.     box-shadow: none !important;
  33.     padding: 0 !important;
  34.     margin: 0 !important;
  35.     min-height: 0 !important;
  36.     border: none !important;
  37.     height: 16px !important;
  38.     padding: 0 1px 0 1px !important;
  39. }
  40. #TabsToolbar toolbarbutton > image,
  41. #addon-bar toolbarbutton > image {
  42.     margin: 0 !important;
  43.     width: 14px !important;
  44.     height: 14px !important;
  45.     min-width: 0 !important;
  46.     min-height: 0 !important;
  47. }
  48. /* arrowscrollbox with tabs, and some buttons */
  49. .tabbrowser-arrowscrollbox {
  50.     margin: 0 !important;
  51.     padding: 0 !important;
  52. }
  53. /* scrollbox with tabs */
  54. .arrowscrollbox-scrollbox {
  55.     margin: 0 !important;
  56.     padding: 0 !important;
  57. }
  58. /* textbox in the urlbar */
  59. textbox#urlbar {
  60.     background: transparent !important;
  61.     -moz-appearance: none !important;
  62.     margin: 10 !important;
  63.     border: none !important;
  64. }
  65. /* input element in urlbar */
  66. html|input.urlbar-input {
  67.     color: #fafafa !important;
  68. }
  69. /* container for the above */
  70. .urlbar-input-box {
  71.     margin: 0 !important;
  72. }
  73. /* top level container for tabs */
  74. #navigator-toolbox {
  75.     border-bottom: none !important;
  76. }
  77. /* menu button
  78.  
  79. /* text on the menu button ("Firefox") */
  80. #appmenu-toolbar-button > .toolbarbutton-text,
  81. #appmenu-toolbar-button > .toolbarbutton-icon,
  82. #appmenu-button > .toolbarbutton-text,
  83. #appmenu-button > .toolbarbutton-icon {
  84.     display: none !important;
  85. }
  86. /* menu button dropmarker (the arrow on the right) */
  87. #appmenu-toolbar-button > .toolbarbutton-menu-dropmarker,
  88. #appmenu-button > .toolbarbutton-menu-dropmarker {
  89.     -moz-appearance: none !important;
  90.     margin: 0px !important;
  91.     padding: 0px !important;
  92.     border: none !important;
  93.     border-radius: 10px !important;
  94.     background: transparent !important;
  95.     /* high-contrast white firefox icon */
  96.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB90BHAYcDK6XCQIAAAHBSURBVDjLbVK7SgNBFN0kaBFEBVGwS7CQWNnZCNpZWFhYWVhIinS2AbEVsfAHUvoHsRAUUliliIQ8YPMg5Ll5bV6b124iuuO5y0xYJAOHuTv3nHvvnFlJ4ms6nXol22o2mysinkwmq9KyNRqNzjRNe6Z4PB775vO53Ol0LkQ+Eom4dV1/Gw6HuwtRPp9fm81mDOIw4OdxNJPJbNiLl8vlc+R++/2+zzpAp2vDMJgdOAth9KNSqeQSwlgs5kbBOMSmqqrbNNoLxjCFyB7XarUTEgWDQQd4p9VqNUDniB9IGAeZ2QEztEKhcCvL8joJ0+m0q9VqBWDYHeUxTZkcUxAwARigolg0kUg4/93xgIus4uSoCjETwHcR9/E0Go0dEIogfpCwXq97OcekncwpgMzsQMcfgA0GgxHudR8KhZzdbvfKxjEkvFcYYhMgN2lUBstbuM9rKpU6pm44uyQB55ko8ikpiuInAaqbgLXzqmlyHOhRMZ63GsDtGwkmbLXb7Ti6UCeT78tg5TDJezKZ3LQcy2azhxDL1JEIvPMC4gxP8oU/an9hdS6Xc+Ct9iqVyiOSqV6vp9tE3yiahUlP4HiE5g9lny9bfOrQLQAAAABJRU5ErkJggg==") !important;
  97.     -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  98.     -moz-margin-start: 5px !important;
  99.     -moz-margin-end: 5px !important;
  100. }
  101. /* go button (the one that you can press to accept the current url) */
  102. #go-button {
  103.     display: none !important;
  104. }
  105. /* indetity box */
  106. #identity-box {
  107.     width: 16px !important;
  108.     height: 16px !important;
  109.     min-width: 0 !important;
  110.     min-height: 0 !important;
  111.     border: 0 !important;
  112.     border-radius: 0px !important;
  113.     margin: 0 !important;
  114.     padding: 0 !important;
  115.     background: transparent !important;
  116. }
  117. /* identity box text label */
  118. #identity-icon-labels {
  119.     display: none !important;
  120. }
  121. /* identity box icon */
  122. #page-proxy-favicon {
  123.     width: 14px !important;
  124.     height: 14px !important;
  125.     min-width: 0 !important;
  126.     min-height: 0 !important;
  127.     padding: 0 !important;
  128.     margin: 0 0 0 1px !important;
  129.     /* this contains 4 white icons, one for each state; from left:
  130.    
  131. * normal/unsecure (globe)
  132. * mixed content
  133. * secure with verified domain (padlock)
  134. * secure with verified identity (stronger padlock) */
  135.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAOCAYAAAB6pd+uAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAGcSURBVEjHY/j//z8DEhYAYgsgtgHiZ0D8AIiNgdgWiLnQ1KJjJSBeDsRPgfgxEC8EYgkCekBYFYjXAfFLEvU5A/EmIH4BxA+BeDUQG6GrQ+aEAvE7IA4A4m//EeA9EMdAPeyCwzJxqMcKgVgGiK2BeAlUjxgeR2oC8Vsgng7EeiToawPif/8xwW8gzsLmwUCo5FkgnoBFYxMQ34F63A5PTKCLrYM6HpdDtwNxH4n6PP7jBz+hgYURg7TAoBi/hkOOCYg/4QgYfPr2I3lmFxDrQ7PUGSTx+cgerESSKMQTMshymUR6EJSnP1BRDhYo/6FJVB1Jzg3JfVeRPbgHSaIEjweR5dYgGcwHxNF08qAAkhs+ECMHIsqBuAGKrZHY6BhZLh/N4Hd08uDu/8SD2dTyIMzSP1hisgLZMjIcOxstpZAC3lEjiaJbisuT6DHMR4ojsSRBYsAHahQy2CzF5slMPPmFoCMp9SAlGJelf/AUPAPiQXIrenyW/iFQutI9BslpqhHKS7g8SU4eJLuQobSxvZsIT1pRoRQlq5oAAPvTokjAYnI9AAAAAElFTkSuQmCC") !important;
  136.     /* select normal state icon */
  137.     -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  138.     background: transparent !important;
  139. }
  140. /* proxy-favicon for about:newtab and possibly others */
  141. #page-proxy-favicon[pageproxystate="invalid"] {
  142.     opacity: 0.3 !important;
  143. }
  144. /* verified domain */
  145. #identity-box.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
  146.     -moz-image-region: rect(0px, 42px, 14px, 28px) !important;
  147. }
  148. /* verified identity */
  149. #identity-box.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
  150.     -moz-image-region: rect(0px, 56px, 14px, 42px) !important;
  151. }
  152. /* mixed content (part of the site unencrypted) */
  153. #identity-box.mixedContent > #page-proxy-favicon[pageproxystate="valid"] {
  154.     -moz-image-region: rect(0px, 28px, 14px, 14px) !important;
  155. }
  156. /* icons right of editbox (like bookmark star) */
  157. #urlbar-icons {
  158.     height: 16px !important;
  159.     padding: 0 1px 0 1px !important;
  160.     margin: 0 !important;
  161.     /*color: #fafafa !important;*/
  162. }
  163. /* bookmark star button */
  164. #star-button,
  165. /* autocomplete bookmark icon */
  166. .ac-result-type-bookmark,
  167. .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
  168.     /* white heart icon */
  169.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAxDwAAMQ8BtxaZ/wAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAChSURBVDjLnZKxDYNAEATXck5M5iqQS6ACk5O4RRdATEQHJqGCFwmMA99LJ/wI8yut9NrbSe5egJxL4LLJZFnps/hogYmv3kDtSrVlWKeNYMOvFuBpXhLzRkDPefUCQgYYBIwZ4CigywA7ARUwn4BmoPLnWP+AVn+O6MfBooJ1tAUF3N1H8Jpspj1QwA0YHDRYpiNQQAG8zEWqswcKuJqT8w8j9741/gtsxgAAAABJRU5ErkJggg==") !important;
  170.     width: 14px !important;
  171.     height: 14px !important;
  172.     padding: 0 !important;
  173. }
  174. #star-button {
  175.     margin: 0 !important;
  176.     opacity: 0.2 !important;
  177. }
  178. #star-button[starred="true"],
  179. #star-button:hover {
  180.     opacity: 1 !important;
  181. }
  182. /* a set of icons shown left of identity box for
  183. popup notifications, like addon install etc. */
  184. #notification-popup-box {
  185.     position: static !important;
  186.     background: #fafafa !important;
  187.     padding: 0 !important;
  188.     border-radius: 0 !important;
  189.     border: none !important;
  190.     margin: 0 !important;
  191. }
  192. /* notification box icon */
  193. .notification-anchor-icon {
  194.     width: 14px !important;
  195.     height: 14px !important;
  196.     margin: 0 !important;
  197. }
  198. /* addons notification icon */
  199. #addons-notification-icon {
  200.     /* black puzzle piece */
  201.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAADaSURBVDjLldK7SgRBEIXhD2+gmZdMTDTYdzAyV3wO30UFA0HWBzARDYw1NREx3khQQRYjE1FkbJOapRhmZAyKLrrPX5dDK6WoA8u4wyu28lszNMA9lIjhf8CNBO7+CWIRVzjDeQIvcIATHLWBq0ncFaM2cK0H+NAGLuEFQ1Qd4H2Id7A+MQfTcZ52gB+4jvwNczA1qcJxj7ELVmpXv3GJrw7hD24iH2MeZnp0eI6JNjHIO36mytsYhGE1OG79OXgKwXsy6jGBVX3fBA+jQ4WFGP8Wo9htH7MZ/AVIGx+tH4CRXQAAAABJRU5ErkJggg==") !important;
  202. }
  203. /* arrow icon opening autocomplete history (same as pressing down) */
  204. .urlbar-history-dropmarker {
  205.     display: none !important;
  206. }
  207. /* tab close button */
  208. .tab-close-button {
  209.     display: none !important;
  210. }
  211. /* new tab button */
  212. toolbarbutton.tabs-newtab-button,
  213. toolbarbutton#new-tab-button {
  214.     /* white plus icon */
  215.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABmJLR0QAEQARABHTl+z4AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QQGDAAuZ1Oo5gAAACVpVFh0Q29tbWVudAABAAAAGJVzLkpNLElNUSjPLMlQcPf0DQAAN50F4vAq9YIAAAAcSURBVDjLY2AY+uA/FAxSjf8JAOprHEKBM7gBAO6xb5EM9ar2AAAAAElFTkSuQmCC") !important;
  216.     -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  217. }
  218. /* tab */
  219. .tabbrowser-tab {
  220.     color: #fafafa !important;
  221.     background: transparent !important;
  222.     border: none !important;
  223.     border-radius: 0 !important;
  224.     min-height: 0 !important;
  225.     font-family: sans-serif !important;
  226.     font-size: 12px !important;
  227.     text-shadow: none !important;
  228.     padding: 0 !important;
  229.     margin: 0 !important;
  230.     -moz-margin-end: 5px !important;
  231. }
  232. /* selected tab */
  233. .tabbrowser-tab[selected="true"] {
  234.      background: #f5b915 !important;
  235.      color: #262729 !important;
  236.     /*font-weight: bold !important; */
  237. }
  238. /* tabs container */
  239. .tabbrowser-tabs {
  240.     background: transparent !important;
  241.     max-height: inherit !important;
  242. }
  243. /* primary toolbar (like tabs toolbar, addon bar etc.) */
  244. .toolbar-primary {
  245.     background: #262729 !important;
  246.     /*background: transparent !important;*/
  247.     height: 20px !important;
  248.     min-height: 0px !important;
  249.     padding: 0px !important;
  250.     border: none !important;
  251.     -moz-appearance: none !important;
  252. }
  253. /* status bar (the element right of addon bar */
  254. #status-bar {
  255.     display: none !important;
  256. }
  257. /* addonbar close button */
  258. #addonbar-closebutton {
  259.     /* white "X" icon */
  260.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABuSURBVCiRpZJLDsAgCESVS7DtyXs2b/K6gYYSbBo6iQvHeX6QCYyOJM218DynDwfwcQALOAEJvpi3LDOAG1RbcDnskGtZduRdSXDlSQR3cAll8A3O7y4r+E1/r9ouTvs72g0QT5bkOazRmzSb/ALS8uJAiyQ1zwAAAABJRU5ErkJggg==") !important;
  261.     -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  262. }
  263. /* Custom icons for some extensions */
  264. /* greasemonkey */
  265. #addon-bar toolbarbutton#greasemonkey-tbb {
  266.     /* white high-contrast monkey face */
  267.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAQQAAAEEBxwOxKQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAADFSURBVDjLY/j//z8DGmYCYlsgTgPiCCCWx6KGAV1AD4hP/McEp4FYFJdGWSD+9h83uAbEUsgauYDYGoiX/icMVgGxJUgPSGMjmuRjIN6IxN8JxL+h7H9QejpI4000jR1Q51yH+g0UWD1oal6AFDxBEzwJxJVA/B2IPwBxKtR/yOAlSGPhf9JBByxEZ5CgaTIQM8I0VpOgsQs5Hv1I0OiJngDaidDUhi3lMAJxMxA/xKLhATSkcaZVGDYC4gIgzoGmKkZ0NQCkPsQiARbNpQAAAABJRU5ErkJggg==") !important;
  268.     -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  269.     padding: 0 !important;
  270. }
  271. #greasemonkey-tbb[disabled="yes"] {
  272.     opacity: 0.3 !important;
  273. }
  274. #greasemonkey-tbb[disabled="yes"] .toolbarbutton-icon {
  275.     opacity: 1 !important;
  276. }
  277. /* grab and drag */
  278. #grabanddrag-button {
  279.     /* a set of 4 white hands; from left: filled, crossed, outline, double-crossed */
  280.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAOCAYAAAB6pd+uAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAHZSURBVEjHrZXNK0RRGIdHPlayoJlispOVDcXGLCz8A0qMspooG1E2kgUpRaYUf4BigTGJJDaixMbSTsnHQqGUyMp9bN7R7XS+7sycut2ZM+9zfueZc869MSBmuOaAc6DHUlNObhU4BjrLmWeDws13wip3BtR6cCtS/yz3Q6C9HHk+kK+oygVAxmOSy1I/DlQJcy98HmiLmJcC9oBKneAwfu3EwenkMsCp0jcr9VNKfzUwCjzIWJueeSngRe4Z4DQMNQMjnoJXFs4kFyjcIvABXFtWtxq4BG488lS5ALgKL/cnMO8pmDVwNjmVK7Q7xxZ+BNYdeTo5gKwaFngK9ms4l1yBm5HP0/Jw+bHINUrtsCXPJAfQHwN2id6SQM5zW6rcFvAFNEndGtBgEOwTrsWQZ5MDSMaAOPAaQe5JwhPAewS5AlcvkzqQ7xVy1nSCS8CbIc8l9xR+ig5EENwJTSDtKadyhZUZcpy/C+BIk+eS+88LD5bzFJywTChjOceTSu2OrE7cMFYV8C2vknB/h4fcf14YTEigq3UVIafj4pK3bRivQ7hepT8BdPvmqYMOOuR+gBrNZFqB3yK4tPy+AIwp14aMWVdKnu6fy1vAS8v2zBXJ7Vu421Lz/gDMEKRD2g27cwAAAABJRU5ErkJggg==") !important;
  281.     -moz-image-region: rect(14px 14px 14px 0px) !important;
  282. }
  283. #grabanddrag-button[gadOn="false"] {
  284.     -moz-image-region: rect(0px 28px 14px 14px) !important;
  285. }
  286. #grabanddrag-button[gadOn="true"] {
  287.     -moz-image-region: rect(0px 42px 14px 28px) !important;
  288. }
  289. #grabanddrag-button[gadOn="QT"] {
  290.     -moz-image-region: rect(0px 56px 14px 42px) !important;
  291. }
  292. #grabanddrag-button[gadOn="BL"] {
  293.     -moz-image-region: rect(0px 14px 14px 0px) !important;
  294. }
  295. /* adblock plus */
  296. #abp-toolbarbutton {
  297.     /* white stop sign with letters "ABP" cut out */
  298.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAANsAAADbABfWVZ+gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAADrSURBVDjLpdKtS0RREMbhq4hfwSJ+tBVEtIuYNBgEgyAsGgwWg1wwGBc1Khi02QX/BbvJbDBaxG423sfy3uXCbljZgYE5Z+Z3znvOTIGi4SUqvVYl160dBOoLDwr1wDX0i078DQ+J7/GN66zv8IOyyCmfuXkKl1jDMhaxh8nEYzhFVUTCa8AtnAQ8wBFaAS+S35RieMYIjrETcBrjuAq4jtko6IK3mME5VgJuYxcLAVs4xHsTLKN/Pu9cjdQzTDSkdq3+nH0soZ29ucgaxUYfsKrb8YgnfDTa0sENvtKOl2YvhxqAoUbu30P+BzWVro8bUqwDAAAAAElFTkSuQmCC") !important;
  299.     -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  300. }
  301. #abp-toolbarbutton[abpstate="disabled"],
  302. #abp-toolbarbutton[abpstate="whitelisted"] {
  303.     -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  304.     opacity: 0.3 !important;
  305. }
  306. /* stylish */
  307. #stylish-toolbar-button {
  308.     /* a set of 2 white brushes; from left: outline, filled */
  309.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAOCAYAAAA8E3wEAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAANsAAADbABfWVZ+gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFhSURBVDjLldQ9LwRBAMbxjTuJQiUa9TVCFBoF1TUIV4hP4C0KznlLFBISohGJhkpEIlFfpaaikAgRGolKaL1z4WT8J55LJsfuzW7y27ktnnt2Z3Y2MMac4Qj9CGK4xCl64+Ts6RgrOMdSjPCV+T1esBynsFt32oBr9HiGM3hySrt8C611TW0f7pDyLN1WmVF5yrfQGsItNjSmUeNROo5XfOMBHUj6FFrtuMc0bvCIAvaQiChNq9RotJki8uW5/8KdWsvSdVLBSqUZp9Q45Xn3icPCz6h2ruvwpjWLmt6C+Xt8YbdSof3zWv224wUOMIaJiMLPsrJ3bbtR5KIKd7CPem3wE4UmNWZDcnlnWj/05o+ozI7ZsMIqldrQIRaw5oQbQ3IJlRb1ZPNYdXLNUethSzcxgymntKnCOtrSLcwpt6hcS9SUugYwqztsi/HpG9T2ymm7Bb6FpXBrzI+7NVye+wHKj/NM6kQh1QAAAABJRU5ErkJggg==") !important;
  310.      -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  311. }
  312. #stylish-toolbar-button[styles-applied~="site"] {
  313.     -moz-image-region: rect(0px, 28px, 14px, 14px) !important;
  314. }
  315. /* contrast+grayscale filter for noscript icons */
  316. #noscript-tbb > image {
  317.     filter: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"><filter id="f" color-interpolation-filters="sRGB"><feColorMatrix values="1 1 1 0 -1 1 1 1 0 -1 1 1 1 0 -1 0 0 0 1 0 " /></filter></svg>#f') !important;
  318. }
  319. /* hide dropmarkers for these icons, since clicking on it
  320. does the same as clicking on the icon */
  321. #abp-toolbarbutton > dropmarker,
  322. #stylish-toolbar-button > dropmarker {
  323.     display: none !important;
  324. }
  325. /* tab scroll buttons */
  326. .scrollbutton-up, .scrollbutton-down {
  327.     /* right arrow triangle icon */
  328.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABJSURBVDjLY/j//z8DOZiBHhoFSdUoAsTTgXgNsRpZgDgPiN/9h4ANxGh0BeKr/1EBXo3KUAXYAG00ku1UigOHouigOAFQN60CAIEuaUsPHqYoAAAAAElFTkSuQmCC") !important;
  329.     -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  330.     width: 16px !important;
  331. }
  332. /* icons on tab scroll buttons */
  333. .scrollbutton-up > .toolbarbutton-icon,
  334.  .scrollbutton-down > .toolbarbutton-icon {
  335.     -moz-appearance: none !important;
  336. }
  337. /* flip the right scroll button's icon */
  338.  .scrollbutton-down > .toolbarbutton-icon {
  339.     transform: scaleX(-1) !important;
  340.  }
  341. /* tab groups button */
  342. #tabview-button {
  343.     /* 4 white rectangles */
  344.     list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABmJLR0QAEQARABHTl+z4AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QQGCy0J5zxR5wAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQoz2P8////fwYkwMjIyMjAwMCALo4OmBjIBPTXSH/ASCj0cIXyEArVkaARABt6EA86GPt2AAAAAElFTkSuQmCC") !important;
  345.     -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  346. }
  347. /* Scrollbar stuff
  348. Notes:
  349. xul scrollbar layout:
  350. <scrollbar>
  351. <xul:scrollbarbutton type="decrement"/>
  352. <xul:slider flex="1">
  353. <xul:thumb/>
  354. </xul:slider>
  355. <xul:scrollbarbutton type="increment"/>
  356. </scrollbar>
  357. scrollbar has an attribute "orient"
  358. which can be "vertical" or "horizontal"
  359. scrollbarbutton has an attribute "type"
  360. which can be "increment" or "decrement" */
  361. /* scrollbar (outermost container) */
  362. scrollbar {
  363.     -moz-appearance: none !important;
  364.     box-shadow: none !important;
  365.     margin: 0 !important;
  366.     padding: 0 !important;
  367. }
  368. /* vertical scrollbar */
  369. scrollbar[orient="vertical"] {
  370.     width: 6px !important;
  371.     background-position: bottom !important;
  372. }
  373. /* horizontal scrollbar */
  374. scrollbar[orient="horizontal"] {
  375.     height: 6px !important;
  376.     background-position: right !important;
  377. }
  378. /* scrollbar handle */
  379. scrollbar thumb {
  380.     -moz-appearance: none !important;
  381.     border: none !important;
  382.     background: #fafafa !important;
  383.     border-radius: 0 !important;
  384.     box-shadow: none !important;
  385. }
  386. /* scrollbar up/down buttons (possibly others) */
  387. scrollbarbutton {
  388.     background: #e04613 !important; /* 0f0 */
  389.     display: none !important;
  390. }
  391. /* scrollbar slider (the part on which the handle moves) */
  392. scrollbar slider {
  393.     background: transparent !important;
  394. }
  395. scrollbar,
  396. /* scrollbars corner (shown when both horizontal
  397. and vertical scrollbars are visible) */
  398. scrollcorner {
  399.     /* 45deg dark-grey bars pattern */
  400.     background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABLSURBVAiZbcyxCQAxDATBtVGiUE2oEvdfgBq5ROCPzIPxpcPtWGttSVQV3c3ZlIS7k5mY2Q9VxQtnd/PCEREbwMzITNwdSczTvJ8f7CAp+bicUDIAAAAASUVORK5CYII=") !important;
  401.     background-size: 6px 6px !important;
  402. }
  403. /*
  404. The following code is a hack working around bug:
  405. https://bugzilla.mozilla.org/show_bug.cgi?id=401213
  406. - scrollbars are scaled with the page content when you use zoom.
  407. The way this works is that media queries are used to determine
  408. the zoom level (ratio between css pixels and device pixels).
  409. Firefox has 8 enlargement zoom levels and 5 reduction ones, when
  410. using ctrl + +/ctrl + - shortcuts, zoom commands from menu, zoom
  411. toolbar buttons. Ctrl + scroll uses different steps (and more).
  412. I found the ratios for the zoom levels with percision of 2 digits
  413. after decimal point. Now for each zoom level, the scrollbars
  414. width and height (and background size) are fixed (lowered
  415. for enlargement, increased for reduction), as to get the right
  416. amount of device pixels. This works exactly for those exact zoom
  417. levels, but not others. It will hovewer always at least minimize
  418. the amount the scrollbars are resized.
  419. */
  420. /* Enlagrement */
  421. @media (min-resolution: 1.09dppx) {
  422. scrollbar[orient="vertical"] { width: 5.505px !important; }
  423. scrollbar[orient="horizontal"] { height: 5.505px !important; }
  424. scrollbar, scrollcorner { background-size: 5.505px 5.505px !important; } }
  425. @media (min-resolution: 1.19dppx) {
  426. scrollbar[orient="vertical"] { width: 5.042px !important; }
  427. scrollbar[orient="horizontal"] { height: 5.042px !important; }
  428. scrollbar, scrollcorner { background-size: 5.042px 5.042px !important; } }
  429. @media (min-resolution: 1.32dppx) {
  430. scrollbar[orient="vertical"] { width: 4.545px !important; }
  431. scrollbar[orient="horizontal"] { height: 4.545px !important; }
  432. scrollbar, scrollcorner { background-size: 4.545px 4.545px !important; } }
  433. @media (min-resolution: 1.5dppx) {
  434. scrollbar[orient="vertical"] { width: 4px !important; }
  435. scrollbar[orient="horizontal"] { height: 4px !important; }
  436. scrollbar, scrollcorner { background-size: 4px 4px !important; } }
  437. @media (min-resolution: 1.71dppx) {
  438. scrollbar[orient="vertical"] { width: 3.509px !important; }
  439. scrollbar[orient="horizontal"] { height: 3.509px !important; }
  440. scrollbar, scrollcorner { background-size: 3.509px 3.509px !important; } }
  441. @media (min-resolution: 2dppx) {
  442. scrollbar[orient="vertical"] { width: 3px !important; }
  443. scrollbar[orient="horizontal"] { height: 3px !important; }
  444. scrollbar, scrollcorner { background-size: 3px 3px !important; } }
  445. @media (min-resolution: 2.39dppx) {
  446. scrollbar[orient="vertical"] { width: 2.51px !important; }
  447. scrollbar[orient="horizontal"] { height: 2.51px !important; }
  448. scrollbar, scrollcorner { background-size: 2.51px 2.51px !important; } }
  449. @media (min-resolution: 3dppx) {
  450. scrollbar[orient="vertical"] { width: 2px !important; }
  451. scrollbar[orient="horizontal"] { height: 2px !important; }
  452. scrollbar, scrollcorner { background-size: 2px 2px !important; } }
  453. /* Reduction */
  454. @media (max-resolution: 0.9dppx) {
  455. scrollbar[orient="vertical"] { width: 6.667px !important; }
  456. scrollbar[orient="horizontal"] { height: 6.667px !important; }
  457. scrollbar, scrollcorner { background-size: 6.667px 6.667px !important; } }
  458. @media (max-resolution: 0.8dppx) {
  459. scrollbar[orient="vertical"] { width: 7.5px !important; }
  460. scrollbar[orient="horizontal"] { height: 7.5px !important; }
  461. scrollbar, scrollcorner { background-size: 7.5px 7.5px !important; } }
  462. @media (max-resolution: 0.67dppx) {
  463. scrollbar[orient="vertical"] { width: 8.955px !important; }
  464. scrollbar[orient="horizontal"] { height: 8.955px !important; }
  465. scrollbar, scrollcorner { background-size: 8.955px 8.955px !important; } }
  466. @media (max-resolution: 0.5dppx) {
  467. scrollbar[orient="vertical"] { width: 12px !important; }
  468. scrollbar[orient="horizontal"] { height: 12px !important; }
  469. scrollbar, scrollcorner { background-size: 12px 12px !important; } }
  470. @media (max-resolution: 0.3dppx) {
  471. scrollbar[orient="vertical"] { width: 20px !important; }
  472. scrollbar[orient="horizontal"] { height: 20px !important; }
  473. scrollbar, scrollcorner { background-size: 20px 20px !important; } }
  474.  
  475. /* hover background color */
  476. .tabbrowser-tab:hover, /* tab */
  477. #TabsToolbar toolbarbutton:hover, /* buttons on tabs toolbar */
  478. #addon-bar > toolbarbutton:hover, /* buttons on addons toolbar */
  479. .scrollbutton-up:hover, /* scrollbuttons */
  480. .scrollbutton-down:hover,
  481. #identity-box:hover, /* identity box */
  482. scrollbar thumb:hover, /* scrollbar handle */
  483. scrollbar thumb:active,
  484. #urlbar-icons:hover, /* icons right of urlbar input */
  485. #notification-popup-box:hover, /* notification popup box */
  486. .autocomplete-richlistitem[selected="true"] { /* selected ac rlb item */
  487.     background: #9dba3a !important; /*2E5780*/
  488.     opacity: 1 !important;
  489.     box-shadow: none !important;
  490.     transition-duration: 1ms !important;
  491. }
  492. /* some tweaks for DOM Inspector addon */
  493. treechildren::-moz-tree-cell-text(ELEMENT_NODE) {
  494.     color: #ffffff !important;
  495. }
  496. treechildren::-moz-tree-cell-text(CDATA_SECTION_NODE),
  497. treechildren::-moz-tree-cell-text(TEXT_NODE) {
  498.     color: #4444aa !important;
  499. }
  500. /* autocomplete richtext listbox used for autocomplete of url; styled in autocomplete.css */
  501. .autocomplete-richlistbox {
  502.     background: #262729 !important; /*111111*/
  503. }
  504. /* autocomplete richtext listbox item */
  505. .autocomplete-richlistitem {
  506.     color: #fafafa !important;
  507. }
  508. /* url autocomplete richtext listbox url of site; styledd in browser.css */
  509. .ac-url-text {
  510.     color: #cccccc !important;
  511. }
  512. /* .ac-site-icon, .ac-type-icon - ac left/right icons */
  513. /* #statusbar-display, statuspanel-inner */
  514. /* Label popping up when hovering over links */
  515. .statuspanel-label {
  516.     background: #262729 !important;
  517.     border: none !important;
  518.     border-radius: 0 !important;
  519.     padding: 2px !important;
  520.     color: #fafafa !important;
  521. }
  522. /* editbox on findbar */
  523. .findbar-textbox[status="notfound"] {
  524.   box-shadow: 0 0 0 1em #c00000 inset !important;
  525.   color: #ffffff !important;
  526. }
  527. /*
  528. button {
  529. background: transparent !important;
  530. border: 1px solid #444 !important;
  531. border-radius: 0 !important;
  532. box-shadow: none !important;
  533. color: #fff !important;
  534. text-shadow: none !important;
  535. }
  536. button:hover {
  537. background: rgba(255, 255, 255, 0.3) !important;
  538. }
  539. */
Add Comment
Please, Sign In to add comment