⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185836 in webkit


Ignore:
Timestamp:
Jun 22, 2015, 10:53:43 AM (11 years ago)
Author:
Nikita Vasilyev
Message:

Web Inspector: Consider making read-only style rules have a darker background
https://bugs.webkit.org/show_bug.cgi?id=145983

Reviewed by Timothy Hatcher.

  • UserInterface/Views/CSSStyleDeclarationSection.css:

(.style-declaration-section:not(.locked)):
(.style-declaration-section): Deleted.

  • UserInterface/Views/CSSStyleDeclarationTextEditor.css:

(.css-style-text-editor.read-only > .CodeMirror):

Location:
trunk/Source/WebInspectorUI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r185835 r185836  
     12015-06-22  Nikita Vasilyev  <nvasilyev@apple.com>
     2
     3        Web Inspector: Consider making read-only style rules have a darker background
     4        https://bugs.webkit.org/show_bug.cgi?id=145983
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Views/CSSStyleDeclarationSection.css:
     9        (.style-declaration-section:not(.locked)):
     10        (.style-declaration-section): Deleted.
     11        * UserInterface/Views/CSSStyleDeclarationTextEditor.css:
     12        (.css-style-text-editor.read-only > .CodeMirror):
     13
    1142015-06-22  Nikita Vasilyev  <nvasilyev@apple.com>
    215
  • trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css

    r185757 r185836  
    3030    padding: 5px;
    3131
     32    border-bottom: 1px solid rgb(179, 179, 179);
     33}
     34
     35.style-declaration-section:not(.locked) {
    3236    background-color: white;
    33     border-bottom: 1px solid rgb(179, 179, 179);
    3437}
    3538
  • trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css

    r179636 r185836  
    5252.css-style-text-editor > .CodeMirror pre * {
    5353    text-indent: 0;
     54}
     55
     56.css-style-text-editor.read-only,
     57.css-style-text-editor.read-only > .CodeMirror {
     58    background-color: transparent;
    5459}
    5560
Note: See TracChangeset for help on using the changeset viewer.