diff options
author | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 23:10:36 +0000 |
---|---|---|
committer | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 23:10:36 +0000 |
commit | 71a9c12f308edda7a8c97214e301b943d8ac6822 (patch) | |
tree | c5816c9838510395214c83feeca102f6b89f13fb | |
parent | 85f7ab743d48e3b1e3667e1f621859b5655a29c8 (diff) | |
download | chromium_src-71a9c12f308edda7a8c97214e301b943d8ac6822.zip chromium_src-71a9c12f308edda7a8c97214e301b943d8ac6822.tar.gz chromium_src-71a9c12f308edda7a8c97214e301b943d8ac6822.tar.bz2 |
Stop doing the saturation-gradient thing on the NNTP. It blinded people. Also update the section background so that it looks the same on white, but is actually transparent.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/159549
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21914 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/dom_ui/dom_ui_theme_source.cc | 1 | ||||
-rw-r--r-- | chrome/browser/resources/new_new_tab.css | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_theme_source.cc b/chrome/browser/dom_ui/dom_ui_theme_source.cc index 92ec21b..7e7fd38 100644 --- a/chrome/browser/dom_ui/dom_ui_theme_source.cc +++ b/chrome/browser/dom_ui/dom_ui_theme_source.cc @@ -104,7 +104,6 @@ void DOMUIThemeSource::SendNewTabCSS(int request_id) { skia::HSL section_lighter; skia::SkColorToHSL(color_section, section_lighter); section_lighter.l += (1 - section_lighter.l) * 0.33; - section_lighter.s += (1 - section_lighter.s) * 0.1; SkColor color_section_lighter = skia::HSLToSkColor(SkColorGetA(color_section), section_lighter); diff --git a/chrome/browser/resources/new_new_tab.css b/chrome/browser/resources/new_new_tab.css index 37ddbee..99801f3 100644 --- a/chrome/browser/resources/new_new_tab.css +++ b/chrome/browser/resources/new_new_tab.css @@ -366,7 +366,7 @@ html[dir=rtl] .thumbnail-container > .title > div { } .section { - background: hsl(213, 75%, 97%); + background: rgba(239, 246, 255, 0.8); -webkit-border-radius: 4px; white-space: nowrap; text-overflow: ellipsis; |