This commit is contained in:
2026-07-01 23:22:26 +08:00
parent 6b429a8530
commit 4ddf6cc775
9 changed files with 71 additions and 10 deletions
@@ -72,3 +72,21 @@ async function submit() {
</div>
</div>
</template>
<style scoped>
/* mirror the 用户管理 edit modal so the two are visually identical */
.lbl {
display: block;
font-size: 0.72rem;
font-weight: 500;
color: rgb(255 255 255 / 0.55);
margin-bottom: 0.4rem;
}
/* disabled inputs — readable, but visually 'cool' so the admin knows they
can't change them (matches UsersView). */
.field:disabled {
opacity: 0.65;
cursor: not-allowed;
background: rgb(255 255 255 / 0.025);
}
</style>
+9
View File
@@ -415,6 +415,15 @@ button:not(:disabled), [role="button"]:not([aria-disabled="true"]) { cursor: poi
}
select.field::-ms-expand { display: none; }
/* Number inputs using .field: hide the native +/- spinner arrows for a
cleaner look (value is still typeable / editable). */
input.field[type='number'] { -moz-appearance: textfield; appearance: textfield; }
input.field[type='number']::-webkit-outer-spin-button,
input.field[type='number']::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* status pill */
.pill { @apply inline-flex items-center rounded-md px-2 py-0.5 text-xs font-medium; }