@@ -23,41 +23,48 @@ dl.citation > dt {
23
23
24
24
/* for the search */
25
25
/*container*/
26
- html [data-theme = "dark" ] : is (.search__outer , .rtd__search__credits ) {
26
+ html [data-theme ] : is (.search__outer , .rtd__search__credits ) {
27
27
font-family : var (--pst-font-family-base );
28
28
color : var (--pst-color-text-base );
29
29
background-color : var (--pst-color-background );
30
30
border-color : var (--pst-color-border );
31
31
}
32
- html [data-theme = "dark" ] .rtd__search__credits a {
32
+ html [data-theme ] .search__outer {
33
+ border-top-left-radius : var (--bs-border-radius );
34
+ border-top-right-radius : var (--bs-border-radius );
35
+ }
36
+ html [data-theme ] .rtd__search__credits {
37
+ border-bottom-left-radius : var (--bs-border-radius );
38
+ border-bottom-right-radius : var (--bs-border-radius );
39
+ }
40
+ html [data-theme ] .rtd__search__credits a {
33
41
color : var (--pst-color-link );
34
42
}
35
43
/*input*/
36
- html [data-theme = "dark" ] .search__outer__input {
44
+ html [data-theme ] .search__outer__input {
37
45
color : var (--pst-color-text-base );
38
46
background-color : transparent;
39
47
border-bottom-color : var (--pst-color-border );
40
48
}
41
- html [data-theme = "dark" ] .search__outer .bar ::before ,
42
- html [data-theme = "dark" ] .search__outer .bar ::after {
49
+ html [data-theme ] .search__outer .bar ::before ,
50
+ html [data-theme ] .search__outer .bar ::after {
43
51
background-color : var (--pst-color-accent );
44
52
}
45
53
/*results*/
46
- html [data-theme = "dark" ] : is (.search__result__subheading span , .search__result__single ) {
54
+ html [data-theme ] : is (.search__result__subheading span , .search__result__single ) {
47
55
border-bottom-color : var (--pst-color-border );
48
56
}
49
- html [data-theme = "dark" ] .search__result__single : last-of-type {
57
+ html [data-theme ] .search__result__single : last-of-type {
50
58
border-bottom-width : 0 ;
51
59
}
52
- html [data-theme = "dark" ]
53
- : is (.outer_div_page_results : hover , .search__result__box .active ) {
54
- background-color : var (--pst-color-primary-highlight );
60
+ html [data-theme ] : is (.outer_div_page_results : hover , .search__result__box .active ) {
61
+ background-color : var (--pst-color-accent-bg );
55
62
}
56
- html [data-theme = "dark" ]
63
+ html [data-theme ]
57
64
: is (.search__error__box , .search__result__subheading , .search__result__content ) {
58
65
color : var (--pst-color-text-base );
59
66
}
60
- html [data-theme = "dark" ]
67
+ html [data-theme ]
61
68
.search__outer
62
69
: is (.search__result__content , .search__result__title )
63
70
span {
0 commit comments