mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 08:33:00 -06:00
37 lines
667 B
SCSS
37 lines
667 B
SCSS
$color-off: rgb(80, 80, 80);
|
|
$color-on: rgb(100, 230, 50);
|
|
|
|
:host {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
|
|
>div {
|
|
background: $color-off;
|
|
border-radius: 2px;
|
|
height: 12px;
|
|
margin: 6px;
|
|
width: 24px;
|
|
|
|
&:not(:last-child) {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
&.on {
|
|
background: $color-on;
|
|
box-shadow: 0 0 6px 3px $color-on;
|
|
}
|
|
|
|
&.paused {
|
|
animation: blink 2s step-end infinite;
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes blink {
|
|
50% {
|
|
background: $color-off;
|
|
box-shadow: none;
|
|
}
|
|
} |