mirror of
https://github.com/blackajiro/Resonance.git
synced 2026-07-22 06:51:15 +00:00
204 lines
4.8 KiB
CSS
204 lines
4.8 KiB
CSS
.resonance-modal {
|
|
padding: 12px 16px;
|
|
}
|
|
.modal-container .resonance-wide .modal {
|
|
width: 900px;
|
|
max-width: 92vw;
|
|
}
|
|
.resonance-toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin: 6px 0 10px 0;
|
|
}
|
|
|
|
.resonance-toolbar .date { flex: 0 1 auto; }
|
|
.resonance-toolbar .search { flex: 1 1 220px; }
|
|
|
|
.resonance-toolbar input[type="text"],
|
|
.resonance-toolbar select {
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
background: var(--background-secondary);
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.resonance-toolbar .spacer { flex: 1 1 auto; }
|
|
|
|
.resonance-list { display: flex; flex-direction: column; gap: 8px; }
|
|
|
|
.resonance-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 10px;
|
|
background: var(--background-secondary);
|
|
}
|
|
|
|
.resonance-meta { display: flex; align-items: center; gap: 10px; }
|
|
.resonance-left { display: flex; align-items: center; gap: 10px; }
|
|
.resonance-title { font-weight: 600; }
|
|
.resonance-sub { color: var(--text-muted); font-size: 12px; }
|
|
.resonance-actions { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
|
|
.resonance-audio-wrap { margin: 6px 0 12px 28px; }
|
|
|
|
.resonance-modal h2 {
|
|
margin-top: 4px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.resonance-status {
|
|
font-size: 14px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 8px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.resonance-timer {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.resonance-controls {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.resonance-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
padding: 10px 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: transform 0.1s ease, background 0.2s ease, opacity 0.2s ease;
|
|
}
|
|
|
|
.resonance-btn.primary {
|
|
background: var(--interactive-accent);
|
|
color: var(--text-on-accent);
|
|
}
|
|
|
|
.resonance-btn.primary:hover { transform: translateY(-1px); }
|
|
|
|
.resonance-btn.danger {
|
|
background: #e03131;
|
|
color: #fff;
|
|
}
|
|
|
|
.resonance-btn.danger:hover { transform: translateY(-1px); }
|
|
|
|
.resonance-btn.disabled {
|
|
background: var(--background-modifier-border);
|
|
color: var(--text-muted);
|
|
cursor: not-allowed;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.resonance-btn.secondary {
|
|
background: var(--background-secondary);
|
|
color: var(--text-normal);
|
|
border: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.resonance-btn.secondary:hover { transform: translateY(-1px); }
|
|
|
|
/* Icona SVG + spinner */
|
|
.resonance-icon.spin {
|
|
display: inline-flex;
|
|
animation: spin 0.9s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Animazione onda/cerchio pulsante */
|
|
.resonance-wave {
|
|
position: relative;
|
|
width: 84px;
|
|
height: 84px;
|
|
margin: 8px 0;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle at center, rgba(100, 180, 255, 0.5) 0%, rgba(100, 180, 255, 0.2) 60%, rgba(100, 180, 255, 0.05) 100%);
|
|
box-shadow: inset 0 0 20px rgba(100, 180, 255, 0.25);
|
|
opacity: 0.4;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.resonance-wave.active { opacity: 1; }
|
|
|
|
.resonance-wave::before, .resonance-wave::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
border: 2px solid rgba(100, 180, 255, 0.5);
|
|
animation: ripple 2.2s ease-out infinite;
|
|
}
|
|
|
|
.resonance-wave::after { animation-delay: 1.1s; }
|
|
|
|
@keyframes ripple {
|
|
0% { transform: scale(0.9); opacity: 0.75; }
|
|
70% { transform: scale(1.25); opacity: 0.2; }
|
|
100% { transform: scale(1.4); opacity: 0.05; }
|
|
}
|
|
|
|
/* Select inline nelle impostazioni */
|
|
.resonance-inline-select {
|
|
margin-left: 0px;
|
|
margin-bottom: 10px;
|
|
padding: 6px 8px;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
background: var(--background-secondary);
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
/* Stili per blocchi help */
|
|
.resonance-help pre {
|
|
background: var(--background-secondary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 8px;
|
|
padding: 8px 10px;
|
|
overflow: auto;
|
|
position: relative;
|
|
}
|
|
.resonance-help code {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
font-size: 12px;
|
|
}
|
|
.resonance-btn.small { padding: 4px 8px; font-size: 12px; border-radius: 6px; }
|
|
|
|
/* Ribbon states */
|
|
.workspace-ribbon .resonance-ribbon.recording {
|
|
color: #e03131 !important;
|
|
}
|
|
.workspace-ribbon .resonance-ribbon.processing {
|
|
color: var(--interactive-accent) !important;
|
|
animation: pulse 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.55; }
|
|
}
|
|
|
|
/* Status bar */
|
|
.status-bar-item.resonance-statusbar {
|
|
color: var(--text-normal);
|
|
}
|