mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
30 lines
436 B
SCSS
30 lines
436 B
SCSS
.game-info {
|
|
grid-area: game-info;
|
|
|
|
.offline,
|
|
.viewing {
|
|
&::before {
|
|
border-radius: 50%;
|
|
content: "";
|
|
display: inline-block;
|
|
height: 0.75rem;
|
|
margin-right: 0.25rem;
|
|
width: 0.75rem;
|
|
}
|
|
}
|
|
|
|
.offline {
|
|
opacity: 0.4;
|
|
|
|
&::before {
|
|
background-color: $offline-opponent-color;
|
|
}
|
|
}
|
|
|
|
.viewing {
|
|
&::before {
|
|
background-color: $viewing-opponent-color;
|
|
}
|
|
}
|
|
}
|