Diff
Modified: trunk/Source/WebCore/ChangeLog (122577 => 122578)
--- trunk/Source/WebCore/ChangeLog 2012-07-13 14:58:55 UTC (rev 122577)
+++ trunk/Source/WebCore/ChangeLog 2012-07-13 15:02:22 UTC (rev 122578)
@@ -1,3 +1,19 @@
+2012-07-13 Pavel Feldman <[email protected]>
+
+ Web Inspector: align scope filters
+ https://bugs.webkit.org/show_bug.cgi?id=91213
+
+ Reviewed by Vsevolod Vlasov.
+
+ * inspector/front-end/elementsPanel.css:
+ (.crumbs):
+ * inspector/front-end/inspector.css:
+ (.status-bar > div):
+ (.scope-bar):
+ (.scope-bar li):
+ (.scope-bar li.all):
+ * inspector/front-end/networkLogView.css:
+
2012-07-13 Peter Rybin <[email protected]>
Web Inspector: too many hardcoded strings in InspectorBackendDispatcher.
Modified: trunk/Source/WebCore/inspector/front-end/ConsoleView.js (122577 => 122578)
--- trunk/Source/WebCore/inspector/front-end/ConsoleView.js 2012-07-13 14:58:55 UTC (rev 122577)
+++ trunk/Source/WebCore/inspector/front-end/ConsoleView.js 2012-07-13 15:02:22 UTC (rev 122578)
@@ -71,7 +71,6 @@
this.currentGroup = this.topGroup;
this._filterBarElement = document.createElement("div");
- this._filterBarElement.id = "console-filter";
this._filterBarElement.className = "scope-bar status-bar-item";
function createDividerElement() {
Modified: trunk/Source/WebCore/inspector/front-end/NetworkPanel.js (122577 => 122578)
--- trunk/Source/WebCore/inspector/front-end/NetworkPanel.js 2012-07-13 14:58:55 UTC (rev 122577)
+++ trunk/Source/WebCore/inspector/front-end/NetworkPanel.js 2012-07-13 15:02:22 UTC (rev 122578)
@@ -322,7 +322,6 @@
{
var filterBarElement = document.createElement("div");
filterBarElement.className = "scope-bar status-bar-item";
- filterBarElement.id = "network-filter";
/**
* @param {string} typeName
Modified: trunk/Source/WebCore/inspector/front-end/elementsPanel.css (122577 => 122578)
--- trunk/Source/WebCore/inspector/front-end/elementsPanel.css 2012-07-13 14:58:55 UTC (rev 122577)
+++ trunk/Source/WebCore/inspector/front-end/elementsPanel.css 2012-07-13 15:02:22 UTC (rev 122578)
@@ -66,6 +66,7 @@
text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
color: rgb(20, 20, 20);
margin-left: -1px;
+ margin-top: -1px;
padding-right: 12px;
}
Modified: trunk/Source/WebCore/inspector/front-end/inspector.css (122577 => 122578)
--- trunk/Source/WebCore/inspector/front-end/inspector.css 2012-07-13 14:58:55 UTC (rev 122577)
+++ trunk/Source/WebCore/inspector/front-end/inspector.css 2012-07-13 15:02:22 UTC (rev 122578)
@@ -316,7 +316,7 @@
position: relative;
background-color: white;
border: 1px solid rgb(202, 202, 202);
- margin: 2px;
+ margin: 1px 2px;
height: 20px;
border-radius: 2px;
padding-right: 36px;
@@ -511,7 +511,6 @@
display: inline-block;
vertical-align: top;
overflow: visible;
- margin-top: -1px;
}
.status-bar-item {
@@ -1830,20 +1829,16 @@
margin-top: 23px;
}
-#console-filter {
- margin-top: 1px;
-}
-
.scope-bar {
- height: 23px;
- padding: 2px 10px 0;
+ line-height: 19px;
+ padding-right: 10px;
overflow: hidden;
}
.scope-bar li {
display: inline-block;
- margin: 1px 2px 0 0;
- padding: 1px 7px 3px;
+ margin: 0 2px;
+ padding: 2px 6px;
font-size: 11px;
line-height: 12px;
font-weight: bold;
@@ -1855,7 +1850,6 @@
}
.scope-bar-divider {
- margin: 1px 9px 0 8px;
background-color: rgba(0, 0, 0, 0.4);
height: 16px;
width: 1px;
@@ -1868,6 +1862,10 @@
text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0;
}
+.scope-bar li.all {
+ margin: 0 8px;
+}
+
.scope-bar li:hover {
background: rgba(0, 0, 0, 0.2);
}
Modified: trunk/Source/WebCore/inspector/front-end/networkLogView.css (122577 => 122578)
--- trunk/Source/WebCore/inspector/front-end/networkLogView.css 2012-07-13 14:58:55 UTC (rev 122577)
+++ trunk/Source/WebCore/inspector/front-end/networkLogView.css 2012-07-13 15:02:22 UTC (rev 122578)
@@ -465,9 +465,6 @@
}
/* Filters */
-#network-filter {
- margin-top: 1px;
-}
.network-log-grid.data-grid table.data tr.revealed.network-item {
display: none;