Bug 1210796 - Part 8: Add selection color to selected animation element. r=pbro draft
authorDaisuke Akatsuka <daisuke@mozilla-japan.org>
Tue, 18 Apr 2017 12:15:55 +0900
changeset 564121 767ce7f132b549bb2bc5d0b0b3f60d29c36f0bf9
parent 564120 506b53318e6668f9cc8bcda8cae2a4923e193efc
child 564122 6b6c0ecd2bf056b6a411a78fea912a4022fa4ed5
push id54524
push userbmo:dakatsuka@mozilla.com
push dateTue, 18 Apr 2017 09:24:06 +0000
reviewerspbro
bugs1210796
milestone55.0a1
Bug 1210796 - Part 8: Add selection color to selected animation element. r=pbro MozReview-Commit-ID: Dq4b5kGNAKc
devtools/client/themes/animationinspector.css
--- a/devtools/client/themes/animationinspector.css
+++ b/devtools/client/themes/animationinspector.css
@@ -359,16 +359,20 @@ body {
   position: relative;
 }
 
 /* Display animations' background colors to alternate. */
 .animation-timeline .animation:nth-child(2n+1) {
   background-color: var(--even-animation-timeline-background-color);
 }
 
+.animation-timeline .animation.selected {
+  background-color: var(--theme-selection-background-semitransparent);
+}
+
 .animation-timeline .animation:last-child {
   margin-bottom: calc(var(--timeline-animation-height) / 2);
 }
 
 .animation-timeline .animation .target {
   width: var(--timeline-sidebar-width);
   height: 100%;
   overflow: hidden;