replace up and down arrows with svgs

This commit is contained in:
Jakob Ketterl
2021-05-16 15:59:21 +02:00
parent 6e0e271294
commit 7ec592ce3d
5 changed files with 195 additions and 20 deletions

View File

@ -102,18 +102,6 @@
font-size: 10pt;
}
.openwebrx-rx-details-arrow {
position: absolute;
bottom: 0;
left: 50%;
transform: translate(-50%, 0);
margin: 0;
padding: 0;
line-height: 0;
display: block;
}
.openwebrx-main-buttons .button {
display: block;
width: 55px;
@ -240,14 +228,30 @@
height: 38px;
}
.openwebrx-rx-details-arrow--down .sprite-rx-details-arrow {
background-position: 0 -65px;
width: 43px;
.openwebrx-rx-details-arrow {
position: absolute;
bottom: 0;
left: 50%;
transform: translate(-50%, 0);
margin: 0;
padding: 0;
line-height: 0;
display: block;
}
.openwebrx-rx-details-arrow svg {
height: 12px;
}
.openwebrx-rx-details-arrow--up .sprite-rx-details-arrow {
background-position: -43px -65px;
width: 43px;
height: 12px;
.openwebrx-rx-details-arrow .up {
display: none;
}
.openwebrx-rx-details-arrow--up .down {
display: none;
}
.openwebrx-rx-details-arrow--up .up {
display: initial;
}