添加无效字段角标

This commit is contained in:
Bard 2025-02-19 21:43:37 +08:00 committed by GitHub
parent 9b78969397
commit de7ec7aa55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1863,6 +1863,21 @@ td>table>tbody>tr>td,
border-bottom: .18751rem solid var(--primary)
}
.cbi-tab-disabled[data-errors]::after {
content: attr(data-errors);
background: #c43c35;
color: #fff;
height: 16px;
min-width: 16px;
border-radius: 8px;
text-align: center;
margin: 0 5px 0 0;
padding: 2px 2px 2px 2px;
display: inline-flex;
flex-direction: column;
justify-content: center;
}
.cbi-tabmenu {
color: white;
padding: .5rem 1rem 0 1rem;