zetviel/static/style.css
2025-10-15 15:42:48 -07:00

154 lines
2.2 KiB
CSS

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: system-ui, -apple-system, sans-serif;
line-height: 1.5;
background: #1e1e1e;
color: #e0e0e0;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
border-bottom: 1px solid #333;
background: #252525;
}
h1 {
font-size: 1.5rem;
}
.status-ok { color: #0f0; }
.status-error { color: #f00; }
.status-loading { color: #ff0; }
.search-bar {
padding: 1rem;
border-bottom: 1px solid #333;
background: #252525;
}
#search {
width: 70%;
padding: 0.5rem;
border: 1px solid #444;
border-radius: 4px;
background: #2a2a2a;
color: #e0e0e0;
}
button {
padding: 0.5rem 1rem;
background: #0066cc;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background: #0052a3;
}
button:disabled {
background: #444;
cursor: not-allowed;
}
.container {
display: flex;
height: calc(100vh - 140px);
}
.thread-list {
width: 40%;
overflow-y: auto;
border-right: 1px solid #333;
}
.thread {
padding: 1rem;
border-bottom: 1px solid #2a2a2a;
cursor: pointer;
}
.thread:hover {
background: #2a2a2a;
}
.thread-subject {
font-weight: bold;
margin-bottom: 0.25rem;
}
.thread-authors {
color: #999;
font-size: 0.9rem;
}
.thread-date {
color: #666;
font-size: 0.85rem;
}
.message-view {
width: 60%;
overflow-y: auto;
padding: 1rem;
}
.message {
margin-bottom: 2rem;
padding: 1rem;
border: 1px solid #333;
border-radius: 4px;
background: #252525;
}
.message-header {
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid #333;
}
.message-content {
margin-top: 1rem;
}
.content {
padding: 1rem;
background: #2a2a2a;
border-radius: 4px;
}
.content pre {
white-space: pre-wrap;
word-wrap: break-word;
}
.attachments {
margin-top: 1rem;
padding: 0.5rem;
background: #3a3a00;
border-radius: 4px;
}
.loading {
padding: 1rem;
text-align: center;
color: #999;
}
.error {
padding: 1rem;
background: #3a0000;
border: 1px solid #600;
border-radius: 4px;
margin: 1rem;
}