feat: 面板顶栏添加悬浮球显示/隐藏切换按钮

This commit is contained in:
Youzini-afk
2026-03-27 14:36:49 +08:00
parent c06fff01cd
commit a5ab93e701
3 changed files with 66 additions and 0 deletions

View File

@@ -83,6 +83,35 @@
margin-right: 4px;
}
.bme-fab-toggle-btn {
width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
border: none;
background: transparent;
color: var(--bme-on-surface-dim);
cursor: pointer;
border-radius: 4px;
font-size: 14px;
transition: all 0.15s;
margin-right: 2px;
}
.bme-fab-toggle-btn:hover {
background: var(--bme-surface-highest);
color: var(--bme-primary);
}
.bme-fab-toggle-btn[data-active="true"] {
color: var(--bme-primary);
}
.bme-fab-toggle-btn[data-active="false"] {
opacity: 0.45;
}
.bme-theme-picker-btn {
width: 28px;
height: 28px;