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: $
{colorBackground
};
8 background-image: url
(chrome://theme
/IDR_THEME_NTP_BACKGROUND?$
{themeId
});
9 background-position: $
{backgroundBarDetached
};
10 background-repeat: $
{backgroundTiling
};
14 left: $
{leftAlignAttribution
};
15 right: $
{rightAlignAttribution
};
16 text-align: $
{textAlignAttribution
};
20 content: url
(chrome://theme
/IDR_THEME_NTP_ATTRIBUTION?$
{themeId
});
23 html
[bookmarkbarattached
='true'] {
24 background-position: $
{backgroundBarAttached
};
28 color: $
{colorTextRgba
};
35 color: $
{colorTextLight
};
38 [is
='action-link']:active
{
39 color: $
{colorTextRgba
};
43 color: rgba
($
{colorText
}, 0.5);
48 .page-switcher.drag-target {
49 background-color: rgba
($
{colorText
}, 0.06);
52 /* Only change the background to a gradient when a promo is showing. */
53 .showing-login-area #
page-switcher-end:hover
,
54 .showing-login-area #
page-switcher-end:focus
,
55 .showing-login-area #page-switcher-end.drag-target {
56 background: linear-gradient
(top
,
57 rgba
($
{colorText
}, 0) 0,
58 rgba
($
{colorText
}, .01) 60px,
59 rgba
($
{colorText
}, .06) 183px);
62 .tile-page-scrollbar {
63 background-color: $
{colorTextLight
};
66 /* Footer *********************************************************************/
69 background: linear-gradient
(left
,
70 rgba
($
{colorSectionBorder
}, 0.2),
71 rgba
($
{colorSectionBorder
}, 0.3) 20%,
72 rgba
($
{colorSectionBorder
}, 0.3) 80%,
73 rgba
($
{colorSectionBorder
}, 0.2));
77 background-color: $
{colorBackground
};
81 /* This shows through at the (rounded) thumbnail's corners. */
82 background-color: $
{colorSectionBorder
};
86 border-color: $
{colorBackground
};