Changeset 186698 in webkit


Ignore:
Timestamp:
Jul 10, 2015 5:16:19 PM (9 years ago)
Author:
timothy@apple.com
Message:

Web Inspector: Use -apple-system instead of -webkit-system-font
https://bugs.webkit.org/show_bug.cgi?id=146860

Remove explicit uses of font-family where inhertance from the body is enough.
Change -webkit-system-font to -apple-system and use -apple-system-monospaced-numbers
for DataGrid and the toolbar dashboard.

Reviewed by Sam Weinig.

  • UserInterface/Views/CSSStyleDeclarationTextEditor.css:

(.css-style-text-editor > .CodeMirror .CodeMirror-placeholder):

  • UserInterface/Views/DataGrid.css:

(.data-grid td):

  • UserInterface/Views/DefaultDashboardView.css:

(.toolbar .dashboard.default > .item):
(.toolbar .dashboard.default > :matches(.time, .resourcesSize)):
(.toolbar .dashboard.default > .resourcesSize):

  • UserInterface/Views/HierarchicalPathComponent.css:

(.hierarchical-path-component):

  • UserInterface/Views/LogContentView.css:

(.console-messages):

  • UserInterface/Views/Main.css:

(body):

  • UserInterface/Views/ObjectTreeArrayIndexTreeElement.css:

(.object-tree-array-index .index-name):

  • UserInterface/Views/ObjectTreePropertyTreeElement.css:

(.object-tree-property .prototype-name):

  • UserInterface/Views/ObjectTreeView.css:

(.object-tree-outline li .empty-message):

  • UserInterface/Views/RenderingFrameTimelineOverviewGraph.css:

(.timeline-overview-graph.rendering-frame > .divider > .label):

  • UserInterface/Views/SourceCodeTextEditor.css:

(.source-code.text-editor > .CodeMirror .issue-widget > .text):

  • UserInterface/Views/TypeTreeView.css:

(.type-tree):

Location:
trunk/Source/WebInspectorUI
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r186695 r186698  
     12015-07-10  Timothy Hatcher  <timothy@apple.com>
     2
     3        Web Inspector: Use -apple-system instead of -webkit-system-font
     4        https://bugs.webkit.org/show_bug.cgi?id=146860
     5
     6        Remove explicit uses of font-family where inhertance from the body is enough.
     7        Change -webkit-system-font to -apple-system and use -apple-system-monospaced-numbers
     8        for DataGrid and the toolbar dashboard.
     9
     10        Reviewed by Sam Weinig.
     11
     12        * UserInterface/Views/CSSStyleDeclarationTextEditor.css:
     13        (.css-style-text-editor > .CodeMirror .CodeMirror-placeholder):
     14        * UserInterface/Views/DataGrid.css:
     15        (.data-grid td):
     16        * UserInterface/Views/DefaultDashboardView.css:
     17        (.toolbar .dashboard.default > .item):
     18        (.toolbar .dashboard.default > :matches(.time, .resourcesSize)):
     19        (.toolbar .dashboard.default > .resourcesSize):
     20        * UserInterface/Views/HierarchicalPathComponent.css:
     21        (.hierarchical-path-component):
     22        * UserInterface/Views/LogContentView.css:
     23        (.console-messages):
     24        * UserInterface/Views/Main.css:
     25        (body):
     26        * UserInterface/Views/ObjectTreeArrayIndexTreeElement.css:
     27        (.object-tree-array-index .index-name):
     28        * UserInterface/Views/ObjectTreePropertyTreeElement.css:
     29        (.object-tree-property .prototype-name):
     30        * UserInterface/Views/ObjectTreeView.css:
     31        (.object-tree-outline li .empty-message):
     32        * UserInterface/Views/RenderingFrameTimelineOverviewGraph.css:
     33        (.timeline-overview-graph.rendering-frame > .divider > .label):
     34        * UserInterface/Views/SourceCodeTextEditor.css:
     35        (.source-code.text-editor > .CodeMirror .issue-widget > .text):
     36        * UserInterface/Views/TypeTreeView.css:
     37        (.type-tree):
     38
    1392015-07-10  Devin Rousso  <drousso@apple.com>
    240
  • trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css

    r186462 r186698  
    3838
    3939.css-style-text-editor > .CodeMirror .CodeMirror-placeholder {
    40     font-family: -webkit-system-font, sans-serif;
     40    font-family: -apple-system, sans-serif;
    4141    color: hsl(0, 0%, 65%);
    4242    padding: 0 5px 0 25px;
  • trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.css

    r186695 r186698  
    139139    content: "•";
    140140
    141     font-family: -webkit-system-font, sans-serif;
     141    font-family: -apple-system, sans-serif;
    142142    font-size: 11px;
    143143    color: hsla(0, 0%, 0%, 0.33);
     
    231231.console-message .console-message-location {
    232232    float: right;
    233     font-family: -webkit-system-font, sans-serif;
     233    font-family: -apple-system, sans-serif;
    234234    font-size: 12px;
    235235    font-weight: normal;
  • trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css

    r186302 r186698  
    149149    white-space: nowrap;
    150150    overflow: hidden;
     151    font-family: -apple-system-monospaced-numbers, sans-serif;
    151152}
    152153
  • trunk/Source/WebInspectorUI/UserInterface/Views/DefaultDashboardView.css

    r186580 r186698  
    5252    border-radius: 4px;
    5353    border: 1px solid transparent;
     54
     55    font-family: -apple-system-monospaced-numbers, sans-serif;
    5456}
    5557
    56 .toolbar .dashboard.default > .time,
    57 .toolbar .dashboard.default > .resourcesSize {
     58.toolbar .dashboard.default > :matches(.time, .resourcesSize) {
    5859    min-width: 70px;
    5960}
  • trunk/Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css

    r185139 r186698  
    3030    min-width: 32px;
    3131
    32     font-family: -webkit-system-font, sans-serif;
    3332    font-size: 11px;
    3433}
  • trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css

    r186354 r186698  
    6969    word-wrap: break-word;
    7070
    71     font-family: -webkit-system-font, sans-serif;
     71    font-family: -apple-system, sans-serif;
    7272    font-size: 12px;
    7373
  • trunk/Source/WebInspectorUI/UserInterface/Views/Main.css

    r186301 r186698  
    3232    flex-direction: column;
    3333
    34     font-family: -webkit-system-font, sans-serif;
     34    font-family: -apple-system, sans-serif;
    3535    font-size: 11px;
    3636
  • trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeArrayIndexTreeElement.css

    r182796 r186698  
    3737
    3838.object-tree-array-index .index-name {
    39     font-family: -webkit-system-font, sans-serif;
     39    font-family: -apple-system-monospaced-numbers, sans-serif;
    4040    font-size: 11px;
    4141    vertical-align: top;
  • trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.css

    r183352 r186698  
    123123.object-tree-property .function-parameters,
    124124.object-tree-property .prototype-name {
    125     font-family: -webkit-system-font, sans-serif;
     125    font-family: -apple-system, sans-serif;
    126126    font-size: 12px;
    127127}
  • trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeView.css

    r183947 r186698  
    119119    color: rgb(60%, 60%, 60%);
    120120    margin-left: 15px;
    121     font-family: -webkit-system-font, sans-serif;
     121    font-family: -apple-system, sans-serif;
    122122    font-size: 12px;
    123123}
  • trunk/Source/WebInspectorUI/UserInterface/Views/RenderingFrameTimelineOverviewGraph.css

    r183469 r186698  
    4343.timeline-overview-graph.rendering-frame > .divider > .label {
    4444    padding: 2px;
    45     font-family: -webkit-system-font, sans-serif;
    4645    font-size: 8px;
    4746
  • trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.css

    r185150 r186698  
    113113
    114114.source-code.text-editor > .CodeMirror .issue-widget > .text {
    115     font-family: -webkit-system-font, sans-serif;
     115    font-family: -apple-system, sans-serif;
    116116}
    117117
  • trunk/Source/WebInspectorUI/UserInterface/Views/TypeTreeView.css

    r184736 r186698  
    2929
    3030    color: black;
    31     font-family: -webkit-system-font, sans-serif;
     31    font-family: -apple-system, sans-serif;
    3232    font-size: 12px;
    3333}
Note: See TracChangeset for help on using the changeset viewer.