Summary Files Commits Branches @commit @diff @stats
path: root / src / calendars.less
diff options
context:
space:
mode:
Commit14439c41a1c5f332d1713fe7c953dbcfeb7be8b7 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-04-03 15:17:22 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-04-03 15:17:22 +0800
Filesaa4012b5ccc4c87113c138f2c273a4b4880f0c91 /src/calendars.less
Spectre-Dark-Gruvbox-14439c41a1c5f332d1713fe7c953dbcfeb7be8b7.tar
Spectre-Dark-Gruvbox-14439c41a1c5f332d1713fe7c953dbcfeb7be8b7.tar.gz
Spectre-Dark-Gruvbox-14439c41a1c5f332d1713fe7c953dbcfeb7be8b7.zip
Parent95983b898151959ab02b397806a195d8b45a3b97 (diff)
Improve :focus state style
1 files changed, 5 insertions, 0 deletions
-rw-r--r--src/calendars.less5
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;