Index: resources/inspector/inspector.css |
=================================================================== |
--- resources/inspector/inspector.css (revision 33840) |
+++ resources/inspector/inspector.css (working copy) |
@@ -29,8 +29,11 @@ |
body { |
cursor: default; |
- height: 100%; |
- width: 100%; |
+ position: absolute; |
+ top: 0; |
+ bottom: 0; |
+ left: 0; |
+ right: 0; |
overflow: hidden; |
font-family: Lucida Grande, sans-serif; |
font-size: 10px; |
@@ -83,7 +86,8 @@ |
border-bottom: 1px solid rgb(64%, 64%, 64%); |
} |
-body.detached.platform-mac-leopard #toolbar { |
+body.detached.platform-mac-leopard #toolbar, |
+body.detached.platform-mac-snowleopard #toolbar { |
background: transparent !important; |
} |
@@ -245,11 +249,11 @@ |
display: none; |
} |
-body.platform-mac-tiger .toolbar-item.close-right, body.platform-mac-leopard .toolbar-item.close-right { |
+body.platform-mac .toolbar-item.close-right { |
display: none; |
} |
-body:not(.platform-mac-tiger):not(.platform-mac-leopard) .toolbar-item.close-left { |
+body:not(.platform-mac) .toolbar-item.close-left { |
display: none; |
} |
@@ -366,6 +370,14 @@ |
background-color: rgb(66, 129, 235); |
} |
+button.status-bar-item.toggled-1 .glyph { |
+ background-color: rgb(66, 129, 235); |
+} |
+ |
+button.status-bar-item.toggled-2 .glyph { |
+ background-color: purple; |
+} |
+ |
button.status-bar-item:disabled { |
opacity: 0.5; |
background-position: 0 0 !important; |
@@ -487,6 +499,32 @@ |
background: none; |
} |
+.monospace { |
+ font-size: 10px; |
+ font-family: monospace; |
+} |
+ |
+body.platform-mac .monospace, body.platform-mac .source-code { |
+ font-family: Monaco, monospace; |
+} |
+ |
+/* Keep .platform-mac to make the rule more specific than the general one above. */ |
+body.platform-mac.platform-mac-snowleopard .monospace, |
+body.platform-mac.platform-mac-snowleopard .source-code { |
+ font-size: 11px; |
+ font-family: Menlo, monospace; |
+} |
+ |
+body.platform-windows .monospace, body.platform-windows .source-code { |
+ font-size: 12px; |
+ font-family: Consolas, Lucida Console, monospace; |
+} |
+ |
+body.platform-linux .monospace, body.platform-linux .source-code { |
+ font-size: 11px; |
+ font-family: dejavu sans mono, monospace; |
+} |
+ |
#console-messages { |
position: absolute; |
z-index: 0; |
@@ -494,10 +532,9 @@ |
left: 0; |
right: 0; |
bottom: 23px; |
- font-size: initial; |
- font-family: monospace; |
padding: 2px 0; |
overflow-y: overlay; |
+ word-wrap: break-word; |
-webkit-user-select: text; |
-webkit-text-size-adjust: auto; |
} |
@@ -556,6 +593,7 @@ |
margin-right: 4px; |
text-align: left; |
font-size: 11px; |
+ line-height: normal; |
font-family: Helvetica, Arial, sans-serif; |
font-weight: bold; |
text-shadow: none; |
@@ -690,7 +728,7 @@ |
.console-group-messages .outline-disclosure, .console-group-messages .outline-disclosure ol { |
font-size: inherit; |
- line-height: 1em; |
+ line-height: 12px; |
} |
.console-group-messages .outline-disclosure.single-node li { |
@@ -720,6 +758,18 @@ |
padding-left: 0 !important; |
} |
+.console-formatted-number { |
+ color: rgb(28, 0, 207); |
+} |
+ |
+.console-formatted-string, .console-formatted-regexp { |
+ color: rgb(196, 26, 22); |
+} |
+ |
+.console-formatted-null, .console-formatted-undefined { |
+ color: rgb(128, 128, 128); |
+} |
+ |
.error-message { |
color: red; |
} |
@@ -746,41 +796,57 @@ |
.resource-view { |
display: none; |
- overflow: hidden; |
position: absolute; |
top: 0; |
left: 0; |
right: 0; |
bottom: 0; |
- overflow: hidden; |
} |
.resource-view.visible { |
display: block; |
} |
-.resource-view.headers-visible { |
- overflow-y: auto; |
- overflow-x: hidden; |
+.resource-view .scope-bar { |
+ display: none; |
+ position: absolute; |
+ height: 20px; |
+ top: 0; |
+ left: 0; |
+ right: 0; |
+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(236, 236, 236)), to(rgb(217, 217, 217))); |
+ border-bottom: 1px solid rgb(163, 163, 163); |
} |
+.resource-view.headers-visible .scope-bar { |
+ display: block; |
+} |
+ |
+.resource-view .scope-bar li { |
+ border-bottom-left-radius: 0; |
+ border-bottom-right-radius: 0; |
+} |
+ |
.resource-view-headers { |
- display: none; |
padding: 6px; |
- border-bottom: 1px solid rgb(64%, 64%, 64%); |
- background-color: white; |
- -webkit-user-select: text; |
+ -webkit-user-select: text; |
+ position: absolute; |
+ top: 0; |
+ left: 0; |
+ right: 0; |
+ bottom: 0; |
+ overflow: auto; |
} |
+.resource-view.headers-visible .resource-view-headers { |
+ top: 20px; |
+} |
+ |
.resource-view-headers .outline-disclosure .parent { |
-webkit-user-select: none; |
font-weight: bold; |
} |
-.resource-view.headers-visible .resource-view-headers { |
- display: block; |
-} |
- |
.resource-view-headers .outline-disclosure .children li { |
white-space: nowrap; |
} |
@@ -792,21 +858,18 @@ |
.resource-view-headers .outline-disclosure .header-name { |
color: rgb(33%, 33%, 33%); |
display: inline-block; |
- width: 105px; |
- text-align: right; |
margin-right: 0.5em; |
font-weight: bold; |
vertical-align: top; |
- overflow: hidden; |
- text-overflow: ellipsis; |
+ white-space: pre-wrap; |
} |
.resource-view-headers .outline-disclosure .header-value { |
- display: inline-block; |
- white-space: normal; |
- word-break: break-word; |
- vertical-align: top; |
+ display: inline; |
margin-right: 100px; |
+ white-space: pre-wrap; |
+ word-break: break-all; |
+ margin-top: 1px; |
} |
.resource-view-headers .outline-disclosure .raw-form-data { |
@@ -822,18 +885,9 @@ |
} |
.resource-view.headers-visible .resource-view-content { |
- position: relative; |
- top: auto; |
- right: auto; |
- left: auto; |
- bottom: auto; |
+ top: 20px; |
} |
-.resource-view.headers-visible .source-view-frame { |
- height: auto; |
- vertical-align: top; |
-} |
- |
.webkit-line-gutter-backdrop { |
/* Keep this in sync with view-source.css (.webkit-line-gutter-backdrop) */ |
width: 31px; |
@@ -879,6 +933,7 @@ |
} |
.resource-status-image { |
+ margin-top: -3px; |
vertical-align: middle; |
} |
@@ -1047,10 +1102,14 @@ |
background-color: rgb(212, 212, 212); |
} |
-:focus .outline-disclosure li.selected .selection { |
+.outline-disclosure ol:focus li.selected .selection { |
background-color: rgb(56, 121, 217); |
} |
+.outline-disclosure { |
+ font-size: 11px; |
+} |
+ |
.outline-disclosure > ol { |
position: relative; |
padding: 2px 6px !important; |
@@ -1062,24 +1121,33 @@ |
.outline-disclosure, .outline-disclosure ol { |
list-style-type: none; |
- font-size: 11px; |
-webkit-padding-start: 12px; |
margin: 0; |
} |
+.source-code { |
+ font-family: monospace; |
+ font-size: 10px; |
+ white-space: pre-wrap; |
+} |
+ |
.outline-disclosure li { |
- padding: 0 0 2px 14px; |
+ padding: 0 0 0 14px; |
margin-top: 1px; |
margin-bottom: 1px; |
word-wrap: break-word; |
- text-indent: -2px |
+ text-indent: -2px; |
} |
-:focus .outline-disclosure li.selected { |
+.resources .outline-disclosure li { |
+ text-indent: -1px; |
+} |
+ |
+.outline-disclosure ol:focus li.selected { |
color: white; |
} |
-:focus .outline-disclosure li.selected * { |
+.outline-disclosure ol:focus li.selected * { |
color: inherit; |
} |
@@ -1104,7 +1172,7 @@ |
content: url(Images/treeRightTriangleBlack.png); |
} |
-:focus .outline-disclosure li.parent.selected::before { |
+.outline-disclosure ol:focus li.parent.selected::before { |
content: url(Images/treeRightTriangleWhite.png); |
} |
@@ -1112,7 +1180,7 @@ |
content: url(Images/treeDownTriangleBlack.png); |
} |
-:focus .outline-disclosure li.parent.expanded.selected::before { |
+.outline-disclosure ol:focus li.parent.expanded.selected::before { |
content: url(Images/treeDownTriangleWhite.png); |
} |
@@ -1124,46 +1192,6 @@ |
display: block; |
} |
-.webkit-html-comment { |
- /* Keep this in sync with view-source.css (.webkit-html-comment) */ |
- color: rgb(35, 110, 37); |
-} |
- |
-.webkit-html-tag { |
- /* Keep this in sync with view-source.css (.webkit-html-tag) */ |
- color: rgb(136, 18, 128); |
-} |
- |
-.webkit-html-doctype { |
- /* Keep this in sync with view-source.css (.webkit-html-doctype) */ |
- color: rgb(192, 192, 192); |
-} |
- |
-.webkit-html-attribute-name { |
- /* Keep this in sync with view-source.css (.webkit-html-attribute-name) */ |
- color: rgb(153, 69, 0); |
-} |
- |
-.webkit-html-attribute-value { |
- /* Keep this in sync with view-source.css (.webkit-html-attribute-value) */ |
- color: rgb(26, 26, 166); |
-} |
- |
-.webkit-html-external-link, .webkit-html-resource-link { |
- /* Keep this in sync with view-source.css (.webkit-html-external-link, .webkit-html-resource-link) */ |
- color: #00e; |
-} |
- |
-.webkit-html-external-link { |
- /* Keep this in sync with view-source.css (.webkit-html-external-link) */ |
- text-decoration: none; |
-} |
- |
-.webkit-html-external-link:hover { |
- /* Keep this in sync with view-source.css (.webkit-html-external-link:hover) */ |
- text-decoration: underline; |
-} |
- |
.add-attribute { |
margin-left: 1px; |
margin-right: 1px; |
@@ -1328,7 +1356,6 @@ |
margin: 0; |
padding: 2px 6px 3px; |
list-style: none; |
- background-color: white; |
min-height: 18px; |
} |
@@ -1474,6 +1501,11 @@ |
text-decoration: none !important; |
} |
+.elements-tree-editor { |
+ -webkit-user-select: text; |
+ -webkit-user-modify: read-write-plaintext-only; |
+} |
+ |
.section .properties li.editing { |
margin-left: 10px; |
text-overflow: clip; |
@@ -1552,6 +1584,10 @@ |
color: rgb(100, 100, 100); |
} |
+.section .properties .value.error { |
+ color: red; |
+} |
+ |
.section .properties .number, .event-properties .number { |
color: blue; |
} |
@@ -1781,7 +1817,7 @@ |
.sidebar { |
position: absolute; |
top: 0; |
- min-height: 100%; |
+ bottom: 0; |
left: 0; |
width: 200px; |
overflow-y: auto; |
@@ -2074,8 +2110,6 @@ |
} |
.storage-view.query { |
- font-size: initial; |
- font-family: monospace; |
padding: 2px 0; |
overflow-y: overlay; |
overflow-x: hidden; |
@@ -2189,7 +2223,7 @@ |
display: none; |
} |
-.panel-enabler-view img { |
+.panel-enabler-view img, div.welcome-instructions-aligner { |
height: 100%; |
min-height: 200px; |
max-width: 100%; |
@@ -2222,7 +2256,7 @@ |
margin: 0 0 5px 20px; |
} |
-.panel-enabler-view button, .pane button { |
+.panel-enabler-view button:not(.status-bar-item), .pane button, button.show-all-nodes { |
color: rgb(6, 6, 6); |
background-color: transparent; |
border: 1px solid rgb(165, 165, 165); |
@@ -2232,24 +2266,57 @@ |
-webkit-appearance: none; |
} |
-.panel-enabler-view button { |
+.panel-enabler-view button:not(.status-bar-item) { |
font-size: 13px; |
margin: 6px 0 0 0; |
padding: 3px 20px; |
height: 24px; |
} |
+button.show-all-nodes { |
+ font-size: 13px; |
+ margin: 0; |
+ padding: 0 20px; |
+ height: 20px; |
+} |
+ |
+.panel-enabler-view.welcome { |
+ z-index: auto; |
+} |
+ |
+.panel-enabler-view.welcome div.welcome-instructions-aligner { |
+ display: inline-block; |
+ width: 0; |
+} |
+ |
+.panel-enabler-view.welcome .instructions { |
+ display: inline-block; |
+ vertical-align: middle; |
+ width: 330px; |
+ margin: 0; |
+ white-space: normal; |
+ line-height: 175%; |
+} |
+ |
+.panel-enabler-view.welcome .message { |
+ margin-bottom: 2ex; |
+} |
+ |
+.panel-enabler-view.welcome button.status-bar-item { |
+ vertical-align: middle; |
+} |
+ |
.pane button { |
margin: 6px 0 6px 3px; |
padding: 2px 9px; |
} |
-.panel-enabler-view button:active, .pane button:active { |
+.panel-enabler-view button:active:not(.status-bar-item), .pane button:active, button.show-all-nodes:active { |
background-color: rgb(215, 215, 215); |
background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239))); |
} |
-body.inactive .panel-enabler-view button, .panel-enabler-view button:disabled, body.inactive .pane button, .pane button:disabled { |
+body.inactive .panel-enabler-view button:not(.status-bar-item), .panel-enabler-view button:disabled:not(.status-bar-item), body.inactive .pane button, .pane button:disabled, body.inactive button.show-all-nodes { |
color: rgb(130, 130, 130); |
border-color: rgb(212, 212, 212); |
background-color: rgb(239, 239, 239); |
@@ -2348,6 +2415,15 @@ |
content: url(Images/debuggerStepOut.png); |
} |
+.toggle-breakpoints .glyph { |
+ -webkit-mask-image: url(Images/breakpointsActivateButtonGlyph.png); |
+ background-color: rgb(96, 96, 96) !important; |
+} |
+ |
+.toggle-breakpoints.toggled-on .glyph { |
+ -webkit-mask-image: url(Images/breakpointsDeactivateButtonGlyph.png); |
+} |
+ |
#scripts-debugger-status { |
position: absolute; |
line-height: 24px; |
@@ -2379,7 +2455,6 @@ |
#script-resource-views { |
display: block; |
- overflow: auto; |
padding: 0; |
position: absolute; |
top: 23px; |
@@ -2418,11 +2493,16 @@ |
-webkit-mask-image: url(Images/largerResourcesButtonGlyph.png); |
} |
-#resources-filter { |
+#resources-filter, #console-filter.console-filter-top { |
background: -webkit-gradient(linear, left top, left bottom, from(rgb(236, 236, 236)), to(rgb(217, 217, 217))); |
border-bottom: 1px solid rgb(64%, 64%, 64%); |
+ width: 100%; |
} |
+#console-messages.console-filter-top { |
+ margin-top: 23px; |
+} |
+ |
#console-filter { |
margin-top: 1px; |
} |
@@ -2681,6 +2761,10 @@ |
margin-right: 5px; |
} |
+.resources-graph-label.waiting-right { |
+ margin-left: 5px; |
+} |
+ |
.resources-graph-label.before { |
color: rgba(0, 0, 0, 0.7); |
text-shadow: none; |
@@ -2749,7 +2833,7 @@ |
display: block; |
} |
-.resources-graph-bar.waiting { |
+.resources-graph-bar.waiting, .resources-graph-bar.waiting-right { |
opacity: 0.35; |
} |
@@ -2805,51 +2889,6 @@ |
-webkit-border-image: url(Images/timelineHollowPillYellow.png) 6 7 6 7; |
} |
-.tip-button { |
- background-image: url(Images/tipIcon.png); |
- border: none; |
- width: 16px; |
- height: 16px; |
- float: right; |
- background-color: transparent; |
- margin-top: 1px; |
-} |
- |
-.tip-button:active { |
- background-image: url(Images/tipIconPressed.png); |
-} |
- |
-.tip-balloon { |
- position: absolute; |
- left: 145px; |
- top: -5px; |
- z-index: 1000; |
- border-width: 51px 15px 18px 37px; |
- -webkit-border-image: url(Images/tipBalloon.png) 51 15 18 37; |
- width: 265px; |
-} |
- |
-.tip-balloon.bottom { |
- position: absolute; |
- left: 145px; |
- top: auto; |
- bottom: -7px; |
- z-index: 1000; |
- border-width: 18px 15px 51px 37px; |
- -webkit-border-image: url(Images/tipBalloonBottom.png) 18 15 51 37; |
-} |
- |
-.tip-balloon-content { |
- margin-top: -40px; |
- margin-bottom: -2px; |
- margin-left: 2px; |
-} |
- |
-.tip-balloon.bottom .tip-balloon-content { |
- margin-top: -10px; |
- margin-bottom: -35px; |
-} |
- |
#resource-views { |
position: absolute; |
top: 23px; |
@@ -2866,7 +2905,7 @@ |
.sidebar-resizer-vertical { |
position: absolute; |
top: 0; |
- min-height: 100%; |
+ bottom: 0; |
width: 5px; |
z-index: 500; |
cursor: col-resize; |
@@ -3020,6 +3059,7 @@ |
padding: 1px 4px; |
text-align: center; |
font-size: 11px; |
+ line-height: normal; |
font-family: Helvetica, Arial, sans-serif; |
font-weight: bold; |
text-shadow: none; |
@@ -3283,6 +3323,10 @@ |
height: 80px; |
} |
+#timeline-overview-panel .timeline-graph-bar { |
+ pointer-events: none; |
+} |
+ |
.timeline-sidebar-background { |
top: 90px; |
bottom: 0; |
@@ -3291,6 +3335,8 @@ |
.timeline .sidebar { |
overflow-y: hidden; |
z-index: 100; |
+ min-height: 100%; |
+ bottom: auto; |
} |
#timeline-overview-separator { |
@@ -3534,7 +3580,8 @@ |
min-width: 5px; |
opacity: 0.8; |
-webkit-border-image: url(Images/timelineBarGray.png) 4 4 5 4; |
- pointer-events: none; |
+ z-index: 180; |
+ pointer-events: visibleFill; |
} |
.timeline-graph-side.even { |
@@ -3734,8 +3781,14 @@ |
text-overflow: ellipsis; |
overflow: hidden; |
margin: 4px 0; |
+ color: rgb(33%, 33%, 33%); |
+ cursor: pointer; |
} |
+.breakpoint-list li:hover { |
+ color: rgb(15%, 15%, 15%); |
+} |
+ |
.breakpoint-list .checkbox-elem { |
font-size: 10px; |
margin: 0 4px; |
@@ -3745,22 +3798,86 @@ |
} |
.breakpoint-list .source-text { |
- font-family: monospace; |
white-space: nowrap; |
text-overflow: ellipsis; |
overflow: hidden; |
margin: 2px 0 0px 20px; |
} |
-.breakpoint-list a { |
- color: rgb(33%, 33%, 33%); |
- cursor: pointer; |
+.webkit-html-js-node, .webkit-html-css-node { |
+ white-space: pre; |
} |
-.breakpoint-list a:hover { |
- color: rgb(15%, 15%, 15%); |
+.source-frame-breakpoint-condition { |
+ z-index: 30; |
+ padding: 4px; |
+ background-color: rgb(203, 226, 255); |
+ -webkit-border-radius: 7px; |
+ border: 2px solid rgb(169, 172, 203); |
+ width: 90%; |
} |
-.webkit-html-js-node, .webkit-html-css-node { |
- white-space: pre; |
+.source-frame-breakpoint-message { |
+ background-color: transparent; |
+ font-family: Lucida Grande, sans-serif; |
+ font-weight: normal; |
+ font-size: 11px; |
+ text-align: left; |
+ text-shadow: none; |
+ color: rgb(85, 85, 85); |
+ cursor: default; |
+ margin: 0 0 2px 0; |
} |
+ |
+#source-frame-breakpoint-condition { |
+ margin: 0; |
+ border: 1px inset rgb(190, 190, 190) !important; |
+ width: 100%; |
+ box-shadow: none !important; |
+ outline: none !important; |
+ -webkit-user-modify: read-write; |
+} |
+ |
+.source-frame-popover-title { |
+ text-overflow: ellipsis; |
+ overflow: hidden; |
+ white-space: nowrap; |
+ font-weight: bold; |
+ padding-left: 18px; |
+} |
+ |
+.source-frame-popover-tree { |
+ border-top: 1px solid rgb(194, 194, 147); |
+ overflow: auto; |
+ position: absolute; |
+ top: 15px; |
+ bottom: 0; |
+ left: 0; |
+ right: 0; |
+} |
+ |
+.source-frame-eval-expression { |
+ border: 1px solid rgb(163, 41, 34); |
+ margin: -1px; |
+ background-color: rgb(255, 255, 194); |
+} |
+ |
+.timeline-details { |
+ -webkit-user-select: text; |
+} |
+ |
+.timeline-details-row-title { |
+ font-weight: bold; |
+ text-align: right; |
+ white-space: nowrap; |
+} |
+ |
+.timeline-details-row-data { |
+ white-space: nowrap; |
+} |
+ |
+.timeline-details-title { |
+ font-weight: bold; |
+ white-space: nowrap; |
+} |
+ |