style(sidebar): solid toggle button with shadow
- Remove transparency, use solid bg-tertiary - Reduce diameter from 28px to 24px (center preserved) - Add drop shadow like context menu caret
This commit is contained in:
1 parent
ada7b7b84c
commit
f375ae23fe
1 file changed
+8
-8
@@ -993,30 +993,30 @@
|
|||||||
|
|
||||||
.toggle-btn {
|
.toggle-btn {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -14px;
|
right: -12px;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 28px;
|
width: 24px;
|
||||||
height: 28px;
|
height: 24px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: rgba(255, 255, 255, 0.08);
|
background: var(--bg-tertiary);
|
||||||
backdrop-filter: blur(12px);
|
|
||||||
-webkit-backdrop-filter: blur(12px);
|
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: transform 150ms ease, background-color 150ms ease, color 150ms ease;
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
||||||
|
transition: transform 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-btn:hover {
|
.toggle-btn:hover {
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
background: rgba(255, 255, 255, 0.12);
|
background: var(--bg-hover);
|
||||||
transform: translateY(-50%) scale(1.1);
|
transform: translateY(-50%) scale(1.1);
|
||||||
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-section {
|
.user-section {
|
||||||
|
|||||||
Reference in new issue
Block a user