Skip to content

Commit

Permalink
Merge pull request #107 from RickyC0626/fix/bg-transparency
Browse files Browse the repository at this point in the history
Fix search results not displaying & add backdrop-filter to several elements
  • Loading branch information
Gibbu authored Nov 7, 2024
2 parents 764104a + 3daf9a5 commit 27852c5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules
/dist
/dist
/.idea
1 change: 1 addition & 0 deletions src/theme/chat/_container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
.jumpToPresentBar_cf58b5 {
border-radius: 8px;
background-color: var(--foreground-double);
backdrop-filter: blur(10px);
padding-bottom: 0;
bottom: 10px;
&:hover {
Expand Down
3 changes: 3 additions & 0 deletions src/theme/chat/_messages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@
background: var(--gradient);
color: var(--text-normal);
}
.popoverReactionHoverBar_e986d9 {
backdrop-filter: blur(6px);
}
}
21 changes: 14 additions & 7 deletions src/theme/popouts/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,26 @@
.container_eedf95 {
background: transparent;
box-shadow: none;
.displayedNick-2dDbfG,
.filter-5YbOzJ,
.header-3A13BX {
.displayedNick_b0286e {
color: var(--text-normal);
}
.answer-2fBfuP,
.displayUsername-14aOpK {
.displayUsername_b0286e {
color: var(--text-muted);
}
.option-2KkUJO {
.plusIcon-2V7coV {
.option_b0286e {
.content_b0286e {
--webkit-mask-image: linear-gradient(90deg, white, white 95%, transparent);
mask-image: linear-gradient(90deg, white, white 95%, transparent);
}
.plusIcon_b0286e {
color: var(--text-normal);
}
&:hover {
.content_b0286e {
--webkit-mask-image: linear-gradient(90deg, white, white 87%, transparent 92%, transparent);
mask-image: linear-gradient(90deg, white, white 87%, transparent 92%, transparent);
}
}
&.selected-rZcOL- {
background: var(--foreground);
&::after {
Expand Down

0 comments on commit 27852c5

Please sign in to comment.