| 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 .styles-element-classes-pane .title-container { | 321 .styles-element-classes-pane .title-container { |
| 322 padding-bottom: 2px; | 322 padding-bottom: 2px; |
| 323 } | 323 } |
| 324 | 324 |
| 325 .styles-element-classes-pane .new-class-input { | 325 .styles-element-classes-pane .new-class-input { |
| 326 padding-left: 3px; | 326 padding-left: 3px; |
| 327 border: 1px solid #ddd; | 327 border: 1px solid #ddd; |
| 328 line-height: 15px; | 328 line-height: 15px; |
| 329 margin-left: 3px; | 329 margin-left: 3px; |
| 330 width: calc(100% - 7px); | 330 width: calc(100% - 7px); |
| 331 -webkit-user-modify: read-write-plaintext-only; |
| 332 background-color: #fff; |
| 333 cursor: text; |
| 334 } |
| 335 |
| 336 .styles-element-classes-pane .new-class-input:empty:before { |
| 337 content: attr(placeholder); |
| 338 color: darkgray; |
| 331 } | 339 } |
| 332 | 340 |
| 333 .styles-element-state-pane > div { | 341 .styles-element-state-pane > div { |
| 334 margin: 8px 4px 6px; | 342 margin: 8px 4px 6px; |
| 335 } | 343 } |
| 336 | 344 |
| 337 .styles-element-state-pane > table { | 345 .styles-element-state-pane > table { |
| 338 width: 100%; | 346 width: 100%; |
| 339 border-spacing: 0; | 347 border-spacing: 0; |
| 340 } | 348 } |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 position: absolute; | 534 position: absolute; |
| 527 right: 0; | 535 right: 0; |
| 528 bottom: 0; | 536 bottom: 0; |
| 529 visibility: hidden; | 537 visibility: hidden; |
| 530 background-color: rgba(255, 255, 255, 0.9); | 538 background-color: rgba(255, 255, 255, 0.9); |
| 531 } | 539 } |
| 532 | 540 |
| 533 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl
y):hover .sidebar-pane-section-toolbar { | 541 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl
y):hover .sidebar-pane-section-toolbar { |
| 534 visibility: visible; | 542 visibility: visible; |
| 535 } | 543 } |
| OLD | NEW |