Rss feed
This commit is contained in:
139
styles.css
139
styles.css
@@ -232,3 +232,142 @@ html {
|
||||
transform: translateY(0px);
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Mode Switcher (KI / RSS) --- */
|
||||
.mode-switch {
|
||||
display: flex;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-radius: 20px;
|
||||
padding: 4px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.switch-btn {
|
||||
border: none;
|
||||
border-radius: 16px;
|
||||
padding: 6px 16px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
background: transparent;
|
||||
color: #a0a0b0;
|
||||
font-weight: 700;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.switch-btn.active-ai {
|
||||
background: #4a90e2;
|
||||
color: white;
|
||||
box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
|
||||
}
|
||||
|
||||
.switch-btn.active-rss {
|
||||
background: #facc15;
|
||||
color: #0f0f13;
|
||||
box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
|
||||
}
|
||||
|
||||
/* --- Config Panel (API Key Eingabe) --- */
|
||||
.config-panel {
|
||||
background: rgba(74, 144, 226, 0.05);
|
||||
border: 1px solid rgba(74, 144, 226, 0.3);
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
margin-bottom: 25px;
|
||||
animation: slideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
}
|
||||
|
||||
.config-panel h3 {
|
||||
margin-top: 0;
|
||||
color: #4a90e2;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.config-input {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
color: white;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 15px;
|
||||
box-sizing: border-box;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.config-input:focus {
|
||||
outline: none;
|
||||
border-color: #4a90e2;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.save-btn {
|
||||
background: #4a90e2;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 12px;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
font-weight: 600;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.save-btn:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* --- Status & Header Buttons --- */
|
||||
.reload-btn {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 10px;
|
||||
padding: 8px 12px;
|
||||
cursor: pointer;
|
||||
font-size: 1.1rem;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.reload-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.status-msg {
|
||||
text-align: center;
|
||||
color: #a0a0b0;
|
||||
margin-top: 60px;
|
||||
font-style: italic;
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
|
||||
.error-card {
|
||||
border: 1px solid rgba(239, 68, 68, 0.4);
|
||||
background: rgba(239, 68, 68, 0.05);
|
||||
padding: 15px;
|
||||
border-radius: 12px;
|
||||
color: #ef4444;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* --- Animations --- */
|
||||
@keyframes slideIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-15px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
opacity: 0.6;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user