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

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

Issue 2230183004: DevTools: Add shadow-editor swatch/icon before box-shadows and text-shadows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New image swatches.png Created 4 years, 4 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
(Empty)
1 /*
2 * Copyright 2016 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 :host {
8 white-space: nowrap;
9 }
10
11 .shadow-swatch {
12 position: relative;
13 margin-left: 1px;
14 margin-right: 2px;
15 width: 10px;
16 height: 10px;
17 top: 1px;
18 display: inline-block;
19 -webkit-user-select: none;
20 line-height: 10px;
21 -webkit-mask-image: url(Images/swatches.png);
22 -webkit-mask-size: 190px 10px;
23 -webkit-mask-position: -20px;
24 background-color: #9C27B0;
25 }
26
27 @media (-webkit-min-device-pixel-ratio: 1.5) {
28 .shadow-swatch {
29 -webkit-mask-image: url(Images/swatches_2x.png);
30 }
31 } /* media */
32
33 .shadow-swatch:hover {
34 background-color: #800080;
35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698