Skip to content

Commit

Permalink
tooltip glass transparent css
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Jan 28, 2025
1 parent 9b0b2cf commit 5ddd657
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions themes/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,9 @@
min-width: min(80px, 100%);
}


#cbs {
background-color: var(--block-background-fill) !important;
}

#cbs,
#cbsc {
background-color: var(--block-background-fill) !important;
background-color: rgba(var(--block-background-fill), 0.5) !important;
}

#interact-panel .form {
Expand Down Expand Up @@ -303,4 +299,15 @@
#elem_prompt {
/* 左右为0;顶部为0,底部为2px */
padding: 0 0 4px 0;
}
backdrop-filter: blur(10px);
background-color: rgba(var(--block-background-fill), 0.5);
}


#tooltip #cbs,
#tooltip #cbsc,
#tooltip .svelte-b6y5bg,
#tooltip .tabitem {
backdrop-filter: blur(10px);
background-color: rgba(var(--block-background-fill), 0.5);
}

0 comments on commit 5ddd657

Please sign in to comment.