Skip to content

Commit d471f87

Browse files
committed
fix: web.whatsapp transparency
1 parent 15ee5a9 commit d471f87

File tree

1 file changed

+27
-54
lines changed

1 file changed

+27
-54
lines changed

websites/web.whatsapp.com.css

Lines changed: 27 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,37 @@
1-
/* transparency */
2-
html,
3-
body,
4-
nav,
5-
#nav,
6-
.nav,
7-
navbar, .x15g3fpr,
8-
.navbar, ._al_c,
9-
#navbar, .xsm26vf,
10-
header, [aria-label="Community tab drawer"] > div,
11-
#header, .x1n2onr6 ._ak72:not(:hover),
12-
.header,
13-
app, [aria-label="Channel tab drawer"] > div, .x150wa6m,
14-
#app, .x13x2ugz,
15-
.app, .two, .two > div, div.xds687c:nth-child(1),
16-
.app-root,
17-
#pass-sidebar,
18-
#main, ._alyo._alyw,
19-
main, [data-focusid="status-row-item"]:not(:hover),
20-
#content, [aria-label="Status tab drawer"] > div,
21-
section, .two::after,
22-
#__next, #side, #side > div, #side > div > div, .xsknx04,
23-
#navigation-wrapper,
24-
#global-navbar,
25-
.head.notfixed,
26-
body[data-theme="dark"], body[data-theme="light"],
27-
body.dark_mode, body.light_mode,
28-
footer > div:first-of-type,
29-
#app > div:first-of-type::after,
30-
._alzb, ._ak73 *, ._ak73::after, ._alzb::before
31-
header, .three , .x1bmpntp,
32-
.x1280gxy span > div:not([aria-label="Image"]) {
33-
background-color: transparent !important;
34-
background: none !important;
35-
border: none !important;
1+
/* wa-transparency */
2+
:root,
3+
.dark {
4+
--background-default: transparent !important;
5+
--background-default-active: rgba(32, 44, 51, 0.6) !important;
6+
--background-document-with-captions: transparent !important;
7+
--border-list: transparent !important;
8+
--conversation-header-border: transparent !important;
9+
--conversation-panel-background: transparent !important;
10+
--intro-background: transparent !important;
11+
--filters-container-background: transparent !important;
12+
--filters-item-background: transparent !important;
13+
--navbar-background: transparent !important;
14+
--panel-background-deeper: transparent !important;
15+
--panel-background-hover: transparent !important;
16+
--panel-background-lighter: transparent !important;
17+
--panel-header-background: transparent !important;
18+
--WDS-app-wash: transparent !important;
19+
--rich-text-panel-background: transparent !important;
20+
--search-container-background: transparent !important;
21+
--search-input-container-background: transparent !important;
22+
--startup-background: transparent !important;
23+
--unread-bar-background: transparent !important;
24+
}
25+
.xu306ak {
3626
box-shadow: none !important;
37-
transition: background-color 0.5s ease-in-out, background 0.5s ease-in-out, border 0.5s ease-in-out, box-shadow 0.5s ease-in-out !important;
3827
}
39-
40-
.x1280gxy, ._ak73:hover, ._alzb:hover {
41-
background: rgba(0, 0,0 , .1) !important;
42-
background-color: rgba(0, 0,0 , .1) !important;
28+
.x18b5jzi {
29+
border: none !important;
4330
}
44-
4531
.x1setqd9::after {
4632
display: none;
4733
}
4834

49-
:root, .dark {
50-
--background-default-active: transparent !important;
51-
--background-document-with-captions: transparent !important;
52-
--border-list: transparent !important;
53-
--conversation-header-border: transparent !important;
54-
}
55-
56-
body:has([aria-label="Status tab drawer"], [aria-label="Channel tab drawer"], [aria-label="Community tab drawer"], [title="Settings"], [title="Profile"]) ._aigw{
57-
header:has([aria-label="WhatsApp"]), #side {
58-
display: none !important;
59-
}
60-
}
61-
6235
/* wa-layout fixes */
6336
.two,
6437
.three {

0 commit comments

Comments
 (0)