Index: chrome_linux64/resources/inspector/timelinePanel.css |
=================================================================== |
--- chrome_linux64/resources/inspector/timelinePanel.css (revision 197568) |
+++ chrome_linux64/resources/inspector/timelinePanel.css (working copy) |
@@ -135,12 +135,12 @@ |
.timeline-category-statusbar-item { |
height: 24px; |
- line-height: 24px; |
+ line-height: 22px; |
padding-left: 6px; |
white-space: nowrap; |
text-overflow: ellipsis; |
+ text-shadow: white 0 1px 0; |
overflow: hidden; |
- font-weight: bold; |
min-width: 20px; |
-webkit-flex: auto 0 1; |
} |
@@ -150,27 +150,40 @@ |
color: rgb(65, 65, 65); |
} |
-.timeline-category-statusbar-item input { |
- vertical-align: middle; |
-} |
- |
-.timeline-category-statusbar-item .timeline-category-checkbox { |
+.timeline-category-checkbox { |
width: 10px; |
- height: 11px; |
+ height: 10px; |
margin: 0 3px 0 9px; |
padding: 0; |
- vertical-align: -2px; |
border-radius: 2px; |
border: solid 1px; |
+ display: inline-block; |
+ overflow: visible; |
+ opacity: 0.8; |
+ vertical-align: -1px; |
+} |
+ |
+ |
+.timeline-category-checkbox-check { |
-webkit-appearance: none; |
+ width: 11px; |
+ height: 11px; |
+ margin-top: -2px; |
+ margin-left: 1px; |
} |
-.timeline-category-statusbar-item .timeline-category-checkbox:checked::before { |
- position: relative; |
- top: -5px; |
- content: url(Images/tickMark.png); |
+.timeline-category-checkbox-checked { |
+ background-image: url(Images/statusbarButtonGlyphs.png); |
+ background-size: 320px 120px; |
+ background-position: -129px -110px; |
} |
+@media (-webkit-min-device-pixel-ratio: 1.5) { |
+.timeline-category-checkbox-checked { |
+ background-image: url(Images/statusbarButtonGlyphs2x.png); |
+} |
+} |
+ |
.timeline-tree-item { |
height: 18px; |
line-height: 15px; |
@@ -197,20 +210,31 @@ |
border-bottom: 1px solid rgb(163, 163, 163); |
} |
-.timeline-expandable-collapsed { |
- background-image: url(Images/disclosureTriangleSmallRightBlack.png); |
- background-position-x: 1px; |
- background-position-y: 3px; |
- background-repeat: no-repeat; |
+.timeline-expandable-arrow { |
+ background-image: url(Images/statusbarButtonGlyphs.png); |
+ background-size: 320px 120px; |
+ opacity: 0.5; |
+ width: 10px; |
+ height: 10px; |
+ position: relative; |
+ top: 3px; |
+ left: 2px; |
} |
-.timeline-expandable-expanded { |
- background-image: url(Images/disclosureTriangleSmallDownBlack.png); |
- background-position-x: 1px; |
- background-position-y: 3px; |
- background-repeat: no-repeat; |
+@media (-webkit-min-device-pixel-ratio: 1.5) { |
+.timeline-expandable-arrow { |
+ background-image: url(Images/statusbarButtonGlyphs2x.png); |
} |
+} |
+.timeline-expandable-collapsed .timeline-expandable-arrow { |
+ background-position: -4px -96px; |
+} |
+ |
+.timeline-expandable-expanded .timeline-expandable-arrow { |
+ background-position: -20px -96px; |
+} |
+ |
.timeline-tree-item .type { |
padding-left: 14px; |
} |
@@ -240,12 +264,25 @@ |
.timeline-tree-item.warning::after, |
.timeline-tree-item.child-warning::after { |
- content: url(Images/warningIcon.png); |
+ background-image: url(Images/statusbarButtonGlyphs.png); |
+ background-size: 320px 120px; |
+ width: 10px; |
+ height: 10px; |
float: right; |
- padding-top: 1px; |
+ content: ""; |
+ position: relative; |
+ top: 2px; |
+ background-position: -202px -107px; |
} |
+@media (-webkit-min-device-pixel-ratio: 1.5) { |
+.timeline-tree-item.warning::after, |
.timeline-tree-item.child-warning::after { |
+ background-image: url(Images/statusbarButtonGlyphs2x.png); |
+} |
+} |
+ |
+.timeline-tree-item.child-warning::after { |
opacity: 0.5; |
} |
@@ -263,18 +300,20 @@ |
z-index: 160; |
} |
-.timeline-frame-overview #timeline-overview-memory { |
- display: none; |
+#timeline-overview-memory { |
+ top: 25px; |
} |
-#timeline-overview-memory > canvas { |
- position: absolute; |
- left: 0; |
- right: 0; |
- bottom: 0; |
- top: 5px; |
+#timeline-overview-container canvas { |
+ width: 100%; |
+ height: 100%; |
} |
+#timeline-overview-frames canvas { |
+ z-index: 200; |
+ background-color: rgba(255, 255, 255, 0.8); |
+} |
+ |
#timeline-graphs { |
position: absolute; |
left: 0; |
@@ -308,7 +347,7 @@ |
top: -1px; |
bottom: 0; |
margin: auto -2px; |
- height: 9px; |
+ height: 10px; |
min-width: 5px; |
z-index: 180; |
pointer-events: visibleFill; |
@@ -370,7 +409,7 @@ |
} |
.timeline-records-stats { |
- margin-top: 5px; |
+ margin-top: 3px; |
margin-left: 6px; |
-webkit-flex: 1; |
} |
@@ -526,13 +565,6 @@ |
min-height: 15px; |
} |
-.timeline-frame-overview-bars { |
- z-index: 200; |
- background-color: rgba(255, 255, 255, 0.8); |
- width: 100%; |
- height: 100%; |
-} |
- |
.timeline .resources-event-divider { |
height: 19px; |
width: 8px; |