Post Reply 
Google Light Theme - fixed 2010-05-06
May. 08, 2010, 04:47 AM (This post was last modified: May. 08, 2010 04:55 AM by OZO.)
Post: #11
RE: Google Light Theme - fixed 2010-05-06
@ ProxRocks
Thanks for suggestion to add "div#cnt {max-width: none;}\r\n". I've added it. But now the problem is - Google doesn't provide enough text to fill it to the right end of mine wide screen Big Teeth

Below is the new code with it. I've fixed "No Search English pages bar" too. I've seen some occasions then it doesn't work (interference with another Proxo filter). Now it should cover those cases too. Here is the fixed version of filters:
Code:
Name = ". + Google Light Theme     10.05.07 (!nn) [ozo] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 32
Match = "<style( id=\"themed\"*>$INEST(<style,//-->|-->|</style))\1(*</style >)\2"
Replace = "<style\1\r\n"
          "/* Google Light Theme */\r\n"
          "a {text-decoration: none;}\r\n"
          "a:link, .q a:link, a.toplink:visited {color: #00A !important;}\r\n"
          "a:visited {color: #A0D;}\r\n"
          "a:active, .q a:active, a.fl:active {color: #D00 !important;}\r\n"
          "a:hover, .q a:hover, a.fl:hover {text-decoration: underline; color: #000 !important;}\r\n"
          "a.ProXPref:hover {color: #379CCD;}\r\n"
          "a.ProXPrefJs {color: #008 !important; }\r\n"
          "a.ProXPrefJs:visited {color: #A0D !important;}\r\n"
          "a.ProXPrefJs:active {color: #D00 !important;}\r\n"
          "a.ProXPrefJs:hover {color: #000 !important;}\r\n"
          ".odd {background: #F0F0FE; margin-bottom:0.7em !important;}\r\n"
          ".even {background: #F0FEF0; margin-bottom:0.7em !important;}\r\n"
          ".s {max-width: none !important; width: auto !important;}\r\n"
          "li {padding-left: .5em; padding-right: .5em;}\r\n"
          ".g {line-height: 16px; margin-top: 10px; margin-bottom: 10px;}\r\n"
          "div.mainspace {line-height: 3px;}\r\n"
          "div#cnt {max-width: none;}\r\n"
          "/* Fixing center column: */\r\n"
          "#center_col { margin: 0px; padding:0px;}\r\n"
          "\2"

Name = ". + Google - No left bar     10.05.07 (!nn) [ozo,sumw] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 15000
Match = "<div id=leftnav*(<div id=foot class=tsf-p)\1"
Replace = "\r\n<!-- Removed LeftNav -->\r\n\1$STOP()"

Name = ". + Google - No Logo     10.05.07 (!nn) [ozo] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 500
Match = "<div style="position:absolute;left*(<div class=tsf-p)\1"
Replace = "\r\n<!-- Removed Logo -->\r\n\1$STOP()"

Name = ". + Google - No Search English pages bar     10.05.07 (!nn) [ozo] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 500
Match = "<div id=tbbc*</div>"
Replace = "\r\n<!-- Removed Search English pages bar -->\r\n$STOP()"

@ Dave Guest
As you may guess, there is the problem with floating text around the left bar (and especially if its code on HTML page is below the main central block). I don't see a solution to make center column text to flow around the left bar. But without that floating - I don't want to loose a lot of space on the left side of the page (below the left bar), while I'm browsing my 100 results page...

If you want to un-check the option "No left bar" - you may try the code below. It is a hack. Keep in mind: 1) text doesn't flow around it; 2) code becomes less efficient (you may see extra an delay displaying the page if you check the option "No left bar").

I'd prefer to keep option checked all the time and use the official code above...

Code:
Name = ". + Google Light Theme     10.05.07.h (!nn) [ozo] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 32
Match = "<style( id=\"themed\"*>$INEST(<style,//-->|-->|</style))\1(*</style >)\2"
Replace = "<style\1\r\n"
          "/* Google Light Theme */\r\n"
          "a {text-decoration: none;}\r\n"
          "a:link, .q a:link, a.toplink:visited {color: #00A !important;}\r\n"
          "a:visited {color: #A0D;}\r\n"
          "a:active, .q a:active, a.fl:active {color: #D00 !important;}\r\n"
          "a:hover, .q a:hover, a.fl:hover {text-decoration: underline; color: #000 !important;}\r\n"
          "a.ProXPref:hover {color: #379CCD;}\r\n"
          "a.ProXPrefJs {color: #008 !important; }\r\n"
          "a.ProXPrefJs:visited {color: #A0D !important;}\r\n"
          "a.ProXPrefJs:active {color: #D00 !important;}\r\n"
          "a.ProXPrefJs:hover {color: #000 !important;}\r\n"
          ".odd {background: #F0F0FE; margin-bottom:0.7em !important;}\r\n"
          ".even {background: #F0FEF0; margin-bottom:0.7em !important;}\r\n"
          ".s {max-width: none !important; width: auto !important;}\r\n"
          "li {padding-left: .5em; padding-right: .5em;}\r\n"
          ".g {line-height: 16px; margin-top: 10px; margin-bottom: 10px;}\r\n"
          "div.mainspace {line-height: 3px;}\r\n"
          "div#cnt {max-width: none;}\r\n"
          "/* Fixing center column: */\r\n"
          "#center_col {width:80%; }\r\n"
          "\2"

Name = ". + Google - No left bar     10.05.07.h (!nn) [ozo,sumw] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 15000
Match = "<div id=leftnav*(<div id=foot class=tsf-p)\1"
Replace = "\r\n<!-- Removed LeftNav -->\r\n<style>#center_col { margin: 0px !important; padding:0px !important; width:100% !important;}</style>\1$STOP()"

Name = ". + Google - No Logo     10.05.07 (!nn) [ozo] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 500
Match = "<div style="position:absolute;left*(<div class=tsf-p)\1"
Replace = "\r\n<!-- Removed Logo -->\r\n\1$STOP()"

Name = ". + Google - No Search English pages bar     10.05.07 (!nn) [ozo] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 500
Match = "<div id=tbbc*</div>"
Replace = "\r\n<!-- Removed Search English pages bar -->\r\n$STOP()"
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Google Light Theme - fixed 2010-05-06 - OZO - May. 07, 2010, 06:06 AM
RE: Google Light Theme - fixed 2010-05-06 - OZO - May. 08, 2010 04:47 AM

Forum Jump: