Skip to content

Commit 9480fae

Browse files
noisysocksgithub-actions[bot]
authored andcommitted
Release build 11.22.0 [ci release]
1 parent 3262c6a commit 9480fae

File tree

6 files changed

+70
-35
lines changed

6 files changed

+70
-35
lines changed

CHANGELOG.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
- Get page context (#1953)
1+
- Fix shadow rendering issue in popover when mousing over Customize link (#1958)
2+
- NTP: Adjust omnibar background colour on dark gradient/color backgrounds (#1957)

build/apple/pages/new-tab/dist/index.css

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,12 +1586,6 @@ body:not([data-platform-name]) .Button_button:active {
15861586
gap: 10px;
15871587
padding-bottom: var(--sp-15);
15881588
}
1589-
[data-theme=light] .Omnibar_root {
1590-
--omnibar-translucent-background-color: rgba(255, 255, 255, 0.54);
1591-
}
1592-
[data-theme=dark] .Omnibar_root {
1593-
--omnibar-translucent-background-color: rgba(0, 0, 0, 0.3);
1594-
}
15951589
.Omnibar_logo {
15961590
margin-bottom: var(--sp-4);
15971591
width: 164px;
@@ -1617,10 +1611,24 @@ body:not([data-platform-name]) .Button_button:active {
16171611
margin: 3px;
16181612
outline: 1px solid var(--ntp-controls-raised-backdrop);
16191613
}
1620-
body:not([data-background-kind=default]) .Omnibar_popup {
1614+
[data-background-kind=color] [data-theme=light] .Omnibar_popup,
1615+
[data-background-kind=gradient] [data-theme=light] .Omnibar_popup,
1616+
[data-background-kind=userImage] [data-theme=light] .Omnibar_popup {
1617+
-webkit-backdrop-filter: blur(48px);
1618+
backdrop-filter: blur(48px);
1619+
background: rgba(255, 255, 255, 0.54);
1620+
}
1621+
[data-background-kind=color] [data-theme=dark] .Omnibar_popup,
1622+
[data-background-kind=gradient] [data-theme=dark] .Omnibar_popup {
16211623
-webkit-backdrop-filter: blur(48px);
16221624
backdrop-filter: blur(48px);
1623-
background: var(--omnibar-translucent-background-color);
1625+
background: rgba(255, 255, 255, 0.12);
1626+
outline: 1px solid rgba(0, 0, 0, 0.12);
1627+
}
1628+
[data-background-kind=userImage] [data-theme=dark] .Omnibar_popup {
1629+
-webkit-backdrop-filter: blur(48px);
1630+
backdrop-filter: blur(48px);
1631+
background: rgba(0, 0, 0, 0.3);
16241632
}
16251633
.Omnibar_root:has(input:focus, textarea:focus) .Omnibar_popup {
16261634
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1), 0 20px 40px 0 rgba(0, 0, 0, 0.08);
@@ -1948,6 +1956,7 @@ body:not([data-background-kind=default]) .TabSwitcher_tabSwitcher {
19481956
color: var(--ntp-accent-primary);
19491957
cursor: pointer;
19501958
padding: 0;
1959+
transform: translateZ(0);
19511960
}
19521961
.Popover_description button:hover {
19531962
color: var(--ntp-accent-secondary);

build/integration/pages/new-tab/dist/index.css

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,12 +1586,6 @@ body:not([data-platform-name]) .Button_button:active {
15861586
gap: 10px;
15871587
padding-bottom: var(--sp-15);
15881588
}
1589-
[data-theme=light] .Omnibar_root {
1590-
--omnibar-translucent-background-color: rgba(255, 255, 255, 0.54);
1591-
}
1592-
[data-theme=dark] .Omnibar_root {
1593-
--omnibar-translucent-background-color: rgba(0, 0, 0, 0.3);
1594-
}
15951589
.Omnibar_logo {
15961590
margin-bottom: var(--sp-4);
15971591
width: 164px;
@@ -1617,10 +1611,24 @@ body:not([data-platform-name]) .Button_button:active {
16171611
margin: 3px;
16181612
outline: 1px solid var(--ntp-controls-raised-backdrop);
16191613
}
1620-
body:not([data-background-kind=default]) .Omnibar_popup {
1614+
[data-background-kind=color] [data-theme=light] .Omnibar_popup,
1615+
[data-background-kind=gradient] [data-theme=light] .Omnibar_popup,
1616+
[data-background-kind=userImage] [data-theme=light] .Omnibar_popup {
1617+
-webkit-backdrop-filter: blur(48px);
1618+
backdrop-filter: blur(48px);
1619+
background: rgba(255, 255, 255, 0.54);
1620+
}
1621+
[data-background-kind=color] [data-theme=dark] .Omnibar_popup,
1622+
[data-background-kind=gradient] [data-theme=dark] .Omnibar_popup {
16211623
-webkit-backdrop-filter: blur(48px);
16221624
backdrop-filter: blur(48px);
1623-
background: var(--omnibar-translucent-background-color);
1625+
background: rgba(255, 255, 255, 0.12);
1626+
outline: 1px solid rgba(0, 0, 0, 0.12);
1627+
}
1628+
[data-background-kind=userImage] [data-theme=dark] .Omnibar_popup {
1629+
-webkit-backdrop-filter: blur(48px);
1630+
backdrop-filter: blur(48px);
1631+
background: rgba(0, 0, 0, 0.3);
16241632
}
16251633
.Omnibar_root:has(input:focus, textarea:focus) .Omnibar_popup {
16261634
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1), 0 20px 40px 0 rgba(0, 0, 0, 0.08);
@@ -1948,6 +1956,7 @@ body:not([data-background-kind=default]) .TabSwitcher_tabSwitcher {
19481956
color: var(--ntp-accent-primary);
19491957
cursor: pointer;
19501958
padding: 0;
1959+
transform: translateZ(0);
19511960
}
19521961
.Popover_description button:hover {
19531962
color: var(--ntp-accent-secondary);

build/windows/pages/new-tab/dist/index.css

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,12 +1586,6 @@ body:not([data-platform-name]) .Button_button:active {
15861586
gap: 10px;
15871587
padding-bottom: var(--sp-15);
15881588
}
1589-
[data-theme=light] .Omnibar_root {
1590-
--omnibar-translucent-background-color: rgba(255, 255, 255, 0.54);
1591-
}
1592-
[data-theme=dark] .Omnibar_root {
1593-
--omnibar-translucent-background-color: rgba(0, 0, 0, 0.3);
1594-
}
15951589
.Omnibar_logo {
15961590
margin-bottom: var(--sp-4);
15971591
width: 164px;
@@ -1617,10 +1611,24 @@ body:not([data-platform-name]) .Button_button:active {
16171611
margin: 3px;
16181612
outline: 1px solid var(--ntp-controls-raised-backdrop);
16191613
}
1620-
body:not([data-background-kind=default]) .Omnibar_popup {
1614+
[data-background-kind=color] [data-theme=light] .Omnibar_popup,
1615+
[data-background-kind=gradient] [data-theme=light] .Omnibar_popup,
1616+
[data-background-kind=userImage] [data-theme=light] .Omnibar_popup {
1617+
-webkit-backdrop-filter: blur(48px);
1618+
backdrop-filter: blur(48px);
1619+
background: rgba(255, 255, 255, 0.54);
1620+
}
1621+
[data-background-kind=color] [data-theme=dark] .Omnibar_popup,
1622+
[data-background-kind=gradient] [data-theme=dark] .Omnibar_popup {
16211623
-webkit-backdrop-filter: blur(48px);
16221624
backdrop-filter: blur(48px);
1623-
background: var(--omnibar-translucent-background-color);
1625+
background: rgba(255, 255, 255, 0.12);
1626+
outline: 1px solid rgba(0, 0, 0, 0.12);
1627+
}
1628+
[data-background-kind=userImage] [data-theme=dark] .Omnibar_popup {
1629+
-webkit-backdrop-filter: blur(48px);
1630+
backdrop-filter: blur(48px);
1631+
background: rgba(0, 0, 0, 0.3);
16241632
}
16251633
.Omnibar_root:has(input:focus, textarea:focus) .Omnibar_popup {
16261634
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1), 0 20px 40px 0 rgba(0, 0, 0, 0.08);
@@ -1948,6 +1956,7 @@ body:not([data-background-kind=default]) .TabSwitcher_tabSwitcher {
19481956
color: var(--ntp-accent-primary);
19491957
cursor: pointer;
19501958
padding: 0;
1959+
transform: translateZ(0);
19511960
}
19521961
.Popover_description button:hover {
19531962
color: var(--ntp-accent-secondary);

special-pages/pages/new-tab/app/components/Popover.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
color: var(--ntp-accent-primary);
7878
cursor: pointer;
7979
padding: 0;
80+
transform: translateZ(0); /* Fix shadow rendering issue on .popover in WebKit */
8081

8182
&:hover {
8283
color: var(--ntp-accent-secondary);

special-pages/pages/new-tab/app/omnibar/components/Omnibar.module.css

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44
flex-direction: column;
55
gap: 10px;
66
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-
}
157
}
168

179
.logo {
@@ -54,9 +46,23 @@
5446
margin: 3px;
5547
outline: 1px solid var(--ntp-controls-raised-backdrop);
5648

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"] & {
5864
backdrop-filter: blur(48px);
59-
background: var(--omnibar-translucent-background-color);
65+
background: rgba(0, 0, 0, 0.3);
6066
}
6167
}
6268

0 commit comments

Comments
 (0)