sr2ini/css/custom.css

66 lines
877 B
CSS

#dummy-row {
display: none;
}
#dummy-row:only-child {
display: table-row;
}
input:invalid {
border: 2px solid red;
}
.out-of-commission {
color: coral;
text-decoration: line-through;
background-color: darkslategray;
}
.max-ini {
font-weight: bold;
}
.badge.bg-warning {
left: 12px;
bottom: -4px;
width: 20px;
}
.badge.bg-danger {
left: 12px;
top: 12px;
width: 20px;
}
/* Dropdown Content (Hidden by Default) */
.damage-monitor {
display: none;
position: absolute;
z-index: 20;
top: 40px;
right: -8px;
width: 60px;
}
.damage-monitor th {
width: 30px;
height: 30px;
/* background-color: white;*/
border: solid darkgray 1px;
padding: 3px;
}
.damage-monitor td {
width: 30px;
height: 24px;
}
.damage-monitor button {
font-size: smaller;
height: 24px;
width: 30px;
padding: 2px;
}
.damage-monitor button.active {
filter: brightness(91%);
}