fix width (???), return button backgrounds
This commit is contained in:
parent
b295b6f03a
commit
970590497f
4 changed files with 8 additions and 15 deletions
|
@ -63,7 +63,7 @@
|
|||
border-radius: 8px;
|
||||
border: 2px solid var(--bg-700);
|
||||
|
||||
background-color: transparent;
|
||||
background-color: var(--bg-700);
|
||||
color: var(--text);
|
||||
|
||||
transition-property: border-color, background-color, color;
|
||||
|
@ -79,11 +79,13 @@
|
|||
}
|
||||
|
||||
button:hover {
|
||||
background-color: color-mix(in srgb, transparent, var(--bg-700) 50%);
|
||||
border-color: color-mix(in srgb, var(--bg-700), black 10%);
|
||||
background-color: color-mix(in srgb, var(--bg-700), black 10%);
|
||||
}
|
||||
|
||||
button:active {
|
||||
background-color: var(--bg-700);
|
||||
border-color: color-mix(in srgb, var(--bg-700), black 20%);
|
||||
background-color: color-mix(in srgb, var(--bg-700), black 20%);
|
||||
}
|
||||
|
||||
button.active {
|
||||
|
@ -124,18 +126,11 @@
|
|||
button.disabled {
|
||||
color: var(--text);
|
||||
opacity: .5;
|
||||
background: transparent;
|
||||
border-color: transparent;
|
||||
cursor: initial;
|
||||
}
|
||||
|
||||
button.disabled:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
button.disabled:active {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.icon:not(:empty) {
|
||||
height: 1.8em;
|
||||
margin-right: 8px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue