diff --git a/src/style.css b/src/style.css index 4ac9fcf1b..bbb878681 100644 --- a/src/style.css +++ b/src/style.css @@ -9,11 +9,14 @@ --docsearch-modal-shadow: inset 1px 1px 0px 0px rgba(255, 255, 255, 0.5), 0px 3px 8px 0px rgba(85, 90, 100, 1); --docsearch-searchbox-background: var(--ifm-color-emphasis-300); - --docsearch-searchbox-shadow: inset 0px 0px 0px 2px var(--ifm-color-primary); + --docsearch-searchbox-focus-background: white; + --docsearch-searchbox-shadow: inset 0px 0px 0px 2px rgba(84, 104, 255, 0.5), + inset 2px 4px 6px 0px rgba(84, 104, 255, 0.25), + 1px 1px 0px 0px rgb(255, 255, 255); --docsearch-hit-color: var(--ifm-color-emphasis-800); --docsearch-hit-active-color: white; --docsearch-hit-background: white; - --docsearch-hit-shadow: 0px 2px 6px 0px rgb(212, 217, 225); + --docsearch-hit-shadow: 0px 1px 3px 0px rgb(212, 217, 225); --docsearch-key-gradient: linear-gradient( -225deg, rgb(213, 219, 228) 0%, @@ -22,7 +25,8 @@ --docsearch-key-shadow: inset 0px -2px 0px 0px rgb(205, 205, 230), inset 0px 0px 1px 1px white, 0px 1px 2px 1px rgba(30, 35, 90, 0.4); --docsearch-footer-background: white; - --docsearch-footer-shadow: 0px -5px 7px 0px rgba(69, 98, 155, 0.12); + --docsearch-footer-shadow: 0px -1px 0px 0px rgb(224, 227, 232), + 0px -3px 6px 0px rgba(69, 98, 155, 0.12); --docsearch-logo-color: #5468ff; --docsearch-muted-color: rgb(150, 159, 175); --docsearch-modal-width: 560px; @@ -42,6 +46,7 @@ html[data-theme='dark'] { --docsearch-modal-shadow: inset 1px 1px 0px 0px rgb(44, 46, 64), 0px 3px 8px 0px rgb(0, 3, 9); --docsearch-searchbox-background: rgb(9, 10, 17); + --docsearch-searchbox-focus-background: black; --docsearch-hit-color: var(--ifm-color-emphasis-500); --docsearch-hit-shadow: none; --docsearch-hit-background: rgb(9, 10, 17); @@ -85,6 +90,7 @@ html[data-theme='dark'] { .DocSearch-SearchButton:active, .DocSearch-SearchButton:focus { outline: none; + background: var(--docsearch-searchbox-focus-background); box-shadow: var(--docsearch-searchbox-shadow); } @@ -192,7 +198,7 @@ html[data-theme='dark'] { padding: 0 var(--docsearch-spacing); align-items: center; border-radius: 4px; - background: var(--docsearch-searchbox-background); + background: var(--docsearch-searchbox-focus-background); box-shadow: var(--docsearch-searchbox-shadow); } @@ -466,6 +472,8 @@ html[data-theme='dark'] { .DocSearch-Hit-action { height: 22px; width: 22px; + display: flex; + align-items: center; } .DocSearch-Hit-action svg{ diff --git a/src/svg/icon_error_noResults.svg b/src/svg/icon_error_noResults.svg new file mode 100644 index 000000000..13f1b90a7 --- /dev/null +++ b/src/svg/icon_error_noResults.svg @@ -0,0 +1,14 @@ + + + + 9d12a5ba-adf6-46da-9c20-406b66b1b0ca@1.00x + Created with sketchtool. + + + + + + + + + \ No newline at end of file diff --git a/src/svg/icon_error_offline.svg b/src/svg/icon_error_offline.svg new file mode 100644 index 000000000..17048d7ef --- /dev/null +++ b/src/svg/icon_error_offline.svg @@ -0,0 +1,16 @@ + + + + bb4e7e4c-061e-4bb5-8ea4-ab254709e8f4@1.00x + Created with sketchtool. + + + + + + + + + + + \ No newline at end of file diff --git a/src/svg/icon_source_anchor.svg b/src/svg/icon_source_anchor.svg index cf0ba8622..59a321b66 100644 --- a/src/svg/icon_source_anchor.svg +++ b/src/svg/icon_source_anchor.svg @@ -1,7 +1,7 @@ - 78adcbdb-966a-4cd6-9309-109b3e7780e1@1.00x + 7ba0d688-6d43-462d-b03b-e154ecb6f024@1.00x Created with sketchtool. diff --git a/src/svg/icon_source_content.svg b/src/svg/icon_source_content.svg index 427474590..2437efe9a 100644 --- a/src/svg/icon_source_content.svg +++ b/src/svg/icon_source_content.svg @@ -1,7 +1,7 @@ - 90955cc9-f7b3-4479-898c-19510cc4b6d4@1.00x + 93a43dc2-d948-446a-b1ec-321aaf5ecbe3@1.00x Created with sketchtool. diff --git a/src/svg/icon_source_page.svg b/src/svg/icon_source_page.svg index dbec55d00..1aff70981 100644 --- a/src/svg/icon_source_page.svg +++ b/src/svg/icon_source_page.svg @@ -1,11 +1,12 @@ - 1f96940f-ca50-4e02-84bd-79bc02579d53@1.00x + ed46face-8603-49b5-b7b5-1ba481f17dd2@1.00x Created with sketchtool. - + + \ No newline at end of file diff --git a/src/svg/icon_tree_child.svg b/src/svg/icon_tree_child.svg index c6951fca9..3760a3086 100644 --- a/src/svg/icon_tree_child.svg +++ b/src/svg/icon_tree_child.svg @@ -1,12 +1,12 @@ - + - 8d4bc779-eae6-4075-8edb-f964556f9cd5@1.00x + 62e232f0-63be-4bb8-9547-1d9a37cb8929@1.00x Created with sketchtool. - - + + \ No newline at end of file diff --git a/src/svg/icon_tree_last-child.svg b/src/svg/icon_tree_last-child.svg index 6f9a4b2f1..cdda1c62d 100644 --- a/src/svg/icon_tree_last-child.svg +++ b/src/svg/icon_tree_last-child.svg @@ -1,12 +1,12 @@ - + - 658830a4-2f41-4e2b-b15f-517e3365664b@1.00x + 32a42f48-52c2-4fb1-9251-210392f3ac2c@1.00x Created with sketchtool. - - + + \ No newline at end of file diff --git a/src/svg/light_footer_key_esc.svg b/src/svg/light_footer_key_esc.svg index f693037c1..56b824d76 100644 --- a/src/svg/light_footer_key_esc.svg +++ b/src/svg/light_footer_key_esc.svg @@ -1,9 +1,9 @@ - 67ddc381-274d-431d-a5d3-cf7d76b0c2cd@1.00x + 66bd230c-207d-4c2d-b384-0b58dff9dbb1@1.00x Created with sketchtool. - +