@@ -163,14 +163,6 @@ pre > button {
163163 height : var ( --toolbar-height ) ;
164164}
165165
166- . tsd-page-toolbar . table-cell {
167- line-height : var ( --toolbar-height ) ;
168- }
169-
170- . tsd-page-toolbar . tsd-toolbar-icon {
171- padding : calc ( ( var ( --toolbar-height ) - 16px ) / 2 ) 0 ;
172- }
173-
174166. tsd-page-toolbar . tsd-widget {
175167 height : var ( --toolbar-height ) ;
176168}
@@ -211,39 +203,38 @@ pre > button {
211203 color : var ( --color-text-aside ) ;
212204 font-size : 0.9rem ;
213205 font-weight : 500 ;
214- margin-left : 1.5rem ;
215206}
216207
217208# tsd-toolbar-links a : hover {
218209 color : var ( --color-text ) ;
219210 text-decoration : none;
220211}
221212
222- # tsd-search . field input {
223- font : inherit;
213+ /* the search: a dialog the toolbar's button opens */
214+ # tsd-search {
215+ border-radius : var ( --radius ) ;
216+ box-shadow : 0 12px 32px rgb ( 0 0 0 / 0.16 ) ;
224217}
225218
226- # tsd-search . results {
227- border-radius : 0 0 var ( --radius ) var ( --radius ) ;
228- overflow : hidden;
229- box-shadow : 0 12px 32px rgb ( 0 0 0 / 0.16 ) ;
219+ # tsd-search-input {
220+ font : inherit;
230221}
231222
232- # tsd-search . results li {
223+ # tsd-search- results > li {
233224 line-height : 1.4 ;
234225}
235226
236- # tsd-search . results li : nth-child ( even) {
227+ # tsd-search- results > li : nth-child ( even) {
237228 background-color : var ( --color-background ) ;
238229}
239230
240- # tsd-search . results li : nth-child ( odd) {
231+ # tsd-search- results > li : nth-child ( odd) {
241232 background-color : var ( --color-background-secondary ) ;
242233}
243234
244- # tsd-search . results li . current ,
245- # tsd-search . results li : hover {
235+ # tsd-search-results > li : is ( : hover , [aria-selected = "true" ]) {
246236 background-color : var ( --color-active-menu-item ) ;
237+ color : inherit;
247238}
248239
249240/* ---------- layout ---------- */
@@ -341,11 +332,16 @@ pre > button {
341332 font-weight : 600 ;
342333}
343334
344- . tsd-navigation . tsd-accordion-summary svg ,
345- . tsd-page-navigation . tsd-accordion-summary svg {
346- width : 0.75rem ;
347- height : 0.75rem ;
348- margin-right : 0.15rem ;
335+ /* typedoc's chevrons are 20px symbols in svgs without a viewBox: zoom scales them (a smaller width or height would only
336+ cut them off). Their margins are zoomed too */
337+ . tsd-navigation . tsd-accordion-summary > svg {
338+ zoom : 0.56 ;
339+ margin-right : 0.27rem ;
340+ opacity : 0.6 ;
341+ }
342+
343+ /* (sized with the rest of the page menu's below) */
344+ . tsd-page-navigation . tsd-accordion-summary > svg {
349345 opacity : 0.6 ;
350346}
351347
@@ -369,9 +365,8 @@ pre > button {
369365}
370366
371367. page-menu . tsd-accordion-summary > svg {
372- width : 0.7rem ;
373- height : 0.7rem ;
374- margin-right : 0.3rem ;
368+ zoom : 0.72 ;
369+ margin-right : 0.42rem ;
375370}
376371
377372. page-menu . tsd-page-navigation a {
@@ -525,12 +520,9 @@ a.external[target="_blank"]:has(> img) {
525520 margin : 0 ;
526521}
527522
528- . tsd-accordion-summary > h2 > svg ,
529- . tsd-accordion-summary > h3 > svg ,
530- . tsd-accordion-summary > h5 > svg ,
523+ /* (the size the headings' chevrons had at 0.8em of the headings) */
531524. tsd-accordion-summary > svg {
532- width : 0.8em ;
533- height : 0.8em ;
525+ zoom : 1.59 ;
534526 opacity : 0.45 ;
535527}
536528
0 commit comments