Files

120 lines
1.6 KiB
CSS

* {
box-sizing: border-box;
}
body {
margin: 0;
min-width: 320px;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
font-size: 14px;
color: #1a1a1a;
background: #f4f4f5;
}
.panel {
padding: 14px 16px 16px;
}
.title {
margin: 0 0 8px;
font-size: 16px;
font-weight: 600;
}
.hint {
margin: 0 0 8px;
line-height: 1.45;
color: #52525b;
}
.nav-hint {
margin: 0 0 12px;
font-size: 12px;
color: #71717a;
}
.nav-hint.hidden,
.hidden {
display: none !important;
}
.actions {
display: flex;
gap: 8px;
margin-bottom: 12px;
}
.btn {
flex: 1;
padding: 8px 12px;
border: none;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
}
.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.btn-primary {
background: #2563eb;
color: #fff;
}
.btn-primary:hover:not(:disabled) {
background: #1d4ed8;
}
.btn-danger {
background: #dc2626;
color: #fff;
}
.btn-danger:hover:not(:disabled) {
background: #b91c1c;
}
.btn-secondary {
flex: 0 0 auto;
margin-top: 8px;
background: #e4e4e7;
color: #18181b;
}
.btn-secondary:hover:not(:disabled) {
background: #d4d4d8;
}
.export {
margin-top: 4px;
}
.export-label {
display: block;
margin-bottom: 6px;
font-weight: 500;
font-size: 13px;
}
#export-json {
width: 100%;
padding: 10px;
border: 1px solid #d4d4d8;
border-radius: 6px;
font-family: ui-monospace, "Cascadia Code", monospace;
font-size: 12px;
line-height: 1.4;
resize: vertical;
background: #fff;
}
.copy-status {
min-height: 1.2em;
margin: 6px 0 0;
font-size: 12px;
color: #16a34a;
}