Index: Source/devtools/front_end/elements/animationTimeline.css |
diff --git a/Source/devtools/front_end/elements/animationTimeline.css b/Source/devtools/front_end/elements/animationTimeline.css |
index 100658bac3f40e9ceb98ca369cd9966a4fc90e1d..5d26646cab8f75aee482ff8877d39d8ea94e0742 100644 |
--- a/Source/devtools/front_end/elements/animationTimeline.css |
+++ b/Source/devtools/front_end/elements/animationTimeline.css |
@@ -19,10 +19,12 @@ |
position: relative; |
transform-style: preserve-3d; |
line-height: 40px; |
-} |
- |
-.animation-node-row:nth-child(odd) { |
- background-color: hsla(0, 0%, 0%, 0.05); |
+ border-bottom: 1px solid hsl(0, 0%, 90%); |
+ margin-bottom: -1px; |
+ margin-right: 30px; |
+ background-color: hsl(0, 0%, 98%); |
+ text-overflow: ellipsis; |
+ white-space: nowrap; |
} |
.animation-timeline-row { |
@@ -34,6 +36,10 @@ path.animation-keyframe { |
fill-opacity: 0.3; |
} |
+.animation-node-selected path.animation-keyframe { |
+ fill-opacity: 0.4; |
+} |
+ |
line.animation-line { |
stroke-width: 2px; |
stroke-linecap: round; |
@@ -84,12 +90,25 @@ circle.animation-keyframe-point { |
flex-shrink: 0; |
} |
-.animation-controls { |
+.animation-timeline-header:after { |
+ content: ""; |
+ height: 100%; |
+ position: absolute; |
width: 200px; |
- max-width: 200px; |
+ left: 0; |
+ background-color: hsl(0, 0%, 98%); |
+ z-index: -1; |
+ border-right: 1px solid hsl(0, 0%, 90%); |
+} |
+ |
+.animation-controls { |
+ width: 201px; |
+ max-width: 201px; |
padding: 10px; |
height: 100%; |
line-height: 22px; |
+ background-color: hsl(0, 0%, 98%); |
+ border-right: 1px solid hsl(0, 0%, 90%); |
} |
.animation-timeline-markers { |
@@ -106,8 +125,12 @@ circle.animation-keyframe-point { |
width: 100%; |
} |
+.animation-timeline-end > .animation-time-overlay { |
+ visibility: hidden; |
+} |
+ |
input.animation-playback-slider { |
- width: 68px; |
+ width: 89px; |
margin-left: 12px; |
-webkit-appearance: none; |
position: absolute; |
@@ -139,25 +162,39 @@ input[type=range].animation-playback-slider::-webkit-slider-thumb { |
} |
.animation-playback-label { |
- width: 34px; |
- text-align: right; |
- font-family: 'DejaVu Sans'; |
display: inline-block; |
+ width: 40px; |
+ height: 22px; |
+ overflow: hidden; |
+ text-align: center; |
+ border: 1px solid #dadada; |
+ border-radius: 2px; |
+ line-height: 20px; |
+ font-size: 11px; |
+ padding: 0; |
+ -webkit-user-modify: read-write-plaintext-only; |
+ color: #333; |
+ white-space: nowrap; |
+ overflow: hidden; |
} |
.animation-scrubber { |
opacity: 1; |
position: absolute; |
- left: 200px; |
+ left: 230px; |
height: calc(100% - 43px); |
width: calc(100% - 200px); |
top: 43px; |
border-left: 1px solid rgba(0,0,0,0.5); |
} |
+.animation-scrubber.animation-timeline-end { |
+ border: none; |
+} |
+ |
.animation-scrubber-head { |
- background-color: rgba(0, 0, 0, 0.5); |
- width: 50px; |
+ background-color: rgba(0, 0, 0, 0.7); |
+ width: 60px; |
height: 23px; |
color: white; |
line-height: 23px; |
@@ -165,11 +202,26 @@ input[type=range].animation-playback-slider::-webkit-slider-thumb { |
border-radius: 5px; |
position: relative; |
top: -29px; |
- left: -26px; |
+ left: -30px; |
font-size: 10px; |
visibility: visible; |
} |
+.animation-scrubber-head:before, .animation-scrubber-head:after { |
+ content: "||"; |
+ position: absolute; |
+ color: #999; |
+ font-size: 8px; |
+} |
+ |
+.animation-scrubber-head:before { |
+ left: 3px; |
+} |
+ |
+.animation-scrubber-head:after { |
+ right: 3px; |
+} |
+ |
.animation-timeline-capturing > .animation-scrubber-head { |
visibility: hidden; |
} |
@@ -190,7 +242,7 @@ input[type=range].animation-playback-slider::-webkit-slider-thumb { |
top: -6px; |
left: -7px; |
-webkit-clip-path: polygon(0 0, 6px 6px, 12px 0px, 0px 0px); |
- background-color: rgba(0, 0, 0, 0.5); |
+ background-color: rgba(0, 0, 0, 0.7); |
} |
.animation-timeline-timer { |
@@ -248,15 +300,11 @@ input[type=range].animation-playback-slider::-webkit-slider-thumb { |
svg.animation-timeline-grid { |
position: absolute; |
- left: 200px; |
+ left: 230px; |
} |
rect.animation-timeline-grid-line { |
- fill: #eee; |
-} |
- |
-rect.animation-timeline-grid-line:first-child { |
- fill: #ccc; |
+ fill: hsl(0, 0%, 90%); |
} |
.animation-timeline-row > svg.animation-ui { |
@@ -313,5 +361,22 @@ text.animation-timeline-grid-label { |
} |
.animation-node-row.animation-node-selected { |
- background-color: hsla(218, 78%, 66%, 0.1); |
+ background-color: hsla(216, 71%, 53%, 0.08); |
+} |
+ |
+.animation-node-selected > .animation-node-description { |
+ background-color: #EFF4FD; |
+} |
+ |
+.animation-timeline-empty-message { |
+ padding-left: 230px; |
+ padding-right: 30px; |
+ text-align: center; |
+ position: absolute; |
+ font-size: 20px; |
+ line-height: 32px; |
+ align-items: center; justify-content: center; |
+ width: 100%; |
+ height: calc(100% - 44px); |
+ display: flex; |
} |