2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* This is the linux variant */
7 box-sizing: border-box
;
26 background-color: inherit
;
33 display: none
!important
;
37 --newtab-background-color: #F9F9FB;
38 --newtab-background-color-secondary: #FFF;
39 --newtab-text-primary-color: #15141a;
40 --newtab-primary-action-background: #0061e0;
41 --newtab-primary-action-background-pocket: #008078;
42 --newtab-text-secondary-color: color-mix
(in srgb
, var
(--newtab-text-primary-color
) 70%, transparent
);
43 --newtab-element-hover-color: color-mix
(in srgb
, var
(--newtab-background-color
) 90%, #000);
44 --newtab-element-active-color: color-mix
(in srgb
, var
(--newtab-background-color
) 80%, #000);
45 --newtab-element-secondary-color: color-mix
(in srgb
, currentColor
5%, transparent
);
46 --newtab-element-secondary-hover-color: color-mix
(in srgb
, currentColor
12%, transparent
);
47 --newtab-element-secondary-active-color: color-mix
(in srgb
, currentColor
25%, transparent
);
48 --newtab-primary-element-hover-color: color-mix
(in srgb
, var
(--newtab-primary-action-background
) 90%, #000);
49 --newtab-primary-element-hover-pocket-color: color-mix
(in srgb
, var
(--newtab-primary-action-background-pocket
) 90%, #000);
50 --newtab-primary-element-active-color: color-mix
(in srgb
, var
(--newtab-primary-action-background
) 80%, #000);
51 --newtab-primary-element-text-color: #FFF;
52 --newtab-primary-action-background-dimmed: color-mix
(in srgb
, var
(--newtab-primary-action-background
) 25%, transparent
);
53 --newtab-primary-action-background-pocket-dimmed: color-mix
(in srgb
, var
(--newtab-primary-action-background-pocket
) 25%, transparent
);
54 --newtab-border-color: color-mix
(in srgb
, var
(--newtab-background-color
) 75%, #000);
55 --newtab-wordmark-color: #20123A;
56 --newtab-status-success: #058B00;
57 --newtab-status-error: #D70022;
58 --newtab-inner-box-shadow-color: rgba
(0, 0, 0, 0.1);
59 --newtab-overlay-color: color-mix
(in srgb
, var
(--newtab-background-color
) 85%, transparent
);
60 --newtab-textbox-focus-color: var
(--newtab-primary-action-background
);
61 --newtab-textbox-focus-boxshadow: 0 0 0 1px var
(--newtab-primary-action-background
), 0 0 0 4px rgba
(var
(--newtab-primary-action-background
), 0.3);
62 --newtab-button-secondary-color: inherit
;
64 :root
[lwt-newtab-brighttext
] {
65 --newtab-background-color: #2B2A33;
66 --newtab-background-color-secondary: #42414d;
67 --newtab-text-primary-color: #fbfbfe;
68 --newtab-primary-action-background: #00ddff;
69 --newtab-primary-action-background-pocket: #00ddff;
70 --newtab-primary-action-background-pocket-dimmed: color-mix
(in srgb
, var
(--newtab-primary-action-background
) 25%, transparent
);
71 --newtab-primary-element-hover-color: color-mix
(in srgb
, var
(--newtab-primary-action-background
) 55%, #FFF);
72 --newtab-primary-element-hover-pocket-color: color-mix
(in srgb
, var
(--newtab-primary-action-background-pocket
) 55%, #FFF);
73 --newtab-element-hover-color: color-mix
(in srgb
, var
(--newtab-background-color
) 80%, #FFF);
74 --newtab-element-active-color: color-mix
(in srgb
, var
(--newtab-background-color
) 60%, #FFF);
75 --newtab-element-secondary-color: color-mix
(in srgb
, currentColor
10%, transparent
);
76 --newtab-element-secondary-hover-color: color-mix
(in srgb
, currentColor
17%, transparent
);
77 --newtab-element-secondary-active-color: color-mix
(in srgb
, currentColor
30%, transparent
);
78 --newtab-border-color: color-mix
(in srgb
, var
(--newtab-background-color
) 75%, #FFF);
79 --newtab-primary-element-text-color: #2b2a33;
80 --newtab-wordmark-color: #fbfbfe;
81 --newtab-status-success: #7C6;
84 @media (prefers-contrast
) {
86 --newtab-text-secondary-color: var
(--newtab-text-primary-color
);
90 background-position: center center
;
91 background-repeat: no-repeat
;
92 background-size: 16px;
93 -moz-context-properties: fill
;
94 display: inline-block
;
95 color: var
(--newtab-text-primary-color
);
98 vertical-align: middle
;
102 margin-inline-end: 8px;
104 .icon.icon-small-spacer {
105 margin-inline-end: 6px;
107 .icon.icon-button-style {
108 fill: var
(--newtab-text-secondary-color
);
111 .icon.icon-button-style:focus, .icon.icon-button-style:hover {
112 fill: var
(--newtab-text-primary-color
);
114 .icon.icon-bookmark-added {
115 background-image: url
("chrome://browser/skin/bookmark.svg");
117 .icon.icon-bookmark-hollow {
118 background-image: url
("chrome://browser/skin/bookmark-hollow.svg");
120 .icon.icon-clear-input {
121 background-image: url
("chrome://global/skin/icons/close-fill.svg");
124 background-image: url
("chrome://global/skin/icons/delete.svg");
127 background-image: url
("chrome://global/skin/icons/search-glass.svg");
129 .icon.icon-modal-delete {
131 background-image: url
("chrome://activity-stream/content/data/content/assets/glyph-modal-delete-20.svg");
132 background-size: 32px;
137 background-image: url
("chrome://activity-stream/content/data/content/assets/glyph-mail-16.svg");
140 background-image: url
("chrome://global/skin/icons/close.svg");
143 background-image: url
("chrome://global/skin/icons/info.svg");
146 background-image: url
("chrome://global/skin/icons/help.svg");
148 .icon.icon-new-window {
149 background-image: url
("chrome://activity-stream/content/data/content/assets/glyph-newWindow-16.svg");
151 .icon.icon-new-window:dir(rtl) {
152 transform: scaleX
(-1);
154 .icon.icon-new-window-private {
155 background-image: url
("chrome://browser/skin/privateBrowsing.svg");
157 .icon.icon-settings {
158 background-image: url
("chrome://global/skin/icons/settings.svg");
161 background-image: url
("chrome://activity-stream/content/data/content/assets/glyph-pin-16.svg");
163 .icon.icon-pin:dir(rtl) {
164 transform: scaleX
(-1);
167 background-image: url
("chrome://activity-stream/content/data/content/assets/glyph-unpin-16.svg");
169 .icon.icon-unpin:dir(rtl) {
170 transform: scaleX
(-1);
173 background-image: url
("chrome://global/skin/icons/edit.svg");
176 background-image: url
("chrome://global/skin/icons/pocket.svg");
178 .icon.icon-pocket-save {
179 background-image: url
("chrome://global/skin/icons/pocket.svg");
182 .icon.icon-pocket-delete {
183 background-image: url
("chrome://activity-stream/content/data/content/assets/glyph-pocket-delete-16.svg");
185 .icon.icon-pocket-archive {
186 background-image: url
("chrome://activity-stream/content/data/content/assets/glyph-pocket-archive-16.svg");
188 .icon.icon-history-item {
189 background-image: url
("chrome://browser/skin/history.svg");
191 .icon.icon-trending {
192 background-image: url
("chrome://browser/skin/trending.svg");
193 transform: translateY
(2px);
196 background-image: url
("chrome://browser/skin/history.svg");
198 .icon.icon-topsites {
199 background-image: url
("chrome://browser/skin/topsites.svg");
201 .icon.icon-pin-small {
202 background-image: url
("chrome://browser/skin/pin-12.svg");
203 background-size: 12px;
207 .icon.icon-pin-small:dir(rtl) {
208 transform: scaleX
(-1);
211 background-image: url
("chrome://global/skin/icons/check.svg");
213 .icon.icon-download {
214 background-image: url
("chrome://browser/skin/downloads/downloads.svg");
217 background-image: url
("chrome://global/skin/icons/edit-copy.svg");
219 .icon.icon-open-file {
220 background-image: url
("chrome://activity-stream/content/data/content/assets/glyph-open-file-16.svg");
222 .icon.icon-webextension {
223 background-image: url
("chrome://activity-stream/content/data/content/assets/glyph-webextension-16.svg");
225 .icon.icon-highlights {
226 background-image: url
("chrome://global/skin/icons/highlights.svg");
228 .icon.icon-arrowhead-down {
229 background-image: url
("chrome://global/skin/icons/arrow-down.svg");
231 .icon.icon-arrowhead-down-small {
232 background-image: url
("chrome://global/skin/icons/arrow-down-12.svg");
233 background-size: 12px;
237 .icon.icon-arrowhead-forward-small {
238 background-image: url
("chrome://global/skin/icons/arrow-right-12.svg");
239 background-size: 12px;
243 .icon.icon-arrowhead-forward-small:dir(rtl) {
244 background-image: url
("chrome://global/skin/icons/arrow-left-12.svg");
246 .icon.icon-arrowhead-up {
247 background-image: url
("chrome://global/skin/icons/arrow-up.svg");
250 background-image: url
("chrome://global/skin/icons/plus.svg");
252 .icon.icon-minimize {
253 background-image: url
("chrome://activity-stream/content/data/content/assets/glyph-minimize-16.svg");
255 .icon.icon-maximize {
256 background-image: url
("chrome://activity-stream/content/data/content/assets/glyph-maximize-16.svg");
259 background-image: url
("chrome://global/skin/icons/arrow-right-12.svg");
276 background-color: var
(--newtab-background-color
);
277 font-family: -apple-system
, BlinkMacSystemFont
, "Segoe UI", Ubuntu
, "Helvetica Neue", sans-serif
;
279 background-image: var
(--newtab-wallpaper
, "");
280 background-repeat: no-repeat
;
281 background-size: cover
;
282 background-position: center
;
283 background-attachment: fixed
;
296 border: 1px solid var
(--newtab-border-color
);
300 pointer-events: none
;
317 transition: opacity
0.2s ease-in
;
320 animation: fadeIn
0.2s;
325 border-top: 1px solid var
(--newtab-border-color
);
329 justify-content: flex-start
;
331 padding: 15px 25px 0;
336 background-color: var
(--newtab-button-secondary-color
);
337 border: 1px solid var
(--newtab-border-color
);
345 .button:hover:not
(.dismiss
), .button:focus:not
(.dismiss
),
346 .actions
button:hover:not
(.dismiss
),
347 .actions button:focus:not(.dismiss) {
348 box-shadow: 0 0 0 5px var
(--newtab-element-secondary-color
);
349 transition: box-shadow
150ms;
352 .actions button.dismiss {
353 background-color: transparent
;
356 text-decoration: underline
;
358 .button
.primary
, .button
.done
,
359 .actions button
.primary
,
360 .actions button.done {
361 background-color: var
(--newtab-primary-action-background
);
362 border: solid
1px var
(--newtab-primary-action-background
);
363 color: var
(--newtab-primary-element-text-color
);
364 margin-inline-start: auto
;
367 input
[type
=text
], input
[type
=search
] {
372 -webkit-box-orient: vertical
;
373 display: -webkit-box
;
375 word-break: break-word
;
383 color: var
(--newtab-primary-action-background
);
385 .a11y-link-button:hover, .a11y-link-button:focus {
386 text-decoration: underline
;
390 color: var
(--newtab-text-primary-color
);
394 padding: 30px 32px 32px;
396 .outer-wrapper.ds-outer-wrapper-breakpoint-override {
397 padding: 30px 0 32px;
399 @media (min-width: 610px) {
400 .outer-wrapper.ds-outer-wrapper-breakpoint-override {
401 padding: 30px 32px 32px;
404 .outer-wrapper.only-search {
409 color: var
(--newtab-primary-action-background
);
415 flex-direction: column
;
416 justify-content: center
;
420 main
.vertical-center-wrapper
{
430 @media (min-width: 610px) {
435 @media (min-width: 866px) {
440 @media (min-width: 1122px) {
446 .ds-outer-wrapper-search-alignment main {
450 .ds-outer-wrapper-breakpoint-override main {
454 @media (min-width: 610px) {
455 .ds-outer-wrapper-breakpoint-override main {
459 @media (min-width: 866px) {
460 .ds-outer-wrapper-breakpoint-override main {
464 @media (min-width: 1122px) {
465 .ds-outer-wrapper-breakpoint-override main {
470 .base-content-fallback {
474 .body-wrapper .section-title, .body-wrapper .sections-list .section:last-of-type, .body-wrapper .topics {
477 .body-wrapper.on .section-title, .body-wrapper.on .sections-list .section:last-of-type, .body-wrapper.on .topics {
481 .non-collapsible-section {
485 .prefs-button button {
486 background-color: transparent
;
490 inset-inline-end: 15px;
496 .prefs-button button:hover, .prefs-button button:focus {
497 background-color: var
(--newtab-element-hover-color
);
499 .prefs-button button:active {
500 background-color: var
(--newtab-element-active-color
);
503 .wallpaper-attribution {
507 .wallpaper-attribution.theme-light {
508 display: inline-block
;
510 [lwt-newtab-brighttext
] .wallpaper-attribution
.theme-light
{
513 .wallpaper-attribution.theme-dark {
516 [lwt-newtab-brighttext
] .wallpaper-attribution
.theme-dark
{
517 display: inline-block
;
519 .wallpaper-attribution a {
520 color: var
(--newtab-element-color
);
522 .wallpaper-attribution a:hover {
523 text-decoration: none
;
529 box-shadow: inset
0 0 0 1px var
(--newtab-inner-box-shadow-color
);
530 color: var
(--newtab-text-secondary-color
);
532 flex-direction: column
;
534 justify-content: center
;
535 justify-items: center
;
538 .as-error-fallback.borderless-error {
541 .as-error-fallback a {
542 color: var
(--newtab-text-secondary-color
);
543 text-decoration: underline
;
546 /* stylelint-disable max-nesting-depth */
553 text-decoration: none
;
555 .top-sites-list:not(.dnd-active) .top-site-outer:is(.active, :focus, :hover) {
556 background: var
(--newtab-element-hover-color
);
558 @media (max-width: 610px) {
559 .top-sites-list > :nth-child(2n+1) .context-menu {
560 margin-inline-end: auto
;
561 margin-inline-start: auto
;
562 inset-inline-end: auto
;
563 inset-inline-start: -32px;
565 .top-sites-list > :nth-child(2n) .context-menu {
566 margin-inline-end: 5px;
567 margin-inline-start: auto
;
569 inset-inline-start: auto
;
572 @media (min-width: 610px) and
(max-width: 866px) {
573 .top-sites-list :nth-child(4n) .context-menu {
574 margin-inline-end: 5px;
575 margin-inline-start: auto
;
577 inset-inline-start: auto
;
580 @media (min-width: 610px) and
(max-width: 802px) {
581 .top-sites-list :nth-child(4n+3) .context-menu {
582 margin-inline-end: 5px;
583 margin-inline-start: auto
;
585 inset-inline-start: auto
;
588 @media (min-width: 866px) and
(max-width: 1250px) {
589 .top-sites-list :nth-child(6n) .context-menu {
590 margin-inline-end: 5px;
591 margin-inline-start: auto
;
593 inset-inline-start: auto
;
596 @media (min-width: 866px) and
(max-width: 1058px) {
597 .top-sites-list :nth-child(6n+5) .context-menu {
598 margin-inline-end: 5px;
599 margin-inline-start: auto
;
601 inset-inline-start: auto
;
604 @media (min-width: 1122px) and
(max-width: 1506px) {
605 .top-sites-list :nth-child(8n) .context-menu {
606 margin-inline-end: 5px;
607 margin-inline-start: auto
;
609 inset-inline-start: auto
;
612 @media (min-width: 1122px) and
(max-width: 1314px) {
613 .top-sites-list :nth-child(8n+7) .context-menu {
614 margin-inline-end: 5px;
615 margin-inline-start: auto
;
617 inset-inline-start: auto
;
620 .top-sites-list .hide-for-narrow {
623 @media (min-width: 610px) {
624 .top-sites-list .hide-for-narrow {
625 display: inline-block
;
628 @media (min-width: 866px) {
629 .top-sites-list .hide-for-narrow {
633 @media (min-width: 1122px) {
634 .top-sites-list .hide-for-narrow {
635 display: inline-block
;
642 display: inline-block
;
643 margin-block-end: 16px;
645 .top-site-outer .top-site-inner {
648 .top-site-outer .top-site-inner > a {
649 padding: 20px 16px 4px;
654 .top-site-outer:is(:hover) .context-menu-button {
657 .top-site-outer .context-menu-button {
658 background-image: url
("chrome://global/skin/icons/more.svg");
662 fill: var
(--newtab-text-primary-color
);
663 -moz-context-properties: fill
;
666 inset-inline-end: 3px;
670 transition: opacity
200ms;
672 .top-site-outer .context-menu-button:is(:active, :focus) {
675 background-color: var
(--newtab-element-hover-color
);
676 fill: var
(--newtab-primary-action-background
);
678 .top-site-outer .tile {
680 box-shadow: 0 2px 6px rgba
(0, 0, 0, 0.15);
681 background-color: var
(--newtab-background-color-secondary
);
682 justify-content: center
;
689 color: var
(--newtab-text-secondary-color
);
693 text-transform: uppercase
;
695 .top-site-outer .tile .icon-wrapper {
703 justify-content: center
;
705 .top-site-outer .tile .icon-wrapper.letter-fallback::before {
706 content: attr
(data-fallback
);
707 text-transform: uppercase
;
710 justify-content: center
;
713 transform: rotate
(-10deg);
718 .top-site-outer .top-site-icon {
719 background-color: var
(--newtab-background-color-secondary
);
720 background-position: center center
;
721 background-repeat: no-repeat
;
725 .top-site-outer .rich-icon {
726 background-size: cover
;
728 inset-inline-start: 0;
732 .top-site-outer
.default-icon
,
733 .top-site-outer .search-topsite {
734 background-size: 32px;
740 justify-content: center
;
742 .top-site-outer
.default-icon
[data-fallback
]::before
,
743 .top-site-outer .search-topsite[data-fallback]::before {
744 content: attr
(data-fallback
);
746 .top-site-outer .search-topsite {
747 background-image: url
("chrome://global/skin/icons/search-glass.svg");
748 background-size: 16px;
749 background-color: var
(--newtab-primary-action-background
);
751 -moz-context-properties: fill
;
752 fill: var
(--newtab-primary-element-text-color
);
753 box-shadow: 0 2px 6px rgba
(0, 0, 0, 0.15);
754 transition-duration: 150ms;
755 transition-property: background-size
, bottom
, inset-inline-end
, height
, width
;
759 inset-inline-end: -6px;
761 .top-site-outer.placeholder .tile {
762 box-shadow: 0 2px 6px rgba
(0, 0, 0, 0.15);
765 .top-site-outer.placeholder.add-button .tile {
766 background-color: var
(--button-background-color
);
768 .top-site-outer.placeholder.add-button .tile .icon-wrapper {
769 background-image: url
("chrome://global/skin/icons/plus-20.svg");
770 background-size: cover
;
771 background-repeat: no-repeat
;
774 fill: var
(--icon-color
);
775 -moz-context-properties: fill
;
777 .top-site-outer .title {
778 color: var
(--newtab-text-primary-color
);
784 .top-site-outer .title .icon {
785 margin-inline-end: 2px;
786 fill: var
(--newtab-text-primary-color
);
788 .top-site-outer .title span {
791 text-overflow: ellipsis
;
794 .top-site-outer .title .sponsored-label {
795 color: var
(--newtab-text-secondary-color
);
798 .top-site-outer .title:not(.sponsored) .sponsored-label {
801 .top-site-outer.search-shortcut .rich-icon {
802 background-color: #FFF;
804 .top-site-outer .edit-button {
805 background-image: url
("chrome://global/skin/icons/edit.svg");
807 .top-site-outer.dragged .tile *, .top-site-outer.dragged .tile::before {
810 .top-site-outer.dragged .title {
814 .edit-topsites-wrapper .top-site-inner > .top-site-button > .tile {
815 border: 1px solid var
(--newtab-border-color
);
817 .edit-topsites-wrapper .modal {
818 box-shadow: 0 1px 4px 0 rgba
(12, 12, 13, 0.2);
821 max-height: calc
(100% - 40px);
827 @media (min-width: 610px) {
828 .edit-topsites-wrapper .modal {
832 @media (min-width: 866px) {
833 .edit-topsites-wrapper .modal {
838 .topsite-form .section-title {
842 .topsite-form .form-input-container {
847 .topsite-form .form-input-container .top-site-outer {
848 pointer-events: none
;
850 .topsite-form .search-shortcuts-container {
855 .topsite-form .search-shortcuts-container > div {
856 margin-inline-end: -39px;
858 .topsite-form .search-shortcuts-container .top-site-outer {
859 margin-inline-start: 0;
860 margin-inline-end: 39px;
862 .topsite-form .top-site-outer {
865 margin-inline-start: 32px;
867 .topsite-form .fields-and-preview {
870 .topsite-form label {
873 .topsite-form .form-wrapper {
876 .topsite-form .form-wrapper .field {
879 .topsite-form .form-wrapper .field .icon-clear-input {
881 transform: translateY
(-50%);
883 inset-inline-end: 8px;
885 .topsite-form .form-wrapper .url input:dir(ltr) {
888 .topsite-form .form-wrapper .url input:dir(rtl) {
891 .topsite-form .form-wrapper .url input:dir(rtl):not(:placeholder-shown) {
895 .topsite-form .form-wrapper .enable-custom-image-input {
896 display: inline-block
;
901 .topsite-form .form-wrapper .custom-image-input-container {
904 .topsite-form .form-wrapper .custom-image-input-container .loading-container {
909 transform: translateY
(-50%);
911 inset-inline-end: 8px;
913 .topsite-form .form-wrapper .custom-image-input-container .loading-animation {
916 -moz-context-properties: fill
;
917 fill: var
(--newtab-primary-action-background
);
918 background-image: url
("chrome://browser/skin/tabbrowser/loading.svg");
919 animation: tab-throbber-animation
1.05s steps
(60) infinite
;
921 @keyframes tab-throbber-animation
{
923 transform: translateX
(-960px);
926 @keyframes tab-throbber-animation-rtl
{
928 transform: translateX
(960px);
931 .topsite-form .form-wrapper .custom-image-input-container .loading-animation:dir(rtl) {
932 animation-name: tab-throbber-animation-rtl
;
934 .topsite-form .form-wrapper input[type=text] {
935 background-color: var
(--newtab-background-color-secondary
);
936 border: 1px solid var
(--newtab-border-color
);
943 .topsite-form .form-wrapper input[type=text][disabled] {
944 border: 1px solid var
(--newtab-border-color
);
948 .topsite-form .form-wrapper .invalid input[type=text] {
949 border: 1px solid var
(--newtab-status-error
);
950 box-shadow: 0 0 0 1px var
(--newtab-status-error
), 0 0 0 4px rgba
(var
(--newtab-status-error
), 0.3);
952 .topsite-form .form-wrapper .error-tooltip {
953 animation: fade-up-tt
450ms;
954 background: var
(--newtab-status-error
);
957 inset-inline-start: 3px;
963 .topsite-form .form-wrapper .error-tooltip::before {
964 background: var
(--newtab-status-error
);
968 inset-inline-start: 12px;
972 transform: rotate
(45deg);
977 .topsite-form .actions {
978 justify-content: flex-end
;
980 .topsite-form .actions button {
981 margin-inline-start: 10px;
982 margin-inline-end: 0;
984 @media (max-width: 610px) {
985 .topsite-form .fields-and-preview {
986 flex-direction: column
;
988 .topsite-form .fields-and-preview .top-site-outer {
989 margin-inline-start: 0;
992 .topsite-form .title {
995 .topsite-form
[type
=checkbox
]:not
(:checked
),
996 .topsite-form [type=checkbox]:checked {
997 inset-inline-start: -9999px;
1000 .topsite-form
[type
=checkbox
]:not
(:checked
) + label
,
1001 .topsite-form [type=checkbox]:checked + label {
1006 .topsite-form
[type
=checkbox
]:not
(:checked
) + label::before
,
1007 .topsite-form [type=checkbox]:checked + label::before {
1008 background: var
(--newtab-background-color
);
1009 border: 1px solid var
(--newtab-border-color
);
1019 [dir
=rtl
] .topsite-form
[type
=checkbox
]:not
(:checked
) + label::before
,
1020 [dir
=rtl
] .topsite-form
[type
=checkbox
]:checked
+ label::before
{
1024 .topsite-form
[type
=checkbox
]:not
(:checked
) + label::after
,
1025 .topsite-form [type=checkbox]:checked + label::after {
1026 background: url
("chrome://global/skin/icons/check.svg") no-repeat center center
;
1033 -moz-context-properties: fill
;
1034 fill: var
(--newtab-primary-action-background
);
1037 [dir
=rtl
] .topsite-form
[type
=checkbox
]:not
(:checked
) + label::after
,
1038 [dir
=rtl
] .topsite-form
[type
=checkbox
]:checked
+ label::after
{
1042 .topsite-form [type=checkbox]:checked + label .tile {
1043 box-shadow: 0 0 0 2px var
(--newtab-primary-action-background-dimmed
);
1045 .topsite-form [type=checkbox]:not(:checked) + label::after {
1048 .topsite-form [type=checkbox]:checked + label::after {
1051 .topsite-form
[type
=checkbox
]:checked:focus
+ label::before
,
1052 .topsite-form [type=checkbox]:not(:checked):focus + label::before {
1053 border: 1px dotted var
(--newtab-primary-action-background
);
1056 @keyframes fade-up-tt
{
1059 transform: translateY
(15px);
1063 transform: translateY
(0);
1066 .topsite-impression-observer {
1071 pointer-events: none
;
1074 .sections-list .section-list {
1077 grid-template-columns: repeat
(auto-fit
, 192px);
1080 @media (max-width: 610px) {
1081 .sections-list .section-list .context-menu {
1082 margin-inline-end: 5px;
1083 margin-inline-start: auto
;
1084 inset-inline-end: 0;
1085 inset-inline-start: auto
;
1088 @media (min-width: 610px) and
(max-width: 866px) {
1089 .sections-list .section-list :nth-child(2n) .context-menu {
1090 margin-inline-end: 5px;
1091 margin-inline-start: auto
;
1092 inset-inline-end: 0;
1093 inset-inline-start: auto
;
1096 @media (min-width: 866px) and
(max-width: 1250px) {
1097 .sections-list .section-list :nth-child(3n) .context-menu {
1098 margin-inline-end: 5px;
1099 margin-inline-start: auto
;
1100 inset-inline-end: 0;
1101 inset-inline-start: auto
;
1104 @media (min-width: 1122px) and
(max-width: 1506px) {
1105 .sections-list
.section-list :nth-child
(3n) .context-menu
,
1106 .sections-list .section-list :nth-child(4n) .context-menu {
1107 margin-inline-end: 5px;
1108 margin-inline-start: auto
;
1109 inset-inline-end: 0;
1110 inset-inline-start: auto
;
1113 .sections-list .section-empty-state {
1114 border: 1px solid var
(--newtab-border-color
);
1120 .sections-list .section-empty-state .empty-state {
1124 .sections-list .section-empty-state .empty-state .empty-state-message {
1125 color: var
(--newtab-text-primary-color
);
1130 @media (min-width: 1122px) {
1131 .sections-list .section-empty-state {
1136 .top-stories-bottom-container {
1137 color: var
(--newtab-text-primary-color
);
1142 justify-content: space-between
;
1144 .top-stories-bottom-container a {
1145 color: var
(--newtab-primary-action-background
);
1148 .top-stories-bottom-container a.more-recommendations {
1149 font-weight: normal
;
1152 @media (max-width: 865px) {
1153 .top-stories-bottom-container
.wrapper-topics
,
1154 .top-stories-bottom-container .wrapper-cta + .wrapper-more-recommendations {
1158 @media (max-width: 609px) {
1159 .top-stories-bottom-container .wrapper-cta {
1162 .top-stories-bottom-container .wrapper-cta .pocket-logged-in-cta {
1164 margin-inline-end: 0;
1166 .top-stories-bottom-container .wrapper-cta .pocket-logged-in-cta .pocket-cta-button {
1169 margin-inline-end: 0;
1172 .top-stories-bottom-container .wrapper-more-recommendations {
1175 .top-stories-bottom-container .wrapper-more-recommendations .more-recommendations {
1176 justify-content: center
;
1178 .top-stories-bottom-container .wrapper-more-recommendations .more-recommendations::after {
1183 @media (min-width: 1122px) {
1184 .sections-list .normal-cards .section-list {
1185 grid-template-columns: repeat
(auto-fit
, 309px);
1192 @media (min-width: 866px) {
1195 padding-inline-start: 12px;
1199 display: inline-block
;
1201 .topics ul li::after {
1205 .topics ul li:last-child::after {
1210 padding: 34px 0 38px;
1212 .only-search .search-wrapper {
1215 .search-wrapper .logo-and-wordmark {
1216 align-items: center
;
1218 justify-content: center
;
1219 margin-bottom: 48px;
1221 .search-wrapper .logo-and-wordmark .logo {
1222 display: inline-block
;
1225 background: image-set
(url
("chrome://branding/content/about-logo.png"), url
("chrome://branding/content/about-logo@2x.png") 2x) no-repeat center
;
1226 background-size: 82px;
1228 .search-wrapper .logo-and-wordmark .wordmark {
1229 background: url
("chrome://branding/content/firefox-wordmark.svg") no-repeat center center
;
1230 background-size: 134px;
1231 -moz-context-properties: fill
;
1232 display: inline-block
;
1233 fill: var
(--newtab-wordmark-color
);
1235 margin-inline-start: 16px;
1238 @media (max-width: 609px) {
1239 .search-wrapper .logo-and-wordmark .logo {
1240 background-size: 64px;
1244 .search-wrapper .logo-and-wordmark .wordmark {
1245 background-size: 100px;
1248 margin-inline-start: 12px;
1251 .search-wrapper .search-inner-wrapper {
1259 @media (min-width: 610px) {
1260 .search-wrapper .search-inner-wrapper {
1264 @media (min-width: 866px) {
1265 .search-wrapper .search-inner-wrapper {
1269 @media (min-width: 1122px) {
1270 .search-wrapper .search-inner-wrapper {
1274 .search-wrapper
.search-handoff-button
,
1275 .search-wrapper input {
1276 background: var
(--newtab-background-color-secondary
) var
(--newtab-search-icon
) 16px center no-repeat
;
1277 background-size: 24px;
1278 padding-inline-start: 52px;
1279 padding-inline-end: 10px;
1282 box-shadow: 0 2px 6px rgba
(0, 0, 0, 0.15);
1283 border: 1px solid transparent
;
1285 color: var
(--newtab-text-primary-color
);
1286 -moz-context-properties: fill
;
1287 fill: var
(--newtab-text-secondary-color
);
1289 .search-wrapper
.search-handoff-button:dir
(rtl
),
1290 .search-wrapper input:dir(rtl) {
1291 background-position-x: right
16px;
1293 .search-wrapper
.search-inner-wrapper:active input
,
1294 .search-wrapper input:focus {
1295 border: 1px solid var
(--newtab-primary-action-background
);
1297 box-shadow: 0 0 0 2px var
(--newtab-primary-action-background-dimmed
);
1299 .search-wrapper .search-button {
1300 background: url
("chrome://browser/skin/forward.svg") no-repeat center center
;
1301 background-size: 16px 16px;
1303 border-radius: 0 3px 3px 0;
1304 -moz-context-properties: fill
;
1305 fill: var
(--newtab-text-secondary-color
);
1307 inset-inline-end: 0;
1311 .search-wrapper .search-button:focus, .search-wrapper .search-button:hover {
1312 background-color: var
(--newtab-element-hover-color
);
1315 .search-wrapper .search-button:focus {
1317 box-shadow: 0 0 0 2px var
(--newtab-primary-action-background-dimmed
);
1318 border: 1px solid var
(--newtab-primary-action-background
);
1319 border-radius: 0 8px 8px 0;
1321 .search-wrapper .search-button:active {
1322 background-color: var
(--newtab-element-hover-color
);
1324 .search-wrapper .search-button:dir(rtl) {
1325 transform: scaleX
(-1);
1327 .search-wrapper.fake-focus:not(.search.disabled) .search-handoff-button {
1328 border: 1px solid var
(--newtab-primary-action-background
);
1329 box-shadow: 0 0 0 2px var
(--newtab-primary-action-background-dimmed
);
1331 .search-wrapper .search-handoff-button {
1332 padding-inline-end: 15px;
1333 color: var
(--newtab-text-primary-color
);
1334 fill: var
(--newtab-text-secondary-color
);
1335 -moz-context-properties: fill
;
1337 .search-wrapper .search-handoff-button .fake-caret {
1339 inset-inline-start: 52px;
1341 .search-wrapper .search-handoff-button .fake-caret:dir(rtl) {
1342 background-position-x: right
16px;
1344 .search-wrapper.visible-logo .logo-and-wordmark .wordmark {
1345 fill: var
(--newtab-wordmark-color
);
1348 @media (height
<= 700px) {
1353 .search-handoff-button {
1354 background: var
(--newtab-background-color-secondary
) var
(--newtab-search-icon
) 16px center no-repeat
;
1355 background-size: 24px;
1356 border: solid
1px transparent
;
1358 box-shadow: 0 1px 4px 0 rgba
(12, 12, 13, 0.2), 0 0 0 1px rgba
(0, 0, 0, 0.15);
1362 padding-inline-end: 48px;
1363 padding-inline-start: 46px;
1367 .search-handoff-button:dir(rtl) {
1368 background-position-x: right
16px;
1370 .fake-focus:not(.search-disabled) .search-handoff-button {
1371 border: 1px solid var
(--newtab-textbox-focus-color
);
1372 box-shadow: var
(--newtab-textbox-focus-boxshadow
);
1374 .fake-focus:not(.search-disabled) .search-handoff-button .fake-caret {
1377 .search-disabled .search-handoff-button {
1381 .search-handoff-button .fake-editable:focus {
1383 caret-color: transparent
;
1385 .search-handoff-button .fake-editable {
1392 .search-handoff-button .fake-textbox {
1396 .search-handoff-button .fake-caret {
1397 animation: caret-animation
1.3s steps
(5, start
) infinite
;
1398 background: var
(--newtab-text-primary-color
);
1400 inset-inline-start: 47px;
1406 @keyframes caret-animation
{
1412 @media (height
> 700px) {
1413 body:not
(.inline-onboarding
) .fixed-search main
{
1416 body:not
(.inline-onboarding
) .fixed-search
.visible-logo main
{
1419 body:not
(.inline-onboarding
) .fixed-search
.search-wrapper
{
1420 border-bottom: solid
1px var
(--newtab-border-color
);
1422 background-color: var
(--newtab-overlay-color
);
1430 body:not
(.inline-onboarding
) .fixed-search
.search-wrapper
.search-inner-wrapper
{
1433 body:not
(.inline-onboarding
) .fixed-search
.search-wrapper input
{
1434 background-position-x: 16px;
1435 background-size: 24px;
1437 body:not
(.inline-onboarding
) .fixed-search
.search-wrapper
input:dir
(rtl
) {
1438 background-position-x: right
16px;
1440 body:not
(.inline-onboarding
) .fixed-search
.search-wrapper
.search-handoff-button
.fake-caret
{
1443 body:not
(.inline-onboarding
) .fixed-search
.search-wrapper
.logo-and-wordmark
{
1446 body:not
(.inline-onboarding
) .fixed-search
.search-handoff-button
{
1447 background-position-x: 16px;
1448 background-size: 24px;
1450 body:not
(.inline-onboarding
) .fixed-search
.search-handoff-button:dir
(rtl
) {
1451 background-position-x: right
16px;
1453 body:not
(.inline-onboarding
) .fixed-search
.search-handoff-button
.fake-caret
{
1457 .contentSearchSuggestionTable {
1459 box-shadow: 0 5px 10px rgba
(0, 0, 0, 0.3), 0 0 0 1px rgba
(0, 0, 0, 0.2);
1460 transform: translateY
(4px);
1461 background-color: var
(--newtab-background-color
);
1463 .contentSearchSuggestionTable .contentSearchHeader {
1464 color: var
(--newtab-text-secondary-color
);
1465 background-color: var
(--newtab-background-color-secondary
);
1467 .contentSearchSuggestionTable
.contentSearchHeader
,
1468 .contentSearchSuggestionTable .contentSearchSettingsButton {
1469 border-color: var
(--newtab-border-color
);
1471 .contentSearchSuggestionTable .contentSearchSuggestionsList {
1472 color: var
(--newtab-text-primary-color
);
1475 .contentSearchSuggestionTable .contentSearchOneOffsTable {
1476 border-top: solid
1px var
(--newtab-border-color
);
1477 background-color: var
(--newtab-background-color
);
1479 .contentSearchSuggestionTable .contentSearchSearchWithHeaderSearchText {
1480 color: var
(--newtab-text-primary-color
);
1482 .contentSearchSuggestionTable .contentSearchSuggestionRow.selected {
1483 background: var
(--newtab-element-hover-color
);
1484 color: var
(--newtab-text-primary-color
);
1486 .contentSearchSuggestionTable .contentSearchSuggestionRow.selected:active {
1487 background: var
(--newtab-element-active-color
);
1489 .contentSearchSuggestionTable .contentSearchSuggestionRow.selected .historyIcon {
1490 fill: var
(--newtab-text-secondary-color
);
1492 .contentSearchSuggestionTable .contentSearchOneOffItem {
1493 background-image: none
;
1494 border-image: linear-gradient
(transparent
18%, var
(--newtab-border-color
) 18%, var
(--newtab-border-color
) 82%, transparent
82%) 1;
1495 border-inline-end: 1px solid
;
1498 .contentSearchSuggestionTable .contentSearchOneOffItem.selected {
1499 background: var
(--newtab-element-hover-color
);
1501 .contentSearchSuggestionTable .contentSearchOneOffItem:active {
1502 background: var
(--newtab-element-active-color
);
1504 .contentSearchSuggestionTable .contentSearchSettingsButton:hover {
1505 background: var
(--newtab-element-hover-color
);
1506 color: var
(--newtab-text-primary-color
);
1509 .contentSearchHeaderRow
> td
> img
,
1510 .contentSearchSuggestionRow > td > .historyIcon {
1511 margin-inline-start: 7px;
1512 margin-inline-end: 15px;
1515 /* stylelint-disable max-nesting-depth */
1517 background: var
(--newtab-background-color-secondary
);
1519 box-shadow: 0 5px 10px rgba
(0, 0, 0, 0.3), 0 0 0 1px rgba
(0, 0, 0, 0.2);
1522 margin-inline-start: 5px;
1523 inset-inline-start: 100%;
1528 .context-menu > ul {
1533 .context-menu > ul > li {
1537 .context-menu > ul > li.separator {
1538 border-bottom: 1px solid var
(--newtab-border-color
);
1541 .context-menu
> ul
> li
> a
,
1542 .context-menu > ul > li > button {
1543 align-items: center
;
1552 white-space: nowrap
;
1554 .context-menu
> ul
> li
> a:is
(:focus
, :hover
),
1555 .context-menu > ul > li > button:is(:focus, :hover) {
1556 background: var
(--newtab-element-secondary-hover-color
);
1558 .context-menu
> ul
> li
> a:active
,
1559 .context-menu > ul > li > button:active {
1560 background: var
(--newtab-element-secondary-active-color
);
1562 .context-menu
> ul
> li
> a
.disabled
,
1563 .context-menu > ul > li > button.disabled {
1565 pointer-events: none
;
1568 .confirmation-dialog .modal {
1569 box-shadow: 0 1px 4px 0 rgba
(12, 12, 13, 0.2);
1577 .confirmation-dialog section {
1580 .confirmation-dialog .modal-message {
1585 .confirmation-dialog .modal-message p {
1587 margin-bottom: 16px;
1589 .confirmation-dialog .actions {
1595 .confirmation-dialog .actions button {
1596 margin-inline-end: 16px;
1597 padding-inline-end: 18px;
1598 padding-inline-start: 18px;
1599 white-space: normal
;
1602 .confirmation-dialog .actions button.done {
1603 margin-inline-end: 0;
1604 margin-inline-start: 0;
1606 .confirmation-dialog .icon {
1607 margin-inline-end: 16px;
1611 background: var
(--newtab-overlay-color
);
1621 background: var
(--newtab-background-color-secondary
);
1622 border: 1px solid var
(--newtab-border-color
);
1628 @media (height
< 700px) {
1629 .personalize-button {
1632 inset-inline-end: 16px;
1635 @media (height
>= 700px) {
1636 .personalize-button {
1639 inset-inline-end: 16px;
1643 .personalize-button {
1646 background-color: transparent
;
1649 .personalize-button:hover {
1650 background-color: var
(--newtab-element-hover-color
);
1652 .personalize-button:active {
1653 background-color: var
(--newtab-element-active-color
);
1655 .personalize-button:focus-visible {
1658 box-shadow: 0 0 0 3px var
(--newtab-primary-action-background-dimmed
), 0 0 0 1px var
(--newtab-primary-action-background
);
1660 .personalize-button.personalize-animate-exit-done {
1665 color: var
(--newtab-text-primary-color
);
1666 background-color: var
(--newtab-background-color-secondary
);
1671 inset-inline-end: 0;
1675 transform: translateX
(435px);
1679 @media (prefers-reduced-motion: no-preference
) {
1680 .customize-menu.customize-animate-enter, .customize-menu.customize-animate-exit, .customize-menu.customize-animate-enter-done, .customize-menu.customize-animate-exit-done {
1681 transition: transform
250ms cubic-bezier
(0.46, 0.03, 0.52, 0.96), visibility
250ms;
1684 @media (forced-colors: active
) {
1686 border-inline-start: solid
1px;
1689 .customize-menu:dir(rtl) {
1690 transform: translateX
(-435px);
1692 .customize-menu.customize-animate-enter-done, .customize-menu.customize-animate-enter-active {
1693 box-shadow: 0 2px 14px 0 rgba
(0, 0, 0, 0.2);
1694 visibility: visible
;
1695 transform: translateX
(0);
1697 .customize-menu.customize-animate-exit-active {
1698 box-shadow: 0 2px 14px 0 rgba
(0, 0, 0, 0.2);
1700 .customize-menu .close-button {
1701 margin-inline-start: auto
;
1702 margin-bottom: 28px;
1703 white-space: nowrap
;
1705 background-color: var
(--newtab-element-secondary-color
);
1707 border: 1px solid rgba
(0, 0, 0, 0.15);
1709 color: var
(--newtab-text-primary-color
);
1713 .customize-menu .close-button:hover {
1714 background-color: var
(--newtab-element-secondary-hover-color
);
1716 .customize-menu .close-button:hover:active {
1717 background-color: var
(--newtab-element-secondary-active-color
);
1726 grid-template-columns: 1fr;
1727 grid-template-rows: repeat
(4, auto
);
1731 .home-section .wallpapers-section h2 {
1734 .home-section .section moz-toggle {
1735 margin-bottom: 10px;
1737 .home-section .section .sponsored {
1739 margin-inline-start: 5px;
1741 .home-section .section .check-wrapper {
1744 .home-section .section .sponsored-checkbox {
1745 margin-inline-start: 2px;
1748 vertical-align: middle
;
1749 border: 1px solid rgba
(0, 0, 0, 0.15);
1750 box-sizing: border-box
;
1753 background-color: var
(--newtab-element-secondary-color
);
1755 .home-section .section .sponsored-checkbox:hover {
1756 background-color: var
(--newtab-element-secondary-hover-color
);
1758 .home-section .section .sponsored-checkbox:checked {
1759 -moz-context-properties: fill
;
1760 fill: var
(--newtab-primary-element-text-color
);
1761 background: url
("chrome://global/skin/icons/check.svg") center no-repeat
;
1762 background-color: var
(--newtab-primary-action-background
);
1764 .home-section .section .sponsored-checkbox:checked:hover {
1765 background-color: var
(--newtab-primary-element-hover-color
);
1767 .home-section .section .sponsored-checkbox:checked:active {
1768 background-color: var
(--newtab-primary-element-active-color
);
1770 @media (forced-colors: active
) {
1771 .home-section .section .sponsored-checkbox:checked {
1775 .home-section .section .sponsored-checkbox:active + .checkmark {
1776 fill: var
(--newtab-element-secondary-color
);
1778 .home-section .section .selector {
1779 color: var
(--newtab-text-primary-color
);
1782 border: 1px solid var
(--newtab-border-color
);
1786 padding-inline: 10px 13px;
1787 margin-inline-start: 2px;
1789 -moz-context-properties: fill
;
1790 fill: var
(--newtab-text-primary-color
);
1791 background: url
("chrome://global/skin/icons/arrow-down-12.svg") right no-repeat
;
1792 background-size: 8px;
1793 background-origin: content-box
;
1794 background-color: var
(--newtab-background-color-secondary
);
1796 .home-section .section .selector:hover {
1797 background-color: var
(--newtab-element-secondary-hover-color
);
1799 .home-section .section .selector:dir(rtl) {
1800 background-position-x: left
;
1802 .home-section
.section
.more-info-top-wrapper
,
1803 .home-section .section .more-info-pocket-wrapper {
1804 margin-inline-start: -2px;
1807 .home-section
.section
.more-info-top-wrapper
.more-information
,
1808 .home-section .section .more-info-pocket-wrapper .more-information {
1810 transition: margin-top
250ms cubic-bezier
(0.82, 0.085, 0.395, 0.895);
1812 .home-section .section .more-info-top-wrapper .check-wrapper {
1815 .home-section .sponsored-content-info {
1817 gap: var
(--space-small
);
1818 font-size: var
(--font-size-small
);
1819 border-radius: var
(--border-radius-medium
);
1820 background-color: var
(--newtab-element-secondary-color
);
1821 padding: var
(--space-small
) var
(--space-large
);
1823 .home-section .sponsored-content-info .icon-help {
1825 color: var
(--color-accent-primary
);
1828 .home-section .sponsored-content-info a {
1829 color: var
(--newtab-primary-action-background
);
1831 .home-section .divider {
1832 border-top: 1px var
(--newtab-border-color
) solid
;
1835 .home-section .external-link {
1838 border: 1px solid transparent
;
1840 -moz-context-properties: fill
;
1841 fill: var
(--newtab-text-primary-color
);
1842 background: url
("chrome://global/skin/icons/settings.svg") left no-repeat
;
1843 background-size: 16px;
1844 padding-inline-start: 21px;
1845 margin-bottom: 20px;
1846 text-decoration: underline
;
1848 @media (forced-colors: active
) {
1849 .home-section .external-link {
1851 padding-inline-start: 21px;
1854 .home-section .external-link:dir(rtl) {
1855 background-position-x: right
;
1857 .home-section .external-link:hover {
1858 text-decoration: none
;
1861 .home-section
.section
.sponsored-checkbox:focus-visible
,
1862 .selector:focus-visible
,
1863 .external-link:focus-visible
,
1864 .close-button:focus-visible {
1865 border: 1px solid var
(--newtab-primary-action-background
);
1867 box-shadow: 0 0 0 2px var
(--newtab-primary-action-background-dimmed
);
1873 grid-template-columns: 1fr 1fr 1fr;
1874 grid-auto-rows: 86px;
1879 .wallpaper-list
.wallpaper-input
.theme-light
,
1880 .wallpaper-list .sr-only.theme-light {
1881 display: inline-block
;
1883 [lwt-newtab-brighttext
] .wallpaper-list
.wallpaper-input
.theme-light
,
1884 [lwt-newtab-brighttext
] .wallpaper-list
.sr-only
.theme-light
{
1887 .wallpaper-list
.wallpaper-input
.theme-dark
,
1888 .wallpaper-list .sr-only.theme-dark {
1891 [lwt-newtab-brighttext
] .wallpaper-list
.wallpaper-input
.theme-dark
,
1892 [lwt-newtab-brighttext
] .wallpaper-list
.sr-only
.theme-dark
{
1893 display: inline-block
;
1895 .wallpaper-list .wallpaper-input {
1901 box-shadow: 0 1px 4px 0 rgba
(12, 12, 13, 0.2);
1903 background-clip: content-box
;
1904 background-repeat: no-repeat
;
1905 background-size: cover
;
1907 outline: 2px solid transparent
;
1909 .wallpaper-list .wallpaper-input.dark-aurora {
1910 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/dark-aurora.avif");
1912 .wallpaper-list .wallpaper-input.dark-city {
1913 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/dark-city.avif");
1915 .wallpaper-list .wallpaper-input.dark-color {
1916 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/dark-color.avif");
1918 .wallpaper-list .wallpaper-input.dark-mountain {
1919 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/dark-mountain.avif");
1921 .wallpaper-list .wallpaper-input.dark-panda {
1922 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/dark-panda.avif");
1924 .wallpaper-list .wallpaper-input.dark-sky {
1925 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/dark-sky.avif");
1927 .wallpaper-list .wallpaper-input.light-beach {
1928 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/light-beach.avif");
1930 .wallpaper-list .wallpaper-input.light-color {
1931 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/light-color.avif");
1933 .wallpaper-list .wallpaper-input.light-landscape {
1934 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/light-landscape.avif");
1936 .wallpaper-list .wallpaper-input.light-mountain {
1937 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/light-mountain.avif");
1939 .wallpaper-list .wallpaper-input.light-redpanda {
1940 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/light-redpanda.avif");
1942 .wallpaper-list .wallpaper-input.light-sky {
1943 background-image: url
("chrome://activity-stream/content/data/content/assets/wallpapers/light-sky.avif");
1945 .wallpaper-list .wallpaper-input:checked {
1946 outline-color: var
(--newtab-primary-action-background
);
1948 .wallpaper-list .wallpaper-input:hover {
1949 filter: brightness
(55%);
1950 outline-color: transparent
;
1952 .wallpaper-list .sr-only {
1961 text-decoration: underline
;
1962 margin-inline: auto
;
1964 font-size: var
(--font-size-small
);
1965 color: var
(--newtab-text-primary-color
);
1968 .wallpapers-reset:hover {
1969 text-decoration: none
;
1972 /* stylelint-disable max-nesting-depth */
1974 background: var
(--newtab-background-color-secondary
);
1976 display: inline-block
;
1978 margin-inline-end: 32px;
1982 .card-outer .context-menu-button {
1983 background-clip: padding-box
;
1984 background-color: var
(--newtab-background-color-secondary
);
1985 background-image: url
("chrome://global/skin/icons/more.svg");
1986 background-position: 55%;
1987 border: 1px solid var
(--newtab-border-color
);
1988 border-radius: 100%;
1989 box-shadow: 0 2px rgba
(12, 12, 13, 0.1);
1991 fill: var
(--newtab-text-primary-color
);
1993 inset-inline-end: -13.5px;
1997 transform: scale
(0.25);
1998 transition-duration: 150ms;
1999 transition-property: transform
, opacity
;
2002 .card-outer .context-menu-button:is(:active, :focus) {
2004 transform: scale
(1);
2006 .card-outer:is(:focus):not(.placeholder) {
2009 box-shadow: 0 0 0 3px var
(--newtab-primary-action-background-dimmed
), 0 0 0 1px var
(--newtab-primary-action-background
);
2016 .card-outer.placeholder {
2017 background: transparent
;
2019 .card-outer
.placeholder
.card-preview-image-outer
,
2020 .card-outer.placeholder .card-context {
2025 box-shadow: 0 2px 6px rgba
(0, 0, 0, 0.15);
2036 .card-outer > a:is(:focus) .card {
2039 box-shadow: 0 0 0 3px var
(--newtab-primary-action-background-dimmed
), 0 0 0 1px var
(--newtab-primary-action-background
);
2041 .card-outer > a:is(.active, :focus) .card {
2042 box-shadow: 0 0 0 5px var
(--newtab-element-secondary-color
);
2043 transition: box-shadow
150ms;
2045 .card-outer > a:is(.active, :focus) .card-title {
2046 color: var
(--newtab-primary-action-background
);
2048 .card-outer:is(:hover, :focus, .active):not(.placeholder) {
2051 .card-outer:is(:hover, :focus, .active):not(.placeholder) .context-menu-button {
2053 transform: scale
(1);
2054 transition-delay: 333ms;
2056 .card-outer:is(:hover, :focus, .active):not(.placeholder) .card-title {
2057 color: var
(--newtab-primary-action-background
);
2059 .card-outer:is(:hover, :focus, .active):not(.placeholder) .alternate ~ .card-host-name {
2062 .card-outer:is(:hover, :focus, .active):not(.placeholder) .card-host-name.alternate {
2065 .card-outer .card-preview-image-outer {
2066 background-color: var
(--newtab-element-secondary-color
);
2067 border-radius: 8px 8px 0 0;
2072 .card-outer .card-preview-image-outer::after {
2073 border-bottom: 1px solid var
(--newtab-card-hairline-color
);
2079 .card-outer .card-preview-image-outer .card-preview-image {
2080 background-position: center
;
2081 background-repeat: no-repeat
;
2082 background-size: cover
;
2085 transition: opacity
1s cubic-bezier
(0.07, 0.95, 0, 1);
2088 .card-outer .card-preview-image-outer .card-preview-image.loaded {
2091 .card-outer .card-details {
2092 padding: 15px 16px 12px;
2094 .card-outer .card-text {
2098 .card-outer .card-text.no-host-name, .card-outer .card-text.no-context {
2101 .card-outer .card-text.no-host-name.no-context {
2104 .card-outer .card-text:not(.no-description) .card-title {
2108 .card-outer .card-host-name {
2109 color: var
(--newtab-text-secondary-color
);
2112 padding-bottom: 4px;
2113 text-overflow: ellipsis
;
2114 text-transform: uppercase
;
2115 white-space: nowrap
;
2117 .card-outer .card-host-name.alternate {
2120 .card-outer .card-title {
2125 word-wrap: break-word
;
2127 .card-outer .card-description {
2132 word-wrap: break-word
;
2134 .card-outer .card-context {
2136 color: var
(--newtab-text-secondary-color
);
2139 inset-inline-start: 0;
2140 padding: 9px 16px 9px 14px;
2143 .card-outer .card-context-icon {
2144 fill: var
(--newtab-text-secondary-color
);
2146 margin-inline-end: 6px;
2148 .card-outer .card-context-label {
2152 text-overflow: ellipsis
;
2153 white-space: nowrap
;
2156 @media (min-width: 1122px) {
2157 .normal-cards .card-outer {
2160 .normal-cards .card-outer .card-preview-image-outer {
2163 .normal-cards .card-outer .card-details {
2164 padding: 13px 16px 12px;
2166 .normal-cards .card-outer .card-text {
2169 .normal-cards .card-outer .card-host-name {
2171 padding-bottom: 5px;
2173 .normal-cards .card-outer .card-title {
2178 .normal-cards .card-outer .card-text:not(.no-description) .card-title {
2181 .normal-cards .card-outer .card-description {
2185 .normal-cards .card-outer .card-context {
2191 .compact-cards .card-outer {
2194 .compact-cards .card-outer .card-preview-image-outer {
2197 .compact-cards .card-outer .card-details {
2200 .compact-cards .card-outer .card-host-name {
2203 .compact-cards .card-outer .card-text .card-title, .compact-cards .card-outer .card-text:not(.no-description) .card-title {
2209 text-overflow: ellipsis
;
2210 white-space: nowrap
;
2212 .compact-cards .card-outer .card-description {
2215 .compact-cards .card-outer .card-context {
2216 background-color: var
(--newtab-background-color-secondary
);
2217 border-radius: 16px;
2218 clip-path: inset
(-1px -1px 4px);
2223 inset-inline-end: 12px;
2224 inset-inline-start: auto
;
2226 .compact-cards .card-outer .card-context::after {
2227 border: 1px solid var
(--newtab-card-hairline-color
);
2229 border-radius: 17px 17px 0 0;
2237 .compact-cards .card-outer .card-context .card-context-icon {
2238 margin-inline-end: 0;
2242 .compact-cards .card-outer .card-context .card-context-icon.icon-bookmark-added {
2245 .compact-cards .card-outer .card-context .card-context-icon.icon-download {
2248 .compact-cards .card-outer .card-context .card-context-icon.icon-pocket {
2251 .compact-cards .card-outer .card-context .card-context-label {
2254 @media not all and
(min-width: 1122px) {
2255 .compact-cards .hide-for-narrow {
2260 /* stylelint-disable max-nesting-depth */
2261 .collapsible-section {
2264 .collapsible-section .section-title-container {
2267 .collapsible-section .section-title-container.has-subtitle {
2269 flex-direction: column
;
2271 @media (min-width: 866px) {
2272 .collapsible-section .section-title-container.has-subtitle {
2273 flex-direction: row
;
2274 align-items: baseline
;
2275 justify-content: space-between
;
2278 .collapsible-section .section-title {
2281 color: var
(--newtab-text-primary-color
);
2283 .collapsible-section .section-title.grey-title {
2284 color: var
(--newtab-text-primary-color
);
2285 display: inline-block
;
2286 fill: var
(--newtab-text-primary-color
);
2287 vertical-align: middle
;
2289 .collapsible-section .section-title .section-title-contents {
2290 vertical-align: top
;
2292 @media (max-width: 609px) {
2293 .collapsible-section .section-title .section-title-contents {
2296 .collapsible-section .section-title .section-title-contents .learn-more-link-wrapper {
2300 .collapsible-section .section-title .section-title-contents .learn-more-link-wrapper .learn-more-link {
2301 margin-inline-start: 0;
2304 .collapsible-section .section-sub-title {
2307 color: var
(--newtab-text-secondary-color
);
2310 .collapsible-section .section-top-bar {
2312 margin-bottom: 13px;
2315 .collapsible-section.active {
2316 background: var
(--newtab-element-hover-color
);
2319 .collapsible-section .learn-more-link {
2321 margin-inline-start: 12px;
2323 .collapsible-section .learn-more-link a {
2324 color: var
(--newtab-primary-action-background
);
2326 .collapsible-section .section-body-fallback {
2329 .collapsible-section .section-body {
2333 .collapsible-section .section-body.animating {
2335 pointer-events: none
;
2337 .collapsible-section[data-section-id=topsites] .section-top-bar {
2340 @media (min-width: 610px) and
(max-width: 865px) {
2341 .collapsible-section[data-section-id=topstories] .card-outer:first-child {
2346 /* stylelint-disable max-nesting-depth */
2347 .discoverystream-admin-toggle {
2350 inset-inline-end: 15px;
2356 .discoverystream-admin-toggle .icon-devtools {
2357 background-image: url
("chrome://global/skin/icons/developer.svg");
2360 .discoverystream-admin-toggle:dir(rtl) {
2361 transform: scaleX
(-1);
2363 .discoverystream-admin-toggle:hover {
2364 background: var
(--newtab-element-hover-color
);
2366 .discoverystream-admin-toggle.expanded {
2367 background: rgba
(0, 0, 0, 0.2);
2370 .discoverystream-admin {
2373 inset-inline-start: 0;
2375 background: var
(--newtab-background-color
);
2380 padding-inline-start: 240px;
2381 color: var
(--newtab-text-primary-color
);
2383 .discoverystream-admin.collapsed {
2386 .discoverystream-admin .sidebar {
2387 inset-inline-start: 0;
2392 .discoverystream-admin .sidebar ul {
2397 .discoverystream-admin .sidebar li a {
2400 color: var
(--lwt-sidebar-text-color
);
2402 .discoverystream-admin .sidebar li a:hover {
2403 background: var
(--newtab-background-color-secondary
);
2405 .discoverystream-admin h1 {
2409 .discoverystream-admin h2
.button
,
2410 .discoverystream-admin p .button {
2413 margin-inline-start: 5px;
2416 .discoverystream-admin .general-textarea {
2425 .discoverystream-admin .wnp-textarea {
2434 .discoverystream-admin .json-button {
2435 display: inline-flex
;
2439 margin-inline-end: 4px;
2441 .discoverystream-admin .json-button:hover {
2442 background-color: var
(--newtab-element-hover-color
);
2445 .discoverystream-admin table {
2446 border-collapse: collapse
;
2449 .discoverystream-admin table.minimal-table {
2450 border-collapse: collapse
;
2451 border: 1px solid var
(--newtab-border-color
);
2453 .discoverystream-admin table.minimal-table td {
2456 .discoverystream-admin table.minimal-table td:first-child {
2458 white-space: nowrap
;
2460 .discoverystream-admin table.minimal-table td:not(:first-child) {
2461 font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace
;
2463 .discoverystream-admin table.errorReporting tr {
2464 border: 1px solid var
(--newtab-background-color-secondary
);
2466 .discoverystream-admin table.errorReporting td {
2469 .discoverystream-admin table.errorReporting td[rowspan] {
2470 border: 1px solid var
(--newtab-background-color-secondary
);
2472 .discoverystream-admin .sourceLabel {
2473 background: var
(--newtab-background-color-secondary
);
2477 .discoverystream-admin .sourceLabel.isDisabled {
2478 background: rgba
(215, 0, 34, 0.3);
2479 color: var
(--newtab-status-error
);
2481 .discoverystream-admin .message-item:first-child td {
2482 border-top: 1px solid var
(--newtab-border-color
);
2484 .discoverystream-admin .message-item td {
2485 vertical-align: top
;
2487 border-bottom: 1px solid var
(--newtab-border-color
);
2489 .discoverystream-admin .message-item td.min {
2491 white-space: nowrap
;
2493 .discoverystream-admin .message-item td.message-summary {
2496 .discoverystream-admin .message-item td.button-column {
2499 .discoverystream-admin .message-item td:first-child {
2500 border-inline-start: 1px solid var
(--newtab-border-color
);
2502 .discoverystream-admin .message-item td:last-child {
2503 border-inline-end: 1px solid var
(--newtab-border-color
);
2505 .discoverystream-admin
.message-item
.blocked
.message-id
,
2506 .discoverystream-admin .message-item.blocked .message-summary {
2509 .discoverystream-admin .message-item.blocked .message-id {
2512 .discoverystream-admin .message-item .message-id {
2513 font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace
;
2516 .discoverystream-admin .providerUrl {
2519 .discoverystream-admin pre {
2520 background: var
(--newtab-background-color-secondary
);
2526 font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace
;
2528 .discoverystream-admin .errorState {
2529 border: 1px solid var
(--newtab-status-error
);
2531 .discoverystream-admin .helpLink {
2534 background: rgba
(0, 0, 0, 0.1);
2536 align-items: center
;
2538 .discoverystream-admin .helpLink a {
2539 text-decoration: underline
;
2541 .discoverystream-admin .helpLink .icon {
2545 .discoverystream-admin .ds-component {
2546 margin-bottom: 20px;
2548 .discoverystream-admin .modalOverlayInner {
2551 .discoverystream-admin .clearButton {
2557 .discoverystream-admin .clearButton:hover {
2558 background: var
(--newtab-element-hover-color
);
2560 .discoverystream-admin .collapsed {
2563 .discoverystream-admin .icon {
2564 display: inline-table
;
2569 .discoverystream-admin .button:disabled, .discoverystream-admin .button:disabled:active {
2574 .discoverystream-admin .impressions-section {
2576 flex-direction: column
;
2579 .discoverystream-admin .impressions-section .impressions-item {
2581 flex-flow: column nowrap
;
2583 border: 1px solid var
(--newtab-border-color
);
2586 .discoverystream-admin .impressions-section .impressions-item .impressions-inner-box {
2588 flex-flow: row nowrap
;
2591 .discoverystream-admin .impressions-section .impressions-item .impressions-category {
2593 white-space: nowrap
;
2596 .discoverystream-admin .impressions-section .impressions-item .impressions-buttons {
2598 flex-direction: column
;
2601 .discoverystream-admin .impressions-section .impressions-item .impressions-buttons button {
2604 .discoverystream-admin .impressions-section .impressions-item .impressions-editor {
2608 .discoverystream-admin .impressions-section .impressions-item .impressions-editor .general-textarea {
2613 .pocket-logged-in-cta {
2615 margin-inline-end: 20px;
2617 align-items: flex-start
;
2619 .pocket-logged-in-cta .pocket-cta-button {
2620 white-space: nowrap
;
2621 background: var
(--newtab-primary-action-background
);
2622 letter-spacing: -0.34px;
2630 display: inline-flex
;
2631 justify-content: center
;
2632 align-items: center
;
2634 margin-inline-end: 10px;
2636 .pocket-logged-in-cta .cta-text {
2637 font-weight: normal
;
2639 line-height: 1.2307692308;
2641 .pocket-logged-in-cta
.pocket-cta-button
,
2642 .pocket-logged-in-cta .cta-text {
2643 vertical-align: top
;
2646 .more-recommendations {
2648 align-items: center
;
2649 white-space: nowrap
;
2650 line-height: 1.2307692308;
2652 .more-recommendations::after {
2653 background: url
("chrome://global/skin/icons/arrow-right-12.svg") no-repeat center center
;
2655 -moz-context-properties: fill
;
2656 display: inline-block
;
2657 fill: var
(--newtab-primary-action-background
);
2659 margin-inline-start: 5px;
2660 vertical-align: top
;
2663 .more-recommendations:dir(rtl)::after {
2664 background-image: url
("chrome://global/skin/icons/arrow-left-12.svg");
2667 .discovery-stream.ds-layout {
2668 --gridColumnGap: 48px;
2670 grid-template-columns: repeat
(12, 1fr);
2671 grid-column-gap: var
(--gridColumnGap
);
2672 grid-row-gap: var
(--gridRowGap
);
2675 .discovery-stream.ds-layout .ds-column-12 {
2676 grid-column-start: auto
;
2677 grid-column-end: span
12;
2679 .discovery-stream.ds-layout .ds-column-11 {
2680 grid-column-start: auto
;
2681 grid-column-end: span
11;
2683 .discovery-stream.ds-layout .ds-column-10 {
2684 grid-column-start: auto
;
2685 grid-column-end: span
10;
2687 .discovery-stream.ds-layout .ds-column-9 {
2688 grid-column-start: auto
;
2689 grid-column-end: span
9;
2691 .discovery-stream.ds-layout .ds-column-8 {
2692 grid-column-start: auto
;
2693 grid-column-end: span
8;
2695 .discovery-stream.ds-layout .ds-column-7 {
2696 grid-column-start: auto
;
2697 grid-column-end: span
7;
2699 .discovery-stream.ds-layout .ds-column-6 {
2700 grid-column-start: auto
;
2701 grid-column-end: span
6;
2703 .discovery-stream.ds-layout .ds-column-5 {
2704 grid-column-start: auto
;
2705 grid-column-end: span
5;
2707 .discovery-stream.ds-layout .ds-column-4 {
2708 grid-column-start: auto
;
2709 grid-column-end: span
4;
2711 .discovery-stream.ds-layout .ds-column-3 {
2712 grid-column-start: auto
;
2713 grid-column-end: span
3;
2715 .discovery-stream.ds-layout .ds-column-2 {
2716 grid-column-start: auto
;
2717 grid-column-end: span
2;
2719 .discovery-stream.ds-layout .ds-column-1 {
2720 grid-column-start: auto
;
2721 grid-column-end: span
1;
2723 .discovery-stream.ds-layout .ds-column-grid {
2725 grid-row-gap: var
(--gridRowGap
);
2727 .discovery-stream.ds-layout .ds-column-grid > div:empty {
2734 .ds-header .ds-context {
2739 .ds-layout .section-title span {
2740 color: var
(--newtab-text-primary-color
);
2746 .ds-layout .section-title span .icon {
2747 fill: var
(--newtab-text-secondary-color
);
2750 .collapsible-section.ds-layout {
2753 .collapsible-section.ds-layout .section-top-bar .learn-more-link a {
2754 color: var
(--newtab-primary-action-background
);
2757 .collapsible-section.ds-layout .section-top-bar .learn-more-link a:is(:focus, :hover) {
2758 text-decoration: none
;
2761 .activity-stream.modal-open {
2765 .modalOverlayOuter {
2766 background: var
(--newtab-overlay-color
);
2776 .modalOverlayOuter.active {
2780 .modalOverlayInner {
2781 min-width: min-content
;
2786 background: var
(--newtab-background-color-secondary
);
2787 box-shadow: 0 2px 14px 0 rgba
(0, 0, 0, 0.2);
2792 @media (width
<= 960px) {
2793 .modalOverlayInner {
2801 .modalOverlayInner.active {
2804 .modalOverlayInner h2 {
2805 color: var
(--newtab-text-primary-color
);
2811 letter-spacing: -0.13px;
2813 @media (width
<= 960px) {
2814 .modalOverlayInner h2 {
2818 @media (width
<= 850px) {
2819 .modalOverlayInner h2 {
2823 .modalOverlayInner .footer {
2824 border-top: 1px solid var
(--newtab-border-color
);
2831 background-color: #FFF;
2833 @media (width
<= 850px) and
(height
<= 730px) {
2834 .modalOverlayInner .footer {
2838 @media (width
<= 650px) and
(height
<= 600px) {
2839 .modalOverlayInner .footer {
2843 .modalOverlayInner .footer .modalButton {
2847 padding: 4px 30px 6px;
2850 .modalOverlayInner .footer .modalButton:focus, .modalOverlayInner .footer .modalButton.active, .modalOverlayInner .footer .modalButton:hover {
2851 box-shadow: 0 0 0 5px var
(--newtab-element-secondary-color
);
2852 transition: box-shadow
150ms;
2855 .ds-onboarding-container
,
2856 .ds-card-grid .ds-card {
2860 [lwt-newtab-brighttext
] .ds-onboarding-container
,
2861 [lwt-newtab-brighttext
] .ds-card-grid
.ds-card
{
2864 .ds-onboarding-container:not
(.placeholder
),
2865 .ds-card-grid .ds-card:not(.placeholder) {
2867 box-shadow: 0 2px 6px rgba
(0, 0, 0, 0.15);
2869 [lwt-newtab-brighttext
] .ds-onboarding-container:not
(.placeholder
),
2870 [lwt-newtab-brighttext
] .ds-card-grid
.ds-card:not
(.placeholder
) {
2871 background: var
(--newtab-background-color-secondary
);
2873 .ds-onboarding-container:not
(.placeholder
) .img-wrapper
.img img
,
2874 .ds-onboarding-container:not
(.placeholder
) .img-wrapper
.img
.placeholder-image
,
2875 .ds-card-grid
.ds-card:not
(.placeholder
) .img-wrapper
.img img
,
2876 .ds-card-grid .ds-card:not(.placeholder) .img-wrapper .img .placeholder-image {
2877 border-radius: 8px 8px 0 0;
2880 .ds-onboarding-container {
2881 padding-inline-start: 16px;
2882 padding-inline-end: 16px;
2883 margin-bottom: 24px;
2886 @media (min-width: 610px) {
2887 .ds-onboarding-container {
2888 padding-inline-end: 48px;
2891 @media (min-width: 866px) {
2892 .ds-onboarding-container {
2893 padding-inline-end: 56px;
2896 .ds-onboarding-container .ds-onboarding {
2900 .ds-onboarding-container .ds-onboarding .ds-dismiss-button {
2901 inset-inline-end: 8px;
2904 .ds-onboarding-container header {
2908 line-height: 23.8px;
2912 [lwt-newtab-brighttext
] .ds-onboarding-container header
{
2913 color: var
(--newtab-background-color-primary
);
2915 @media (min-width: 610px) {
2916 .ds-onboarding-container header {
2922 .ds-onboarding-container p {
2925 line-height: 19.5px;
2927 .ds-onboarding-container .icon-pocket {
2930 margin-inline-end: 8px;
2933 background-image: url
("chrome://global/skin/icons/pocket.svg");
2934 background-size: contain
;
2936 [lwt-newtab-brighttext
] .ds-onboarding-container
.icon-pocket
{
2937 fill: var
(--newtab-text-primary-color
);
2939 @media (forced-colors: active
) {
2940 [lwt-newtab-brighttext
] .ds-onboarding-container
.icon-pocket
{
2944 @media (forced-colors: active
) {
2945 .ds-onboarding-container .icon-pocket {
2949 @media (min-width: 610px) {
2950 .ds-onboarding-container .icon-pocket {
2952 margin-inline-start: -2px;
2953 margin-inline-end: 15px;
2958 .ds-onboarding-container .ds-onboarding-graphic {
2959 background-image: image-set
(url
("chrome://activity-stream/content/data/content/assets/pocket-onboarding.avif"), url
("chrome://activity-stream/content/data/content/assets/pocket-onboarding@2x.avif") 2x);
2961 background-size: contain
;
2962 background-repeat: no-repeat
;
2963 background-position: center
;
2967 margin-bottom: 16px;
2968 margin-inline-start: 54px;
2972 @media (min-width: 866px) {
2973 .ds-onboarding-container .ds-onboarding-graphic {
2982 .ds-card-grid.ds-card-grid-compact {
2985 @media (min-width: 610px) and
(max-width: 866px) {
2986 .ds-card-grid.ds-card-grid-recent-saves .ds-card:last-child:nth-child(2n-1) {
2990 .ds-card-grid .ds-card-link:focus {
2993 box-shadow: 0 0 0 3px var
(--newtab-primary-action-background-dimmed
), 0 0 0 1px var
(--newtab-primary-action-background
);
2997 .ds-column-5 .ds-card-grid, .ds-column-6 .ds-card-grid, .ds-column-7 .ds-card-grid, .ds-column-8 .ds-card-grid {
2998 grid-template-columns: repeat
(2, 1fr);
3000 .ds-column-9 .ds-card-grid, .ds-column-10 .ds-card-grid, .ds-column-11 .ds-card-grid, .ds-column-12 .ds-card-grid {
3001 grid-template-columns: repeat
(1, 1fr);
3003 @media (min-width: 610px) {
3004 .ds-column-9 .ds-card-grid, .ds-column-10 .ds-card-grid, .ds-column-11 .ds-card-grid, .ds-column-12 .ds-card-grid {
3005 grid-template-columns: repeat
(2, 1fr);
3008 @media (min-width: 866px) {
3009 .ds-column-9 .ds-card-grid, .ds-column-10 .ds-card-grid, .ds-column-11 .ds-card-grid, .ds-column-12 .ds-card-grid {
3010 grid-template-columns: repeat
(3, 1fr);
3013 .ds-column-9 .ds-card-grid .title, .ds-column-10 .ds-card-grid .title, .ds-column-11 .ds-card-grid .title, .ds-column-12 .ds-card-grid .title {
3017 .ds-column-9 .ds-card-grid .excerpt, .ds-column-10 .ds-card-grid .excerpt, .ds-column-11 .ds-card-grid .excerpt, .ds-column-12 .ds-card-grid .excerpt {
3019 -webkit-line-clamp: 3;
3022 .ds-card-grid.empty {
3023 grid-template-columns: auto
;
3025 .ds-column-9 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-10 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-11 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-12 .ds-card-grid.ds-card-grid-four-card-variant {
3026 grid-template-columns: repeat
(1, 1fr);
3028 @media (min-width: 610px) {
3029 .ds-column-9 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-10 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-11 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-12 .ds-card-grid.ds-card-grid-four-card-variant {
3030 grid-template-columns: repeat
(2, 1fr);
3033 @media (min-width: 866px) {
3034 .ds-column-9 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-10 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-11 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-12 .ds-card-grid.ds-card-grid-four-card-variant {
3035 grid-template-columns: repeat
(3, 1fr);
3038 @media (min-width: 1122px) {
3039 .ds-column-9 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-10 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-11 .ds-card-grid.ds-card-grid-four-card-variant, .ds-column-12 .ds-card-grid.ds-card-grid-four-card-variant {
3040 grid-template-columns: repeat
(4, 1fr);
3043 .ds-card-grid.ds-card-grid-four-card-variant .ds-card.placeholder {
3046 .ds-card-grid.ds-card-grid-four-card-variant .ds-card .meta .story-footer {
3049 .ds-card-grid
.ds-card-grid-four-card-variant
.ds-card
.meta
.source
,
3050 .ds-card-grid
.ds-card-grid-four-card-variant
.ds-card
.meta
.story-sponsored-label
,
3051 .ds-card-grid.ds-card-grid-four-card-variant .ds-card .meta .status-message .story-context-label {
3052 color: var
(--newtab-text-secondary-color
);
3053 -webkit-line-clamp: 2;
3055 .ds-card-grid
.ds-card-grid-four-card-variant
.ds-card
.meta
.source
,
3056 .ds-card-grid.ds-card-grid-four-card-variant .ds-card .meta .story-sponsored-label {
3059 .ds-card-grid.ds-card-grid-four-card-variant .ds-card .meta .status-message .story-context-label {
3062 .ds-card-grid.ds-card-grid-four-card-variant .ds-card .meta .story-badge-icon {
3063 margin-inline-end: 2px;
3067 background-size: 14px;
3069 .ds-card-grid.ds-card-grid-four-card-variant .ds-card .meta .title {
3073 .ds-card-grid.ds-card-grid-four-card-variant .ds-card .meta .info-wrap {
3076 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout {
3077 grid-template-columns: repeat
(1, 1fr);
3079 @media (min-width: 610px) {
3080 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout {
3081 grid-template-columns: repeat
(2, 1fr);
3084 @media (min-width: 866px) {
3085 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout {
3086 grid-template-columns: repeat
(3, 1fr);
3089 @media (height
<= 1065px) {
3090 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .excerpt, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .excerpt, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .excerpt, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .excerpt {
3094 @media (max-width: 1122px) {
3095 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card.placeholder, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card.placeholder, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card.placeholder, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card.placeholder {
3098 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-footer, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-footer, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-footer, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-footer {
3101 .ds-column-9
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3102 .ds-column-9
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
,
3103 .ds-column-9
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.status-message
.story-context-label
, .ds-column-10
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3104 .ds-column-10
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
,
3105 .ds-column-10
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.status-message
.story-context-label
, .ds-column-11
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3106 .ds-column-11
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
,
3107 .ds-column-11
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.status-message
.story-context-label
, .ds-column-12
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3108 .ds-column-12
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
,
3109 .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .status-message .story-context-label {
3110 color: var
(--newtab-text-secondary-color
);
3111 -webkit-line-clamp: 2;
3113 .ds-column-9
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3114 .ds-column-9
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
, .ds-column-10
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3115 .ds-column-10
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
, .ds-column-11
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3116 .ds-column-11
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
, .ds-column-12
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3117 .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-sponsored-label {
3120 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .status-message .story-context-label, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .status-message .story-context-label, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .status-message .story-context-label, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .status-message .story-context-label {
3123 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-badge-icon, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-badge-icon, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-badge-icon, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-badge-icon {
3124 margin-inline-end: 2px;
3128 background-size: 14px;
3130 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .title, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .title, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .title, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .title {
3134 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .info-wrap, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .info-wrap, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .info-wrap, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .info-wrap {
3138 @media (min-width: 1122px) and
(height
<= 964px) {
3139 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout {
3140 grid-template-columns: repeat
(4, 1fr);
3142 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card.placeholder, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card.placeholder, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card.placeholder, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card.placeholder {
3145 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-footer, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-footer, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-footer, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-footer {
3148 .ds-column-9
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3149 .ds-column-9
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
,
3150 .ds-column-9
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.status-message
.story-context-label
, .ds-column-10
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3151 .ds-column-10
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
,
3152 .ds-column-10
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.status-message
.story-context-label
, .ds-column-11
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3153 .ds-column-11
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
,
3154 .ds-column-11
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.status-message
.story-context-label
, .ds-column-12
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3155 .ds-column-12
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
,
3156 .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .status-message .story-context-label {
3157 color: var
(--newtab-text-secondary-color
);
3158 -webkit-line-clamp: 2;
3160 .ds-column-9
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3161 .ds-column-9
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
, .ds-column-10
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3162 .ds-column-10
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
, .ds-column-11
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3163 .ds-column-11
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.story-sponsored-label
, .ds-column-12
.ds-card-grid
.ds-card-grid-hybrid-layout
.ds-card
.meta
.source
,
3164 .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-sponsored-label {
3167 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .status-message .story-context-label, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .status-message .story-context-label, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .status-message .story-context-label, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .status-message .story-context-label {
3170 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-badge-icon, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-badge-icon, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-badge-icon, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .story-badge-icon {
3171 margin-inline-end: 2px;
3175 background-size: 14px;
3177 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .title, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .title, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .title, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .title {
3181 .ds-column-9 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .info-wrap, .ds-column-10 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .info-wrap, .ds-column-11 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .info-wrap, .ds-column-12 .ds-card-grid.ds-card-grid-hybrid-layout .ds-card .meta .info-wrap {
3186 .outer-wrapper
.ds-card-grid
.ds-card-grid-hide-background
.ds-card:not
(.placeholder
),
3187 .outer-wrapper.newtab-experience .ds-card-grid.ds-card-grid-hide-background .ds-card:not(.placeholder) {
3191 .outer-wrapper
.ds-card-grid
.ds-card-grid-hide-background
.ds-card:not
(.placeholder
) .ds-card-link:focus
,
3192 .outer-wrapper.newtab-experience .ds-card-grid.ds-card-grid-hide-background .ds-card:not(.placeholder) .ds-card-link:focus {
3195 .outer-wrapper
.ds-card-grid
.ds-card-grid-hide-background
.ds-card:not
(.placeholder
) .ds-card-link:focus
.img-wrapper
.img img
,
3196 .outer-wrapper.newtab-experience .ds-card-grid.ds-card-grid-hide-background .ds-card:not(.placeholder) .ds-card-link:focus .img-wrapper .img img {
3199 box-shadow: 0 0 0 3px var
(--newtab-primary-action-background-dimmed
), 0 0 0 1px var
(--newtab-primary-action-background
);
3201 .outer-wrapper
.ds-card-grid
.ds-card-grid-hide-background
.ds-card:not
(.placeholder
) .img-wrapper
.img img
,
3202 .outer-wrapper.newtab-experience .ds-card-grid.ds-card-grid-hide-background .ds-card:not(.placeholder) .img-wrapper .img img {
3204 box-shadow: 0 2px 6px rgba
(0, 0, 0, 0.15);
3206 .outer-wrapper
.ds-card-grid
.ds-card-grid-hide-background
.ds-card:not
(.placeholder
) .meta
,
3207 .outer-wrapper.newtab-experience .ds-card-grid.ds-card-grid-hide-background .ds-card:not(.placeholder) .meta {
3211 .ds-layout .ds-sub-header {
3214 .ds-layout .ds-sub-header .section-title-container {
3215 flex-direction: row
;
3216 align-items: baseline
;
3217 justify-content: space-between
;
3220 .ds-layout .ds-sub-header .section-sub-link {
3221 color: var
(--newtab-primary-action-background
);
3226 .ds-layout .ds-sub-header .section-sub-link:hover {
3227 text-decoration: underline
;
3229 .ds-layout .ds-sub-header .section-sub-link:active {
3230 color: var
(--newtab-primary-element-active-color
);
3233 .ds-dismiss.ds-dismiss-ds-collection .ds-dismiss-button {
3235 inset-inline-end: 25px;
3237 .ds-dismiss.ds-dismiss-ds-collection.hovering {
3238 background: var
(--newtab-element-hover-color
);
3241 .ds-collection-card-grid {
3242 padding: 10px 25px 25px;
3245 .ds-collection-card-grid .story-footer {
3248 .ds-collection-card-grid .ds-header {
3249 padding: 0 40px 0 0;
3250 margin-bottom: 12px;
3252 .ds-collection-card-grid .ds-header .title {
3253 color: var
(--newtab-text-primary-color
);
3258 .ds-collection-card-grid .ds-header .ds-context {
3259 color: var
(--newtab-text-secondary-color
);
3260 font-weight: normal
;
3265 /* stylelint-disable max-nesting-depth */
3266 .ds-highlights .section .section-list {
3267 grid-gap: var
(--gridRowGap
);
3268 grid-template-columns: repeat
(1, 1fr);
3270 @media (min-width: 610px) {
3271 .ds-highlights .section .section-list {
3272 grid-template-columns: repeat
(2, 1fr);
3275 @media (min-width: 866px) {
3276 .ds-highlights .section .section-list {
3277 grid-template-columns: repeat
(4, 1fr);
3280 .ds-highlights .section .section-list .card-outer {
3283 .ds-highlights .section .section-list .card-outer .card-host-name {
3288 text-transform: unset
;
3290 .ds-highlights .section .section-list .card-outer .card-title {
3296 .ds-highlights .section .section-list .card-outer a {
3297 text-decoration: none
;
3299 .ds-highlights .hide-for-narrow {
3305 border-top: 1px solid
#D7D7DB;
3308 [lwt-newtab-brighttext
] .ds-hr
{
3309 border-top: 1px solid
#4A4A4F;
3312 /* stylelint-disable max-nesting-depth */
3314 color: var
(--newtab-text-primary-color
);
3320 @media (min-width: 1122px) {
3326 .ds-navigation.ds-navigation-centered {
3329 .ds-navigation.ds-navigation-right-aligned {
3337 .ds-navigation ul li {
3338 display: inline-block
;
3340 .ds-navigation ul li::after {
3344 .ds-navigation ul li:last-child::after {
3347 .ds-navigation ul li a:hover, .ds-navigation ul li a:active {
3348 text-decoration: none
;
3350 .ds-navigation ul li a:active {
3351 color: var
(--newtab-primary-element-active-color
);
3353 .ds-navigation .ds-navigation-header {
3354 padding-inline-end: 6px;
3356 .ds-navigation .ds-navigation-privacy {
3357 padding-inline-start: 6px;
3360 .ds-navigation .ds-navigation-privacy:hover {
3361 text-decoration: none
;
3363 .ds-navigation.ds-navigation-new-topics {
3367 .ds-navigation.ds-navigation-new-topics .ds-navigation-header {
3371 display: inline-block
;
3374 .ds-navigation.ds-navigation-new-topics .ds-navigation-family {
3378 margin: 16px auto
28px;
3380 .ds-navigation.ds-navigation-new-topics .ds-navigation-family span {
3383 .ds-navigation
.ds-navigation-new-topics
.ds-navigation-family
.firefox-logo
,
3384 .ds-navigation.ds-navigation-new-topics .ds-navigation-family .pocket-logo {
3387 background-size: cover
;
3389 .ds-navigation.ds-navigation-new-topics .ds-navigation-family .firefox-logo {
3390 background-image: url
("chrome://activity-stream/content/data/content/assets/firefox.svg");
3392 .ds-navigation.ds-navigation-new-topics .ds-navigation-family .pocket-logo {
3393 background-image: url
("chrome://global/skin/icons/pocket.svg");
3396 .ds-navigation.ds-navigation-new-topics .ds-navigation-family .ds-navigation-family-message {
3400 @media (min-width: 610px) {
3401 .ds-navigation.ds-navigation-new-topics .ds-navigation-family .ds-navigation-family-message {
3405 @media (min-width: 610px) {
3406 .ds-navigation.ds-navigation-new-topics .ds-navigation-family {
3410 .ds-navigation.ds-navigation-new-topics ul {
3413 grid-auto-flow: column
;
3414 grid-template: repeat
(8, 1fr)/repeat
(1, 1fr);
3416 .ds-navigation.ds-navigation-new-topics ul li {
3417 border-top: 1px solid var
(--newtab-border-color
);
3422 .ds-navigation.ds-navigation-new-topics ul li::after {
3426 .ds-navigation.ds-navigation-new-topics ul li:nth-last-child(2), .ds-navigation.ds-navigation-new-topics ul li:nth-last-child(3) {
3429 .ds-navigation.ds-navigation-new-topics ul li:nth-last-child(1) {
3430 border-bottom: 1px solid var
(--newtab-border-color
);
3432 @media (min-width: 610px) {
3433 .ds-navigation.ds-navigation-new-topics ul {
3434 grid-template: repeat
(3, 1fr)/repeat
(2, 1fr);
3436 .ds-navigation.ds-navigation-new-topics ul li:nth-child(3) {
3437 border-bottom: 1px solid var
(--newtab-border-color
);
3440 @media (min-width: 866px) {
3441 .ds-navigation.ds-navigation-new-topics ul {
3442 grid-template: repeat
(2, 1fr)/repeat
(3, 1fr);
3444 .ds-navigation.ds-navigation-new-topics ul li:nth-child(odd) {
3447 .ds-navigation.ds-navigation-new-topics ul li:nth-child(even) {
3448 border-bottom: 1px solid var
(--newtab-border-color
);
3451 @media (min-width: 1122px) {
3452 .ds-navigation.ds-navigation-new-topics ul {
3453 grid-template: repeat
(2, 1fr)/repeat
(4, 1fr);
3455 .ds-navigation.ds-navigation-new-topics ul li:nth-last-child(2), .ds-navigation.ds-navigation-new-topics ul li:nth-last-child(3) {
3464 .ds-section-title .title {
3465 color: var
(--newtab-text-primary-color
);
3470 .ds-section-title .subtitle {
3473 color: var
(--newtab-text-secondary-color
);
3477 /* stylelint-disable max-nesting-depth */
3478 .outer-wrapper .ds-top-sites .top-sites .top-site-outer .top-site-inner > a:is(.active, :focus) .tile {
3481 box-shadow: 0 0 0 3px var
(--newtab-primary-action-background-dimmed
), 0 0 0 1px var
(--newtab-primary-action-background
);
3483 .outer-wrapper .ds-top-sites .top-sites .top-site-outer .top-site-inner > a:is(:hover) .top-site-inner {
3484 box-shadow: 0 0 0 5px var
(--newtab-background-color-secondary
);
3485 transition: box-shadow
150ms;
3489 .outer-wrapper .ds-top-sites .top-sites .top-sites-list {
3493 .ds-column-5
.ds-top-sites
.top-site-outer
,
3494 .ds-column-6
.ds-top-sites
.top-site-outer
,
3495 .ds-column-7
.ds-top-sites
.top-site-outer
,
3496 .ds-column-8 .ds-top-sites .top-site-outer {
3499 .ds-column-5
.ds-top-sites
.top-sites-list
,
3500 .ds-column-6
.ds-top-sites
.top-sites-list
,
3501 .ds-column-7
.ds-top-sites
.top-sites-list
,
3502 .ds-column-8 .ds-top-sites .top-sites-list {
3505 .ds-column-5
.ds-top-sites
.top-site-inner
,
3506 .ds-column-6
.ds-top-sites
.top-site-inner
,
3507 .ds-column-7
.ds-top-sites
.top-site-inner
,
3508 .ds-column-8 .ds-top-sites .top-site-inner {
3509 --leftPanelIconWidth: 84.67px;
3511 .ds-column-5
.ds-top-sites
.top-site-inner
.tile
,
3512 .ds-column-6
.ds-top-sites
.top-site-inner
.tile
,
3513 .ds-column-7
.ds-top-sites
.top-site-inner
.tile
,
3514 .ds-column-8 .ds-top-sites .top-site-inner .tile {
3515 width: var
(--leftPanelIconWidth
);
3516 height: var
(--leftPanelIconWidth
);
3518 .ds-column-5
.ds-top-sites
.top-site-inner
.title
,
3519 .ds-column-6
.ds-top-sites
.top-site-inner
.title
,
3520 .ds-column-7
.ds-top-sites
.top-site-inner
.title
,
3521 .ds-column-8 .ds-top-sites .top-site-inner .title {
3522 width: var
(--leftPanelIconWidth
);
3525 .ds-column-1
.ds-top-sites
.top-site-outer
,
3526 .ds-column-2
.ds-top-sites
.top-site-outer
,
3527 .ds-column-3
.ds-top-sites
.top-site-outer
,
3528 .ds-column-4 .ds-top-sites .top-site-outer {
3531 .ds-column-1
.ds-top-sites
.top-sites-list
,
3532 .ds-column-2
.ds-top-sites
.top-sites-list
,
3533 .ds-column-3
.ds-top-sites
.top-sites-list
,
3534 .ds-column-4 .ds-top-sites .top-sites-list {
3537 .ds-column-1
.ds-top-sites
.top-site-inner
,
3538 .ds-column-2
.ds-top-sites
.top-site-inner
,
3539 .ds-column-3
.ds-top-sites
.top-site-inner
,
3540 .ds-column-4 .ds-top-sites .top-site-inner {
3541 --rightPanelIconWidth: 82.67px;
3543 .ds-column-1
.ds-top-sites
.top-site-inner
.tile
,
3544 .ds-column-2
.ds-top-sites
.top-site-inner
.tile
,
3545 .ds-column-3
.ds-top-sites
.top-site-inner
.tile
,
3546 .ds-column-4 .ds-top-sites .top-site-inner .tile {
3547 width: var
(--rightPanelIconWidth
);
3548 height: var
(--rightPanelIconWidth
);
3550 .ds-column-1
.ds-top-sites
.top-site-inner
.title
,
3551 .ds-column-2
.ds-top-sites
.top-site-inner
.title
,
3552 .ds-column-3
.ds-top-sites
.top-site-inner
.title
,
3553 .ds-column-4 .ds-top-sites .top-site-inner .title {
3554 width: var
(--rightPanelIconWidth
);
3557 .ds-card
.context-menu-button
,
3558 .ds-signup .context-menu-button {
3559 background-clip: padding-box
;
3560 background-color: var
(--newtab-background-color-secondary
);
3561 background-image: url
("chrome://global/skin/icons/more.svg");
3562 background-position: 55%;
3563 border: 1px solid var
(--newtab-border-color
);
3564 border-radius: 100%;
3565 box-shadow: 0 2px rgba
(12, 12, 13, 0.1);
3567 fill: var
(--newtab-text-primary-color
);
3569 inset-inline-end: -13.5px;
3573 transform: scale
(0.25);
3574 transition-duration: 150ms;
3575 transition-property: transform
, opacity
;
3578 .ds-card
.context-menu-button:is
(:active
, :focus
),
3579 .ds-signup .context-menu-button:is(:active, :focus) {
3581 transform: scale
(1);
3583 .ds-card
.context-menu
,
3584 .ds-signup .context-menu {
3587 .ds-card
.active
.context-menu
,
3588 .ds-signup.active .context-menu {
3591 .ds-card
.last-item
.context-menu
,
3592 .ds-signup.last-item .context-menu {
3593 margin-inline-end: 5px;
3594 margin-inline-start: auto
;
3595 inset-inline-end: 0;
3596 inset-inline-start: auto
;
3598 .ds-card
.last-item
.context-menu
,
3599 .ds-signup.last-item .context-menu {
3602 .ds-card:is
(:hover
, :focus
, .active
),
3603 .ds-signup:is(:hover, :focus, .active) {
3606 .ds-card:is
(:hover
, :focus
, .active
) .context-menu-button
,
3607 .ds-signup:is(:hover, :focus, .active) .context-menu-button {
3609 transform: scale
(1);
3610 transition-delay: 333ms;
3615 flex-direction: column
;
3618 .ds-card.placeholder {
3619 background: transparent
;
3620 box-shadow: inset
0 0 0 1px var
(--newtab-inner-box-shadow-color
);
3624 .ds-card .img-wrapper {
3628 .ds-card .card-stp-button-hover-background {
3634 transition: opacity
;
3635 transition-duration: 0s;
3637 pointer-events: none
;
3638 background: rgba
(0, 0, 0, 0.4);
3639 border-radius: 8px 8px 0 0;
3641 .ds-card .card-stp-button-hover-background .card-stp-button-position-wrapper {
3643 inset-inline-end: 10px;
3646 justify-content: end
;
3647 align-items: center
;
3649 .ds-card
.card-stp-button-hover-background
.icon-pocket-save
,
3650 .ds-card .card-stp-button-hover-background .icon-pocket {
3651 margin-inline-end: 4px;
3654 background-size: 15px;
3657 .ds-card .card-stp-button-hover-background .context-menu-button {
3662 .ds-card .card-stp-button-hover-background .context-menu-position-container {
3665 .ds-card .card-stp-button-hover-background .context-menu {
3666 margin-inline-start: 18.5px;
3667 inset-inline-start: auto
;
3671 .ds-card .card-stp-button-hover-background .card-stp-button {
3673 margin-inline-end: 7px;
3677 background-color: #EF4056;
3681 white-space: nowrap
;
3684 .ds-card
.card-stp-button-hover-background button
,
3685 .ds-card .card-stp-button-hover-background .context-menu {
3686 pointer-events: auto
;
3688 .ds-card .card-stp-button-hover-background button {
3691 .ds-card.last-item .card-stp-button-hover-background .context-menu {
3692 margin-inline-start: auto
;
3693 margin-inline-end: 18.5px;
3695 .ds-card.active .card-stp-button-hover-background, .ds-card:focus-within .card-stp-button-hover-background, .ds-card:hover .card-stp-button-hover-background {
3698 transition-duration: 0.3s;
3700 .ds-card.active .card-stp-button-hover-background .context-menu-button, .ds-card:focus-within .card-stp-button-hover-background .context-menu-button, .ds-card:hover .card-stp-button-hover-background .context-menu-button {
3702 transform: scale
(1);
3704 .ds-card.active header, .ds-card:focus-within header, .ds-card:hover header {
3705 color: var
(--newtab-primary-action-background
);
3707 .ds-card:active header {
3708 color: var
(--newtab-primary-element-active-color
);
3716 box-shadow: inset
0 0 0 0.5px rgba
(0, 0, 0, 0.15);
3718 .ds-card .ds-card-link {
3722 text-decoration: none
;
3724 .ds-card .ds-card-link:focus {
3727 box-shadow: 0 0 0 3px var
(--newtab-primary-action-background-dimmed
), 0 0 0 1px var
(--newtab-primary-action-background
);
3732 flex-direction: column
;
3736 .ds-card .meta .info-wrap {
3739 .ds-card .meta .title {
3741 -webkit-line-clamp: 3;
3745 .ds-card .meta .excerpt {
3747 -webkit-line-clamp: 3;
3750 .ds-card .meta .source {
3751 -webkit-line-clamp: 1;
3754 color: var
(--newtab-text-secondary-color
);
3756 .ds-card .meta .source span {
3757 display: inline-block
;
3759 .ds-card .meta .new-sponsored-label {
3763 .ds-card.ds-card-title-lines-2 .meta .title {
3765 -webkit-line-clamp: 2;
3768 .ds-card.ds-card-title-lines-1 .meta .title {
3770 -webkit-line-clamp: 1;
3773 .ds-card.ds-card-desc-lines-2 .meta .excerpt {
3775 -webkit-line-clamp: 2;
3778 .ds-card.ds-card-desc-lines-1 .meta .excerpt {
3780 -webkit-line-clamp: 1;
3783 .ds-card.ds-card-compact-image .img {
3786 .ds-card.ds-card-image-gradient img {
3787 mask-image: linear-gradient
(to top
, rgba
(0, 0, 0, 0), black
40px);
3789 .ds-card.ds-card-image-gradient .meta {
3790 padding: 3px 15px 11px;
3792 .ds-card.ds-card-cta-button.variant-a .img, .ds-card.ds-card-cta-button.variant-b .img {
3795 .ds-card.ds-card-cta-button.variant-a .story-sponsored-label, .ds-card.ds-card-cta-button.variant-b .story-sponsored-label {
3796 margin: var
(--space-small
) 0 0;
3798 .ds-card.ds-card-cta-button.variant-a .source, .ds-card.ds-card-cta-button.variant-b .source {
3799 text-decoration: underline
;
3801 .ds-card.ds-card-cta-button.variant-a .story-footer, .ds-card.ds-card-cta-button.variant-b .story-footer {
3804 justify-content: space-between
;
3805 align-items: center
;
3806 gap: 0 var
(--space-small
);
3809 .ds-card.ds-card-cta-button.variant-a .story-cta-button, .ds-card.ds-card-cta-button.variant-b .story-cta-button {
3811 background: var
(--button-background-color
);
3812 border-radius: var
(--border-radius-small
);
3814 padding: var
(--space-xsmall
) 16px;
3815 font-size: var
(--font-size-small
);
3816 font-weight: var
(--font-weight-bold
);
3817 min-height: var
(--size-item-large
);
3819 color: var
(--newtab-text-primary-color
);
3820 margin-top: var
(--space-small
);
3822 .ds-card.ds-card-cta-button.variant-a .story-cta-button:hover, .ds-card.ds-card-cta-button.variant-b .story-cta-button:hover {
3823 background: var
(--button-background-color-hover
);
3825 .ds-card.ds-card-cta-button.variant-a .cta-header, .ds-card.ds-card-cta-button.variant-b .cta-header {
3826 background: var
(--button-background-color
);
3827 font-size: var
(--font-size-root
);
3828 font-weight: var
(--font-weight-bold
);
3830 padding: var
(--space-xsmall
) 16px;
3831 color: var
(--newtab-text-primary-color
);
3832 min-height: var
(--size-item-large
);
3837 color: var
(--newtab-text-primary-color
);
3842 color: var
(--newtab-text-primary-color
);
3847 color: var
(--newtab-text-secondary-color
);
3848 inset-inline-start: 0;
3851 gap: var
(--space-large
);
3853 pointer-events: none
;
3855 .story-footer .story-sponsored-label span {
3856 display: inline-block
;
3858 .story-footer
.story-sponsored-label
,
3859 .story-footer .status-message {
3860 -webkit-line-clamp: 1;
3863 color: var
(--newtab-text-secondary-color
);
3865 .story-footer .status-message {
3867 align-items: center
;
3870 .story-footer .status-message .story-badge-icon {
3871 fill: var
(--newtab-text-secondary-color
);
3873 margin-inline-end: 6px;
3875 .story-footer .status-message .story-badge-icon.icon-bookmark-removed {
3876 background-image: url
("chrome://activity-stream/content/data/content/assets/icon-removed-bookmark.svg");
3878 .story-footer .status-message .story-context-label {
3879 color: var
(--newtab-text-secondary-color
);
3884 text-overflow: ellipsis
;
3885 white-space: nowrap
;
3888 .story-animate-enter {
3892 .story-animate-enter-active {
3894 transition: opacity
150ms ease-in
300ms;
3896 .story-animate-enter-active
.story-badge-icon
,
3897 .story-animate-enter-active .story-context-label {
3898 animation: color
3s ease-out
0.3s;
3902 color: var
(--newtab-status-success
);
3903 fill: var
(--newtab-status-success
);
3906 color: var
(--newtab-text-secondary-color
);
3907 fill: var
(--newtab-text-secondary-color
);
3911 .story-animate-exit {
3917 .story-animate-exit-active {
3919 transition: opacity
250ms ease-in
;
3927 .ds-image.use-transition {
3928 transition: opacity
0.8s;
3934 .ds-image
.placeholder-image
,
3935 .ds-image .broken-image {
3936 background-color: var
(--newtab-element-secondary-color
);
3943 .ds-image .placeholder-image {
3945 background-color: var
(--placeholderBackgroundColor
);
3947 .ds-image .placeholder-image::before {
3949 background-image: url
("chrome://activity-stream/content/data/content/assets/pocket-swoosh.svg");
3950 background-repeat: no-repeat
;
3951 background-position: center
;
3952 transform: rotate
(var
(--placeholderBackgroundRotation
));
3958 margin-left: var
(--placeholderBackgroundOffsetx
);
3959 margin-top: var
(--placeholderBackgroundOffsety
);
3960 background-size: var
(--placeholderBackgroundScale
);
3966 transition-duration: 250ms;
3967 transition-property: background
;
3969 .ds-dismiss:hover .ds-dismiss-button {
3972 .ds-dismiss .ds-dismiss-button {
3979 align-items: center
;
3980 justify-content: center
;
3982 inset-inline-end: 0;
3985 background-color: transparent
;
3987 .ds-dismiss .ds-dismiss-button .icon {
3988 fill: var
(--newtab-text-primary-color
);
3990 @media (forced-colors: active
) {
3991 .ds-dismiss .ds-dismiss-button .icon {
3995 .ds-dismiss .ds-dismiss-button:hover {
3996 background: var
(--newtab-element-hover-color
);
3998 .ds-dismiss .ds-dismiss-button:active {
3999 background: var
(--newtab-element-active-color
);
4001 .ds-dismiss .ds-dismiss-button:focus {
4002 box-shadow: 0 1px 4px 0 rgba
(12, 12, 13, 0.2);
4008 .ds-message .title {
4010 align-items: center
;
4012 .ds-message .title .glyph {
4016 -moz-context-properties: fill
;
4017 fill: var
(--newtab-text-secondary-color
);
4018 background-position: center center
;
4019 background-size: 16px;
4020 background-repeat: no-repeat
;
4022 .ds-message .title .title-text {
4025 color: var
(--newtab-text-secondary-color
);
4027 padding-right: 12px;
4029 .ds-message .title .link {
4033 .ds-message .title .link:hover, .ds-message .title .link:focus {
4034 text-decoration: underline
;
4037 .impression-observer {
4042 pointer-events: none
;
4045 .section-empty-state {
4046 border: 1px solid var
(--newtab-border-color
);
4052 .section-empty-state .empty-state-message {
4053 color: var
(--newtab-text-secondary-color
);
4060 .section-empty-state .try-again-button {
4065 background: var
(--newtab-button-secondary-color
);
4066 color: var
(--newtab-text-primary-color
);
4069 transition: background
0.2s ease
, color
0.2s ease
;
4071 .section-empty-state .try-again-button:not(.waiting):focus {
4072 box-shadow: 0 0 0 5px rgba
(10, 132, 255, 0.3);
4073 transition: box-shadow
150ms;
4077 [lwt-newtab-brighttext
] .section-empty-state
.try-again-button:not
(.waiting
):focus
{
4078 box-shadow: 0 0 0 5px rgba
(69, 161, 255, 0.4);
4079 transition: box-shadow
150ms;
4083 .section-empty-state .try-again-button:not(.waiting):hover {
4084 box-shadow: 0 0 0 5px var
(--newtab-element-secondary-color
);
4085 transition: box-shadow
150ms;
4089 .section-empty-state .try-again-button::after {
4093 animation: spinner
1s linear infinite
;
4098 margin: -10px 0 0 -10px;
4099 mask-image: url
("chrome://activity-stream/content/data/content/assets/spinner.svg");
4101 background: var
(--newtab-text-secondary-color
);
4103 .section-empty-state .try-again-button.waiting {
4105 background: var
(--newtab-element-secondary-color
);
4107 transition: background
0.2s ease
;
4109 .section-empty-state .try-again-button.waiting::after {
4110 transition: opacity
0.2s ease
;
4113 .section-empty-state h2 {
4118 .section-empty-state p {
4122 @keyframes spinner
{
4124 transform: rotate
(360deg);
4127 .ds-dismiss-ds-text-promo {
4132 .ds-dismiss-ds-text-promo.hovering {
4133 background: var
(--newtab-element-hover-color
);
4135 .ds-dismiss-ds-text-promo .ds-dismiss-button {
4136 margin-inline: 0 18px;
4137 margin-block: 18px 0;
4145 @media (min-width: 610px) {
4149 padding: 0 32px 0 0;
4152 .ds-text-promo .ds-image {
4158 @media (min-width: 610px) {
4159 .ds-text-promo .ds-image {
4160 margin: 4px 12px 0 0;
4163 .ds-text-promo .ds-image img {
4166 .ds-text-promo .text {
4170 color: var
(--newtab-text-primary-color
);
4175 .ds-text-promo .subtitle {
4178 color: var
(--newtab-text-primary-color
);
4182 color: var
(--newtab-primary-action-background
);
4183 display: inline-block
;
4186 .ds-chevron-link:hover {
4187 text-decoration: underline
;
4189 .ds-chevron-link:active {
4190 color: var
(--newtab-primary-element-active-color
);
4192 .ds-chevron-link:active::after {
4193 background-color: var
(--newtab-primary-element-active-color
);
4195 .ds-chevron-link:focus {
4196 box-shadow: 0 1px 4px 0 rgba
(12, 12, 13, 0.2);
4199 .ds-chevron-link::after {
4200 background-color: var
(--newtab-primary-action-background
);
4202 mask: url
("chrome://global/skin/icons/arrow-right-12.svg") 0 -8px no-repeat
;
4206 text-decoration: none
;
4207 display: inline-block
;
4220 background: var
(--newtab-element-hover-color
);
4223 .ds-signup .icon-mail {
4226 margin-inline-end: 8px;
4227 fill: var
(--newtab-text-secondary-color
);
4228 background-size: 30px;
4231 .ds-signup .ds-signup-content {
4233 align-items: center
;
4234 justify-content: center
;
4235 flex-direction: column
;
4237 .ds-signup .ds-signup-content .ds-chevron-link {
4241 white-space: nowrap
;
4243 @media (min-width: 866px) {
4249 .ds-signup .ds-signup-content {
4250 flex-direction: row
;
4252 .ds-signup .ds-signup-content .ds-chevron-link {
4258 .ds-privacy-modal .modal-link {
4260 align-items: center
;
4264 color: var
(--newtab-primary-action-background
);
4267 .ds-privacy-modal .modal-link:hover {
4268 text-decoration: underline
;
4271 .ds-privacy-modal .modal-link::before {
4272 -moz-context-properties: fill
;
4273 fill: var
(--newtab-primary-action-background
);
4275 display: inline-block
;
4279 margin-inline-end: 8px;
4280 background-position: center center
;
4281 background-repeat: no-repeat
;
4282 background-size: 16px;
4284 .ds-privacy-modal .modal-link.modal-link-privacy::before {
4285 background-image: url
("chrome://global/skin/icons/info.svg");
4287 .ds-privacy-modal .modal-link.modal-link-manage::before {
4288 background-image: url
("chrome://global/skin/icons/settings.svg");
4290 .ds-privacy-modal p {
4293 .ds-privacy-modal .privacy-notice {
4305 .ds-privacy-link a:hover {
4306 text-decoration: none
;
4309 /* stylelint-disable max-nesting-depth */
4313 flex-direction: column
;
4315 .ds-topics-widget .ds-topics-widget-header {
4319 .ds-topics-widget hr {
4320 background-color: color-mix
(in srgb
, var
(--newtab-border-color
) 52%, transparent
);
4325 .ds-topics-widget .ds-topics-widget-list-container {
4328 .ds-topics-widget .ds-topics-widget-list-container ul {
4332 align-items: center
;
4336 .ds-topics-widget .ds-topics-widget-list-container ul li {
4339 .ds-topics-widget .ds-topics-widget-list-container ul li a {
4342 text-decoration: none
;
4344 background: var
(--newtab-background-color-secondary
);
4345 border: 1px solid color-mix
(in srgb
, var
(--newtab-border-color
) 52%, transparent
);
4346 color: var
(--newtab-text-primary-color
);
4349 .ds-topics-widget .ds-topics-widget-list-container ul li a:hover {
4350 background: var
(--newtab-element-hover-color
);
4352 .ds-topics-widget .ds-topics-widget-list-container ul li a:focus {
4354 box-shadow: 0 0 0 3px var
(--newtab-primary-action-background-dimmed
), 0 0 0 1px var
(--newtab-primary-action-background
);
4355 transition: box-shadow
150ms;
4357 .ds-topics-widget .ds-topics-widget-list-container ul .ds-topics-widget-list-overflow-item {
4360 @media (min-width: 610px) {
4361 .ds-topics-widget .ds-topics-widget-list-container ul .ds-topics-widget-list-overflow-item {
4365 @media (min-width: 1122px) {
4366 .ds-topics-widget .ds-topics-widget-list-container ul .ds-topics-widget-list-overflow-item {
4370 .ds-topics-widget .ds-topics-widget-button {
4377 background-color: var
(--newtab-primary-action-background-pocket
);
4380 .ds-topics-widget .ds-topics-widget-button:hover {
4381 background: var
(--newtab-primary-element-hover-pocket-color
);
4383 .ds-topics-widget .ds-topics-widget-button:focus {
4385 box-shadow: 0 0 0 3px var
(--newtab-primary-action-background-pocket-dimmed
), 0 0 0 1px var
(--newtab-primary-action-background-pocket
);
4386 transition: box-shadow
150ms;
4389 .feature-highlight {
4391 pointer-events: auto
;
4394 .feature-highlight .feature-highlight-modal {
4400 justify-content: space-between
;
4401 border-radius: var
(--border-radius-small
);
4402 background: var
(--newtab-background-color-secondary
);
4403 box-shadow: 0 2px 6px rgba
(0, 0, 0, 0.15);
4405 transition: opacity
0.3s, visibility
0.3s;
4407 .feature-highlight .feature-highlight-modal .icon-dismiss {
4410 background-size: 12px;
4413 margin: var
(--space-medium
);
4414 color: var
(--icon-color
);
4417 .feature-highlight .feature-highlight-modal .message-icon {
4418 margin-block: var
(--space-large
);
4419 margin-inline: var
(--space-large
) var
(--space-medium
);
4421 .feature-highlight .feature-highlight-modal.opened {
4423 visibility: visible
;
4425 .feature-highlight .feature-highlight-modal::after {
4430 background: var
(--newtab-background-color-secondary
);
4431 box-shadow: 4px 4px 6px -2px rgba
(0, 0, 0, 0.15);
4433 .feature-highlight .feature-highlight-modal.inset-block-start {
4434 inset-block-end: 100%;
4435 margin-bottom: var
(--space-xlarge
);
4437 .feature-highlight .feature-highlight-modal.inset-block-start::after {
4438 inset-block-end: -12px;
4439 transform: rotate
(45deg);
4441 .feature-highlight .feature-highlight-modal.inset-block-end {
4442 inset-block-start: 100%;
4443 margin-top: var
(--space-xlarge
);
4445 .feature-highlight .feature-highlight-modal.inset-block-end::after {
4446 inset-block-start: -12px;
4447 transform: rotate
(225deg);
4449 .feature-highlight .feature-highlight-modal.inset-inline-start {
4450 inset-inline-end: calc
(var
(--space-xxlarge
) * -1);
4452 .feature-highlight .feature-highlight-modal.inset-inline-start::after {
4453 inset-inline-end: calc
(var
(--space-xxlarge
) - 12px);
4455 .feature-highlight .feature-highlight-modal.inset-inline-end {
4456 inset-inline-start: calc
(var
(--space-xxlarge
) * -1);
4458 .feature-highlight .feature-highlight-modal.inset-inline-end::after {
4459 inset-inline-start: calc
(var
(--space-xxlarge
) - 12px);
4461 .feature-highlight .feature-highlight-modal p {
4462 font-size: var
(--font-size-small
);
4463 font-weight: normal
;
4464 margin: var
(--space-large
) 0;
4466 .feature-highlight .toggle-button {
4471 .sponsored-content-highlight {
4474 .sponsored-content-highlight .sponsored-message-icon {
4475 background-image: url
("chrome://activity-stream/content/data/content/assets/sponsor-message-icon.svg");
4476 background-size: 18px;
4480 .sponsored-content-highlight .icon-help {
4484 background-size: 20px;
4485 color: var
(--icon-color
);
4486 vertical-align: text-bottom
;
4488 .sponsored-content-highlight .feature-highlight-modal.inset-inline-start::after {
4489 margin-inline-end: 11px;
4491 .sponsored-content-highlight .feature-highlight-modal.inset-inline-end::after {
4492 margin-inline-start: 9px;
4498 white-space: nowrap
;
4501 font-family: inherit
;
4503 margin-inline-start: 12px;
4507 .tall .ASRouterButton {
4508 margin-inline-start: 20px;
4510 .ASRouterButton.test-only {
4517 .ASRouterButton.primary {
4518 border: 1px solid var
(--newtab-primary-action-background
);
4519 background-color: var
(--newtab-primary-action-background
);
4520 color: var
(--newtab-primary-element-text-color
);
4522 .ASRouterButton.primary:hover {
4523 background-color: var
(--newtab-primary-element-hover-color
);
4525 .ASRouterButton.primary:active {
4526 background-color: var
(--newtab-primary-element-active-color
);
4528 .ASRouterButton.slim {
4529 border: 1px solid var
(--newtab-border-color
);
4530 margin-inline-start: 0;
4534 .ASRouterButton.slim:hover, .ASRouterButton.slim:focus {
4535 box-shadow: 0 0 0 5px var
(--newtab-element-secondary-color
);
4536 transition: box-shadow
150ms;