JustOff / dismiss-the-overlay

Dismiss The Overlay
https://justoff.github.io
12 stars 2 forks source link

Button Name #5

Closed billmcct closed 6 years ago

billmcct commented 6 years ago

JustOff could you please shorten the button name? I am visually impaired and use text buttons and the button is using almost 2 inches of space. I think just "Remove Overlay" would be good. Thanks. Bill

JustOff commented 6 years ago

Do you use text only buttons or icon and text?

billmcct commented 6 years ago

JustOff, I use text only buttons. I just had to use FF to post this. Go figure.

JustOff commented 6 years ago

Well, then add this code to UserChrome.css

toolbar:not([mode="icons"]) > #action-button--behind-the-overlay-meoffjustoff-behindtheoverlay-button .toolbarbutton-text {
  display: none !important;
}
toolbar:not([mode="icons"]) > #action-button--behind-the-overlay-meoffjustoff-behindtheoverlay-button:after {
  content: " Remove Overlay" !important;
  display: -moz-box !important;
}

and restart browser.

PS: Don't forget to add @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); at the beginning of UserChrome.css if you create it from scratch.

billmcct commented 6 years ago

Thank you kindly good sir.

Bill

JustOff commented 6 years ago

You are welcome)