Add checked select-elevation style

This commit is contained in:
Catalin Constantin Mititiuc 2025-06-16 22:41:32 -07:00
parent e7aebda9dc
commit 32c21f9cd3
2 changed files with 6 additions and 30 deletions

View File

@ -241,36 +241,6 @@ use[href="#hex"] {
transform: scale(0.9);
}
.select-elevation {
position: fixed;
right: 0;
top: 50%;
margin-right: 10px;
background-color: #FFFFFF99;
border: 1px solid gray;
padding: 2px;
font-family: sans-serif;
font-size: 10pt;
}
.select-elevation label {
display: block;
margin: 2px 0;
text-align: center;
border: 1px solid transparent;
user-select: none;
}
.select-elevation input {
display: none;
}
input:checked+label {
border: 1px solid salmon;
border-radius: 3px;
background-color: #cdd9e9;
}
[class^="part"] use {
fill-opacity: 0.75;
}

View File

@ -436,6 +436,12 @@ div#dice {
display: none;
}
.select-elevation input:checked+label {
border: 1px solid salmon;
border-radius: 3px;
background-color: #cdd9e9;
}
@keyframes roll-out {
0% {
transform: scaleX(1);