commit a34b697c0c6655407d08aee1b7f56ce5ca5205a2 (tree)
parent f597e0d0923e914ec4690016a7aab8ebdaaab4db
Author: Rocknest <35231115+Rocknest@users.noreply.github.com>
Date: Thu, 10 Oct 2019 18:55:14 +0300
Add transtition to search field
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/std/special/docs/index.html b/lib/std/special/docs/index.html
@@ -428,10 +428,13 @@
border-bottom-style: solid;
border-bottom-color: #000;
outline: none;
+ transition: border-bottom-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.search:focus {
border-bottom-color: #ffbb4d;
+ background: white;
+ box-shadow: 0 0.3em 1em 0.125em rgba(0, 0, 0, 0.18);
}
.search::placeholder {