Skip to content

Commit fc77534

Browse files
Update accounts.google.com.css
fixed transparency added glass effect feature
1 parent 6a226a5 commit fc77534

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

websites/accounts.google.com.css

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/* gacc-transparency */
2-
html,
3-
body,
4-
.S7xv8 {
2+
html, body {
53
background-color: transparent !important;
64
background: none !important;
75
border: none !important;
@@ -12,3 +10,21 @@ body,
1210
border 0.5s ease-in-out,
1311
box-shadow 0.5s ease-in-out !important;
1412
}
13+
14+
:root {
15+
--gm3-sys-color-background: transparent !important;
16+
--gm3-sys-color-surface-container: transparent !important;
17+
--gm3-sys-color-surface-container-lowest: transparent !important;
18+
}
19+
20+
/* gacc-glass effect */
21+
@media (prefers-color-scheme: dark) {
22+
:root {
23+
--gm3-sys-color-surface-container-lowest: #0005 !important;
24+
}
25+
}
26+
@media (prefers-color-scheme: light) {
27+
:root {
28+
--gm3-sys-color-surface-container-lowest: #fff8 !important;
29+
}
30+
}

0 commit comments

Comments
 (0)