mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
5de5eef2e3
MozReview-Commit-ID: GlkOal5ClHu --HG-- extra : rebase_source : 7456f3da0f22b2dd5cab9d9353661e7b97caad0a
68 lines
1.4 KiB
CSS
68 lines
1.4 KiB
CSS
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
/* Animation-inspector specific theme variables */
|
|
|
|
:root {
|
|
--animation-even-background-color: rgba(0, 0, 0, 0.05);
|
|
--command-pick-image: url(chrome://devtools/skin/images/command-pick.svg);
|
|
}
|
|
|
|
:root.theme-dark {
|
|
--animation-even-background-color: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
:root.theme-firebug {
|
|
--command-pick-image: url(chrome://devtools/skin/images/firebug/command-pick.svg);
|
|
}
|
|
|
|
/* Animation List Header */
|
|
.animation-list-header {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Animation Timeline Tick List */
|
|
.animation-timeline-tick-list {
|
|
margin-right: 10px;
|
|
position: relative;
|
|
width: calc(100% - 210px);
|
|
}
|
|
|
|
.animation-timeline-tick-item {
|
|
border-left: 0.5px solid rgba(128, 136, 144, .5);
|
|
height: 100vh;
|
|
position: absolute;
|
|
}
|
|
|
|
/* Animation List */
|
|
.animation-list {
|
|
list-style-type: none;
|
|
margin-top: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Animation Item */
|
|
.animation-item {
|
|
height: 30px;
|
|
}
|
|
|
|
.animation-item:nth-child(2n+1) {
|
|
background-color: var(--animation-even-background-color);
|
|
}
|
|
|
|
/* No Animation Panel */
|
|
.animation-error-message {
|
|
overflow: auto;
|
|
}
|
|
|
|
.animation-error-message > p {
|
|
white-space: pre;
|
|
}
|
|
|
|
.animation-element-picker::before {
|
|
background-image: var(--command-pick-image);
|
|
}
|