From d2b01d80fb8dae8e3400bb09038d3afbcbd55495 Mon Sep 17 00:00:00 2001 From: Haishan Date: Sun, 6 Dec 2020 16:02:08 +0800 Subject: chore: minor input and select style tweak --- src/components/Input.module.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/components/Input.module.css') diff --git a/src/components/Input.module.css b/src/components/Input.module.css index a39c064..e63bf79 100644 --- a/src/components/Input.module.css +++ b/src/components/Input.module.css @@ -11,11 +11,10 @@ height: 40px; outline: none; padding: 0 15px; - transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); width: 100%; - &:focus { - border-color: var(--color-focus-blue); - } +} +.input:focus { + box-shadow: rgba(66, 153, 225, 0.6) 0px 0px 0px 3px; } input::-webkit-outer-spin-button, -- cgit v1.3.1