feat: implement popping nms

This commit is contained in:
insects 2025-03-10 23:39:05 +01:00
parent ce5d327ca2
commit 5c721eb08c
16 changed files with 1397 additions and 70 deletions

View file

@ -28,17 +28,27 @@ header .muted {
padding: 10px;
}
.nm-list {
#nm-list {
}
.nm-list section {
#nm-list section {
margin-bottom: 5px;
display: grid;
grid-template-columns: .05fr 1fr 1fr .5fr;
grid-template-columns: .05fr 1fr 1fr .3fr;
align-items: center;
padding: 0 10px;
background-color: #eee;
padding-left: 10px;
background-color: #3D9970;
color: white;
}
#nm-list section.popped {
background-color: #b5443a;
color: #63f0fd;
}
#nm-list section div.button {
height: 100%;
}
img {
@ -59,7 +69,7 @@ h3.nm-info {
.badge {
font-size: 12px;
font-weight: bold;
border: 1px solid black;
border: 1px solid white;
vertical-align: middle;
padding: 1px 6px;
border-radius: 10px;
@ -70,13 +80,31 @@ small.badge {
font-size: 10px;
}
.popped .badge {
border-color: #63f0fd;
}
button.action {
width: 100%;
height: 100%;
border: 0;
display: block;
background-color: #005ba4;
color: #daffbe;
font-size: 18px;
text-transform: uppercase;
}
button.reset {
background-color: tomato;
}
button.action:hover {
cursor: pointer;
}
section .meta {
padding-left: 10px;
padding-top: 4px;
padding-bottom: 4px;
padding-top: 10px;
padding-bottom: 10px;
}