add table is better now
This commit is contained in:
@@ -124,6 +124,36 @@ table { width: 100%; border-collapse: collapse; background: white; }
|
||||
th, td { padding: 9px 11px; border: 1px solid #e4e7ec; text-align: left; white-space: nowrap; }
|
||||
th { position: sticky; top: 0; background: #f9fafb; }
|
||||
|
||||
/* ---------- Table builder (Add table) ---------- */
|
||||
|
||||
.builder-section { margin-top: 26px; padding-top: 20px; border-top: 1px solid #e8ebf0; }
|
||||
.builder-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
|
||||
.builder-section h2 { margin: 0; font-size: 15px; color: #33415c; }
|
||||
.builder-section > .hint { margin: 8px 0 0; font-size: 13px; }
|
||||
.builder-section .count { margin-left: 6px; padding: 1px 7px; border-radius: 9px; font-size: 12px; color: #4b5563; background: #eef1f6; }
|
||||
.builder-section > button.secondary { margin-top: 16px; padding: 9px 16px; border: 1px solid #c9d2de; border-radius: 6px; color: #24324a; background: #f4f6fa; cursor: pointer; }
|
||||
.builder-section > button.secondary:hover { background: #e9edf4; }
|
||||
|
||||
.builder-table { margin-top: 14px; }
|
||||
.builder-table th { position: static; font-size: 12px; color: #5b6678; }
|
||||
.builder-table td { font-size: 13px; }
|
||||
.builder-table .mark { width: 34px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #4a5568; }
|
||||
.builder-table.preview .source-system td { color: #7a8496; background: #fbfcfd; }
|
||||
.builder-table.preview .source-relation td { color: #3c5a86; }
|
||||
|
||||
.builder-list { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.builder-list li { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid #e1e6ee; border-radius: 7px; background: white; }
|
||||
|
||||
button.toggle { min-width: 34px; padding: 3px 7px; border: 1px solid #cdd5e0; border-radius: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #24324a; background: #f6f8fb; cursor: pointer; }
|
||||
button.toggle:hover { background: #e9edf4; }
|
||||
button.toggle.mode-optional { color: #1d4ed8; border-color: #bfd0f5; background: #eef3fe; }
|
||||
button.toggle.mode-required { color: #a1410a; border-color: #f0cfae; background: #fdf3e9; }
|
||||
button.danger { padding: 4px 10px; border: 1px solid #eccfcf; border-radius: 5px; font-size: 12px; color: #a12b2b; background: #fdf3f3; cursor: pointer; }
|
||||
button.danger:hover { background: #f8e5e5; }
|
||||
|
||||
.tag { display: inline-block; padding: 1px 7px; border-radius: 9px; font-size: 11px; color: #4b5563; background: #eef1f6; }
|
||||
.tag + .tag { margin-left: 4px; }
|
||||
|
||||
/* ---------- Narrow screens ---------- */
|
||||
|
||||
@media (max-width: 850px) {
|
||||
|
||||
Reference in New Issue
Block a user