Bug 1210796 - Part 8: Add selection color to selected animation element. r=pbro
authorDaisuke Akatsuka <daisuke@mozilla-japan.org>
Tue, 18 Apr 2017 12:15:55 +0900
changeset 353584 5dd5d0243a90df238e62ba6e4e5bd03e62bd7568
parent 353583 c981014be506270632770468b912da650caa7743
child 353585 e6c7932be66bf406010e70d7c885a79d1c9f66a9
push id31673
push userkwierso@gmail.com
push dateTue, 18 Apr 2017 21:23:54 +0000
treeherdermozilla-central@1a81aadc2510 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro
bugs1210796
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;