apply performance optimizations to s-meter, too
This commit is contained in:
@ -676,8 +676,7 @@ img.openwebrx-mirror-img
|
||||
}
|
||||
}
|
||||
|
||||
#openwebrx-smeter-outer
|
||||
{
|
||||
#openwebrx-smeter {
|
||||
border-color: #888;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
@ -685,16 +684,20 @@ img.openwebrx-mirror-img
|
||||
height: 7px;
|
||||
background-color: #373737;
|
||||
border-radius: 3px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
#openwebrx-smeter-bar
|
||||
{
|
||||
transition: all 0.2s linear;
|
||||
width: 0px;
|
||||
height: 7px;
|
||||
|
||||
.openwebrx-smeter-bar {
|
||||
transition-property: transform;
|
||||
transition-duration: 0.2s;
|
||||
transition-timing-function: linear;
|
||||
will-change: transform;
|
||||
transform: translate(-100%) translateZ(0);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(to top, #ff5939 , #961700);
|
||||
position: absolute;
|
||||
margin: 0; padding: 0; left: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user