Summary Files Commits Branches @commit @diff @stats
path: root / src / buttons.less
diff options
context:
space:
mode:
1 files changed, 4 insertions, 8 deletions
-rw-r--r--src/buttons.less12
diff --git a/src/buttons.less b/src/buttons.less
index 96e9bd4..66d57d4 100644
--- a/src/buttons.less
+++ b/src/buttons.less
@@ -46,20 +46,16 @@
background: @primary-color;
border-color: @dark-primary-color;
color: @light-color;
- &:focus {
- background: @dark-primary-color;
- border-color: darken(@dark-primary-color, 2%);
- color: @light-color;
- }
+ &:focus,
&:hover {
background: darken(@dark-primary-color, 2%);
- border-color: darken(@dark-primary-color, 7%);
+ border-color: darken(@dark-primary-color, 5%);
color: @light-color;
}
&:active,
&.active {
background: darken(@dark-primary-color, 4%);
- border-color: darken(@dark-primary-color, 9%);
+ border-color: darken(@dark-primary-color, 7%);
color: @light-color;
}
&.loading {
@@ -162,8 +158,8 @@
border-top-left-radius: 0;
margin-left: -.1rem;
}
- &:hover,
&:focus,
+ &:hover,
&:active,
&.active {
z-index: 9;