ppy / osu-web

the browser-facing portion of osu!
https://osu.ppy.sh
GNU Affero General Public License v3.0
980 stars 383 forks source link

The switcher for topic sort is poorly readable #9920

Closed Teages closed 1 year ago

Teages commented 1 year ago

image

code: resources/css/sections.less#L127

Simply deleting these line could be solved but I don't know if it is the best way (if these css is not used in other place, I think it is the best)

    .u-forum--link-text {
      color: @text !important;
    }

after: image

btw I saw a lot of !important in this file, I think that is not a good idea

RockRoller01 commented 1 year ago

The issue here stems from the active sort selection being colored according to what forum category the forum is in. Purple for beatmaps, green for general, orange for languages and dark grey for moderation, applied by this rule: .t-forum-category-beatmaps .u-forum--link-text