Difference between revisions of "Mozilla Firefox"

Add userContent.css method
imported>Dalto
(Added plasma integration section)
imported>Cscs
(Add userContent.css method)
Line 29: Line 29:
Some pages will be hard to read when using dark gtk themes.  There are a couple of different ways to handle this:
Some pages will be hard to read when using dark gtk themes.  There are a couple of different ways to handle this:
* The most flexible way is to install the add-on [https://addons.mozilla.org/en-US/firefox/addon/text-contrast-for-dark-themes Text Contrast for Dark Themes] which will allow you to keep your theming but adjust it on a per page basis as needed
* The most flexible way is to install the add-on [https://addons.mozilla.org/en-US/firefox/addon/text-contrast-for-dark-themes Text Contrast for Dark Themes] which will allow you to keep your theming but adjust it on a per page basis as needed
* A simpler way is Preferences->Language & Appearance->Colors and uncheck "Use System Colors".  The downside of this approach is that Firefox will no longer use a dark theme.
* A simpler way is Preferences->Language & Appearance->Colors and uncheck "Use System Colors".  The downside of this approach is that Firefox will no longer use a dark theme.


* We can use css to force white backgrounds with dark text and controls by editing or creating ''~/.mozilla/profile.default/chrome/userContent.css'' with the following content:
input:not(.urlbar-input):not(.textbox-input):not(.form-control):not([type='checkbox']):not([type='radio']), textarea, select {
    -moz-appearance: none !important;
    background-color: white;
    color: black;
}
#downloads-indicator-counter {
    color: white;
}


=Plasma Integration=
=Plasma Integration=
Anonymous user