Skip to content

Commit

Permalink
NTP: Update theme colors
Browse files Browse the repository at this point in the history
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
  • Loading branch information
arv@chromium.org committed May 7, 2010
1 parent f02f2ae commit 7b3fbe1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
3 changes: 2 additions & 1 deletion chrome/browser/resources/new_new_tab.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -227,6 +227,7 @@ html[dir=rtl] .item {
#recently-closed .nav {
max-width: none !important;
}

.nav > a {
/* no icon */
padding: 0;
Expand Down
25 changes: 10 additions & 15 deletions chrome/browser/resources/new_tab_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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;
}

Expand All @@ -94,8 +85,7 @@ body {

:link,
:visited,
.link,
.list > .thumbnail-container {
.link {
color: $$6; /* COLOR_NTP_LINK_UNDERLINE */
}

Expand Down Expand Up @@ -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 */;
}

0 comments on commit 7b3fbe1

Please sign in to comment.