Files
pixel.horse/src/ts/components/tools/tools-states/tools-states.scss
T
2019-08-28 21:15:02 -07:00

58 lines
905 B
SCSS

$state-size: 100px;
$time-size: 20px;
.state-item-container {
position: relative;
> svg {
position: relative;
z-index: 1;
}
}
.state-item {
position: absolute;
width: 1px;
height: 1px;
cursor: pointer;
> div {
position: absolute;
left: -$state-size / 2;
top: -$state-size / 2;
width: $state-size;
height: $state-size;
background: gray;
border-radius: 100%;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 5px #000;
}
}
.state-item-time{
position: absolute;
width: 1px;
height: 1px;
font-size: 10px;
font-weight: bold;
color: black;
z-index: 2;
> div {
position: absolute;
left: -$time-size / 2;
top: -$time-size / 2;
width: $time-size;
height: $time-size;
background: gray;
border-radius: 100%;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
}