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

Side by Side Diff: elements/viewer-button/viewer-button.css

Issue 169163004: Allow click events to pass through the toolbar padding. (Closed) Base URL: https://chromium.googlesource.com/chromium/html-office-public.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | elements/viewer-page-indicator/viewer-page-indicator.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2013 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 #icon { 5 #icon {
6 background-position: center center; 6 background-position: center center;
7 background-repeat: no-repeat; 7 background-repeat: no-repeat;
8 background-size: 100% 100%; 8 background-size: 100% 100%;
9 height: 100%; 9 height: 100%;
10 width: 100%; 10 width: 100%;
11 } 11 }
12 12
13 :host { 13 :host {
14 -webkit-user-select: none; 14 -webkit-user-select: none;
15 background-image: linear-gradient(rgb(60, 80, 119), rgb(15, 24, 41)); 15 background-image: linear-gradient(rgb(60, 80, 119), rgb(15, 24, 41));
16 border: 1px solid rgb(11, 9, 16); 16 border: 1px solid rgb(11, 9, 16);
17 cursor: default; 17 cursor: default;
18 display: inline-block; 18 display: inline-block;
19 height: 36px; 19 height: 36px;
20 margin: 0; 20 margin: 0;
21 pointer-events: all;
21 width: 43px; 22 width: 43px;
22 } 23 }
23 24
24 :host(:focus:host) { 25 :host(:focus:host) {
25 outline: none; 26 outline: none;
26 } 27 }
27 28
28 :host(:hover:host) { 29 :host(:hover:host) {
29 background-image: linear-gradient(rgb(73, 102, 155), rgb(32, 52, 95)); 30 background-image: linear-gradient(rgb(73, 102, 155), rgb(32, 52, 95));
30 } 31 }
31 32
32 :host(.latchable.polymer-selected:host), 33 :host(.latchable.polymer-selected:host),
33 :host(:active:host) { 34 :host(:active:host) {
34 background-color: rgb(75, 103, 156); 35 background-color: rgb(75, 103, 156);
35 background-image: none; 36 background-image: none;
36 } 37 }
OLDNEW
« no previous file with comments | « no previous file | elements/viewer-page-indicator/viewer-page-indicator.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698