fix transition and shadow

This commit is contained in:
Rintan 2020-10-02 15:13:18 +09:00
parent f417d634e7
commit 5fababa870
6 changed files with 12 additions and 6 deletions

View File

@ -39,11 +39,12 @@
} }
&:hover { &:hover {
@include material-transition;
color: $icon-button-hover-color; color: $icon-button-hover-color;
background-color: $icon-bg-hover-color; background-color: $icon-bg-hover-color;
} }
&:focus { transition: none } &:focus { background-color: transparent }
} }
// Checkbox with label // Checkbox with label

View File

@ -39,11 +39,12 @@
} }
&:hover { &:hover {
@include material-transition;
color: $icon-button-hover-color; color: $icon-button-hover-color;
background-color: $icon-bg-hover-color; background-color: $icon-bg-hover-color;
} }
&:focus { transition: none } &:focus { background-color: transparent }
} }
// Checkbox with label // Checkbox with label

View File

@ -39,11 +39,12 @@
} }
&:hover { &:hover {
@include material-transition;
color: $icon-button-hover-color; color: $icon-button-hover-color;
background-color: $icon-bg-hover-color; background-color: $icon-bg-hover-color;
} }
&:focus { transition: none } &:focus { background-color: transparent }
} }
// Checkbox with label // Checkbox with label

View File

@ -39,11 +39,12 @@
} }
&:hover { &:hover {
@include material-transition;
color: $icon-button-hover-color; color: $icon-button-hover-color;
background-color: $icon-bg-hover-color; background-color: $icon-bg-hover-color;
} }
&:focus { transition: none } &:focus { background-color: transparent }
} }
// Checkbox with label // Checkbox with label

View File

@ -39,11 +39,12 @@
} }
&:hover { &:hover {
@include material-transition;
color: $icon-button-hover-color; color: $icon-button-hover-color;
background-color: $icon-bg-hover-color; background-color: $icon-bg-hover-color;
} }
&:focus { transition: none } &:focus { background-color: transparent }
} }
// Checkbox with label // Checkbox with label

View File

@ -39,11 +39,12 @@
} }
&:hover { &:hover {
@include material-transition;
color: $icon-button-hover-color; color: $icon-button-hover-color;
background-color: $icon-bg-hover-color; background-color: $icon-bg-hover-color;
} }
&:focus { transition: none } &:focus { background-color: transparent }
} }
// Checkbox with label // Checkbox with label