From 13e82fc8cba175062d1238ad5edcb35249e0f52a Mon Sep 17 00:00:00 2001 From: Nexmoe <16796652+nexmoe@users.noreply.github.com> Date: Fri, 25 Feb 2022 17:07:46 +0800 Subject: [PATCH] Floating search box, effective when the page slides down. --- effector.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/effector.json b/effector.json index 5e1925c..50123ba 100644 --- a/effector.json +++ b/effector.json @@ -75,5 +75,12 @@ "en": "Hide scroll bar" }, "css": "::-webkit-scrollbar{display:none;}body{scrollbar-width:none;}" + }, + { + "des": { + "zh_CN": "浮动搜索框,页面下滑时生效", + "en": "Floating search box, effective when the page slides down." + }, + "css": ".cb .row:nth-child(2){transition:all 0.2s ease-in-out}.v-app-bar--is-scrolled + .cb .row:nth-child(2){position:fixed;z-index:1;top:24px}.v-app-bar--is-scrolled + .cb .row:nth-child(2) #chainwon-search{box-shadow:0 4px 20px 7px rgba(0,0,0,0.1)}" } ]