Show file-image actions button upon focus; Use hover style for focused buttons (#8614)

This commit is contained in:
Adrian Dimitrov
2021-10-07 07:36:19 -07:00
committed by GitHub
parent 85c95f7f9b
commit e8bc145a02
2 changed files with 3 additions and 0 deletions

View File

@@ -300,6 +300,7 @@ export default defineComponent({
transition-property: background-color border;
}
.button:focus,
.button:hover {
color: var(--v-button-color-hover);
background-color: var(--v-button-background-color-hover);
@@ -339,6 +340,7 @@ export default defineComponent({
background-color: transparent;
}
.outlined:not(.active):focus,
.outlined:not(.active):hover {
color: var(--v-button-background-color-hover);
background-color: transparent;

View File

@@ -369,6 +369,7 @@ img {
transition: max-height var(--fast) var(--transition);
}
.image-preview:focus-within,
.image-preview:hover {
.shadow {
height: 100%;