This commit is contained in:
Viet An
2026-05-22 09:05:16 +07:00
parent d13db665ee
commit 58367a4793
2 changed files with 6 additions and 9 deletions

View File

@@ -24,6 +24,12 @@
box-shadow: none;
}
/* on hover, add background color, stop width flickering */
.button.is-outlined:hover {
--bulma-button-border-width: max(1px, 0.0625em);
background-color: hsl(var(--bulma-button-h), var(--bulma-button-s), var(--bulma-button-l), 0.1);
}
.delete {
--bulma-delete-background-alpha: 0.3;
}

View File

@@ -652,13 +652,4 @@ p.control {
width: 100%;
}
}
.button.is-primary.is-outlined:hover {
/* TODO: make it global: when outlined,
border width shouldn't change, background-color should change */
--bulma-button-border-width: max(1px, 0.0625em);
/* same as not-hovered */
background-color: var(--bulma-primary-95);
}
</style>