[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:
@ -36,7 +36,7 @@
|
||||
}
|
||||
|
||||
&.unhandled-link {
|
||||
color: lighten($ui-highlight-color, 8%);
|
||||
color: $highlight-text-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -201,7 +201,7 @@
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: $ui-highlight-color;
|
||||
color: $highlight-text-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -58,8 +58,8 @@
|
||||
vertical-align: middle;
|
||||
|
||||
&.checked {
|
||||
border-color: lighten($ui-highlight-color, 8%);
|
||||
background: lighten($ui-highlight-color, 8%);
|
||||
border-color: lighten($ui-highlight-color, 4%);
|
||||
background: lighten($ui-highlight-color, 4%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -51,22 +51,16 @@
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
transition: all 100ms ease-in;
|
||||
transition-property: background-color;
|
||||
white-space: nowrap;
|
||||
width: auto;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
background-color: lighten($ui-highlight-color, 7%);
|
||||
transition: all 200ms ease-out;
|
||||
transition-property: background-color;
|
||||
background-color: $ui-highlight-color;
|
||||
}
|
||||
|
||||
&--destructive {
|
||||
transition: none;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
@ -916,11 +910,11 @@
|
||||
}
|
||||
|
||||
.react-toggle--checked .react-toggle-track {
|
||||
background-color: $ui-highlight-color;
|
||||
background-color: darken($ui-highlight-color, 2%);
|
||||
}
|
||||
|
||||
.react-toggle--checked:is(:hover, :focus-within):not(.react-toggle--disabled) .react-toggle-track {
|
||||
background-color: lighten($ui-highlight-color, 10%);
|
||||
background-color: $ui-highlight-color;
|
||||
}
|
||||
|
||||
.react-toggle-track-check {
|
||||
@ -1216,14 +1210,14 @@ button.icon-button.active i.fa-retweet {
|
||||
}
|
||||
|
||||
a {
|
||||
color: lighten($ui-highlight-color, 8%);
|
||||
color: $highlight-text-color;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
text-decoration: underline;
|
||||
color: lighten($ui-highlight-color, 12%);
|
||||
color: lighten($highlight-text-color, 4%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -199,7 +199,7 @@
|
||||
height: 3.9375rem;
|
||||
bottom: 1.3125rem;
|
||||
right: 1.3125rem;
|
||||
background: darken($ui-highlight-color, 3%);
|
||||
background: darken($ui-highlight-color, 2%);
|
||||
color: $white;
|
||||
border-radius: 50%;
|
||||
font-size: 21px;
|
||||
@ -210,7 +210,7 @@
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
background: lighten($ui-highlight-color, 7%);
|
||||
background: $ui-highlight-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -187,7 +187,7 @@
|
||||
}
|
||||
|
||||
a.unhandled-link {
|
||||
color: lighten($ui-highlight-color, 8%);
|
||||
color: $highlight-text-color;
|
||||
|
||||
.link-origin-tag {
|
||||
color: $gold-star;
|
||||
|
Reference in New Issue
Block a user