|
4 | 4 | flex-direction: column; |
5 | 5 | gap: 10px; |
6 | 6 | padding-bottom: var(--sp-15); |
7 | | - |
8 | | - [data-theme="light"] & { |
9 | | - --omnibar-translucent-background-color: rgba(255, 255, 255, 0.54); |
10 | | - } |
11 | | - |
12 | | - [data-theme="dark"] & { |
13 | | - --omnibar-translucent-background-color: rgba(0, 0, 0, 0.3); |
14 | | - } |
15 | 7 | } |
16 | 8 |
|
17 | 9 | .logo { |
|
54 | 46 | margin: 3px; |
55 | 47 | outline: 1px solid var(--ntp-controls-raised-backdrop); |
56 | 48 |
|
57 | | - body:not([data-background-kind="default"]) & { |
| 49 | + [data-background-kind="color"] [data-theme="light"] &, |
| 50 | + [data-background-kind="gradient"] [data-theme="light"] &, |
| 51 | + [data-background-kind="userImage"] [data-theme="light"] & { |
| 52 | + backdrop-filter: blur(48px); |
| 53 | + background: rgba(255, 255, 255, 0.54); |
| 54 | + } |
| 55 | + |
| 56 | + [data-background-kind="color"] [data-theme="dark"] &, |
| 57 | + [data-background-kind="gradient"] [data-theme="dark"] & { |
| 58 | + backdrop-filter: blur(48px); |
| 59 | + background: rgba(255, 255, 255, 0.12); |
| 60 | + outline: 1px solid rgba(0, 0, 0, 0.12); |
| 61 | + } |
| 62 | + |
| 63 | + [data-background-kind="userImage"] [data-theme="dark"] & { |
58 | 64 | backdrop-filter: blur(48px); |
59 | | - background: var(--omnibar-translucent-background-color); |
| 65 | + background: rgba(0, 0, 0, 0.3); |
60 | 66 | } |
61 | 67 | } |
62 | 68 |
|
|
0 commit comments