Turn 'status' CSS class into 'webamp-status' (#1116)

This commit is contained in:
The Stranjer 2021-07-21 19:49:24 -06:00 committed by GitHub
parent 3b09d2f8b1
commit 32ab0d0d1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 11 deletions

View file

@ -96,7 +96,7 @@
height: 9px;
width: 3px;
}
#webamp .status #time {
#webamp .webamp-status #time {
position: absolute;
left: 39px;
top: 26px;
@ -105,15 +105,15 @@
width: 59px;
}
#webamp .stop .status #time {
#webamp .stop .webamp-status #time {
display: none;
}
#webamp .pause .status #time {
#webamp .pause .webamp-status #time {
animation: blink 2s step-start 1s infinite;
-webkit-animation: blink 2s step-start 1s infinite;
}
#webamp .status #time #minus-sign {
#webamp .webamp-status #time #minus-sign {
/* Note that this get's augmented by the skin CSS if NUM_EX.BMP is present */
position: absolute;
top: 6px;
@ -122,28 +122,28 @@
height: 1px;
}
#webamp .status #time #minute-first-digit {
#webamp .webamp-status #time #minute-first-digit {
position: absolute;
pointer-events: none;
left: 9px;
height: 13px;
width: 9px;
}
#webamp .status #time #minute-second-digit {
#webamp .webamp-status #time #minute-second-digit {
position: absolute;
pointer-events: none;
left: 21px;
height: 13px;
width: 9px;
}
#webamp .status #time #second-first-digit {
#webamp .webamp-status #time #second-first-digit {
position: absolute;
pointer-events: none;
left: 39px;
height: 13px;
width: 9px;
}
#webamp .status #time #second-second-digit {
#webamp .webamp-status #time #second-second-digit {
position: absolute;
pointer-events: none;
left: 51px;
@ -418,7 +418,7 @@
#webamp .shade #volume,
#webamp .shade #balance,
#webamp .shade .shuffle-repeat,
#webamp .shade .status {
#webamp .shade .webamp-status {
display: none;
}
#webamp .shade #title-bar {

View file

@ -98,7 +98,7 @@ const MainWindow = React.memo(({ analyser, filePickers }: Props) => {
<Shade />
<Close />
</div>
<div className="status">
<div className="webamp-status">
<ClutterBar />
{!working && <div id="play-pause" />}
<div

View file

@ -110,7 +110,7 @@ const getCssRules = createSelector(
// This alternate number file requires that the minus sign be
// formatted differently.
cssRules.push(
`${CSS_PREFIX} .status #time #minus-sign { top: 0px; left: -1px; width: 9px; height: 13px; }`
`${CSS_PREFIX} .webamp-status #time #minus-sign { top: 0px; left: -1px; width: 9px; height: 13px; }`
);
}