OLD | NEW |
---|---|
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. |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
129 font-size: 30px; | 129 font-size: 30px; |
130 color: #999; | 130 color: #999; |
131 display: flex; | 131 display: flex; |
132 justify-content: center; | 132 justify-content: center; |
133 align-items: center; | 133 align-items: center; |
134 margin: 20px; | 134 margin: 20px; |
135 border: 4px dashed #ddd; | 135 border: 4px dashed #ddd; |
136 pointer-events: none; | 136 pointer-events: none; |
137 } | 137 } |
138 | 138 |
139 ol.watch-expressions > li.hovered { | 139 .sidebar-tabbed-pane .watch-expressions { |
140 background-color: #F0F0F0; | 140 margin-top: 14px; |
141 padding-top: 3px; | |
141 } | 142 } |
142 | 143 |
143 .sidebar-tabbed-pane .watch-expressions { | 144 .watch-expression .delete-button { |
144 margin-top: 17px; | |
145 } | |
146 | |
147 .properties-tree.watch-expressions { | |
148 padding-left: 0 !important; | |
149 } | |
150 | |
151 .properties-tree.watch-expressions > li { | |
152 padding-left: 4px; | |
153 } | |
154 | |
155 .properties-tree.watch-expressions > li > .value { | |
156 display: inline; | |
157 position: static; | |
158 } | |
159 | |
160 .properties-tree.watch-expressions > li:not(.parent) { | |
161 margin-left: 1px; | |
162 padding-left: 15px; | |
163 } | |
164 | |
165 .properties-tree.watch-expressions > li.hovered { | |
166 padding-right: 14px; | |
167 } | |
168 | |
169 .watch-expressions > li.editing-sub-part .text-prompt { | |
170 display: block; | |
171 width: 100%; | |
172 overflow: hidden; | |
173 } | |
174 | |
175 .watch-expressions > li.editing-sub-part .value, | |
176 .watch-expressions > li.editing-sub-part .separator { | |
177 display: none; | |
178 } | |
179 | |
180 li.editing-sub-part .delete-button { | |
181 display: none !important; | |
182 } | |
183 | |
184 .section .properties .delete-button { | |
185 width: 10px; | 145 width: 10px; |
186 height: 10px; | 146 height: 10px; |
187 background-image: url(Images/deleteIcon.png); | 147 background-image: url(Images/deleteIcon.png); |
188 background-position: 0 0; | 148 background-position: 0 0; |
189 background-color: transparent; | 149 background-color: transparent; |
190 background-repeat: no-repeat; | 150 background-repeat: no-repeat; |
191 border: 0 none transparent; | 151 border: 0 none transparent; |
192 position: absolute; | 152 position: absolute; |
193 right: 8px; | 153 right: 3px; |
194 display: none; | 154 display: none; |
195 } | 155 } |
196 | 156 |
197 .section .properties li.hovered .delete-button { | 157 .watch-expression.hovered .delete-button { |
198 display: inline; | 158 display: inline; |
199 } | 159 } |
200 | 160 |
201 .source-frame-breakpoint-condition { | 161 .source-frame-breakpoint-condition { |
202 z-index: 30; | 162 z-index: 30; |
203 padding: 4px; | 163 padding: 4px; |
204 background-color: rgb(203, 226, 255); | 164 background-color: rgb(203, 226, 255); |
205 border-radius: 7px; | 165 border-radius: 7px; |
206 border: 2px solid rgb(169, 172, 203); | 166 border: 2px solid rgb(169, 172, 203); |
207 width: 90%; | 167 width: 90%; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
242 font-size: 90%; | 202 font-size: 90%; |
243 padding: 6px; | 203 padding: 6px; |
244 color: #888; | 204 color: #888; |
245 pointer-events: none; | 205 pointer-events: none; |
246 } | 206 } |
247 | 207 |
248 .callstack-info.status { | 208 .callstack-info.status { |
249 border-top: 1px solid rgb(189, 189, 189); | 209 border-top: 1px solid rgb(189, 189, 189); |
250 background-color: rgb(255, 255, 194); | 210 background-color: rgb(255, 255, 194); |
251 } | 211 } |
212 | |
213 .watch-expressions { | |
pfeldman
2015/02/18 20:51:00
Lets try distilling these styles - seems like you
sergeyv
2015/02/19 10:53:46
Well, I tried
| |
214 overflow-x: hidden; | |
215 padding-right: 6px; | |
pfeldman
2015/02/18 20:51:00
use single padding: shorthand
sergeyv
2015/02/19 10:53:46
Done.
| |
216 padding-bottom: 6px; | |
217 padding-top: 2px; | |
218 } | |
219 | |
220 .watch-expressions .separator { | |
221 flex-shrink: 0; | |
pfeldman
2015/02/18 20:51:00
flex: none
sergeyv
2015/02/19 10:53:46
Done.
| |
222 } | |
223 | |
224 .watch-expressions .dimmed { | |
225 opacity: 0.6; | |
226 } | |
227 | |
228 .watch-expression-title { | |
229 white-space: nowrap; | |
230 text-overflow: ellipsis; | |
231 overflow: hidden; | |
232 line-height: 12px; | |
233 padding-top: 1px; | |
234 padding-bottom: 1px; | |
235 margin-left: 16px; | |
236 } | |
237 | |
238 .watch-expression { | |
239 position: relative; | |
240 } | |
241 | |
242 .watch-expression .section .header { | |
243 min-height: 14px; | |
244 padding-right: 0px; | |
245 } | |
246 | |
247 .watch-expressions .name { | |
248 color: rgb(136, 19, 145); | |
249 flex-shrink: 0; | |
250 white-space: nowrap; | |
251 text-overflow: ellipsis ; | |
252 overflow: hidden; | |
253 } | |
254 | |
255 .watch-expressions .separator { | |
256 flex-shrink: 0; | |
257 } | |
258 | |
259 .watch-expressions .value { | |
260 white-space: nowrap; | |
261 display: inline; | |
262 } | |
263 | |
264 .watch-expression .text-prompt { | |
265 text-overflow: clip; | |
266 overflow: hidden; | |
267 white-space: nowrap; | |
268 padding-left: 4px; | |
269 -webkit-user-select: text; | |
270 } | |
271 | |
272 .watch-expression .section > .header::before { | |
pfeldman
2015/02/18 20:51:00
Why is this one necessary?
sergeyv
2015/02/19 10:53:46
By default it has value 2px, so it is lower than
| |
273 margin-top: 0px; | |
274 } | |
275 | |
276 .section .watch-expression-title { | |
277 margin-left: 11px; | |
278 } | |
279 | |
280 .watch-expression-text-prompt-proxy { | |
281 margin-left: 12px; | |
282 } | |
283 | |
284 .watch-expression.hovered .primitive-value { | |
285 background-color: #F0F0F0; | |
286 } | |
287 | |
288 .watch-expression.hovered .primitive-value .watch-expression-title { | |
289 margin-right: 14px; | |
290 } | |
291 | |
292 .watch-expression.hovered .section .header { | |
293 background-color: #F0F0F0; | |
294 padding-right: 14px; | |
295 } | |
OLD | NEW |