diff --git a/app/static/style.css b/app/static/style.css index 9da9ecc..bb153f7 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -285,3 +285,18 @@ code { background: var(--bg); padding: .15rem .4rem; border-radius: 4px; font-si .detail-title-row h1 { font-size: 1.2rem; } .btn-back { padding: .25rem .5rem; font-size: .85rem; } } + +/* Admin invite form */ +.admin-invite-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; } +.aif-field { display: flex; flex-direction: column; gap: .15rem; } +.aif-grow { flex: 1 1 200px; min-width: 0; } +.aif-label { font-size: .75rem; color: var(--text-muted); } +.aif-input, .aif-select { padding: .4rem .6rem; border: 1px solid var(--border); border-radius: 6px; font-size: .85rem; background: #fff; } +.aif-input:focus, .aif-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); } +.aif-short { width: 80px; } +.aif-date { width: 180px; } +.aif-btn-wrap { flex-direction: row; align-items: center; gap: .4rem; padding-bottom: 1px; } +.aif-btn { height: 2rem; } +.aif-edit-num, .aif-edit-date { flex-direction: row; align-items: center; gap: .35rem; } +.aif-edit-num .aif-input, .aif-edit-date .aif-input { width: 80px; flex: none; } +.aif-edit-num .aif-label, .aif-edit-date .aif-label { display: none; } diff --git a/app/templates/admin_invites.html b/app/templates/admin_invites.html index 1ad79a6..838411e 100644 --- a/app/templates/admin_invites.html +++ b/app/templates/admin_invites.html @@ -15,28 +15,30 @@

创建邀请码

-
-
- - + +
+ +
-
- -
-