Adding focus handling for buttons and inputs
This commit is contained in:
@ -2,6 +2,8 @@
|
||||
background: $button-color;
|
||||
color: $on-button;
|
||||
|
||||
// @include focus-outline();
|
||||
|
||||
&:hover {
|
||||
background: darken($button-color, 5%);
|
||||
}
|
||||
@ -17,10 +19,18 @@
|
||||
|
||||
.btn {
|
||||
@include Elevation(1);
|
||||
@include ElevationTransition(0.2s);
|
||||
&:focus {
|
||||
@include Elevation(6);
|
||||
}
|
||||
@include btn-flat();
|
||||
}
|
||||
|
||||
.fab {
|
||||
@include Elevation(8);
|
||||
@include ElevationTransition(0.2s);
|
||||
&:focus {
|
||||
@include Elevation(16);
|
||||
}
|
||||
background: $button-color;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user