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

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

Issue 1563113002: DevTools: add a navigator menu with grouping options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright 11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the 12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution. 13 * documentation and/or other materials provided with the distribution.
14 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of 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 15 * its contributors may be used to endorse or promote products derived
16 * from this software without specific prior written permission. 16 * from this software without specific prior written permission.
17 * 17 *
18 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY 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 19 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 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 21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 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 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 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 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. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 .icon {
31 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
32 -webkit-mask-size: 352px 168px;
33 width: 32px;
34 height: 24px;
35 margin: -3px -3px -3px -7px;
36 }
37
38 @media (-webkit-min-device-pixel-ratio: 1.5) {
39 .icon {
40 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);
41 }
42 } /* media */
43
30 .navigator-file-tree-item .icon { 44 .navigator-file-tree-item .icon {
31 -webkit-mask-image: url(Images/ic_drive_file_black_18dp.svg); 45 -webkit-mask-position: -224px -72px;
32 -webkit-mask-size: 18px 18px;
33 background: linear-gradient(45deg, hsl(0, 0%, 50%), hsl(0, 0%, 70%)); 46 background: linear-gradient(45deg, hsl(0, 0%, 50%), hsl(0, 0%, 70%));
34 } 47 }
35 48
36 :focus .navigator-file-tree-item.selected .icon { 49 :focus .navigator-file-tree-item.selected .icon {
37 background: white !important; 50 background: white !important;
38 } 51 }
39 52
40 :focus .navigator-folder-tree-item.selected .icon { 53 :focus .navigator-folder-tree-item.selected .icon {
41 background: white !important; 54 background: white !important;
42 } 55 }
43 56
44 .tree-outline li { 57 .tree-outline li {
45 min-height: 20px; 58 min-height: 20px;
46 } 59 }
47 60
48 .navigator-folder-tree-item .icon { 61 .navigator-folder-tree-item .icon {
49 -webkit-mask-image: url(Images/ic_folder_black_18dp.svg); 62 -webkit-mask-position: -64px -120px;
50 -webkit-mask-size: 18px 18px;
51 background-color: #555; 63 background-color: #555;
52 } 64 }
53 65
54 .navigator-domain-tree-item .icon { 66 .navigator-domain-tree-item .icon {
55 -webkit-mask-image: url(Images/ic_cloud_queue_black_18dp.svg); 67 -webkit-mask-position: -160px -144px;
56 } 68 }
57 69
58 .navigator-frame-tree-item .icon { 70 .navigator-frame-tree-item .icon {
59 -webkit-mask-image: url(Images/ic_web_asset_black_18dp.svg); 71 -webkit-mask-position: -256px -144px;
60 } 72 }
61 73
62 .navigator-sm-folder-tree-item .icon, 74 .navigator-sm-folder-tree-item .icon,
63 .navigator-fs-tree-item .icon, 75 .navigator-fs-tree-item .icon,
64 .navigator-fs-folder-tree-item .icon { 76 .navigator-fs-folder-tree-item .icon {
65 background: linear-gradient(45deg, hsl(28, 75%, 50%), hsl(28, 75%, 70%)); 77 background: linear-gradient(45deg, hsl(28, 75%, 50%), hsl(28, 75%, 70%));
66 } 78 }
67 79
68 .navigator-nw-folder-tree-item .icon { 80 .navigator-nw-folder-tree-item .icon {
69 background: linear-gradient(45deg, hsl(210, 82%, 65%), hsl(210, 82%, 80%)); 81 background: linear-gradient(45deg, hsl(210, 82%, 65%), hsl(210, 82%, 80%));
70 } 82 }
71 83
72 .navigator-worker-tree-item .icon { 84 .navigator-worker-tree-item .icon {
73 -webkit-mask-image: url(Images/serviceWorker.svg); 85 -webkit-mask-position: -320px -144px;
74 } 86 }
75 87
76 .navigator-sm-script-tree-item .icon, 88 .navigator-sm-script-tree-item .icon,
77 .navigator-script-tree-item .icon { 89 .navigator-script-tree-item .icon {
78 background: linear-gradient(45deg, hsl(48, 70%, 50%), hsl(48, 70%, 70%)); 90 background: linear-gradient(45deg, hsl(48, 70%, 50%), hsl(48, 70%, 70%));
79 } 91 }
80 92
81 .navigator-sm-stylesheet-tree-item .icon, 93 .navigator-sm-stylesheet-tree-item .icon,
82 .navigator-stylesheet-tree-item .icon { 94 .navigator-stylesheet-tree-item .icon {
83 background: linear-gradient(45deg, hsl(256, 50%, 50%), hsl(256, 50%, 70%)); 95 background: linear-gradient(45deg, hsl(256, 50%, 50%), hsl(256, 50%, 70%));
84 } 96 }
85 97
86 .navigator-image-tree-item .icon, 98 .navigator-image-tree-item .icon,
87 .navigator-font-tree-item .icon { 99 .navigator-font-tree-item .icon {
88 background: linear-gradient(45deg, hsl(109, 33%, 50%), hsl(109, 33%, 70%)); 100 background: linear-gradient(45deg, hsl(109, 33%, 50%), hsl(109, 33%, 70%));
89 } 101 }
90 102
91 .navigator-sm-folder-tree-item .tree-element-title, 103 .navigator-sm-folder-tree-item .tree-element-title,
92 .navigator-sm-script-tree-item .tree-element-title, 104 .navigator-sm-script-tree-item .tree-element-title,
93 .navigator-sm-stylesheet-tree-item .tree-element-title { 105 .navigator-sm-stylesheet-tree-item .tree-element-title {
94 font-style: italic; 106 font-style: italic;
95 } 107 }
96
97 .icon {
98 width: 18px;
99 height: 18px;
100 margin-right: 4px;
101 margin-top: -1px;
102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698