<commit_before>// Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.sort {
  @_top: sort;
  @_item-margin: 5px;

  padding: 0;
  display: flex;
  font-size: @font-size--normal;

  &--beatmapset-discussions {
    padding: 0;
  }

  &--beatmapsets {
    padding: 10px 0;
  }

  &--default-padding {
    .default-gutter-v2();
  }

  &--forum-topics {
    margin-top: 10px;
  }

  &--user-list {
    padding: 0;
  }

  &__item {
    .reset-input();
    margin: @_item-margin;
    color: white;
    padding: 5px 10px;
    .default-border-radius();

    &--button {
      .link-plain();
      .link-white();

      &:hover {
        background-color: @osu-colour-b3;
      };
    }

    &--title {
      padding: 0;
    }

    // overrides --button
    &--active {
      background-color: @osu-colour-b3;
      color: @osu-colour-l1;
      font-weight: 600;
    }
  }<commit_msg>Fix colour of sort toolbar buttons<commit_after>// Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.sort {
  @_top: sort;
  @_item-margin: 5px;

  --item-hover-bg: hsl(var(--hsl-b3));
  padding: 0;
  display: flex;
  font-size: @font-size--normal;

  &--beatmapset-discussions {
    padding: 0;
  }

  &--beatmapsets {
    padding: 10px 0;
  }

  &--default-padding {
    .default-gutter-v2();
  }

  &--forum-topics {
    margin-top: 10px;
  }

  &--page-extra {
    --item-hover-bg: hsl(var(--hsl-b2));
  }

  &--user-list {
    padding: 0;
  }

  &__item {
    .reset-input();
    margin: @_item-margin;
    color: white;
    padding: 5px 10px;
    .default-border-radius();

    &--button {
      .link-plain();
      .link-white();

      &:hover {
        background-color: var(--item-hover-bg);
      };
    }

    &--title {
      padding: 0;
    }

    // overrides --button
    &--active {
      background-color: var(--item-hover-bg);
      color: @osu-colour-l1;
      font-weight: 600;
    }
  }
{'fraction_non_alphanumeric': 0.1680830972615675, 'fraction_numerical': 0.02077431539187913, 'mean_word_length': 1.9636363636363636, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2346493', 'n_tokens_mistral': 857, 'n_tokens_neox': 789, 'n_words': 174}