Skip to content

Commit 0ac3056

Browse files
shakyShanegithub-actions[bot]
authored andcommitted
Release build 7.7.0 [ci release]
1 parent 7958dda commit 0ac3056

File tree

63 files changed

+4306
-2057
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+4306
-2057
lines changed

CHANGELOG.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
- Support modifying cookies (#1384)
2-
- build(deps-dev): bump @duckduckgo/privacy-configuration (#1396)
1+
- ntp: fix regression with theme context/text color (#1409)
2+
- ntp: Fixed animation jitter of customizer drawer (#1386)
3+
- ntp: privacy stats ship review feedback (#1406)
4+
- ntp: shipreview changes to favorites (#1405)
5+
- ntp: improved background fades (#1404)
6+
- ntp: support right-click on images (#1403)
Lines changed: 3 additions & 0 deletions
Loading

Sources/ContentScopeScripts/dist/pages/new-tab/dist/index.css

Lines changed: 97 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -324,12 +324,15 @@ body[data-animate-background=true] {
324324
grid-area: main;
325325
color: var(--ntp-text-normal);
326326
}
327+
.App_themeContext {
328+
color: var(--ntp-text-normal);
329+
}
327330
.App_mainLayout {
328-
padding-right: 0;
329-
transition: padding-right .3s;
331+
will-change: transform;
332+
transition: transform .3s;
330333
}
331334
[data-drawer-visibility=visible] .App_mainLayout {
332-
padding-right: var(--ntp-combined-width);
335+
transform: translateX(calc(0px - var(--ntp-combined-width) / 2));
333336
}
334337
.App_mainScroller::-webkit-scrollbar {
335338
width: 4px;
@@ -375,6 +378,7 @@ body[data-animate-background=true] {
375378
right: 0;
376379
top: 0;
377380
z-index: 1;
381+
will-change: transform;
378382
transform: translateX(100%);
379383
transition: transform .3s;
380384
}
@@ -408,7 +412,7 @@ body[data-animate-background=true] {
408412
position: relative;
409413
}
410414
.Customizer_lowerRightFixed {
411-
position: fixed;
415+
position: absolute;
412416
bottom: 1rem;
413417
right: 1rem;
414418
}
@@ -454,6 +458,14 @@ body[data-animate-background=true] {
454458
background-color: var(--color-white-at-24);
455459
border-color: var(--color-white-at-50);
456460
}
461+
.Customizer_customizeButton[data-kind=drawer][aria-expanded=true] {
462+
visibility: hidden;
463+
}
464+
@media screen and (max-width: 800px) {
465+
.Customizer_customizeButton span {
466+
display: none;
467+
}
468+
}
457469

458470
/* pages/new-tab/app/components/Icons.module.css */
459471
.Icons_chevronButton {
@@ -504,7 +516,7 @@ body[data-animate-background=true] {
504516
font-size: var(--title-3-em-font-size);
505517
}
506518
.VisibilityMenu_embedded {
507-
font-size: var(--small-label-font-size);
519+
font-size: var(--body-font-size);
508520
gap: 12px;
509521
}
510522
.VisibilityMenu_menuItemLabel {
@@ -514,19 +526,16 @@ body[data-animate-background=true] {
514526
white-space: nowrap;
515527
height: calc(28 * var(--px-in-rem));
516528
}
517-
.VisibilityMenu_menuItemLabel > * {
518-
min-width: 0;
519-
}
520-
.VisibilityMenu_menuItemLabel label {
521-
margin-left: auto;
522-
}
523529
.VisibilityMenu_menuItemLabelEmbedded {
524530
white-space: normal;
525531
gap: 6px;
526532
height: auto;
527533
}
528-
.VisibilityMenu_menuItemLabelEmbedded > * {
529-
min-width: auto;
534+
.VisibilityMenu_menuItemLabelEmbedded *:last-child {
535+
margin-left: auto;
536+
}
537+
.VisibilityMenu_menuItemLabelEmbedded input:focus-visible + * {
538+
box-shadow: var(--focus-ring);
530539
}
531540
.VisibilityMenu_svg {
532541
flex-shrink: 0;
@@ -805,14 +814,19 @@ body[data-animate-background=true] {
805814
object-fit: cover;
806815
pointer-events: none;
807816
}
808-
.BackgroundReceiver_root[data-animate=true] {
809-
transition: background .3s;
810-
}
811-
.BackgroundReceiver_under {
812-
opacity: 1;
817+
.BackgroundReceiver_root[data-state=loadingFirst] {
818+
animation-name: BackgroundReceiver_fade-in;
819+
animation-fill-mode: both;
820+
animation-duration: .25s;
821+
animation-iteration-count: 1;
813822
}
814-
.BackgroundReceiver_over {
815-
opacity: 0;
823+
@keyframes BackgroundReceiver_fade-in {
824+
from {
825+
opacity: 0;
826+
}
827+
to {
828+
opacity: 1;
829+
}
816830
}
817831

818832
/* pages/new-tab/app/favorites/components/Favorites.module.css */
@@ -985,6 +999,13 @@ body[data-animate-background=true] {
985999
margin-bottom: 6px;
9861000
border-radius: var(--border-radius-lg);
9871001
}
1002+
.Tile_preview {
1003+
color: var(--ntp-text-normal);
1004+
transform: scale(0.8);
1005+
}
1006+
.Tile_preview img {
1007+
opacity: 0.8;
1008+
}
9881009
.Tile_draggable {
9891010
-webkit-backdrop-filter: blur(48px);
9901011
backdrop-filter: blur(48px);
@@ -1022,11 +1043,21 @@ body[data-animate-background=true] {
10221043
background-size: contain;
10231044
pointer-events: none;
10241045
}
1025-
.Tile_favicon[data-loaded][data-did-try-fallback] {
1046+
.Tile_faviconText {
1047+
display: flex;
1048+
align-items: center;
1049+
justify-content: center;
1050+
text-transform: lowercase;
1051+
color: white;
1052+
font-size: 1.1rem;
1053+
font-weight: 600;
10261054
border-radius: var(--border-radius-md);
10271055
height: calc(32 * var(--px-in-rem));
10281056
width: calc(32 * var(--px-in-rem));
10291057
}
1058+
.Tile_faviconText span:first-child {
1059+
text-transform: uppercase;
1060+
}
10301061
.Tile_text {
10311062
width: var(--icon-width);
10321063
text-align: center;
@@ -1681,6 +1712,49 @@ body:not([data-platform-name]) .Button_button:active {
16811712
justify-content: center;
16821713
padding-top: 0.5px;
16831714
}
1715+
[data-animation=heart02] .PrivacyStats_headingIcon {
1716+
animation: PrivacyStats_heart02 2s infinite;
1717+
}
1718+
[data-animation=heart01] .PrivacyStats_headingIcon {
1719+
animation: PrivacyStats_heart01 1.483s infinite cubic-bezier(0.67, 0, 0.33, 1);
1720+
}
1721+
@keyframes PrivacyStats_heart01 {
1722+
0% {
1723+
transform: scale(1);
1724+
}
1725+
4.5% {
1726+
transform: scale(1.25);
1727+
}
1728+
16.85% {
1729+
transform: scale(1);
1730+
}
1731+
23.6% {
1732+
transform: scale(1.1);
1733+
}
1734+
100% {
1735+
transform: scale(1);
1736+
}
1737+
}
1738+
@keyframes PrivacyStats_heart02 {
1739+
0% {
1740+
transform: scale(1);
1741+
}
1742+
5.6% {
1743+
transform: scale(1.2);
1744+
}
1745+
11.2% {
1746+
transform: scale(1);
1747+
}
1748+
22.4% {
1749+
transform: scale(1.1);
1750+
}
1751+
33.7% {
1752+
transform: scale(1);
1753+
}
1754+
100% {
1755+
transform: scale(1);
1756+
}
1757+
}
16841758
.PrivacyStats_title {
16851759
grid-area: title;
16861760
font-size: var(--title-2-font-size);
@@ -1803,6 +1877,7 @@ body:not([data-platform-name]) .Button_button:active {
18031877
.PrivacyStats_name {
18041878
font-size: var(--title-3-em-font-size);
18051879
font-weight: var(--title-3-em-font-weight);
1880+
line-height: var(--title-3-em-line-height);
18061881
text-overflow: ellipsis;
18071882
display: block;
18081883
overflow: hidden;
@@ -2052,7 +2127,7 @@ body:not([data-platform-name]) .Button_button:active {
20522127
opacity: .8;
20532128
}
20542129
.CustomizerDrawerInner_backBtn:focus-visible {
2055-
outline: 1px solid var(--ntp-focus-outline-color);
2130+
box-shadow: var(--focus-ring);
20562131
}
20572132
.CustomizerDrawerInner_section {
20582133
width: 100%;

0 commit comments

Comments
 (0)