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

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

Issue 668983004: Add <a is="action-link">, a web component extension of <a> for in-page actions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 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
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 html { 5 html {
6 background-attachment: fixed; 6 background-attachment: fixed;
7 background-color: $2; /* COLOR_NTP_BACKGROUND */ 7 background-color: $2; /* COLOR_NTP_BACKGROUND */
8 background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1); 8 background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1);
9 background-position: $3; 9 background-position: $3;
10 background-repeat: $5; 10 background-repeat: $5;
11 } 11 }
12 12
13 #attribution-img { 13 #attribution-img {
14 content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?$1); 14 content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?$1);
15 } 15 }
16 16
17 html[bookmarkbarattached='true'] { 17 html[bookmarkbarattached='true'] {
18 background-position: $4; 18 background-position: $4;
19 } 19 }
20 20
21 body { 21 body {
22 color: $8; /* COLOR_NTP_TEXT */ 22 color: $8; /* COLOR_NTP_TEXT */
23 height: 100%; 23 height: 100%;
24 overflow: auto; 24 overflow: auto;
25 } 25 }
26 26
27 #attribution, 27 #attribution,
28 .link-button, 28 [is='action-link'],
29 .link-span { 29 .link-span {
30 color: $21; /* COLOR_NTP_TEXT_LIGHT */ 30 color: $21; /* COLOR_NTP_TEXT_LIGHT */
31 } 31 }
32 32
33 .link-button:active { 33 [is='action-link']:active {
34 color: $8; /* COLOR_NTP_TEXT */ 34 color: $8; /* COLOR_NTP_TEXT */
35 } 35 }
36 36
37 .page-switcher { 37 .page-switcher {
38 color: rgba($23, 0.5); /* COLOR_NTP_TEXT */ 38 color: rgba($23, 0.5); /* COLOR_NTP_TEXT */
39 } 39 }
40 40
41 .page-switcher:hover, 41 .page-switcher:hover,
42 .page-switcher:focus, 42 .page-switcher:focus,
43 .page-switcher.drag-target { 43 .page-switcher.drag-target {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 104 }
105 105
106 .thumbnail-wrapper { 106 .thumbnail-wrapper {
107 /* This shows through at the (rounded) thumbnail's corners. */ 107 /* This shows through at the (rounded) thumbnail's corners. */
108 background-color: $11; /* COLOR_NTP_SECTION_BORDER */ 108 background-color: $11; /* COLOR_NTP_SECTION_BORDER */
109 } 109 }
110 110
111 .filler .thumbnail { 111 .filler .thumbnail {
112 border-color: $2; /* COLOR_NTP_BACKGROUND */ 112 border-color: $2; /* COLOR_NTP_BACKGROUND */
113 } 113 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.js ('k') | chrome/browser/resources/options/browser_options.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698