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

Side by Side Diff: chrome/browser/resources/ntp4/new_tab.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, 2 months 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 /* It's necessary to put this here instead of in body in order to get the 6 /* It's necessary to put this here instead of in body in order to get the
7 background-size of 100% to work properly */ 7 background-size of 100% to work properly */
8 height: 100%; 8 height: 100%;
9 overflow: hidden; 9 overflow: hidden;
10 } 10 }
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 98 }
99 99
100 .close-button:active { 100 .close-button:active {
101 background-image: -webkit-image-set( 101 background-image: -webkit-image-set(
102 url('../../../../ui/resources/default_100_percent/close_2_pressed.png') 102 url('../../../../ui/resources/default_100_percent/close_2_pressed.png')
103 1x, 103 1x,
104 url('../../../../ui/resources/default_200_percent/close_2_pressed.png') 104 url('../../../../ui/resources/default_200_percent/close_2_pressed.png')
105 2x); 105 2x);
106 } 106 }
107 107
108 .link-button { 108 [is='action-link'] {
109 -webkit-margin-start: 0.5em; 109 -webkit-margin-start: 0.5em;
110 } 110 }
111 111
112 #card-slider-frame { 112 #card-slider-frame {
113 /* Must match #footer height. */ 113 /* Must match #footer height. */
114 bottom: 50px; 114 bottom: 50px;
115 overflow: hidden; 115 overflow: hidden;
116 /* We want this to fill the window except for the region used 116 /* We want this to fill the window except for the region used
117 * by footer. */ 117 * by footer. */
118 position: fixed; 118 position: fixed;
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 padding: 0; 463 padding: 0;
464 } 464 }
465 465
466 .other-sessions-promo-message:only-child { 466 .other-sessions-promo-message:only-child {
467 display: block; 467 display: block;
468 } 468 }
469 469
470 .other-sessions-promo-message p { 470 .other-sessions-promo-message p {
471 margin: 0; 471 margin: 0;
472 } 472 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/local_discovery/local_discovery.html ('k') | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698