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

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

Issue 2568013003: DevTools: Fix 'Add new class' placeholder text (Closed)
Patch Set: switch to setPlaceholder Created 4 years 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/elements/ClassesPaneWidget.js ('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 (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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 padding-left: 3px; 321 padding-left: 3px;
322 border: 1px solid #ddd; 322 border: 1px solid #ddd;
323 line-height: 15px; 323 line-height: 15px;
324 margin-left: 3px; 324 margin-left: 3px;
325 width: calc(100% - 7px); 325 width: calc(100% - 7px);
326 -webkit-user-modify: read-write-plaintext-only; 326 -webkit-user-modify: read-write-plaintext-only;
327 background-color: #fff; 327 background-color: #fff;
328 cursor: text; 328 cursor: text;
329 } 329 }
330 330
331 .styles-element-classes-pane .new-class-input:empty:before {
332 content: attr(placeholder);
333 color: darkgray;
334 }
335
336 .styles-element-state-pane > div { 331 .styles-element-state-pane > div {
337 margin: 8px 4px 6px; 332 margin: 8px 4px 6px;
338 } 333 }
339 334
340 .styles-element-state-pane > table { 335 .styles-element-state-pane > table {
341 width: 100%; 336 width: 100%;
342 border-spacing: 0; 337 border-spacing: 0;
343 } 338 }
344 339
345 .styles-element-state-pane td { 340 .styles-element-state-pane td {
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 position: absolute; 524 position: absolute;
530 right: 0; 525 right: 0;
531 bottom: 0; 526 bottom: 0;
532 visibility: hidden; 527 visibility: hidden;
533 background-color: rgba(255, 255, 255, 0.9); 528 background-color: rgba(255, 255, 255, 0.9);
534 } 529 }
535 530
536 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl y):hover .sidebar-pane-section-toolbar { 531 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl y):hover .sidebar-pane-section-toolbar {
537 visibility: visible; 532 visibility: visible;
538 } 533 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698