LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs > Lumak's Guide to Random Things
User Name
Password

Notices



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

THANK "BOB"!

Posted 01-20-2009 at 12:12 AM 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 1253 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 07:34 PM.

Main Menu
Advertisement

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