Visit Jeremy's Blog.
Go Back > Blogs > Lumak's Guide to Random Things
User Name


OK I don't really have a good title yet but I figure I can post works in progress and other tips I've come across or other interesting things.
Rate this Entry


Posted 01-19-2009 at 11:12 PM by lumak
Tags styles

OK well maybe not "Bob" personally but 'god' didn't seem the right thing to thank at the moment. OK Off topic.

The other day I realized that the only way to fix webpage style conflicts with dark themed conflicts was to use a firefox add on. A little bit of searching later revealed "Stylish" Tnx-to-da-god-be this solves so many problems. It basically applies your own personal css styles to any page individually or all at once! After some tweaking, here is my all-in-one-fix for a handful of pages with various different -isms.

input,input[type="text"] {
background-color: #666666 !important;
color: #CCCCCC !important;

input[type="submit"] {
background-color: #CCCCCC !important;
color: #000000 !important;

select {
background-color: #CCCCCC !important;
color: #000000 !important;

Note the use of "!important" on everything. Some webpages, despite this add-on's greatness, still override somethings (certain online banking webpages for example) Now their theme is just as generic as anybody else! damn inconsiderate @)(@#*$ Not everybody has lightly colored themes!

OK anyway the reason 'submit' and 'select' are reversed from most dark themes is because I've noticed that, at least without a separate firefox theme, buttons and drop down lists typically have a white/light color base but still use your default chosen colors for text. The result is a barely readable button. So the simplest thing is to just force the text back to black. I suppose you may run into problems that use graphic buttons with real text but a graphic background. But, I'll fix that when the time comes.

Definitely check out "Stylish" add-on if you use a dark desktop theme with firefox and are frustrated with things not appearing correctly.

Now if somebody could fix the problem with certain applications that have a multitude of black icons. At least "the gimp" realized this flaw and has blue icons and icons that include both light and dark colors where you can either see the outline or the color of the tool.
Views 1468 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 05:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration