| 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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 .styles-element-classes-pane .title-container { | 487 .styles-element-classes-pane .title-container { |
| 488 padding-bottom: 2px; | 488 padding-bottom: 2px; |
| 489 } | 489 } |
| 490 | 490 |
| 491 .styles-element-classes-pane .new-class-input { | 491 .styles-element-classes-pane .new-class-input { |
| 492 padding-left: 3px; | 492 padding-left: 3px; |
| 493 border: 1px solid #ddd; | 493 border: 1px solid #ddd; |
| 494 line-height: 15px; | 494 line-height: 15px; |
| 495 margin-left: 3px; | 495 margin-left: 3px; |
| 496 width: calc(100% - 7px); | 496 width: calc(100% - 7px); |
| 497 -webkit-user-modify: read-write-plaintext-only; |
| 498 background-color: #fff; |
| 499 cursor: text; |
| 500 } |
| 501 |
| 502 .styles-element-classes-pane .new-class-input:empty:before { |
| 503 content: attr(placeholder); |
| 504 color: darkgray; |
| 497 } | 505 } |
| 498 | 506 |
| 499 .styles-element-state-pane > div { | 507 .styles-element-state-pane > div { |
| 500 margin: 8px 4px 6px; | 508 margin: 8px 4px 6px; |
| 501 } | 509 } |
| 502 | 510 |
| 503 .styles-element-state-pane > table { | 511 .styles-element-state-pane > table { |
| 504 width: 100%; | 512 width: 100%; |
| 505 border-spacing: 0; | 513 border-spacing: 0; |
| 506 } | 514 } |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 position: absolute; | 729 position: absolute; |
| 722 right: 0; | 730 right: 0; |
| 723 bottom: 0; | 731 bottom: 0; |
| 724 visibility: hidden; | 732 visibility: hidden; |
| 725 background-color: rgba(255, 255, 255, 0.9); | 733 background-color: rgba(255, 255, 255, 0.9); |
| 726 } | 734 } |
| 727 | 735 |
| 728 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl
y):hover .sidebar-pane-section-toolbar { | 736 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl
y):hover .sidebar-pane-section-toolbar { |
| 729 visibility: visible; | 737 visibility: visible; |
| 730 } | 738 } |
| OLD | NEW |