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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css

Issue 2369063002: [DevTools] Make empty matched styles section zero-height. (Closed)
Patch Set: 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 | « no previous file | 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 (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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 } 148 }
149 149
150 .metrics .bottom { 150 .metrics .bottom {
151 display: inline-block; 151 display: inline-block;
152 } 152 }
153 153
154 .styles-section { 154 .styles-section {
155 padding: 2px 2px 4px 4px; 155 padding: 2px 2px 4px 4px;
156 min-height: 18px; 156 min-height: 18px;
157 white-space: nowrap; 157 white-space: nowrap;
158 background-origin: padding;
159 background-clip: padding;
160 -webkit-user-select: text; 158 -webkit-user-select: text;
161 border-bottom: 1px solid #eee; 159 border-bottom: 1px solid #eee;
162 position: relative; 160 position: relative;
163 overflow: hidden; 161 overflow: hidden;
164 } 162 }
165 163
166 .styles-section:last-child { 164 .styles-section:last-child {
167 border-bottom: none; 165 border-bottom: none;
168 } 166 }
169 167
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 .styles-section a[data-uncopyable]::before { 245 .styles-section a[data-uncopyable]::before {
248 content: attr(data-uncopyable); 246 content: attr(data-uncopyable);
249 text-decoration: underline; 247 text-decoration: underline;
250 } 248 }
251 249
252 .styles-section .style-properties { 250 .styles-section .style-properties {
253 margin: 0; 251 margin: 0;
254 padding: 2px 4px 0 0; 252 padding: 2px 4px 0 0;
255 list-style: none; 253 list-style: none;
256 clear: both; 254 clear: both;
255 display: flex;
257 } 256 }
258 257
259 .styles-section.matched-styles .style-properties { 258 .styles-section.matched-styles .style-properties {
260 padding-left: 0; 259 padding-left: 0;
261 } 260 }
262 261
263 .styles-element-state-pane { 262 .styles-element-state-pane {
264 overflow: hidden; 263 overflow: hidden;
265 height: 66px; 264 height: 66px;
266 padding-left: 2px; 265 padding-left: 2px;
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 position: absolute; 526 position: absolute;
528 right: 0; 527 right: 0;
529 bottom: 0; 528 bottom: 0;
530 visibility: hidden; 529 visibility: hidden;
531 background-color: rgba(255, 255, 255, 0.9); 530 background-color: rgba(255, 255, 255, 0.9);
532 } 531 }
533 532
534 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl y):hover .sidebar-pane-section-toolbar { 533 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl y):hover .sidebar-pane-section-toolbar {
535 visibility: visible; 534 visibility: visible;
536 } 535 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698