Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: chrome/browser/resources/ntp4/new_tab_theme.css

Issue 8363035: NTP4/Sync Promo: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged, fixed, unit tests and quick smoke test passing Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 html, 6 html,
7 #most-visited-settings { 7 #most-visited-settings {
8 background-attachment: fixed; 8 background-attachment: fixed;
9 background-color: $2; /* COLOR_NTP_BACKGROUND */ 9 background-color: $2; /* COLOR_NTP_BACKGROUND */
10 background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1); 10 background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1);
(...skipping 19 matching lines...) Expand all
30 color: rgba($23, 0.5); /* COLOR_NTP_TEXT */ 30 color: rgba($23, 0.5); /* COLOR_NTP_TEXT */
31 } 31 }
32 32
33 .page-switcher:hover, 33 .page-switcher:hover,
34 .page-switcher:focus, 34 .page-switcher:focus,
35 .page-switcher.drag-target { 35 .page-switcher.drag-target {
36 background-color: rgba($23, 0.06); /* COLOR_NTP_TEXT */ 36 background-color: rgba($23, 0.06); /* COLOR_NTP_TEXT */
37 } 37 }
38 38
39 /* Only change the background to a gradient when a promo is showing. */ 39 /* Only change the background to a gradient when a promo is showing. */
40 .showing-sync-promo #page-switcher-end:hover, 40 .showing-login-area #page-switcher-end:hover,
41 .showing-sync-promo #page-switcher-end:focus, 41 .showing-login-area #page-switcher-end:focus,
42 .showing-sync-promo #page-switcher-end.drag-target { 42 .showing-login-area #page-switcher-end.drag-target {
43 background: 43 background:
44 -webkit-linear-gradient(top, rgba($23, 0) 0, 44 -webkit-linear-gradient(top, rgba($23, 0) 0,
45 rgba($23, .01) 60px, 45 rgba($23, .01) 60px,
46 rgba($23, .06) 183px); /* COLOR_NTP_TEXT */ 46 rgba($23, .06) 183px); /* COLOR_NTP_TEXT */
47 } 47 }
48 48
49 .tile-page-scrollbar { 49 .tile-page-scrollbar {
50 background-color: $21; /* COLOR_NTP_TEXT_LIGHT */ 50 background-color: $21; /* COLOR_NTP_TEXT_LIGHT */
51 } 51 }
52 52
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 108 }
109 109
110 .thumbnail-wrapper { 110 .thumbnail-wrapper {
111 /* This shows through at the (rounded) thumbnail's corners. */ 111 /* This shows through at the (rounded) thumbnail's corners. */
112 background-color: $11; /* COLOR_NTP_SECTION_BORDER */ 112 background-color: $11; /* COLOR_NTP_SECTION_BORDER */
113 } 113 }
114 114
115 .filler .thumbnail { 115 .filler .thumbnail {
116 border-color: $2; /* COLOR_NTP_BACKGROUND */ 116 border-color: $2; /* COLOR_NTP_BACKGROUND */
117 } 117 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698