Files
wwcompanion/popup.css

162 lines
2.5 KiB
CSS

:root {
--ink: #1f1a17;
--muted: #6b5f55;
--accent: #b14d2b;
--accent-deep: #7d321b;
--panel: #fff7ec;
--border: #e4d6c5;
--glow: rgba(177, 77, 43, 0.18);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 16px;
width: 360px;
font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino,
"Times New Roman", serif;
color: var(--ink);
background: radial-gradient(circle at top, #fdf2df, #f7ead6 60%, #f1dcc6 100%);
}
.title-block {
margin-bottom: 12px;
}
.title {
font-size: 20px;
font-weight: 700;
letter-spacing: 0.3px;
}
.subtitle {
font-size: 12px;
color: var(--muted);
}
.panel {
padding: 12px;
border: 1px solid var(--border);
border-radius: 14px;
background: var(--panel);
box-shadow: 0 12px 30px rgba(122, 80, 47, 0.12);
}
.field {
margin-top: 10px;
display: grid;
gap: 6px;
}
label {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--muted);
}
select {
width: 100%;
padding: 8px 10px;
border-radius: 10px;
border: 1px solid var(--border);
background: #fffdf9;
font-size: 13px;
}
.actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-top: 12px;
}
button {
font-family: inherit;
border: none;
border-radius: 10px;
padding: 8px 12px;
cursor: pointer;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
button:disabled {
opacity: 0.5;
cursor: not-allowed;
box-shadow: none;
}
button:active {
transform: translateY(1px);
}
.primary {
width: 100%;
background: #fffdf9;
border: 1px solid var(--border);
box-shadow: 0 6px 16px rgba(120, 85, 55, 0.12);
}
.accent {
background: var(--accent);
color: #fff9f3;
box-shadow: 0 8px 20px var(--glow);
}
.ghost {
background: transparent;
border: 1px solid var(--border);
}
.meta {
display: flex;
justify-content: space-between;
font-size: 12px;
color: var(--muted);
margin-top: 10px;
}
.status {
margin-top: 10px;
font-size: 12px;
color: var(--accent-deep);
}
.output {
margin-top: 12px;
border: 1px dashed var(--border);
border-radius: 12px;
padding: 10px;
background: rgba(255, 255, 255, 0.7);
min-height: 160px;
max-height: 240px;
overflow: hidden;
}
pre {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
max-height: 220px;
overflow-y: auto;
font-size: 12px;
line-height: 1.4;
}
.footer {
display: flex;
justify-content: flex-end;
margin-top: 10px;
}
.link {
padding: 4px 6px;
background: none;
border-radius: 8px;
color: var(--accent-deep);
font-size: 12px;
}