Quick and dirty grayscale?

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

petrus

Quick and dirty grayscale?

Unread post by petrus » 2017-01-02, 22:37

Is there a quick (and dirty) way to turn the complete user interface grayscale, like apply "-moz-filter : grayscale (100%);" to * interface?
I mean everything across the board, buttons, icons, fav icons, address bar icons, you name it, really everything except and web page itself!

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1569
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Quick and dirty grayscale?

Unread post by Lootyhoof » 2017-01-02, 23:17

This should do it:

Code: Select all

#titlebar,
#navigator-toolbox,
#browser-bottombox {
  filter: grayscale(100%);
}

petrus

Re: Quick and dirty grayscale?

Unread post by petrus » 2017-01-03, 01:21

Thank you very much, that exactly, and it looks even better than expected:
Image

You should release it as a theme! :)

Edit: i removed the "Search or enter address" text from the "location bar" (or address bar) with this stylish script:

Code: Select all

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#urlbar *|*.textbox-input::-moz-placeholder,
#urlbar *|*.textbox-input:focus::-moz-placeholder {color:transparent!important}

#searchbar *|*.textbox-input::-moz-placeholder,
#searchbar *|*.textbox-input:focus::-moz-placeholder {color:transparent!important}
found on https://support.mozilla.org/questions/998991

petrus

Re: Quick and dirty grayscale?

Unread post by petrus » 2017-01-03, 02:03

Lootyhoof: Is it somehow possible to exclude ".tab-icon-image" (favicons) from this? (not whole tabs, or the tab bar, just the icons)

And this is how just replacing #browser-bottombox with #addon-bar turns out:
Image

Locked