feat: 优化问题页面工具栏样式和标签显示

This commit is contained in:
2026-04-12 12:55:45 +08:00
parent e5aadba7fd
commit 7334f3a368
2 changed files with 284 additions and 102 deletions

View File

@@ -107,6 +107,82 @@
/*filter: brightness(1.1);*/
}
.label {
display: inline-block;
line-height: 1;
vertical-align: baseline;
padding: 0.45em 0.7em;
border-radius: .28571429rem;
font-size: .85714286rem;
font-weight: 700;
white-space: nowrap;
background-color: #e8e8e8;
color: rgba(0, 0, 0, .6);
}
a.label {
color: inherit;
}
a.label:hover {
color: inherit;
text-decoration: none;
filter: brightness(.96);
}
.label.label-default,
.ui.label.label-default,
.label-default,
.label.label-gray,
.label.label-grey,
.label.gray,
.label.grey,
.label.lable-gray,
.label-gray,
.label-grey,
.lable-gray {
background-color: #767676 !important;
color: #fff !important;
}
.label.label-primary,
.ui.label.label-primary,
.label-primary {
background-color: #2185d0 !important;
color: #fff !important;
}
.label.label-info,
.ui.label.label-info,
.label-info {
background-color: #00b5ad !important;
color: #fff !important;
}
.label.label-success,
.ui.label.label-success,
.label-success {
background-color: #21ba45 !important;
color: #fff !important;
}
.label.label-warning,
.ui.label.label-warning,
.label-warning {
background-color: #f2711c !important;
color: #fff !important;
}
.label.label-danger,
.ui.label.label-danger,
.label-danger,
.label.label-important,
.ui.label.label-important,
.label-important {
background-color: #db2828 !important;
color: #fff !important;
}
</style>
<script src="<?php echo "$OJ_CDN_URL/include/"?>jquery-latest.js"></script>