- Add ARCHITECTURE.md with full system overview (data flow, modules, build) - Add AGENTS.md as a guide for future AI agents working on this project - Split monolithic styles.css into focused files under assets/: variables, animations, layout, navbar, header, cards, config, filters, utils, greet - Fix justfile: replace `cargo run tauri dev/build` with `cargo tauri dev/build` Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
197 lines
3.9 KiB
CSS
197 lines
3.9 KiB
CSS
/* --- Config Panel --- */
|
|
.config-panel {
|
|
background: rgba(30, 30, 46, 0.6);
|
|
border: 1px solid rgba(74, 144, 226, 0.3);
|
|
border-radius: 20px;
|
|
padding: 20px;
|
|
margin-bottom: 30px;
|
|
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
|
|
animation: slideIn 0.3s ease-out;
|
|
}
|
|
|
|
@supports (backdrop-filter: blur(20px)) {
|
|
.config-panel {
|
|
backdrop-filter: blur(20px);
|
|
}
|
|
}
|
|
|
|
.config-section {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.config-section label {
|
|
display: block;
|
|
font-size: 0.7rem;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 6px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.config-input {
|
|
flex: 1;
|
|
padding: 14px 16px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
border-radius: 12px;
|
|
font-size: 16px;
|
|
font-family: inherit;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.config-input:focus {
|
|
outline: none;
|
|
border-color: var(--accent-color);
|
|
}
|
|
|
|
/* --- RSS Feed List --- */
|
|
.rss-list-scroll {
|
|
max-height: 180px;
|
|
overflow-y: auto;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 12px;
|
|
padding: 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.rss-url-entry {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 10px;
|
|
margin-bottom: 6px;
|
|
font-size: 0.85rem;
|
|
border: 1px solid transparent;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.rss-url-entry:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.url-text {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin-right: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.cat-badge {
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
color: var(--accent-color);
|
|
background: rgba(74, 144, 226, 0.12);
|
|
border: 1px solid rgba(74, 144, 226, 0.25);
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
white-space: nowrap;
|
|
margin: 0 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* --- RSS Add Row --- */
|
|
.rss-input-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.rss-add-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.cat-select {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
border-radius: 12px;
|
|
padding: 14px 10px;
|
|
font-size: 0.85rem;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
width: 130px;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.cat-select:focus {
|
|
outline: none;
|
|
border-color: var(--accent-color);
|
|
}
|
|
|
|
.cat-select option {
|
|
background: #1e1e2e;
|
|
color: white;
|
|
}
|
|
|
|
/* --- Buttons --- */
|
|
.add-btn {
|
|
background: var(--accent-color);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 12px;
|
|
width: 50px;
|
|
min-width: 50px;
|
|
cursor: pointer;
|
|
font-weight: 700;
|
|
font-size: 1.4rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
}
|
|
|
|
.add-btn:active {
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
.delete-btn {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
color: var(--danger);
|
|
cursor: pointer;
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
font-weight: 700;
|
|
font-size: 0.8rem;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 44px;
|
|
min-height: 36px;
|
|
}
|
|
|
|
.delete-btn:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.delete-btn:hover {
|
|
background: var(--danger);
|
|
color: white;
|
|
}
|
|
|
|
.save-master-btn {
|
|
background: linear-gradient(135deg, #4a90e2, #357abd);
|
|
color: white;
|
|
border: none;
|
|
padding: 16px;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
user-select: none;
|
|
min-height: 48px;
|
|
margin-top: 10px;
|
|
}
|