summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-07 23:09:01 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-07 23:09:01 +0000
commit7b3fbe1dee9db971861c3af0796f0f0fbeaae271 (patch)
treed1033f347f48d9802f0cb5d7d0b7f40bd1202057
parentf02f2aeb7bc2a1e60eb9f6d21acba2d9c2691bf5 (diff)
downloadchromium_src-7b3fbe1dee9db971861c3af0796f0f0fbeaae271.zip
chromium_src-7b3fbe1dee9db971861c3af0796f0f0fbeaae271.tar.gz
chromium_src-7b3fbe1dee9db971861c3af0796f0f0fbeaae271.tar.bz2
NTP: Update theme colors
Set the color of the text for the app icons. Since we do not have a background on sections any more BUG=43578 TEST=None Review URL: http://codereview.chromium.org/2016007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46749 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/resources/new_new_tab.css3
-rw-r--r--chrome/browser/resources/new_tab_theme.css25
2 files changed, 12 insertions, 16 deletions
diff --git a/chrome/browser/resources/new_new_tab.css b/chrome/browser/resources/new_new_tab.css
index 7a987aa..a8493d5 100644
--- a/chrome/browser/resources/new_new_tab.css
+++ b/chrome/browser/resources/new_new_tab.css
@@ -213,7 +213,7 @@ html[dir=rtl] .item {
overflow-x: hidden;
}
-#recently-closed :not(h2) {
+#recently-closed > span > span {
display: inline-block;
max-width: 114px; /* Selected so that we can fit 5 items in EN-US */
white-space: nowrap;
@@ -227,6 +227,7 @@ html[dir=rtl] .item {
#recently-closed .nav {
max-width: none !important;
}
+
.nav > a {
/* no icon */
padding: 0;
diff --git a/chrome/browser/resources/new_tab_theme.css b/chrome/browser/resources/new_tab_theme.css
index 39d9f32..ad8cc9a 100644
--- a/chrome/browser/resources/new_tab_theme.css
+++ b/chrome/browser/resources/new_tab_theme.css
@@ -29,15 +29,6 @@ body {
color: $8; /* COLOR_NTP_TEXT */
}
-.list > .thumbnail-container > .title {
- color: $$6; /* COLOR_NTP_LINK_UNDERLINE */
-}
-
-.list > .thumbnail-container > .title > div,
-.list .title > div {
- color: $9; /* COLOR_NTP_LINK */
-}
-
.thumbnail-container:focus .thumbnail,
.thumbnail-container:hover .thumbnail {
border-color: $6; /* COLOR_NTP_HEADER */
@@ -65,16 +56,16 @@ body {
}
#recently-closed {
- color: $$3; /* COLOR_NTP_SECTION_TEXT */
+ color: $8; /* COLOR_NTP_TEXT */
}
#recently-closed > span > span {
- color: $$7; /* COLOR_NTP_SECTION_LINK_UNDERLINE */
+ color: $$6; /* COLOR_NTP_LINK_UNDERLINE */
text-decoration: underline;
}
#recently-closed > span > span > .item {
- color: $$4; /* COLOR_NTP_SECTION_LINK */
+ color: $9; /* COLOR_NTP_LINK */
text-decoration: none;
}
@@ -94,8 +85,7 @@ body {
:link,
:visited,
-.link,
-.list > .thumbnail-container {
+.link {
color: $$6; /* COLOR_NTP_LINK_UNDERLINE */
}
@@ -125,9 +115,14 @@ body {
}
.section > h2 {
- color: $6; /* COLOR_NTP_HEADER */
+ color: $8; /* COLOR_NTP_TEXT */
+}
+
+#apps-section a {
+ color: $9; /* COLOR_NTP_LINK */
}
#apps-section a:hover {
+ color: $$3; /* COLOR_NTP_SECTION_TEXT */
background-color: $$1; /* COLOR_NTP_SECTION */;
}