mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: Use the right text color on input elements
This commit is contained in:
@@ -197,16 +197,12 @@ input, button, a.button {
|
|||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
color: white;
|
color: var(--text-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: var(--border-radius-sm);
|
border-radius: var(--border-radius-sm);
|
||||||
|
|
||||||
&:visited {
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
@@ -224,6 +220,7 @@ input[type="checkbox"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
button, a.button {
|
button, a.button {
|
||||||
|
color: white;
|
||||||
background-color: var(--c1);
|
background-color: var(--c1);
|
||||||
transition: opacity .2s;
|
transition: opacity .2s;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -241,6 +238,10 @@ button, a.button {
|
|||||||
&:not(:disabled) {
|
&:not(:disabled) {
|
||||||
transition: linear color, background-color 0.1s;
|
transition: linear color, background-color 0.1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:visited {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
|||||||
Reference in New Issue
Block a user