67 lines
1.0 KiB
CSS
67 lines
1.0 KiB
CSS
input[type="radio"] {
|
|
display: none;
|
|
}
|
|
|
|
label {
|
|
padding-bottom: 7px;
|
|
}
|
|
|
|
input[type="radio"]:checked + label {
|
|
font-weight: bold;
|
|
padding-bottom: 5px;
|
|
border-bottom: 2px solid hsl(142, 52%, 96%);
|
|
}
|
|
|
|
.inline-grid {
|
|
display: inline-grid;
|
|
}
|
|
|
|
#connection-grid {
|
|
grid-template-columns: max-content auto;
|
|
}
|
|
|
|
#toaster {
|
|
position: absolute;
|
|
translate: -50%;
|
|
top: 10px;
|
|
left: 50%;
|
|
max-height: 50%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.toast {
|
|
--duration: 3s;
|
|
background-color: rgba(0, 209, 178, .5);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 2px 10px 3px;
|
|
margin: 3px;
|
|
border-radius: 10px;
|
|
min-width: 70px;
|
|
color: white;
|
|
opacity: 0;
|
|
max-height: 40px;
|
|
animation: blend var(--duration);
|
|
}
|
|
|
|
@keyframes blend {
|
|
0% {
|
|
opacity: 0;
|
|
max-height: 40px;
|
|
}
|
|
20% {
|
|
opacity: 1;
|
|
}
|
|
80% {
|
|
opacity: 1;
|
|
}
|
|
90% {
|
|
max-height: 40px;
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
max-height: 0px;
|
|
}
|
|
}
|