html,
.section > h2 span,
#most-visited-settings {
background-attachment: fixed;
background-color: $2; /* COLOR_NTP_BACKGROUND */
background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1);
background-position: $3;
background-repeat: $5;
}
html[bookmarkbarattached='true'],
html[bookmarkbarattached='true'] .section > h2 span,
html[bookmarkbarattached='true'] #most-visited-settings {
background-position: $4;
}
body {
color: $8; /* COLOR_NTP_TEXT */
height: 100%;
overflow: auto;
}
/* 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 */
}
#notification.first-run .link {
color: $$5; /* COLOR_NTP_LINK_UNDERLINE */
}
#notification.first-run .link-color {
color: $9; /* COLOR_NTP_LINK */
}
#attribution {
color: $9; /* COLOR_NTP_LINK */
}
#tip-line {
color: $8; /* COLOR_NTP_TEXT */
}
.link-color {
color: $9; /* COLOR_NTP_LINK */
}
:link,
:visited,
.link {
color: $$5; /* COLOR_NTP_LINK_UNDERLINE */
}
.section > h2,
#closed-sections-bar > button {
color: $$7; /* COLOR_NTP_SECTION_HEADER_TEXT */
}
.section:not(.hidden) > h2 {
color: $$8; /* COLOR_NTP_SECTION_HEADER_TEXT_HOVER */
}
.section.hidden:not([noexpand]) > h2:hover,
#closed-sections-bar > button:hover {
color: $$8; /* COLOR_NTP_SECTION_HEADER_TEXT_HOVER */
}
.section > h2 .back,
#closed-sections-bar[chromeos] {
border-top: 1px solid $$1; /* COLOR_NTP_SECTION */
}
.section.hidden > h2 .back {
background: none;
border-color-top: $$$1; /* COLOR_NTP_SECTION_HEADER_RULE_LIGHT */
}
.section.hidden:hover > h2 .back {
border-color-top: $$9; /* COLOR_NTP_SECTION_HEADER_RULE */
}
.app a {
color: $8; /* COLOR_NTP_TEXT */
}
.app:hover > a,
.app.dragging > a {
color: $$3; /* COLOR_NTP_SECTION_TEXT */
background-color: $$1; /* COLOR_NTP_SECTION */;
}
#apps-promo-hide {
color: $9; /* COLOR_NTP_LINK */
}
#apps-promo-text2 {
color: $$$3; /* COLOR_NTP_TEXT_LIGHT */
}
/* Most Visited ***************************************************************/
.most-visited,
.most-visited > .title {
color: $8; /* COLOR_NTP_TEXT */
}
.most-visited:focus:not(.filler) .thumbnail-wrapper,
.most-visited:hover .thumbnail-wrapper {
background-color: $6; /* COLOR_NTP_HEADER */
}
.edit-bar {
background-image: -webkit-linear-gradient(
$7, /* COLOR_HEADER_GRADIENT_LIGHT */
$6); /* COLOR_NTP_HEADER */
}
.thumbnail-wrapper {
/* This shows through at the (rounded) thumbnail's corners. */
background-color: $$2; /* COLOR_NTP_SECTION */
}
.filler .thumbnail {
border-color: $2; /* COLOR_NTP_BACKGROUND */
}
.thumbnail-shield {
background-image:
-webkit-linear-gradient(transparent, transparent 50%,
$2); /* COLOR_NTP_BACKGROUND */
}