|
16 | 16 | border: var(--border); |
17 | 17 | box-shadow: var(--box-shadow); |
18 | 18 |
|
19 | | - &:focus { |
20 | | - outline: 0.2rem solid orange; |
21 | | - outline-offset: 0.1rem; |
22 | | - } |
| 19 | + @include focus-indicator(0.2rem); |
23 | 20 |
|
24 | 21 | &::placeholder { |
25 | 22 | opacity: 0.7; |
|
48 | 45 | padding: 0 1rem 1rem 1rem; |
49 | 46 | overscroll-behavior: contain; |
50 | 47 | height: 35rem; |
| 48 | + top: 0.4rem; |
51 | 49 | overflow-y: scroll; |
52 | 50 | position: relative; |
53 | | - top: -0.7rem; |
54 | | - border-left: var(--pagefind-ui-border-width) solid var(--pagefind-ui-border); |
55 | | - border-right: var(--pagefind-ui-border-width) solid |
56 | | - var(--pagefind-ui-border); |
57 | | - border-bottom: var(--pagefind-ui-border-width) solid |
58 | | - var(--pagefind-ui-border); |
59 | | - border-bottom-left-radius: var(--pagefind-ui-border-radius); |
60 | | - border-bottom-right-radius: var(--pagefind-ui-border-radius); |
| 51 | + border-radius: var(--pagefind-ui-border-radius); |
61 | 52 | z-index: 3; |
62 | 53 | } |
63 | 54 |
|
64 | 55 | .pagefind-ui__result-link { |
65 | 56 | color: var(--link-default); |
66 | 57 | text-decoration: underline; |
| 58 | + border-radius: var(--border-radius-s); |
67 | 59 |
|
68 | 60 | &:hover, |
69 | 61 | &:focus { |
|
76 | 68 | color: var(--link-hovered); |
77 | 69 | } |
78 | 70 |
|
79 | | - .pagefind-ui__result-link:focus { |
80 | | - outline: 0.2rem solid orange; |
81 | | - outline-offset: 0.1rem; |
82 | | - border-radius: var(--border-radius-s); |
| 71 | + .pagefind-ui__result-link { |
| 72 | + @include focus-indicator(0.2rem); |
83 | 73 | } |
84 | 74 |
|
85 | 75 | .pagefind-ui__result-link::before { |
|
92 | 82 | } |
93 | 83 |
|
94 | 84 | .pagefind-ui__button { |
95 | | - background-color: var(--bg-accent); |
| 85 | + border: 0.2rem solid var(--link-default); |
| 86 | + border-radius: var(--border-radius-m); |
| 87 | + background: transparent; |
| 88 | + color: var(--body-color); |
96 | 89 |
|
97 | 90 | &:hover, |
98 | 91 | &:focus { |
99 | | - background-color: var(--bg-accent2); |
| 92 | + background: rgba($link-hovered, 0.15); |
100 | 93 | } |
101 | 94 | } |
102 | 95 | } |
|
0 commit comments