Summary Files Commits Branches @commit @diff @stats
path: root / src / base.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/base.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, 6 deletions
-rw-r--r--src/base.less11
diff --git a/src/base.less b/src/base.less
index 7b20a39..ba21bee 100644
--- a/src/base.less
+++ b/src/base.less
@@ -23,8 +23,13 @@ body {
a {
color: @link-color;
+ outline: none;
text-decoration: none;
+ &:focus {
+ .control-shadow();
+ }
+
&:focus,
&:hover,
&:active,
@@ -33,9 +38,3 @@ a {
text-decoration: underline;
}
}
-
-// Focus state
-:focus {
- .control-shadow();
- outline: none;
-}