97 lines
3.7 KiB
CSS
97 lines
3.7 KiB
CSS
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
background: #0f0f14;
|
|
color: #e0e0e8;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.app {
|
|
max-width: 860px;
|
|
margin: 0 auto;
|
|
padding: 2rem 1.5rem;
|
|
}
|
|
|
|
.app-header { text-align: center; margin-bottom: 2rem; }
|
|
.app-header h1 { font-size: 2rem; font-weight: 700; color: #fff; }
|
|
.subtitle { color: #6b7280; font-size: 0.9rem; margin-top: 0.4rem; }
|
|
|
|
.summary-bar {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
margin-bottom: 2rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
.summary-stat {
|
|
background: #1a1a24;
|
|
border: 1px solid #2a2a3a;
|
|
border-radius: 12px;
|
|
padding: 0.75rem 1.25rem;
|
|
text-align: center;
|
|
min-width: 100px;
|
|
}
|
|
.stat-num { display: block; font-size: 1.5rem; font-weight: 700; color: #60a5fa; }
|
|
.stat-label { display: block; font-size: 0.7rem; color: #6b7280; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
|
|
|
|
.search-section { position: relative; margin-bottom: 1.5rem; }
|
|
.search-input {
|
|
width: 100%;
|
|
background: #1a1a24;
|
|
border: 1px solid #2a2a3a;
|
|
border-radius: 12px;
|
|
padding: 0.75rem 1rem;
|
|
color: #e0e0e8;
|
|
font-size: 1rem;
|
|
outline: none;
|
|
transition: border-color 0.2s;
|
|
}
|
|
.search-input:focus { border-color: #60a5fa; }
|
|
.search-input::placeholder { color: #4b5563; }
|
|
.search-spinner { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); }
|
|
|
|
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #6b7280; margin-bottom: 0.75rem; }
|
|
|
|
.files-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
|
|
|
|
.file-card {
|
|
background: #1a1a24;
|
|
border: 1px solid #2a2a3a;
|
|
border-radius: 12px;
|
|
padding: 1rem;
|
|
cursor: pointer;
|
|
transition: border-color 0.2s, transform 0.15s;
|
|
}
|
|
.file-card:hover { border-color: #60a5fa; transform: translateY(-2px); }
|
|
.file-date { font-size: 0.8rem; color: #60a5fa; font-weight: 600; }
|
|
.file-label { font-size: 0.85rem; color: #9ca3af; margin-top: 2px; }
|
|
.file-stats { display: flex; gap: 0.5rem; margin-top: 0.5rem; font-size: 0.7rem; color: #6b7280; }
|
|
.entry-tag { background: #1e3a5f; color: #60a5fa; border-radius: 4px; padding: 0 4px; }
|
|
.file-age { font-size: 0.7rem; color: #4b5563; margin-top: 0.4rem; }
|
|
|
|
.search-results { margin-top: 1rem; }
|
|
.results-header { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #6b7280; margin-bottom: 0.75rem; }
|
|
.result-item {
|
|
background: #1a1a24;
|
|
border: 1px solid #2a2a3a;
|
|
border-radius: 10px;
|
|
padding: 0.875rem 1rem;
|
|
margin-bottom: 0.5rem;
|
|
cursor: pointer;
|
|
transition: border-color 0.2s;
|
|
}
|
|
.result-item:hover { border-color: #60a5fa; }
|
|
.result-name { font-size: 0.85rem; font-weight: 600; color: #60a5fa; margin-bottom: 0.3rem; }
|
|
.result-snippet { font-size: 0.8rem; color: #9ca3af; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
|
.result-meta { font-size: 0.7rem; color: #4b5563; margin-top: 0.4rem; }
|
|
|
|
.viewer { max-width: 800px; margin: 0 auto; }
|
|
.viewer-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
|
|
.back-btn { background: #1a1a24; border: 1px solid #2a2a3a; color: #e0e0e8; border-radius: 8px; padding: 0.4rem 0.875rem; cursor: pointer; font-size: 0.85rem; }
|
|
.back-btn:hover { border-color: #60a5fa; }
|
|
.viewer-title { font-size: 0.85rem; color: #6b7280; }
|
|
.loading { color: #6b7280; font-size: 0.9rem; text-align: center; padding: 2rem; }
|
|
.memory-content { white-space: pre-wrap; font-size: 0.875rem; line-height: 1.7; color: #d1d5db; background: #1a1a24; border: 1px solid #2a2a3a; border-radius: 12px; padding: 1.5rem; }
|
|
.no-results { text-align: center; color: #6b7280; padding: 2rem; }
|