diff options
| author | muqiuhan <[email protected]> | 2026-03-15 15:09:53 +0000 |
|---|---|---|
| committer | muqiuhan <[email protected]> | 2026-03-15 15:09:53 +0000 |
| commit | 25917ed0c1e01b6d7cc2ddac5bfca1c4238e96c2 (patch) | |
| tree | b022a85750c903f90ab288b009b61385a35971d5 /css/partials/search.css | |
| parent | 353e53fce4310ed6fbafa818be74831b5dc57f24 (diff) | |
| download | blog-25917ed0c1e01b6d7cc2ddac5bfca1c4238e96c2.tar.gz | |
deploy: 6a321a6e20ead9aeea588c009b5445c76260ea92
Diffstat (limited to 'css/partials/search.css')
| -rw-r--r-- | css/partials/search.css | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/css/partials/search.css b/css/partials/search.css deleted file mode 100644 index 4b3ac735..00000000 --- a/css/partials/search.css +++ /dev/null @@ -1,83 +0,0 @@ -.search-popup { - visibility: hidden; -} -.search-activate { - visibility: visible; -} -.search-popup-overlay { - position: fixed; - left: 0; - top: 0; - height: 100%; - width: 100%; - background: $color-overlay; -} -.search-popup-window { - position: absolute; - top: 50%; - left: 50%; - background: $color-background; - transform: translate(-50%, -50%); - width: 640px; - height: 60%; - border: 1px solid $color-border; - overflow: hidden; - display: flex; - flex-direction: column; -} -.search-result-container { - flex-grow: 1; - overflow: scroll; - padding: $margin-m-1 $margin-m-1; -} -.search-result-container .search-result-message { - color: $color-text-secondary; -} -.search-result-container .search-result-title { - color: $color-text-primary; -} -.search-result-container li { - padding-bottom: $margin-m-1; - padding-top: $margin-m-2; -} -.search-result-container .search-result { - color: $color-text-primary; - margin-top: $margin-m-0; - margin-bottom: $margin-m-0; -} -.search-result-container mark { - color: $color-text-primary; - background-color: $color-search-marker; -} -.search-header { - display: flex; - flex-direction: row; - align-items: center; - padding: $margin-m-1 $margin-m-1; - border-bottom: 1px solid $color-border; -} -.search-header .search-input-container { - flex-grow: 1; -} -.search-header .search-input-container .search-input { - width: 100%; - color: $color-text-primary; - background-color: $color-background; -} -.search-header .search-input-container .search-input::placeholder { - color: $color-text-secondary; -} -.search-header .search-close-btn { - flex-grow: 0; - margin-left: $margin-m-1; - margin: auto; - cursor: pointer; -} -@media (max-width: 688px) { - .search-popup-window { - width: 100%; - height: 100%; - top: $header-height; - transform: translate(-50%, 0); - } -} |
