Merge pull request #1888 from simonspa/hover_effects

This commit is contained in:
Julius Härtl
2020-05-15 12:02:54 +02:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

View File

@@ -237,12 +237,14 @@ export default {
margin: 3px -3px;
margin-right: -10px;
margin-top: 0;
margin-bottom: 0;
margin-bottom: 3px;
background-color: var(--color-main-background-translucent);
cursor: grab;
h3, form {
flex-grow: 1;
display: flex;
cursor: inherit;
input[type=text] {
flex-grow: 1;

View File

@@ -168,6 +168,10 @@ export default {
border: 1px solid var(--color-border);
}
.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);