[Glitch] Fix contrast of some elements with new brand colors

Port 0391b2a603 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2022-06-19 08:18:08 +02:00
committed by Claire
parent 0e74d4da59
commit 353e2c5d84
14 changed files with 32 additions and 42 deletions

View File

@@ -454,14 +454,14 @@ code {
width: 100%;
border: 0;
border-radius: 4px;
background: $ui-highlight-color;
background: darken($ui-highlight-color, 2%);
color: $primary-text-color;
font-size: 18px;
line-height: inherit;
height: auto;
padding: 10px;
text-transform: uppercase;
text-decoration: none;
text-transform: uppercase;
text-align: center;
box-sizing: border-box;
cursor: pointer;
@@ -474,13 +474,10 @@ code {
margin-right: 0;
}
&:hover {
background-color: lighten($ui-highlight-color, 5%);
}
&:active,
&:focus {
background-color: darken($ui-highlight-color, 5%);
&:focus,
&:hover {
background-color: $ui-highlight-color;
}
&:disabled:hover {