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

Side by Side Diff: ui/file_manager/file_manager/foreground/elements/files_ripple.html

Issue 2477693004: Change color of ripple effects and tab focus of toolbar buttons in Files (Closed)
Patch Set: Sort by the lexicological order of the selectors. Created 4 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 2015 The Chromium Authors. All rights reserved. 1 <!-- Copyright 2015 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 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
7 7
8 <dom-module id="files-ripple"> 8 <dom-module id="files-ripple">
9 <style> 9 <style>
10 :host { 10 :host {
11 align-items: center; 11 align-items: center;
12 display: flex; 12 display: flex;
13 height: 200%; 13 height: 200%;
14 left: -50%; 14 left: -50%;
15 pointer-events: none; 15 pointer-events: none;
16 position: absolute; 16 position: absolute;
17 top: -50%; 17 top: -50%;
18 width: 200%; 18 width: 200%;
19 } 19 }
20 20
21 .ripple { 21 .ripple {
22 background-color: black; 22 background-color: white;
23 border-radius: 50%; 23 border-radius: 50%;
24 height: 50%; 24 height: 50%;
25 margin: 0 auto; 25 margin: 0 auto;
26 opacity: 0; 26 opacity: 0;
27 width: 50%; 27 width: 50%;
28 @apply(--files-ripple);
28 } 29 }
29 30
30 :host([pressed]) .ripple { 31 :host([pressed]) .ripple {
31 opacity: 0.2; 32 opacity: 0.2;
32 } 33 }
33 </style> 34 </style>
34 <template> 35 <template>
35 <div id="ripple" class="ripple"></div> 36 <div id="ripple" class="ripple"></div>
36 </template> 37 </template>
37 </dom-module> 38 </dom-module>
38 39
39 <script src="files_ripple.js"></script> 40 <script src="files_ripple.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698