Improve color palette

This commit is contained in:
2023-04-06 18:25:35 +02:00
parent bbe3883979
commit a273c8de4b
3 changed files with 62 additions and 25 deletions

View File

@ -31,16 +31,27 @@
padding: 0.75em;
border-radius: 3px;
border: none;
background-color: var(--color-link);
color: white;
background-color: var(--color-button);
color: var(--color-button-text);
cursor: grab;
transition: all 0.2s ease-in-out;
}
button:hover:not(:disabled) {
background-color: var(--color-link-visited);
background-color: var(--color-button-hover);
}
button:hover:not(:disabled):not(:active) {
box-shadow: 4px 4px 3px 0 var(--color-button-shadow);
translate: -2px -2px;
}
button:disabled {
cursor: not-allowed;
background-color: grey;
background-color: var(--color-button-deactivated);
}
button:not(:disabled) {
box-shadow: 2px 2px 1px 0 var(--color-button-shadow);
}
</style>