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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/profiler/profilesSidebarTree.css

Issue 2337803003: [DevTools] Migrate ProfilesPanel to TreeOutlineInShadow. (Closed)
Patch Set: rebased Created 4 years, 3 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/profiler/profilesPanel.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
(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 /* Tree outline overrides */
8
9 :host {
10 padding: 0;
11 }
12
13 ol.tree-outline {
14 overflow: auto;
15 flex: auto;
16 padding: 0;
17 margin: 0;
18 }
19
20 .tree-outline li {
21 height: 36px;
22 padding-right: 5px;
23 margin-top: 1px;
24 line-height: 34px;
25 border-top: 1px solid transparent;
26 }
27
28 .tree-outline li:not(.parent)::before {
29 display: none;
30 }
31
32 :host-context(.some-expandable) .tree-outline li:not(.parent) {
33 margin-left: 10px;
34 }
35
36 .tree-outline li.profiles-tree-section {
37 height: 18px;
38 padding: 0 10px;
39 white-space: nowrap;
40 margin-top: 1px;
41 color: rgb(92, 110, 129);
42 text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
43 line-height: 18px;
44 }
45
46 .tree-outline li.profiles-tree-section::before {
47 display: none;
48 }
49
50 /* Generic items styling */
51
52 .title-container > .save-link {
53 text-decoration: underline;
54 margin-left: auto;
55 display: none;
56 }
57
58 li.selected .title-container > .save-link {
59 display: block;
60 }
61
62 .tree-outline > .icon {
63 margin-left: 16px;
64 }
65
66 li .icon {
67 width: 32px;
68 height: 32px;
69 margin-top: 1px;
70 margin-right: 3px;
71 flex: none;
72 }
73
74 li.wait .icon {
75 content: none;
76 }
77
78 li.wait .icon::before {
79 display: block;
80 width: 24px;
81 height: 24px;
82 margin: 4px;
83 border: 3px solid grey;
84 border-radius: 12px;
85 clip: rect(0, 15px, 15px, 0);
86 content: "";
87 position: absolute;
88 -webkit-animation: spinner-animation 1s linear infinite;
89 box-sizing: border-box;
90 }
91
92 li.wait.small .icon::before {
93 width: 14px;
94 height: 14px;
95 margin: 1px;
96 clip: rect(0, 9px, 9px, 0);
97 border-width: 2px;
98 }
99
100 li.wait.selected .icon::before {
101 border-color: white;
102 }
103
104 @-webkit-keyframes spinner-animation {
105 from { transform: rotate(0); }
106 to { transform: rotate(360deg); }
107 }
108
109 li.small {
110 height: 20px;
111 }
112
113 li.small .icon {
114 width: 16px;
115 height: 16px;
116 }
117
118 li .titles {
119 display: flex;
120 flex-direction: column;
121 top: 5px;
122 line-height: 12px;
123 padding-bottom: 1px;
124 text-overflow: ellipsis;
125 overflow: hidden;
126 white-space: nowrap;
127 flex: auto;
128 }
129
130 li .titles > .title-container {
131 display: flex;
132 }
133
134 li.small .titles {
135 top: 2px;
136 line-height: normal;
137 }
138
139 li:not(.small) .title::after {
140 content: "\A";
141 white-space: pre;
142 }
143
144 li .subtitle {
145 font-size: 80%;
146 }
147
148 li.small .subtitle {
149 display: none;
150 }
151
152 /* Heap profiles */
153
154 .heap-snapshot-sidebar-tree-item .icon {
155 content: url(Images/profileIcon.png);
156 }
157
158 .heap-snapshot-sidebar-tree-item.small .icon {
159 content: url(Images/profileSmallIcon.png);
160 }
161
162 /* Launcher */
163
164 .profile-launcher-view-tree-item {
165 margin-left: 0 !important;
166 }
167
168 .profile-launcher-view-tree-item > .icon {
169 width: 8px !important;
170 visibility: hidden;
171 }
172
173 /* CPU profiles */
174
175 .profile-sidebar-tree-item .icon {
176 content: url(Images/profileIcon.png);
177 }
178
179 .profile-sidebar-tree-item.small .icon {
180 content: url(Images/profileSmallIcon.png);
181 }
182
183 .profile-group-sidebar-tree-item .icon {
184 content: url(Images/profileGroupIcon.png);
185 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/profiler/profilesPanel.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698