122 lines
6.7 KiB
CSS
122 lines
6.7 KiB
CSS
* { box-sizing: border-box; }
|
|
body {
|
|
margin: 0;
|
|
font-family: "Microsoft YaHei", "SimHei", "PingFang SC", sans-serif;
|
|
background: #f4f6f8;
|
|
color: #222;
|
|
font-size: 14px;
|
|
}
|
|
a { color: #1668dc; text-decoration: none; }
|
|
a:hover { text-decoration: underline; }
|
|
.topbar {
|
|
background: #123a6b; color: #fff; padding: 0 20px; height: 52px;
|
|
display: flex; align-items: center; gap: 22px;
|
|
}
|
|
.topbar .brand { font-size: 16px; font-weight: 600; letter-spacing: .5px; }
|
|
.topbar nav a { color: #d8e6f7; font-size: 14px; }
|
|
.topbar nav a:hover, .topbar nav a.active { color: #fff; text-decoration: none; }
|
|
.topbar .spacer { flex: 1; }
|
|
.topbar .me { color: #cfe0f5; font-size: 13px; }
|
|
.wrap { max-width: 1180px; margin: 18px auto 40px; padding: 0 16px; }
|
|
.card {
|
|
background: #fff; border: 1px solid #e2e6ea; border-radius: 6px;
|
|
padding: 16px 18px; margin-bottom: 16px;
|
|
}
|
|
.card h2 { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
|
|
.card h3 { margin: 18px 0 8px; font-size: 14px; font-weight: 600; color: #444; }
|
|
h1.page { font-size: 18px; margin: 4px 0 14px; }
|
|
table.grid { width: 100%; border-collapse: collapse; font-size: 13px; }
|
|
table.grid th, table.grid td {
|
|
border: 1px solid #dfe3e8; padding: 6px 8px; text-align: left; vertical-align: middle;
|
|
}
|
|
table.grid th { background: #f0f3f7; font-weight: 600; white-space: nowrap; }
|
|
table.grid tr:hover td { background: #fafbfc; }
|
|
table.grid td.num, table.grid th.num { text-align: right; }
|
|
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; }
|
|
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
|
|
label { display: block; font-size: 12px; color: #666; margin-bottom: 3px; }
|
|
input[type=text], input[type=password], input[type=number], input[type=date], select, textarea {
|
|
width: 100%; padding: 6px 8px; border: 1px solid #ccd3da; border-radius: 4px;
|
|
font-size: 13px; font-family: inherit; background: #fff;
|
|
}
|
|
textarea { min-height: 60px; resize: vertical; }
|
|
input:focus, select:focus, textarea:focus { outline: none; border-color: #1668dc; }
|
|
.btn {
|
|
display: inline-block; padding: 7px 14px; border: 1px solid #c4ccd4; border-radius: 4px;
|
|
background: #fff; color: #333; font-size: 13px; cursor: pointer; font-family: inherit;
|
|
}
|
|
.btn:hover { background: #f2f5f8; text-decoration: none; }
|
|
.btn.primary { background: #1668dc; border-color: #1668dc; color: #fff; }
|
|
.btn.primary:hover { background: #0f57bd; }
|
|
.btn.ok { background: #12a05c; border-color: #12a05c; color: #fff; }
|
|
.btn.ok:hover { background: #0e8a4f; }
|
|
.btn.danger { background: #d9363e; border-color: #d9363e; color: #fff; }
|
|
.btn.danger:hover { background: #bc2b32; }
|
|
.btn.sm { padding: 4px 9px; font-size: 12px; }
|
|
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
|
|
.toolbar .grow { flex: 1; }
|
|
.flash { padding: 9px 12px; border-radius: 4px; margin-bottom: 12px; font-size: 13px; }
|
|
.flash.ok { background: #e8f6ee; border: 1px solid #b7e2cb; color: #12703f; }
|
|
.flash.error { background: #fdecec; border: 1px solid #f4bcbc; color: #a32026; }
|
|
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; }
|
|
.badge.draft { background: #eef0f2; color: #666; }
|
|
.badge.pending_review { background: #fff4e0; color: #a35c00; }
|
|
.badge.pending_approval { background: #e6f0ff; color: #14509b; }
|
|
.badge.approved { background: #e8f6ee; color: #12703f; }
|
|
.badge.rejected { background: #fdecec; color: #a32026; }
|
|
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
|
|
.stat { background: #fff; border: 1px solid #e2e6ea; border-radius: 6px; padding: 12px 14px; }
|
|
.stat .v { font-size: 22px; font-weight: 600; }
|
|
.stat .k { font-size: 12px; color: #777; margin-top: 2px; }
|
|
.muted { color: #888; font-size: 12px; }
|
|
.right { text-align: right; }
|
|
.center { text-align: center; }
|
|
.nowrap { white-space: nowrap; }
|
|
.login-box { width: 340px; margin: 90px auto; background: #fff; padding: 24px;
|
|
border: 1px solid #e2e6ea; border-radius: 8px; }
|
|
.login-box h2 { margin: 0 0 16px; font-size: 17px; text-align: center; }
|
|
.login-box .field { margin-bottom: 12px; }
|
|
.timeline { list-style: none; margin: 0; padding: 0; font-size: 13px; }
|
|
.timeline li { padding: 6px 0; border-bottom: 1px dashed #e5e8eb; }
|
|
.timeline li:last-child { border-bottom: none; }
|
|
.kv-table td { padding: 5px 8px; border: 1px solid #dfe3e8; font-size: 13px; }
|
|
.kv-table td.k { background: #f5f7f9; color: #555; width: 110px; white-space: nowrap; }
|
|
.total-bar { display: flex; gap: 18px; align-items: center; margin: 10px 0; font-size: 14px; }
|
|
.total-bar .amt { font-size: 18px; font-weight: 600; color: #c0392b; }
|
|
.hint { background: #f7f9fb; border-left: 3px solid #1668dc; padding: 8px 12px;
|
|
font-size: 12.5px; color: #555; margin-bottom: 12px; }
|
|
footer.foot { text-align: center; color: #999; font-size: 12px; margin: 24px 0; }
|
|
/* 卡片标题栏:标题 + 右侧操作按钮 */
|
|
.card-head { display: flex; align-items: center; justify-content: space-between;
|
|
gap: 12px; margin-bottom: 12px; }
|
|
.card-head h2 { margin: 0; }
|
|
.field { margin-bottom: 12px; }
|
|
/* 模态弹窗 */
|
|
.modal-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0;
|
|
background: rgba(0,0,0,.45); z-index: 1000;
|
|
display: flex; align-items: center; justify-content: center; }
|
|
.modal-box { background: #fff; border-radius: 8px; width: 520px; max-width: 92vw;
|
|
max-height: 88vh; overflow: auto; box-shadow: 0 8px 32px rgba(0,0,0,.25); }
|
|
.modal-head { padding: 12px 16px; border-bottom: 1px solid #e5e8eb; font-size: 15px;
|
|
font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
|
|
.modal-close { cursor: pointer; color: #888; font-size: 22px; line-height: 1; padding: 0 4px; }
|
|
.modal-close:hover { color: #333; }
|
|
.modal-body { padding: 16px; }
|
|
.modal-foot { padding: 12px 16px; border-top: 1px solid #e5e8eb;
|
|
display: flex; justify-content: flex-end; gap: 8px; }
|
|
/* 停用记录:整行置灰 */
|
|
table.grid tr.row-off td,
|
|
table.grid tr.row-off:hover td { color: #a3a8ad; background: #f5f6f7; }
|
|
table.grid tr.row-off td a, table.grid tr.row-off td b { color: #a3a8ad; }
|
|
table.grid tr.row-off .btn { opacity: .8; }
|
|
/* 电子章预览(页面上的红色圆形章) */
|
|
.seal-wrap { display: inline-block; padding: 6px 10px; border: 1px dashed #d9b3b3;
|
|
border-radius: 6px; background: #fffafa; }
|
|
.seal-tip { color: #12703f; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
|
|
.seal-circle { width: 126px; height: 126px; border: 3px solid #C8102E; border-radius: 50%;
|
|
color: #C8102E; display: flex; flex-direction: column; align-items: center;
|
|
justify-content: center; text-align: center; }
|
|
.seal-circle .co { font-size: 9.5px; letter-spacing: .5px; line-height: 13px; padding: 0 8px; }
|
|
.seal-circle .txt { font-size: 16px; font-weight: 700; letter-spacing: 3px; margin: 5px 0; }
|
|
.seal-circle .who { font-size: 8.5px; line-height: 12px; }
|