зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1431576 - Part 2: Change selection color. r=jdescottes
MozReview-Commit-ID: KYUpWuKWQhf --HG-- extra : rebase_source : 3d9379a27b5134594710ac76f6b56c1f4260f3b3
This commit is contained in:
Родитель
fa3a792aa0
Коммит
dbc080bc60
|
@ -5,6 +5,8 @@
|
|||
/* Animation-inspector specific theme variables */
|
||||
|
||||
:root {
|
||||
--animation-item-hover-color: var(--grey-30-a40);
|
||||
--animation-item-selected-color: var(--grey-30-a90);
|
||||
--command-pick-image: url(chrome://devtools/skin/images/command-pick.svg);
|
||||
--cssanimation-color: var(--purple-50);
|
||||
--csstransition-color: var(--blue-55);
|
||||
|
@ -24,6 +26,8 @@
|
|||
}
|
||||
|
||||
:root.theme-dark {
|
||||
--animation-item-hover-color: var(--grey-60-a50);
|
||||
--animation-item-selected-color: var(--grey-60);
|
||||
--csstransition-color: var(--blue-50);
|
||||
--keyframe-marker-shadow-color: #818181;
|
||||
--progress-bar-color: var(--grey-50);
|
||||
|
@ -145,8 +149,12 @@ select.playback-rate-selector.devtools-button:not(:empty):not(:disabled):not(.ch
|
|||
--graph-opacity: 0.5;
|
||||
}
|
||||
|
||||
.animation-item:hover {
|
||||
background-color: var(--animation-item-hover-color);
|
||||
}
|
||||
|
||||
.animation-item.selected {
|
||||
background-color: var(--theme-selection-background-hover);
|
||||
background-color: var(--animation-item-selected-color);
|
||||
}
|
||||
|
||||
/* Animation Target */
|
||||
|
@ -185,7 +193,8 @@ select.playback-rate-selector.devtools-button:not(:empty):not(:disabled):not(.ch
|
|||
cursor: pointer;
|
||||
grid-column: 2 / 3;
|
||||
height: var(--graph-height);
|
||||
padding-top: 5px;
|
||||
padding-bottom: 3px;
|
||||
padding-top: 3px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
@ -245,7 +254,7 @@ select.playback-rate-selector.devtools-button:not(:empty):not(:disabled):not(.ch
|
|||
background-color: var(--theme-graphs-grey);
|
||||
height: 3px;
|
||||
position: absolute;
|
||||
top: calc(100% - 1.5px);
|
||||
bottom: 2px;
|
||||
}
|
||||
|
||||
.animation-delay-sign::before,
|
||||
|
|
|
@ -242,9 +242,12 @@
|
|||
--grey-10: #f9f9fa;
|
||||
--grey-20: #ededf0;
|
||||
--grey-30: #d7d7db;
|
||||
--grey-30-a40: rgba(215, 215, 219, 0.4);
|
||||
--grey-30-a90: rgba(215, 215, 219, 0.9);
|
||||
--grey-40: #b1b1b3;
|
||||
--grey-50: #737373;
|
||||
--grey-60: #4a4a4f;
|
||||
--grey-60-a50: rgba(74, 74, 79, 0.5);
|
||||
--grey-70: #38383d;
|
||||
--grey-80: #2a2a2e;
|
||||
--grey-90: #0c0c0d;
|
||||
|
|
Загрузка…
Ссылка в новой задаче