Add checked select-elevation style
This commit is contained in:
parent
e7aebda9dc
commit
32c21f9cd3
@ -241,36 +241,6 @@ use[href="#hex"] {
|
|||||||
transform: scale(0.9);
|
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 {
|
[class^="part"] use {
|
||||||
fill-opacity: 0.75;
|
fill-opacity: 0.75;
|
||||||
}
|
}
|
||||||
|
@ -436,6 +436,12 @@ div#dice {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.select-elevation input:checked+label {
|
||||||
|
border: 1px solid salmon;
|
||||||
|
border-radius: 3px;
|
||||||
|
background-color: #cdd9e9;
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes roll-out {
|
@keyframes roll-out {
|
||||||
0% {
|
0% {
|
||||||
transform: scaleX(1);
|
transform: scaleX(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user