mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-22 17:47:11 +03:00
fix(buttons): Removed focus outline
This commit is contained in:
parent
562fb9fedf
commit
edf74ae08b
|
@ -17,8 +17,6 @@
|
|||
color 0.2s $bmd-animation-curve-default;
|
||||
will-change: box-shadow, transform;
|
||||
|
||||
@include undo-bs-tab-focus();
|
||||
|
||||
//--
|
||||
// Colors
|
||||
|
||||
|
@ -53,7 +51,6 @@
|
|||
// :focus - Avoid outline/boxShadow on buttons after mouseup
|
||||
&.focus,
|
||||
&:focus {
|
||||
box-shadow: none; // disable box-shadow
|
||||
outline: 0; // disable outline
|
||||
}
|
||||
}
|
||||
|
|
|
@ -203,17 +203,3 @@
|
|||
@include bmd-raised-button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border-color);
|
||||
}
|
||||
}
|
||||
|
||||
@mixin undo-bs-tab-focus() {
|
||||
// clear out the tab-focus() from BS
|
||||
&,
|
||||
&:active,
|
||||
&.active {
|
||||
&:focus,
|
||||
&.focus {
|
||||
//@include tab-focus();
|
||||
outline: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,6 +17,8 @@ $bmd-inverse-btn-focus-bg: rgba(#ccc, .15) !default; // spec: dark bg Hover: 15%
|
|||
$bmd-inverse-btn-active-bg: rgba(#ccc, .25) !default; // spec: dark Pressed: 25% #CCCCCC
|
||||
$bmd-inverse-btn-disabled: rgba($white, .30) !default; // spec: dark theme: Disabled text: 30% $white
|
||||
|
||||
$btn-focus-box-shadow: none;
|
||||
|
||||
$bmd-btn-fab-size: 3.5rem !default; // 56px
|
||||
$bmd-btn-fab-size-sm: 2.5rem !default; // 40px
|
||||
$bmd-btn-fab-font-size: 1.5rem !default; // 24px
|
||||
|
|
Loading…
Reference in New Issue
Block a user