Changeset 146767 in webkit


Ignore:
Timestamp:
Mar 25, 2013 6:56:44 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Fonts refactoring
https://bugs.webkit.org/show_bug.cgi?id=113047

Patch by Alexei Filippov <alph@chromium.org> on 2013-03-25
Reviewed by Pavel Feldman.

Unify fonts usage across inspector.
Make inspector default font depend on platform.

Source/WebCore:

  • inspector/front-end/dataGrid.css:

(.data-grid table):
(.data-grid td):

  • inspector/front-end/inspector.css:

(.toolbar-label):
(body.show-toolbar-icons .toolbar-label):
(.console-message .bubble):
(li .status .bubble):
(.source-frame-breakpoint-message):
(.soft-context-menu):

  • inspector/front-end/inspectorCommon.css:

(body):

  • inspector/front-end/networkLogView.css:

(.network-log-grid.data-grid td):
(.network-log-grid.data-grid.small td):

  • inspector/front-end/tabbedPane.css:

(.tabbed-pane-header-tab):
(select.tabbed-pane-header-tabs-drop-down-select):

  • inspector/front-end/timelinePanel.css:

(.memory-counter-value):

Source/WebKit/chromium:

  • src/js/devTools.css:

(body.platform-linux):
(body.platform-mac):
(body.platform-windows):

Location:
trunk/Source
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r146765 r146767  
     12013-03-25  Alexei Filippov  <alph@chromium.org>
     2
     3        Web Inspector: Fonts refactoring
     4        https://bugs.webkit.org/show_bug.cgi?id=113047
     5
     6        Reviewed by Pavel Feldman.
     7
     8        Unify fonts usage across inspector.
     9        Make inspector default font depend on platform.
     10
     11        * inspector/front-end/dataGrid.css:
     12        (.data-grid table):
     13        (.data-grid td):
     14        * inspector/front-end/inspector.css:
     15        (.toolbar-label):
     16        (body.show-toolbar-icons .toolbar-label):
     17        (.console-message .bubble):
     18        (li .status .bubble):
     19        (.source-frame-breakpoint-message):
     20        (.soft-context-menu):
     21        * inspector/front-end/inspectorCommon.css:
     22        (body):
     23        * inspector/front-end/networkLogView.css:
     24        (.network-log-grid.data-grid td):
     25        (.network-log-grid.data-grid.small td):
     26        * inspector/front-end/tabbedPane.css:
     27        (.tabbed-pane-header-tab):
     28        (select.tabbed-pane-header-tabs-drop-down-select):
     29        * inspector/front-end/timelinePanel.css:
     30        (.memory-counter-value):
     31
    1322013-03-25  Vladislav Kaznacheev  <kaznacheev@chromium.org>
    233
  • trunk/Source/WebCore/inspector/front-end/dataGrid.css

    r146333 r146767  
    1717    border-collapse: collapse;
    1818    width: 100%;
    19     font-size: 11px;
    20     font-family: Lucida Grande, sans-serif;
    2119}
    2220
     
    103101    vertical-align: top;
    104102    height: 16px; /* Keep in sync with .data-grid table.data @ -webkit-background-size */
    105     line-height: 12px;
    106     padding: 2px 4px;
     103    line-height: 13px;
     104    padding: 1px 4px;
    107105    white-space: nowrap;
    108106    overflow: hidden;
  • trunk/Source/WebCore/inspector/front-end/inspector.css

    r146326 r146767  
    164164
    165165.toolbar-label {
    166     line-height: 22px;
     166    line-height: 24px;
    167167    font-size: 11px;
    168     font-family: Lucida Grande, sans-serif;
     168    font-family: 'Lucida Grande', sans-serif;
    169169    text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
    170170}
    171171
    172172body.show-toolbar-icons .toolbar-label {
    173     line-height: 15px;
     173    line-height: 16px;
    174174}
    175175.toolbar-item.toggleable:active .toolbar-label {
     
    10471047    font-size: 11px;
    10481048    line-height: normal;
    1049     font-family: Helvetica, Arial, sans-serif;
    10501049    font-weight: bold;
    10511050    text-shadow: none;
     
    21222121    font-size: 11px;
    21232122    line-height: normal;
    2124     font-family: Helvetica, Arial, sans-serif;
    21252123    font-weight: bold;
    21262124    text-shadow: none;
     
    23052303.source-frame-breakpoint-message {
    23062304    background-color: transparent;
    2307     font-family: Lucida Grande, sans-serif;
    23082305    font-weight: normal;
    23092306    font-size: 11px;
     
    24102407.soft-context-menu {
    24112408    position: absolute;
    2412     font-family: 'Lucida Grande', 'Helvetica', 'sans-serif';
    24132409    border: 1px solid rgba(196, 196, 196, 0.9);
    24142410    border-top: 1px solid rgba(196, 196, 196, 0.5);
     
    25162512
    25172513.drawer-header-close-button {
    2518     font-family: Arial, monospace;
    25192514    padding: 3px 8px;
    25202515    font-size: 14px;
  • trunk/Source/WebCore/inspector/front-end/inspectorCommon.css

    r146753 r146767  
    1212    overflow: hidden;
    1313    font-family: Lucida Grande, sans-serif;
    14     font-size: 10px;
     14    font-size: 11px;
    1515    margin: 0;
    1616    tab-size: 4;
  • trunk/Source/WebCore/inspector/front-end/networkLogView.css

    r146214 r146767  
    1919.network-log-grid.data-grid td {
    2020    line-height: 17px;
    21     height: 37px;
     21    height: 41px;
    2222    border-right: 1px solid rgb(210, 210, 210);
    2323    vertical-align: middle;
     
    2525
    2626.network-log-grid.data-grid.small td {
    27     height: 17px;
     27    height: 21px;
    2828}
    2929
  • trunk/Source/WebCore/inspector/front-end/tabbedPane.css

    r145943 r146767  
    6969    text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
    7070    vertical-align: middle;
    71     padding: 3px 4px 2px 4px;
     71    padding: 1px 4px 2px 4px;
    7272    height: 21px;
    7373    border: 1px solid transparent;
     
    9494
    9595.tabbed-pane-header-tab-close-button {
    96     font-family: Arial, monospace;
    9796    position: relative;
    9897    bottom: 1px;
     
    165164    -webkit-appearance: none;
    166165}
    167  
  • trunk/Source/WebCore/inspector/front-end/timelinePanel.css

    r146330 r146767  
    213213
    214214.timeline-tree-item .count {
    215     font-family: Helvetica, Arial, sans-serif;
    216215    font-weight: bold;
    217216}
     
    360359
    361360.timeline-records-stats, .storage-application-cache-status, .storage-application-cache-connectivity {
    362     font-size: 11px;
    363361    text-shadow: white 0 1px 0;
    364362}
     
    497495
    498496.memory-counter-sidebar-info {
    499     font-size: 11px;
    500497    margin: 10px;
    501498}
     
    515512.memory-counter-value {
    516513    margin: 4px;
    517     font-size: 11px;
    518514}
    519515
  • trunk/Source/WebKit/chromium/ChangeLog

    r146739 r146767  
     12013-03-25  Alexei Filippov  <alph@chromium.org>
     2
     3        Web Inspector: Fonts refactoring
     4        https://bugs.webkit.org/show_bug.cgi?id=113047
     5
     6        Reviewed by Pavel Feldman.
     7
     8        Unify fonts usage across inspector.
     9        Make inspector default font depend on platform.
     10
     11        * src/js/devTools.css:
     12        (body.platform-linux):
     13        (body.platform-mac):
     14        (body.platform-windows):
     15
    1162013-03-24  Dana Jansens  <danakj@chromium.org>
    217
  • trunk/Source/WebKit/chromium/src/js/devTools.css

    r139413 r146767  
    1212
    1313/* Chrome theme overrides */
     14
     15body.platform-linux {
     16  font-family: Ubuntu, Arial, sans-serif;
     17  font-size: 11px !important;
     18}
     19
     20body.platform-mac {
     21  font-family: 'Lucida Grande', sans-serif;
     22  font-size: 11px !important;
     23}
     24
     25body.platform-windows {
     26  font-family: 'Segoe UI', Tahoma, sans-serif;
     27  font-size: 11px !important;
     28}
    1429
    1530body.platform-windows #toolbar, body.platform-windows.inactive #toolbar {
Note: See TracChangeset for help on using the changeset viewer.