Title: [146767] trunk/Source
Revision
146767
Author
commit-qu...@webkit.org
Date
2013-03-25 06:56:44 -0700 (Mon, 25 Mar 2013)

Log Message

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

Patch by Alexei Filippov <a...@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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (146766 => 146767)


--- trunk/Source/WebCore/ChangeLog	2013-03-25 13:54:12 UTC (rev 146766)
+++ trunk/Source/WebCore/ChangeLog	2013-03-25 13:56:44 UTC (rev 146767)
@@ -1,3 +1,34 @@
+2013-03-25  Alexei Filippov  <a...@chromium.org>
+
+        Web Inspector: Fonts refactoring
+        https://bugs.webkit.org/show_bug.cgi?id=113047
+
+        Reviewed by Pavel Feldman.
+
+        Unify fonts usage across inspector.
+        Make inspector default font depend on platform.
+
+        * 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):
+
 2013-03-25  Vladislav Kaznacheev  <kaznach...@chromium.org>
 
         Web Inspector: Use generate-inspector-protocol-version to list valid public API changes

Modified: trunk/Source/WebCore/inspector/front-end/dataGrid.css (146766 => 146767)


--- trunk/Source/WebCore/inspector/front-end/dataGrid.css	2013-03-25 13:54:12 UTC (rev 146766)
+++ trunk/Source/WebCore/inspector/front-end/dataGrid.css	2013-03-25 13:56:44 UTC (rev 146767)
@@ -16,8 +16,6 @@
     border-spacing: 0;
     border-collapse: collapse;
     width: 100%;
-    font-size: 11px;
-    font-family: Lucida Grande, sans-serif;
 }
 
 .data-grid .data-container {
@@ -102,8 +100,8 @@
 .data-grid td {
     vertical-align: top;
     height: 16px; /* Keep in sync with .data-grid table.data @ -webkit-background-size */
-    line-height: 12px;
-    padding: 2px 4px;
+    line-height: 13px;
+    padding: 1px 4px;
     white-space: nowrap;
     overflow: hidden;
     border-right: 1px solid #aaa;

Modified: trunk/Source/WebCore/inspector/front-end/inspector.css (146766 => 146767)


--- trunk/Source/WebCore/inspector/front-end/inspector.css	2013-03-25 13:54:12 UTC (rev 146766)
+++ trunk/Source/WebCore/inspector/front-end/inspector.css	2013-03-25 13:56:44 UTC (rev 146767)
@@ -163,14 +163,14 @@
 }
 
 .toolbar-label {
-    line-height: 22px;
+    line-height: 24px;
     font-size: 11px;
-    font-family: Lucida Grande, sans-serif;
+    font-family: 'Lucida Grande', sans-serif;
     text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
 }
 
 body.show-toolbar-icons .toolbar-label {
-    line-height: 15px;
+    line-height: 16px;
 }
 .toolbar-item.toggleable:active .toolbar-label {
     text-shadow: none;
@@ -1046,7 +1046,6 @@
     text-align: left;
     font-size: 11px;
     line-height: normal;
-    font-family: Helvetica, Arial, sans-serif;
     font-weight: bold;
     text-shadow: none;
     color: white;
@@ -2121,7 +2120,6 @@
     text-align: center;
     font-size: 11px;
     line-height: normal;
-    font-family: Helvetica, Arial, sans-serif;
     font-weight: bold;
     text-shadow: none;
     color: white;
@@ -2304,7 +2302,6 @@
 
 .source-frame-breakpoint-message {
     background-color: transparent;
-    font-family: Lucida Grande, sans-serif;
     font-weight: normal;
     font-size: 11px;
     text-align: left;
@@ -2409,7 +2406,6 @@
 
 .soft-context-menu {
     position: absolute;
-    font-family: 'Lucida Grande', 'Helvetica', 'sans-serif';
     border: 1px solid rgba(196, 196, 196, 0.9);
     border-top: 1px solid rgba(196, 196, 196, 0.5);
     border-bottom: 1px solid rgba(150, 150, 150, 0.9);
@@ -2515,7 +2511,6 @@
 }
 
 .drawer-header-close-button {
-    font-family: Arial, monospace;
     padding: 3px 8px;
     font-size: 14px;
     color:rgb(80, 80, 80);

Modified: trunk/Source/WebCore/inspector/front-end/inspectorCommon.css (146766 => 146767)


--- trunk/Source/WebCore/inspector/front-end/inspectorCommon.css	2013-03-25 13:54:12 UTC (rev 146766)
+++ trunk/Source/WebCore/inspector/front-end/inspectorCommon.css	2013-03-25 13:56:44 UTC (rev 146767)
@@ -11,7 +11,7 @@
     right: 0;
     overflow: hidden;
     font-family: Lucida Grande, sans-serif;
-    font-size: 10px;
+    font-size: 11px;
     margin: 0;
     tab-size: 4;
     -webkit-user-select: none;

Modified: trunk/Source/WebCore/inspector/front-end/networkLogView.css (146766 => 146767)


--- trunk/Source/WebCore/inspector/front-end/networkLogView.css	2013-03-25 13:54:12 UTC (rev 146766)
+++ trunk/Source/WebCore/inspector/front-end/networkLogView.css	2013-03-25 13:56:44 UTC (rev 146767)
@@ -18,13 +18,13 @@
 
 .network-log-grid.data-grid td {
     line-height: 17px;
-    height: 37px;
+    height: 41px;
     border-right: 1px solid rgb(210, 210, 210);
     vertical-align: middle;
 }
 
 .network-log-grid.data-grid.small td {
-    height: 17px;
+    height: 21px;
 }
 
 .network-log-grid.data-grid th {

Modified: trunk/Source/WebCore/inspector/front-end/tabbedPane.css (146766 => 146767)


--- trunk/Source/WebCore/inspector/front-end/tabbedPane.css	2013-03-25 13:54:12 UTC (rev 146766)
+++ trunk/Source/WebCore/inspector/front-end/tabbedPane.css	2013-03-25 13:56:44 UTC (rev 146767)
@@ -68,7 +68,7 @@
     background: transparent;
     text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
     vertical-align: middle;
-    padding: 3px 4px 2px 4px;
+    padding: 1px 4px 2px 4px;
     height: 21px;
     border: 1px solid transparent;
     border-bottom: none;
@@ -93,7 +93,6 @@
 }
 
 .tabbed-pane-header-tab-close-button {
-    font-family: Arial, monospace;
     position: relative;
     bottom: 1px;
     opacity: 0;
@@ -164,4 +163,3 @@
     margin: 0;
     -webkit-appearance: none;
 }
- 
\ No newline at end of file

Modified: trunk/Source/WebCore/inspector/front-end/timelinePanel.css (146766 => 146767)


--- trunk/Source/WebCore/inspector/front-end/timelinePanel.css	2013-03-25 13:54:12 UTC (rev 146766)
+++ trunk/Source/WebCore/inspector/front-end/timelinePanel.css	2013-03-25 13:56:44 UTC (rev 146767)
@@ -212,7 +212,6 @@
 }
 
 .timeline-tree-item .count {
-    font-family: Helvetica, Arial, sans-serif;
     font-weight: bold;
 }
 
@@ -359,7 +358,6 @@
 }
 
 .timeline-records-stats, .storage-application-cache-status, .storage-application-cache-connectivity {
-    font-size: 11px;
     text-shadow: white 0 1px 0;
 }
 
@@ -496,7 +494,6 @@
 }
 
 .memory-counter-sidebar-info {
-    font-size: 11px;
     margin: 10px;
 }
 
@@ -514,7 +511,6 @@
 
 .memory-counter-value {
     margin: 4px;
-    font-size: 11px;
 }
 
 #counter-values-bar {

Modified: trunk/Source/WebKit/chromium/ChangeLog (146766 => 146767)


--- trunk/Source/WebKit/chromium/ChangeLog	2013-03-25 13:54:12 UTC (rev 146766)
+++ trunk/Source/WebKit/chromium/ChangeLog	2013-03-25 13:56:44 UTC (rev 146767)
@@ -1,3 +1,18 @@
+2013-03-25  Alexei Filippov  <a...@chromium.org>
+
+        Web Inspector: Fonts refactoring
+        https://bugs.webkit.org/show_bug.cgi?id=113047
+
+        Reviewed by Pavel Feldman.
+
+        Unify fonts usage across inspector.
+        Make inspector default font depend on platform.
+
+        * src/js/devTools.css:
+        (body.platform-linux):
+        (body.platform-mac):
+        (body.platform-windows):
+
 2013-03-24  Dana Jansens  <dan...@chromium.org>
 
         [chromium] Roll chromium deps to 190311.

Modified: trunk/Source/WebKit/chromium/src/js/devTools.css (146766 => 146767)


--- trunk/Source/WebKit/chromium/src/js/devTools.css	2013-03-25 13:54:12 UTC (rev 146766)
+++ trunk/Source/WebKit/chromium/src/js/devTools.css	2013-03-25 13:56:44 UTC (rev 146767)
@@ -12,6 +12,21 @@
 
 /* Chrome theme overrides */
 
+body.platform-linux {
+  font-family: Ubuntu, Arial, sans-serif;
+  font-size: 11px !important;
+}
+
+body.platform-mac {
+  font-family: 'Lucida Grande', sans-serif;
+  font-size: 11px !important;
+}
+
+body.platform-windows {
+  font-family: 'Segoe UI', Tahoma, sans-serif;
+  font-size: 11px !important;
+}
+
 body.platform-windows #toolbar, body.platform-windows.inactive #toolbar {
     background-image: none;
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to