|
12 | 12 | } |
13 | 13 |
|
14 | 14 | /* Sidebar search styling */ |
15 | | -aside input[type="search"] { |
16 | | - border: 1px solid #e3e3e3 !important; |
| 15 | +aside input[type="search"], |
| 16 | +.theme-doc-sidebar-container input[type="search"], |
| 17 | +.menu input[type="search"] { |
| 18 | + border: 1px solid #999 !important; |
17 | 19 | border-radius: 4px !important; |
18 | 20 | } |
19 | 21 |
|
20 | | -aside input[type="search"]:focus { |
| 22 | +aside input[type="search"]:focus, |
| 23 | +.theme-doc-sidebar-container input[type="search"]:focus, |
| 24 | +.menu input[type="search"]:focus { |
21 | 25 | outline: none !important; |
22 | | - border-color: #ddd !important; |
| 26 | + border-color: #999 !important; |
23 | 27 | box-shadow: none !important; |
24 | 28 | } |
25 | 29 |
|
26 | | -[data-theme='dark'] aside input[type="search"] { |
27 | | - border-color: #3a3a3a !important; |
| 30 | +[data-theme='dark'] aside input[type="search"], |
| 31 | +[data-theme='dark'] .theme-doc-sidebar-container input[type="search"], |
| 32 | +[data-theme='dark'] .menu input[type="search"] { |
| 33 | + border-color: #555 !important; |
28 | 34 | } |
29 | 35 |
|
30 | | -/* Sidebar search icon */ |
31 | | -aside svg[class*="search"] { |
| 36 | +/* Sidebar search icon - match sidebar bars color */ |
| 37 | +aside svg[class*="search"], |
| 38 | +.theme-doc-sidebar-container svg[class*="search"], |
| 39 | +.menu svg[class*="search"], |
| 40 | +aside button svg, |
| 41 | +.theme-doc-sidebar-container button svg { |
32 | 42 | color: #699bde !important; |
33 | 43 | fill: #699bde !important; |
34 | 44 | width: 18px !important; |
35 | 45 | height: 18px !important; |
| 46 | + stroke: #699bde !important; |
36 | 47 | } |
37 | 48 |
|
38 | 49 | /* ============================================== |
|
0 commit comments