Remove duplicated :hover selector

This commit is contained in:
Maciej Matuszewski 2017-11-19 14:58:39 +01:00
parent 1907ea6e69
commit 53aaa4c308
2 changed files with 3 additions and 8 deletions

View file

@ -10,6 +10,7 @@ button, .paper-btn, input[type="button"] {
padding: .75rem .75rem; padding: .75rem .75rem;
cursor: pointer; cursor: pointer;
.shadow; .shadow;
.shadow-hover;
&.btn-large { &.btn-large {
.shadow-large; .shadow-large;
font-size:2rem; font-size:2rem;
@ -24,9 +25,6 @@ button, .paper-btn, input[type="button"] {
display: block; display: block;
width: 100%; width: 100%;
} }
&:hover{
.shadow-hover;
}
&.disabled, &[disabled]{ &.disabled, &[disabled]{
.disabled; .disabled;
} }

View file

@ -1,15 +1,12 @@
.card { .card {
.shadow; .shadow;
.shadow-hover;
position: relative; position: relative;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
word-wrap: break-word; word-wrap: break-word;
border: 2px solid @muted-light; border: 2px solid @muted-light;
&:hover {
.shadow-hover;
}
.card-header, .card-header,
.card-footer { .card-footer {