|
13 | 13 |
|
14 | 14 | form {
|
15 | 15 | input {
|
16 |
| - display: block; |
17 |
| - width: 100%; |
18 |
| - height: 60px; |
19 |
| - border: 1px solid rgba(var(--front), 0.2); |
20 |
| - font-size: 27px; |
21 |
| - padding-left: 20px; |
22 |
| - padding-right: 20px; |
23 |
| - box-sizing: border-box; |
24 |
| - |
25 |
| - &:active, |
26 |
| - &:focus { |
27 |
| - border-color: var(--primary-color); |
28 |
| - outline: none; |
29 |
| - } |
| 16 | + display: block; |
| 17 | + width: 100%; |
| 18 | + height: 60px; |
| 19 | + border: 1px solid rgba(var(--front), 0.2); |
| 20 | + font-size: 27px; |
| 21 | + padding-left: 20px; |
| 22 | + padding-right: 20px; |
| 23 | + box-sizing: border-box; |
| 24 | + |
| 25 | + &:active, |
| 26 | + &:focus { |
| 27 | + border-color: var(--primary-color); |
| 28 | + outline: none; |
| 29 | + } |
| 30 | + |
| 31 | + &::placeholder { |
| 32 | + color: #cccccc; |
| 33 | + } |
30 | 34 | }
|
31 | 35 | }
|
32 | 36 |
|
|
36 | 40 | margin: 20px 0 0 0;
|
37 | 41 |
|
38 | 42 | li {
|
39 |
| - h3 { |
40 |
| - margin-top: 0; |
41 |
| - margin-bottom: 0; |
42 |
| - font-size: 18px; |
43 |
| - line-height: 1.2; |
44 |
| - color: var(--frontHex); |
45 |
| - transition: color 100ms $ease; |
| 43 | + border-bottom: 1px solid #ededed; |
| 44 | + |
| 45 | + h3 { |
| 46 | + margin-top: 0; |
| 47 | + margin-bottom: 0; |
| 48 | + font-size: 18px; |
| 49 | + line-height: 1.2; |
| 50 | + color: var(--frontHex); |
| 51 | + transition: color 100ms $ease; |
| 52 | + |
| 53 | + span { |
| 54 | + margin-left: 5px; |
| 55 | + vertical-align: middle; |
| 56 | + display: inline-block; |
| 57 | + width: 8px; |
| 58 | + height: 8px; |
| 59 | + border-radius: 4px; |
| 60 | + transform: translateY(-1px); |
46 | 61 | }
|
| 62 | + } |
47 | 63 |
|
48 |
| - a { |
49 |
| - display: block; |
50 |
| - padding: 15px 0; |
51 |
| - transition: background-color 100ms $ease; |
52 |
| - |
53 |
| - p { |
54 |
| - margin-top: 5px; |
55 |
| - margin-bottom: 0; |
56 |
| - font-size: 16px; |
57 |
| - line-height: 1.4; |
58 |
| - color: rgba(var(--front), 0.7); |
59 |
| - } |
| 64 | + a { |
| 65 | + display: block; |
| 66 | + padding: 15px 0; |
| 67 | + transition: background-color 100ms $ease; |
| 68 | + |
| 69 | + p { |
| 70 | + margin-top: 5px; |
| 71 | + margin-bottom: 0; |
| 72 | + font-size: 16px; |
| 73 | + line-height: 1.4; |
| 74 | + color: rgba(var(--front), 0.7); |
| 75 | + } |
60 | 76 |
|
61 |
| - &:hover { |
62 |
| - text-decoration: none; |
63 |
| - background-color: rgba(var(--primary-color-rgb), 0.05); |
| 77 | + &:hover { |
| 78 | + text-decoration: none; |
| 79 | + background-color: rgba(var(--primary-color-rgb), 0.05); |
64 | 80 |
|
65 |
| - h3 { |
66 |
| - color: var(--primary-color); |
67 |
| - } |
| 81 | + h3 { |
| 82 | + color: var(--primary-color); |
68 | 83 | }
|
69 | 84 | }
|
| 85 | + } |
| 86 | + |
| 87 | + &.no-results { |
| 88 | + padding: 15px 0; |
| 89 | + } |
| 90 | + } |
| 91 | + } |
| 92 | + |
| 93 | + #search-tips { |
| 94 | + padding: 15px 0; |
| 95 | + |
| 96 | + button { |
| 97 | + appearance: none; |
| 98 | + background-color: transparent; |
| 99 | + border-width: 0; |
| 100 | + padding: 0; |
| 101 | + display: flex; |
| 102 | + gap: 3px; |
| 103 | + font-size: 15px; |
| 104 | + align-items: center; |
| 105 | + transition: all 150ms $ease; |
70 | 106 |
|
71 |
| - > h3 { |
72 |
| - padding: 15px 0; |
| 107 | + svg { |
| 108 | + width: 14px; |
| 109 | + height: 14px; |
| 110 | + transition: all 150ms $ease; |
| 111 | + } |
| 112 | + |
| 113 | + &:hover { |
| 114 | + color: var(--primary-color); |
| 115 | + cursor: pointer; |
| 116 | + } |
| 117 | + |
| 118 | + &[aria-expanded="true"] { |
| 119 | + svg { |
| 120 | + transform: rotate(90deg); |
73 | 121 | }
|
| 122 | + } |
| 123 | + } |
| 124 | + } |
| 125 | + |
| 126 | + #search-tips-content { |
| 127 | + p { |
| 128 | + font-size: 15px; |
| 129 | + } |
74 | 130 |
|
75 |
| - & + li { |
76 |
| - border-top: 1px solid #ededed; |
| 131 | + ul { |
| 132 | + margin-top: 5px; |
| 133 | + |
| 134 | + li { |
| 135 | + font-size: 15px; |
| 136 | + |
| 137 | + em { |
| 138 | + font-style: normal; |
| 139 | + font-weight: 500; |
| 140 | + color: var(--front); |
77 | 141 | }
|
| 142 | + } |
| 143 | + |
| 144 | + & + p { |
| 145 | + margin-top: 5px; |
| 146 | + } |
78 | 147 | }
|
79 | 148 | }
|
80 | 149 | }
|
0 commit comments