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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/closeButton.css

Issue 2669093002: DevTools: migrate the closeButton icons over to UI.Icon (Closed)
Patch Set: Created 3 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 | « third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2015 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 div {
8 background-image: url(Images/toolbarButtonGlyphs.png);
9 background-size: 352px 168px;
10 }
11
12 @media (-webkit-min-device-pixel-ratio: 1.1) {
13 div {
14 background-image: url(Images/toolbarButtonGlyphs_2x.png);
15 }
16 } /* media */
17
18 .close-button { 7 .close-button {
19 width: 14px; 8 width: 14px;
20 height: 14px; 9 height: 14px;
21 background-position: -128px -96px;
22 cursor: default; 10 cursor: default;
11 display: flex;
12 align-items: center;
13 justify-content: center;
23 } 14 }
24 15
25 .close-button:hover { 16 .hover-icon, .active-icon {
26 background-position: -96px -96px; 17 display: none;
27 } 18 }
28 19
29 .close-button:active { 20 .close-button:hover .default-icon, .close-button:active .default-icon {
30 background-position: -111px -96px; 21 display: none;
31 } 22 }
32 23
33 .close-button-gray { 24 .close-button:hover .hover-icon {
34 width: 13px; 25 display: block;
35 height: 13px;
36 background-position: -175px -96px;
37 } 26 }
38 27
39 .close-button-gray:hover { 28 .close-button:active .hover-icon {
40 background-position: -143px -96px; 29 display: none !important;
41 } 30 }
42 31
43 .close-button-gray:active { 32 .close-button:active .active-icon {
44 background-position: -160px -96px; 33 display: block;
45 } 34 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698