Use precomputed colors for achievements to avoid use of "filter" css property
This commit is contained in:
@@ -858,35 +858,41 @@
|
||||
font-size: 14px;
|
||||
color: #58A6FF;
|
||||
}
|
||||
.achievement .gauge.info {
|
||||
color: #58A6FF;
|
||||
}
|
||||
.achievement.x .title {
|
||||
color: #666666;
|
||||
}
|
||||
.achievement.x .icon {
|
||||
filter: grayscale(1) opacity(.5);
|
||||
.achievement.x .gauge.info {
|
||||
color: #B0B0B0;
|
||||
}
|
||||
.achievement.b .title {
|
||||
color: #9D8FFF;
|
||||
}
|
||||
.achievement.b .icon {
|
||||
filter: hue-rotate(35deg);
|
||||
.achievement.b .gauge.info {
|
||||
color: #9E91FF;
|
||||
}
|
||||
.achievement.a .title {
|
||||
color: #D79533;
|
||||
}
|
||||
.achievement.a .icon {
|
||||
filter: sepia() saturate(2);
|
||||
.achievement.a .gauge.info {
|
||||
color: #E7BD69;
|
||||
}
|
||||
.achievement.s .title {
|
||||
color: #FF0000;
|
||||
}
|
||||
.achievement.s .gauge.info {
|
||||
color: #FF0000;
|
||||
}
|
||||
.achievement.s .icon {
|
||||
filter: sepia() saturate(100);
|
||||
}
|
||||
.achievement.secret .title{
|
||||
color: #FF76CD;
|
||||
}
|
||||
.achievement.secret .icon {
|
||||
filter: hue-rotate(100deg);
|
||||
.achievement.secret .gauge.info {
|
||||
color: #FF79D1;
|
||||
}
|
||||
.achievement .gh {
|
||||
border: 1px solid currentColor;
|
||||
|
||||
Reference in New Issue
Block a user