Fix card hover/active states
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -282,7 +282,6 @@ export default {
|
||||
margin-right: -10px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 3px;
|
||||
background-color: var(--color-main-background-translucent);
|
||||
cursor: grab;
|
||||
|
||||
h3, form {
|
||||
|
||||
@@ -160,10 +160,6 @@ export default {
|
||||
@import './../../css/animations';
|
||||
@import './../../css/variables';
|
||||
|
||||
.card:hover {
|
||||
box-shadow: 0 0 5px 1px var(--color-box-shadow);
|
||||
}
|
||||
|
||||
.card {
|
||||
transition: box-shadow 0.1s ease-in-out;
|
||||
box-shadow: 0 0 2px 0 var(--color-box-shadow);
|
||||
@@ -180,9 +176,12 @@ export default {
|
||||
border: 2px solid var(--color-border);
|
||||
}
|
||||
|
||||
&.current-card {
|
||||
&:hover {
|
||||
box-shadow: 0 0 5px 0 var(--color-box-shadow);
|
||||
}
|
||||
&.current-card {
|
||||
box-shadow: 0 0 5px 1px var(--color-box-shadow);
|
||||
}
|
||||
|
||||
.card-upper {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user