From 14439c41a1c5f332d1713fe7c953dbcfeb7be8b7 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 3 Apr 2017 15:17:22 +0800 Subject: Improve :focus state style --- src/calendars.less | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/calendars.less') diff --git a/src/calendars.less b/src/calendars.less index 32711a4..46fd286 100644 --- a/src/calendars.less +++ b/src/calendars.less @@ -54,6 +54,7 @@ cursor: pointer; height: 2.8rem; line-height: 2rem; + outline: none; padding: .3rem; position: relative; text-align: center; @@ -67,6 +68,10 @@ color: @primary-color; } + &:focus { + .control-shadow(); + } + &:focus, &:hover { background: @secondary-color-light; -- cgit v1.3.1-23-gd82d