From 0184430f24a58eeda8d5686bf80161b62c51c174 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sun, 8 May 2016 14:36:28 +0800 Subject: fix button focused style --- src/buttons.less | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/buttons.less') diff --git a/src/buttons.less b/src/buttons.less index cb97f5c..1dada53 100644 --- a/src/buttons.less +++ b/src/buttons.less @@ -18,8 +18,10 @@ vertical-align: middle; white-space: nowrap; - &:hover, &:focus { + background: lighten(@core-color, 40%); + } + &:hover { background: @core-color; border-color: darken(@core-color, 5%); color: @core-light-color; @@ -37,8 +39,8 @@ border-color: darken(@core-color, 5%); color: @core-light-color; - &:hover, - &:focus { + &:focus, + &:hover { background: darken(@core-color, 5%); border-color: darken(@core-color, 10%); color: @core-light-color; -- cgit v1.3.1-26-gb76a