@@ -1468,7 +1468,7 @@ body:not([data-platform-name]) .Button_button:active {
1468
1468
align-items : center;
1469
1469
display : flex;
1470
1470
flex-direction : column;
1471
- padding-bottom : calc (14 px + 9 px + var (--sp-7 ));
1471
+ padding-bottom : calc (var ( --sp-3 ) + var ( --sp-7 ) + var (--sp-3 ));
1472
1472
}
1473
1473
.AiChatForm_textarea {
1474
1474
align-self : stretch;
@@ -1496,13 +1496,10 @@ body:not([data-platform-name]) .Button_button:active {
1496
1496
bottom : 0 ;
1497
1497
justify-content : space-between;
1498
1498
left : 0 ;
1499
- padding : 14 px 9 px 9 px ;
1499
+ padding : var ( --sp-3 ) ;
1500
1500
position : absolute;
1501
1501
right : 0 ;
1502
1502
}
1503
- .AiChatForm_hasScroll .AiChatForm_buttons {
1504
- padding-top : 9px ;
1505
- }
1506
1503
.AiChatForm_submitButton {
1507
1504
align-items : center;
1508
1505
background : var (--color-blue-50 );
@@ -1533,7 +1530,7 @@ body:not([data-platform-name]) .Button_button:active {
1533
1530
}
1534
1531
.Container_inner {
1535
1532
background : var (--ntp-surface-tertiary );
1536
- border-radius : 12 px ;
1533
+ border-radius : 15 px ;
1537
1534
box-shadow : 0px 1px 4px 0px rgba (0 , 0 , 0 , 0.1 ), 0px 4px 8px 0px rgba (0 , 0 , 0 , 0.08 );
1538
1535
overflow : hidden;
1539
1536
position : relative;
@@ -1546,14 +1543,12 @@ body:not([data-platform-name]) .Button_button:active {
1546
1543
}
1547
1544
.Container_inner : not (: has ([role = listbox ])).Container_focusRing ,
1548
1545
.Container_inner : not (: has ([role = listbox ])): focus-within : not (.Container_noFocusRing ) {
1549
- border-radius : 15px ;
1550
1546
box-shadow :
1551
1547
0 0 0 1px var (--ntp-surface-tertiary ),
1552
1548
0 0 0 3px var (--ntp-color-primary ),
1553
- 0 0 0 7 px rgba (57 , 105 , 239 , 0.2 );
1549
+ 0 0 0 5 px rgba (57 , 105 , 239 , 0.2 );
1554
1550
}
1555
1551
.Container_inner : has ([role = listbox ]) {
1556
- border-radius : 15px ;
1557
1552
box-shadow :
1558
1553
0 0 0 3px var (--ntp-surface-tertiary ),
1559
1554
0px 4px 12px 3px rgba (0 , 0 , 0 , 0.10 ),
@@ -1577,10 +1572,10 @@ body:not([data-platform-name]) .Button_button:active {
1577
1572
.SearchForm_inputContainer {
1578
1573
align-items : center;
1579
1574
display : flex;
1580
- padding : var (--sp-1 );
1575
+ padding : var (--sp-1 ) 7 px ;
1581
1576
}
1582
1577
.SearchForm_inputContainer svg {
1583
- flex-shrink : 0 ;
1578
+ flex : none ;
1584
1579
margin : var (--sp-2 );
1585
1580
}
1586
1581
.SearchForm_input {
@@ -1589,13 +1584,13 @@ body:not([data-platform-name]) .Button_button:active {
1589
1584
color : var (--ntp-text-normal );
1590
1585
font-weight : 500 ;
1591
1586
height : var (--sp-8 );
1592
- left : var ( --sp-1 ) ;
1587
+ left : 7 px ;
1593
1588
padding-bottom : 0 ;
1594
1589
padding-left : calc (var (--sp-2 ) + var (--sp-4 ) + var (--sp-2 ));
1595
1590
padding-right : var (--suffix-text-width );
1596
1591
padding-top : 0 ;
1597
1592
position : absolute;
1598
- right : var ( --sp-1 ) ;
1593
+ right : 7 px ;
1599
1594
}
1600
1595
.SearchForm_input ::placeholder {
1601
1596
color : var (--ntp-text-muted );
@@ -1604,13 +1599,14 @@ body:not([data-platform-name]) .Button_button:active {
1604
1599
outline : none;
1605
1600
}
1606
1601
.SearchForm_suffixSpacer {
1602
+ font-weight : 500 ;
1607
1603
overflow : hidden;
1608
1604
visibility : hidden;
1609
- white-space : pre ;
1605
+ white-space : nowrap ;
1610
1606
}
1611
1607
.SearchForm_suffix {
1612
1608
color : var (--ntp-color-primary );
1613
- flex-shrink : 0 ;
1609
+ flex : none ;
1614
1610
}
1615
1611
1616
1612
/* pages/new-tab/app/omnibar/components/SuggestionsList.module.css */
@@ -1623,37 +1619,56 @@ body:not([data-platform-name]) .Button_button:active {
1623
1619
.SuggestionsList_item {
1624
1620
align-items : center;
1625
1621
background : none;
1622
+ border-radius : 4px ;
1626
1623
border : none;
1627
1624
color : var (--ntp-text-normal );
1628
1625
cursor : pointer;
1629
1626
display : flex;
1630
1627
height : var (--sp-8 );
1631
1628
justify-content : flex-start;
1629
+ padding : 0 var (--sp-2 ) 0 0 ;
1632
1630
}
1633
1631
.SuggestionsList_item svg {
1634
- flex-shrink : 0 ;
1632
+ flex : none ;
1635
1633
margin : var (--sp-2 );
1636
1634
}
1637
- .SuggestionsList_item [aria-selected = true ] {
1638
- background : var (--ddg-color-primary );
1639
- border-radius : 4px ;
1635
+ .SuggestionsList_item [aria-selected = true ],
1636
+ .SuggestionsList_item : active {
1640
1637
color : var (--color-white );
1641
1638
}
1642
- .SuggestionsList_item [aria-selected = true ] .SuggestionsList_suffix {
1639
+ : is ( .SuggestionsList_item [aria-selected = true ], . SuggestionsList_item : active ) .SuggestionsList_suffix {
1643
1640
color : var (--color-white );
1644
1641
}
1642
+ : is (.SuggestionsList_item [aria-selected = true ], .SuggestionsList_item : active ) .SuggestionsList_badge {
1643
+ background : var (--color-white-at-30 );
1644
+ }
1645
+ .SuggestionsList_item [aria-selected = true ] {
1646
+ background : var (--ddg-color-primary );
1647
+ }
1648
+ .SuggestionsList_item : active {
1649
+ background : var (--color-blue-60 );
1650
+ }
1645
1651
.SuggestionsList_title {
1646
- white-space : pre;
1652
+ flex : none;
1653
+ max-width : 60% ;
1654
+ overflow : hidden;
1655
+ text-overflow : ellipsis;
1656
+ white-space : nowrap;
1647
1657
}
1648
1658
.SuggestionsList_suffix {
1649
1659
color : var (--ntp-text-muted );
1660
+ flex : initial;
1650
1661
font-size : 12px ;
1662
+ overflow : hidden;
1663
+ text-overflow : ellipsis;
1664
+ white-space : nowrap;
1651
1665
}
1652
1666
.SuggestionsList_badge {
1653
1667
align-items : center;
1654
1668
background : var (--ntp-controls-raised-backdrop );
1655
1669
border-radius : var (--border-radius-sm );
1656
1670
display : flex;
1671
+ flex : none;
1657
1672
gap : 6px ;
1658
1673
height : 22px ;
1659
1674
margin-left : auto;
@@ -1692,6 +1707,7 @@ body:not([data-platform-name]) .Button_button:active {
1692
1707
justify-content : center;
1693
1708
padding : 0 var (--sp-3 );
1694
1709
position : relative;
1710
+ transform : translateZ (0 );
1695
1711
z-index : 1 ;
1696
1712
}
1697
1713
.TabSwitcher_tab : hover : not ([aria-selected = true ])::before {
@@ -1722,6 +1738,7 @@ body:not([data-platform-name]) .Button_button:active {
1722
1738
translate : calc (2px + var (--tab-index ) * (100% + 2px ));
1723
1739
width : calc ((100% - 4px - (var (--tab-count ) - 1 ) * 2px ) / var (--tab-count ));
1724
1740
will-change : translate;
1741
+ z-index : 0 ;
1725
1742
}
1726
1743
[data-theme = dark ] .TabSwitcher_blob {
1727
1744
box-shadow :
0 commit comments