1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
6 background-attachment: fixed
;
7 background-color: $
2; /* COLOR_NTP_BACKGROUND */
8 background-image: url
(chrome://theme
/IDR_THEME_NTP_BACKGROUND?$
1);
9 background-position: $
3;
10 background-repeat: $
5;
14 content: url
(chrome://theme
/IDR_THEME_NTP_ATTRIBUTION?$
1);
17 html
[bookmarkbarattached
='true'] {
18 background-position: $
4;
22 color: $
8; /* COLOR_NTP_TEXT */
30 color: $
21; /* COLOR_NTP_TEXT_LIGHT */
34 color: $
8; /* COLOR_NTP_TEXT */
38 color: rgba
($
23, 0.5); /* COLOR_NTP_TEXT */
43 .page-switcher.drag-target {
44 background-color: rgba
($
23, 0.06); /* COLOR_NTP_TEXT */
47 /* Only change the background to a gradient when a promo is showing. */
48 .showing-login-area #
page-switcher-end:hover
,
49 .showing-login-area #
page-switcher-end:focus
,
50 .showing-login-area #page-switcher-end.drag-target {
52 -webkit-linear-gradient
(top
, rgba
($
23, 0) 0,
54 rgba
($
23, .06) 183px); /* COLOR_NTP_TEXT */
57 .tile-page-scrollbar {
58 background-color: $
21; /* COLOR_NTP_TEXT_LIGHT */
61 /* Footer *********************************************************************/
64 background: -webkit-linear-gradient
(left
,
65 rgba
($
22, 0.2), /* COLOR_NTP_SECTION_BORDER */
66 rgba
($
22, 0.3) 20%, /* COLOR_NTP_SECTION_BORDER */
67 rgba
($
22, 0.3) 80%, /* COLOR_NTP_SECTION_BORDER */
68 rgba
($
22, 0.2)); /* COLOR_NTP_SECTION_BORDER */
72 background-color: $
2; /* COLOR_NTP_BACKGROUND */
75 .bare-minimum #footer {
76 color: $
8; /* COLOR_NTP_TEXT */
79 .bare-minimum .disclosure-triangle {
80 background-color: $
8; /* COLOR_NTP_TEXT */
83 .bare-minimum
.footer-menu-button:hover
,
84 .bare-minimum
.footer-menu-button
[menu-shown
],
85 .bare-minimum #chrome-web-store-link:hover {
86 color: rgba
($
23, 0.85); /* COLOR_NTP_TEXT */
89 .bare-minimum
.footer-menu-button:hover
.disclosure-triangle
,
90 .bare-minimum .footer-menu-button[menu-shown] .disclosure-triangle {
91 background-color: rgba
($
23, 0.85); /* COLOR_NTP_TEXT */
94 /* Most Visited ***************************************************************/
97 .most-visited > .title {
98 color: $
8; /* COLOR_NTP_TEXT */
101 .most-visited:focus:not
(.filler
) .thumbnail-wrapper
,
102 .most-visited:hover:not(.filler) .thumbnail-wrapper {
103 background-color: $
6; /* COLOR_NTP_HEADER */
107 /* This shows through at the (rounded) thumbnail's corners. */
108 background-color: $
11; /* COLOR_NTP_SECTION_BORDER */
112 border-color: $
2; /* COLOR_NTP_BACKGROUND */