Files
goon_plugin/src/viewer/index.css
T
2026-05-31 11:29:51 -07:00

102 lines
1.5 KiB
CSS

:root {
--bg: #ffffff;
--text: #1a1a2e;
--accent: #4361ee;
--accent-hover: #3a56d4;
--border: #e2e8f0;
--radius: 8px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: var(--bg);
color: var(--text);
min-width: 360px;
padding: 16px;
}
#app {
display: flex;
flex-direction: column;
gap: 12px;
}
h1 {
font-size: 18px;
font-weight: 600;
}
button {
padding: 8px 16px;
background: var(--accent);
color: white;
border: none;
border-radius: var(--radius);
font-size: 14px;
cursor: pointer;
transition: background 150ms;
}
button:hover {
background: var(--accent-hover);
}
.btn-row {
display: flex;
gap: 8px;
justify-content: space-between;
}
.btn-secondary {
background: #64748b;
}
.btn-secondary:hover {
background: #475569;
}
.status {
color: #64748b;
font-size: 12px;
min-height: 16px;
}
.video-list {
max-height: 180px;
overflow-y: auto;
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 8px;
font-size: 12px;
background: #f8fafc;
}
.video-item {
display: block;
padding: 4px 0;
color: var(--accent);
text-decoration: none;
word-break: break-all;
font-size: 11px;
line-height: 1.4;
}
.video-item:hover {
text-decoration: underline;
}
.copy-btn {
margin-top: 8px;
width: 100%;
padding: 6px 12px;
font-size: 12px;
background: var(--accent);
border-radius: var(--radius);
}