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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sources/navigatorView.css

Issue 2442543002: DevTools: New snippet button and icon (Closed)
Patch Set: space in css Created 4 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css ('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) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright 2016 The Chromium Authors. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Use of this source code is governed by a BSD-style license that can be
4 * 4 * found in the LICENSE file.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
15 * its contributors may be used to endorse or promote products derived
16 * from this software without specific prior written permission.
17 *
18 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
19 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 5 */
29 6
30 .icon { 7 .snippets-navigator-toolbar {
31 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); 8 border-bottom: 1px solid #ccc;
32 -webkit-mask-size: 352px 168px; 9 padding-left: 8px;
33 width: 32px;
34 height: 24px;
35 margin: -3px -3px -3px -7px;
36 } 10 }
37
38 @media (-webkit-min-device-pixel-ratio: 1.1) {
39 .icon {
40 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);
41 }
42 } /* media */
43
44 .navigator-file-tree-item .icon {
45 -webkit-mask-position: -224px -72px;
46 background: linear-gradient(45deg, hsl(0, 0%, 50%), hsl(0, 0%, 70%));
47 }
48
49 .navigator-fs-tree-item:not(.has-mapped-files),
50 .navigator-fs-folder-tree-item:not(.has-mapped-files) {
51 filter: grayscale(50%);
52 opacity: 0.5;
53 }
54
55 .mapped-file-bubble {
56 color: green;
57 margin-left: 2px;
58 }
59
60 :focus .navigator-file-tree-item.selected .icon {
61 background: white !important;
62 }
63
64 :focus .navigator-folder-tree-item.selected .icon {
65 background: white !important;
66 }
67
68 .tree-outline li {
69 min-height: 20px;
70 }
71
72 .navigator-folder-tree-item .icon {
73 -webkit-mask-position: -64px -120px;
74 background-color: #555;
75 }
76
77 .navigator-domain-tree-item .icon {
78 -webkit-mask-position: -160px -144px;
79 }
80
81 .navigator-frame-tree-item .icon {
82 -webkit-mask-position: -256px -144px;
83 }
84
85 .navigator-sm-folder-tree-item .icon,
86 .navigator-fs-tree-item .icon,
87 .navigator-fs-folder-tree-item .icon {
88 background: linear-gradient(45deg, hsl(28, 75%, 50%), hsl(28, 75%, 70%));
89 }
90
91 .navigator-nw-folder-tree-item .icon {
92 background: linear-gradient(45deg, hsl(210, 82%, 65%), hsl(210, 82%, 80%));
93 }
94
95 .navigator-worker-tree-item .icon {
96 -webkit-mask-position: -320px -144px;
97 }
98
99 .navigator-sm-script-tree-item .icon,
100 .navigator-script-tree-item .icon {
101 background: linear-gradient(45deg, hsl(48, 70%, 50%), hsl(48, 70%, 70%));
102 }
103
104 .navigator-sm-stylesheet-tree-item .icon,
105 .navigator-stylesheet-tree-item .icon {
106 background: linear-gradient(45deg, hsl(256, 50%, 50%), hsl(256, 50%, 70%));
107 }
108
109 .navigator-image-tree-item .icon,
110 .navigator-font-tree-item .icon {
111 background: linear-gradient(45deg, hsl(109, 33%, 50%), hsl(109, 33%, 70%));
112 }
113
114 .navigator-sm-folder-tree-item .tree-element-title,
115 .navigator-sm-script-tree-item .tree-element-title,
116 .navigator-sm-stylesheet-tree-item .tree-element-title {
117 font-style: italic;
118 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698