diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 08:11:30 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 08:11:30 +0000 |
commit | 11a2da1a77c397d687ec142b8fe2103efa45d3f0 (patch) | |
tree | d2649fb4d02addb6c6f430fd4c76b955851e5957 /chrome/browser/resources/new_tab_theme.css | |
parent | 4171f4a814ba9f7f3534f0c8554fe9e2ccaf66ec (diff) | |
download | chromium_src-11a2da1a77c397d687ec142b8fe2103efa45d3f0.zip chromium_src-11a2da1a77c397d687ec142b8fe2103efa45d3f0.tar.gz chromium_src-11a2da1a77c397d687ec142b8fe2103efa45d3f0.tar.bz2 |
Reland r57473
TBR=eroman@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57492 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_tab_theme.css')
-rw-r--r-- | chrome/browser/resources/new_tab_theme.css | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/chrome/browser/resources/new_tab_theme.css b/chrome/browser/resources/new_tab_theme.css index 150d3be..7597812 100644 --- a/chrome/browser/resources/new_tab_theme.css +++ b/chrome/browser/resources/new_tab_theme.css @@ -16,10 +16,8 @@ body { overflow: auto; } -#main { - background: url(chrome://theme/IDR_PRODUCT_LOGO?$1) no-repeat 0 8px; -} - +/* TODO(aa): Is this still in use? The styling may be incorrect with M7 NTP + rework. */ #notification.first-run { background-color: $$1; /* COLOR_NTP_SECTION */ border-color: $$2; /* COLOR_NTP_SECTION_BORDER */ @@ -107,25 +105,22 @@ body { color: $$6; /* COLOR_NTP_LINK_UNDERLINE */ } -#top-bar { - border-bottom: 1px solid $$2; /* COLOR_NTP_SECTION_BORDER */ +.section > h2 { + color: $$8; /* COLOR_NTP_SECTION_HEADER_TEXT */ + background-image: url(chrome://theme/IDR_NEWTAB_SECTION_HEADER_BACKGROUND); } -.section { - border-top: 1px solid $$2; /* COLOR_NTP_SECTION_BORDER */ - border-bottom: 1px solid $$2; /* COLOR_NTP_SECTION_BORDER */ +.section > h2:hover { + color: $$9; + background-image: url(chrome://theme/IDR_NEWTAB_SECTION_HEADER_BACKGROUND_H); } -.section.hidden + :not(.hidden) { - border-top: 1px solid $$2; /* COLOR_NTP_SECTION_BORDER */; +.section:not(.hidden) > h2 { + background-image: url(chrome://theme/IDR_NEWTAB_SECTION_HEADER_BACKGROUND_A); } -.section.hidden + .hidden > h2 { - border-left: 1px solid $$2; /* COLOR_NTP_SECTION_BORDER */ -} - -.section > h2 { - color: $8; /* COLOR_NTP_TEXT */ +.section > h2 > span { + background: $2; /* COLOR_NTP_BACKGROUND */ } #apps-section a { @@ -137,7 +132,3 @@ body { color: $$3; /* COLOR_NTP_SECTION_TEXT */ background-color: $$1; /* COLOR_NTP_SECTION */; } - -#footer hr { - color: $$2; /* COLOR_NTP_SECTION_BORDER */ -} |