fix(electrobun): sidebar AGOR non-selectable, larger font, settings clickable
- AGOR title: pointer-events:none (clicks pass to drag zone), user-select:none, font-size 1.25rem→1.5rem (20% larger), removed cursor:grab - Settings button: z-index:1 (above drag zone), clickable again - Group buttons: z-index:1 (above drag zone) - Drag zone stays z-index:0 as catch-all behind interactive elements
This commit is contained in:
parent
d9a2ea6500
commit
0dd402e282
2 changed files with 6 additions and 2 deletions
|
|
@ -666,13 +666,13 @@
|
||||||
transform: rotate(180deg);
|
transform: rotate(180deg);
|
||||||
font-family: "Inter", system-ui, sans-serif;
|
font-family: "Inter", system-ui, sans-serif;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-size: 1.25rem;
|
font-size: 1.5rem;
|
||||||
letter-spacing: 0.2em;
|
letter-spacing: 0.2em;
|
||||||
color: var(--ctp-overlay0);
|
color: var(--ctp-overlay0);
|
||||||
padding: 1rem 0;
|
padding: 1rem 0;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
pointer-events: none;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
cursor: grab;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-groups {
|
.sidebar-groups {
|
||||||
|
|
@ -684,6 +684,8 @@
|
||||||
padding: 0.25rem 0;
|
padding: 0.25rem 0;
|
||||||
border-bottom: 1px solid var(--ctp-surface0);
|
border-bottom: 1px solid var(--ctp-surface0);
|
||||||
margin-bottom: 0.125rem;
|
margin-bottom: 0.125rem;
|
||||||
|
position: relative;
|
||||||
|
z-index: 1; /* Above the drag zone */
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-spacer {
|
.sidebar-spacer {
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,8 @@ html, body {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
transition: background 0.15s, color 0.15s;
|
transition: background 0.15s, color 0.15s;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
z-index: 1; /* Above the drag zone */
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-icon:hover {
|
.sidebar-icon:hover {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue