From 71a9c12f308edda7a8c97214e301b943d8ac6822 Mon Sep 17 00:00:00 2001 From: "glen@chromium.org" Date: Tue, 28 Jul 2009 23:10:36 +0000 Subject: 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 --- chrome/browser/dom_ui/dom_ui_theme_source.cc | 1 - chrome/browser/resources/new_new_tab.css | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'chrome') 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; -- cgit v1.1