Files
EveryPublish/client/desktop/renderer/style.css
T

41 lines
3.2 KiB
CSS

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; background: #f5f6f8; color: #1f2329; height: 100vh; display: flex; flex-direction: column; }
.topbar { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 0 24px; display: flex; align-items: center; height: 56px; gap: 32px; }
.brand { font-size: 18px; font-weight: 700; color: #0a63f0; }
.brand .sub { font-size: 13px; font-weight: 400; color: #86909c; margin-left: 6px; }
.tabs { display: flex; gap: 8px; }
.tab { border: none; background: none; padding: 8px 16px; font-size: 14px; cursor: pointer; border-radius: 6px; color: #4e5969; }
.tab:hover { background: #f2f4f7; }
.tab.active { background: #e8f1ff; color: #0a63f0; font-weight: 600; }
.badge { display: inline-block; margin-left: 4px; background: #f53f3f; color: #fff; border-radius: 8px; font-size: 11px; padding: 0 6px; }
.hidden { display: none !important; }
#main { flex: 1; overflow-y: auto; padding: 24px; }
.page { display: none; max-width: 680px; margin: 0 auto; }
.page.active { display: block; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.card h2 { font-size: 16px; margin-bottom: 14px; }
.kv { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #f0f1f3; font-size: 14px; }
.kv span { color: #86909c; width: 80px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-left: 6px; }
.dot.gray { background: #c9cdd4; } .dot.green { background: #00b42a; } .dot.orange { background: #ff7d00; } .dot.red { background: #f53f3f; }
label { display: block; font-size: 13px; color: #4e5969; margin: 12px 0 6px; }
input[type="text"], input:not([type]) { width: 100%; padding: 9px 12px; border: 1px solid #d9dde3; border-radius: 6px; font-size: 14px; outline: none; }
input:focus { border-color: #0a63f0; }
.btn { padding: 9px 20px; border: 1px solid #d9dde3; border-radius: 6px; background: #fff; cursor: pointer; font-size: 14px; }
.btn:hover { background: #f7f8fa; }
.btn.primary { background: #0a63f0; border-color: #0a63f0; color: #fff; }
.btn.primary:hover { background: #0b57d0; }
.btn.danger { color: #f53f3f; border-color: #f53f3f; }
.actions { display: flex; gap: 10px; margin-top: 16px; }
.msg { margin-top: 10px; font-size: 13px; color: #4e5969; min-height: 18px; }
.msg.ok { color: #00b42a; } .msg.err { color: #f53f3f; }
.hint { font-size: 13px; color: #86909c; margin-bottom: 10px; }
.steps { margin: 0 0 14px 18px; font-size: 13px; color: #4e5969; line-height: 1.9; }
.list .item { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 6px; margin-bottom: 8px; cursor: pointer; font-size: 13px; }
.list .item:hover { border-color: #0a63f0; }
.list .item.selected { border-color: #0a63f0; background: #f0f7ff; }
.list .item .p { color: #86909c; }
.detail { margin-top: 14px; }
.detail img { max-width: 220px; max-height: 220px; border: 1px solid #e5e7eb; border-radius: 6px; display: block; margin-bottom: 10px; }
.switch-row { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 10px 0; cursor: pointer; }