Commit 9501ed87 authored by Mark Otto's avatar Mark Otto
Browse files

Merge branch 'btn-active' of https://github.com/andresgalante/bootstrap into...

Merge branch 'btn-active' of https://github.com/andresgalante/bootstrap into andresgalante-btn-active
parents 4a603f11 c090c79a
6 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!25494web pack,!25326Adjust examples,!23207#22402 : modal: new autofocus & keyboardBtnNav options,!17021v4
Showing with 5 additions and 5 deletions
+5 -5
......@@ -3,16 +3,16 @@
// Easily pump out default styles, as well as :hover, :focus, :active,
// and disabled options for all buttons
@mixin button-variant($background, $border, $active-background: darken($background, 7.5%), $active-border: darken($border, 10%)) {
color: color-yiq($background);
@mixin button-variant($background, $border, $hover-background: darken($background, 7.5%), $hover-border: darken($border, 10%), $active-background: darken($background, 12.5%), $active-border: darken($border, 15%)) {
@include color-yiq($background);
background-color: $background;
border-color: $border;
@include box-shadow($btn-box-shadow);
@include hover {
color: color-yiq($active-background);
background-color: $active-background;
border-color: $active-border;
@include color-yiq($hover-background);
background-color: $hover-background;
border-color: $hover-border;
}
&:focus,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment