Skip to content

Commit a521652

Browse files
committed
improve the background of the search modal
1 parent df4a0fd commit a521652

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

resources/css/app.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ button { @apply cursor-pointer; }
4545

4646

4747
:root {
48-
--docsearch-container-background: rgba(0, 0, 0, 0.5);
48+
--docsearch-container-background: rgba(0, 0, 0, 0.2);
4949
--docsearch-primary-color: #382aac;
5050
--docsearch-modal-background:rgba(18, 4, 69, 1);
5151
--docsearch-highlight-color:rgba(247, 51, 155, 0.9);
@@ -80,6 +80,7 @@ pre code.torchlight .line-number{display:none}
8080
@media (min-width: 768px) {
8181
[id=docsearch] {width: auto;}
8282
}
83+
.DocSearch-Container { @apply backdrop-blur-sm }
8384
.DocSearch-Screen-Icon { display:none }
8485
.DocSearch-Help, .DocSearch-Label { color: rgba(255, 255, 255, 0.6) !important}
8586
.DocSearch-Form { @apply rounded-xl z-50 relative }
@@ -88,7 +89,7 @@ pre code.torchlight .line-number{display:none}
8889
.DocSearch-Button-Container { @apply flex items-center }
8990
.DocSearch-Button-Keys {min-width:0}
9091
.DocSearch-Button-Key{background:0 0;padding:0;color:rgba(255, 255, 255, 0.6);top:auto;box-shadow:none;width:auto;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";margin-right:.125rem}
91-
.DocSearch-Modal{ @apply text-white shadow-none rounded-xl }
92+
.DocSearch-Modal{ @apply text-white shadow-2xl rounded-xl }
9293
.DocSearch-Hit a{ @apply shadow-none}
9394
.DocSearch-Button-Placeholder{ @apply text-sm }
9495
.DocSearch-Help { @apply text-white text-base }

0 commit comments

Comments
 (0)