<commit_before>@import "bootstrap/variables";
@import "bootstrap/mixins";

#main-wrapper .content .profile {
  margin: 24px 0 0;

  .top-channels {
    ol {
      .border-radius(3px);
      border: 1px solid #e7e7e7;
      list-style-position: inside;
      margin: 8px 32px 15px 0;
      padding: 0;
      li {
        border-bottom: 1px solid #e7e7e7;
        display: none;
        padding: 8px 0px 8px 10px;

        &:nth-child(-n+5) {
          display: list-item;
        }
        &:nth-child(5), &:last-child {
          border-bottom: solid 1px transparent;
        }
        &:hover {
          span {
            text-decoration: none;
          }
        }
        a {
          padding: 0 0 0 6px;

          span {
            color: #333;
            float: right;
            padding: 0 10px 0 0;
            font-size: 0.9em;

          }
        }
      }
    }
    .show-more { display: block;}
    .show-less { display: none;}
    > a {
      float: right;
      padding: 6px 48px 0;
    }
  }


  .profile.showMore .top-channels {
    li {
      display: list-item;

      &:nth-child(5) {
        border-bottom: 1px solid #e7e7e7;
      }
      &:last-child {
        border-bottom: solid 1px transparent;
      }
    }
    .show-more { display: none;}
    .show-less { display: block;}

  }

<commit_msg>Fix "Show more" top channels on user profile page. .profile.profile selector does not exist<commit_after>@import "bootstrap/variables";
@import "bootstrap/mixins";

#main-wrapper .content .profile {
  margin: 24px 0 0;

  .top-channels {
    ol {
      .border-radius(3px);
      border: 1px solid #e7e7e7;
      list-style-position: inside;
      margin: 8px 32px 15px 0;
      padding: 0;
      li {
        border-bottom: 1px solid #e7e7e7;
        display: none;
        padding: 8px 0px 8px 10px;

        &:nth-child(-n+5) {
          display: list-item;
        }
        &:nth-child(5), &:last-child {
          border-bottom: solid 1px transparent;
        }
        &:hover {
          span {
            text-decoration: none;
          }
        }
        a {
          padding: 0 0 0 6px;

          span {
            color: #333;
            float: right;
            padding: 0 10px 0 0;
            font-size: 0.9em;

          }
        }
      }
    }
    .show-more { display: block; }
    .show-less { display: none; }
    > a {
      float: right;
      padding: 6px 48px 0;
    }
  }


  .showMore .top-channels {
    li {
      display: list-item;

      &:nth-child(5) {
        border-bottom: 1px solid #e7e7e7;
      }
      &:last-child {
        border-bottom: solid 1px transparent;
      }
    }
    .show-more { display: none;}
    .show-less { display: block;}

  }


{'fraction_non_alphanumeric': 0.12243401759530792, 'fraction_numerical': 0.03812316715542522, 'mean_word_length': 1.4236234458259325, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5622543', 'n_tokens_mistral': 1008, 'n_tokens_neox': 916, 'n_words': 221}