Changeset 0.13.1 (#65)
This commit is contained in:
@@ -1948,6 +1948,55 @@ select option { background: var(--bg-surface); color: var(--text); }
|
||||
.popup-menu-hint { margin-left: auto; font-size: 11px; color: var(--text-3); }
|
||||
.popup-menu-divider { height: 1px; background: var(--border); margin: 4px 8px; }
|
||||
|
||||
/* ── Tools Toggle ────────────────────────── */
|
||||
|
||||
.tools-toggle-wrap { position: relative; }
|
||||
.tools-toggle-btn { padding: 6px 4px 12px 4px; }
|
||||
.tools-toggle-btn.has-disabled { color: var(--text-3); }
|
||||
.tools-toggle-btn.has-disabled::after {
|
||||
content: ''; position: absolute; top: 4px; right: 4px;
|
||||
width: 6px; height: 6px; border-radius: 50%;
|
||||
background: var(--warning);
|
||||
}
|
||||
.tools-popup { bottom: 100%; left: 0; margin-bottom: 8px; min-width: 210px; }
|
||||
.tools-popup-category, .tools-popup-tool {
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
padding: 8px 12px; border-radius: var(--radius);
|
||||
cursor: pointer; font-size: 13px; color: var(--text-2);
|
||||
transition: background var(--transition);
|
||||
}
|
||||
.tools-popup-category:hover, .tools-popup-tool:hover { background: var(--bg-hover); }
|
||||
.tools-popup-tool { padding-left: 36px; font-size: 12px; } /* indented children */
|
||||
.tools-popup-check {
|
||||
width: 16px; height: 16px; border-radius: 3px;
|
||||
border: 1.5px solid var(--border); flex-shrink: 0;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
transition: background var(--transition), border-color var(--transition);
|
||||
}
|
||||
/* Fully enabled */
|
||||
.tools-popup-category.enabled .tools-popup-check,
|
||||
.tools-popup-tool.enabled .tools-popup-check {
|
||||
background: var(--accent); border-color: var(--accent);
|
||||
}
|
||||
.tools-popup-category.enabled .tools-popup-check::after,
|
||||
.tools-popup-tool.enabled .tools-popup-check::after {
|
||||
content: '✓'; color: var(--text-on-color); font-size: 11px; font-weight: 700;
|
||||
}
|
||||
/* Partial (indeterminate) */
|
||||
.tools-popup-category.partial .tools-popup-check {
|
||||
background: var(--accent-dim); border-color: var(--accent);
|
||||
}
|
||||
.tools-popup-category.partial .tools-popup-check::after {
|
||||
content: '─'; color: var(--accent); font-size: 12px; font-weight: 700;
|
||||
}
|
||||
.tools-popup-label { flex: 1; }
|
||||
.tools-popup-expand {
|
||||
font-size: 14px; color: var(--text-3); cursor: pointer;
|
||||
transition: transform var(--transition); padding: 0 2px;
|
||||
user-select: none;
|
||||
}
|
||||
.tools-popup-expand.open { transform: rotate(90deg); }
|
||||
|
||||
/* ── Responsive ──────────────────────────── */
|
||||
|
||||
.mobile-menu-btn {
|
||||
|
||||
Reference in New Issue
Block a user