<commit_before>.tutorial{
  .search-tut{
    .search-block{
      max-width: 700px;
      margin: 40px auto 0 auto;
      position: relative;
      overflow: hidden;

      input{
        background-color: $__grey;
        display: block;
        padding: 15px 50px;
        font-family: $font;
        font-size: $size;
        line-height: $line-height;
        font-weight: $font-weight;
        color: $grey_;
        border-radius: $corner;
        width: 100%;

        @media screen and (max-width: 700px){
          border-radius: 0;
        }
      }

      .search{
        position: absolute;
        top: 0;
        left: 15px;
        font-size: 23px;
        line-height: 59px;
      }

      .clear{
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 15px;
        font-size: 19px;
        line-height: 61px;
      }
    }
  }
}

.tutorial-content{

  .container{
    text-align: left;

    p{
      margin: 30px auto;
    }

    a{
      color: $primary;
      border-bottom: 1px solid $__grey;

      &:hover{
        color: $blue;
        border-bottom: 1px solid $blue;
      }
    }
  }

  .code_example{
    padding: 1.2em;
    overflow: auto;
    margin: 30px auto;
    border-radius: 3px;
    max-width: 745px;
    border: 1px solid $_grey;
  }
}

.all-tuts{
  .grid-item{
    transform: scale(0.1);
    max-height: 0;
    overflow: hidden;

    .grid-c{
      background-color: #FFF;
      border: 1px solid #CCC;
      position: relative;
      overflow: hidden;
      padding: 20px 30px;

      h3{
        color: $grey_;
        font-size: 16px;
        text-align: left;
      }
    }
  }

  .show_result{
    transform: scale(1);
    max-height: 400px;
  }
}

.all-tuts-detail{
  .grid-item{
    .grid-c{
      background-color: #FFF;
      border: 1px solid #CCC;
      position: relative;
      overflow: hidden;
      padding: 20px 30px;

      h3{
        color: $grey_;
        font-size: 16px;
        text-align: left;
      }
    }

    &.visited-grid-item {
      .grid-c {
        border: 1px solid $_grey;
        background-color: $___grey;
        overflow: visible;

        &:after {
          content: "You've read this tutorial once before";
          position: absolute;
          top: -50px;
          right: 0;
          padding: 10px 15px;
          background: $grey__;
          color: $white;
          border-radius: $corner;
          opacity: 0;
          z-index: 2;
          transform: scale(.2);
        }

        &:before {
          content: "";
          display: block;
          position: absolute;
          right: 20px;
          top: -20px;
          z-index: 2;
          width: 20px;
          height: 20px;<commit_msg>Added bar to right on seen tutorials<commit_after>.tutorial{
  .search-tut{
    .search-block{
      max-width: 700px;
      margin: 40px auto 0 auto;
      position: relative;
      overflow: hidden;

      input{
        background-color: $__grey;
        display: block;
        padding: 15px 50px;
        font-family: $font;
        font-size: $size;
        line-height: $line-height;
        font-weight: $font-weight;
        color: $grey_;
        border-radius: $corner;
        width: 100%;

        @media screen and (max-width: 700px){
          border-radius: 0;
        }
      }

      .search{
        position: absolute;
        top: 0;
        left: 15px;
        font-size: 23px;
        line-height: 59px;
      }

      .clear{
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 15px;
        font-size: 19px;
        line-height: 61px;
      }
    }
  }
}

.tutorial-content{

  .container{
    text-align: left;

    p{
      margin: 30px auto;
    }

    a{
      color: $primary;
      border-bottom: 1px solid $__grey;

      &:hover{
        color: $blue;
        border-bottom: 1px solid $blue;
      }
    }
  }

  .code_example{
    padding: 1.2em;
    overflow: auto;
    margin: 30px auto;
    border-radius: 3px;
    max-width: 745px;
    border: 1px solid $_grey;
  }
}

.all-tuts{
  .grid-item{
    transform: scale(0.1);
    max-height: 0;
    overflow: hidden;

    .grid-c{
      background-color: #FFF;
      border: 1px solid #CCC;
      position: relative;
      overflow: hidden;
      padding: 20px 30px;

      h3{
        color: $grey_;
        font-size: 16px;
        text-align: left;
      }
    }
  }

  .show_result{
    transform: scale(1);
    max-height: 400px;
  }
}

.all-tuts-detail{
  .grid-item{
    .grid-c{
      background-color: #FFF;
      border: 1px solid #CCC;
      position: relative;
      overflow: hidden;
      padding: 20px 30px;

      h3{
        color: $grey_;
        font-size: 16px;
        text-align: left;
      }
    }

    &.visited-grid-item {
      position: relative;

      &:after {
        content:"";
        position: absolute;
        right: 11px;
        top: 11px;
        width: 60px;
        bottom: 11px;
        background-color: $___grey;
        border-left: 1px solid $_grey;
        border-radius: 0 $corner $corner 0;
      }

      .grid-c {
        border: 1px solid $_grey;
        background-color: $white;
        overflow: visible;

        &:after {
          content: "You've read this tutorial once before";
          position: absolute;
          top: -50px;
          right: 0;
          padding: 10px 15px;
          background: $grey__;
          color: $white;
          border-radius: $corner;
          opacity: 0;
          z-index: 2;
          transform: scale(.2);
        }

        &:before {
          content: "";
          display: block;
          position: absolute;
          right: 20px;
          top: -20px;
          z-index: 2;
          width: 20px;
          height: 20px;
{'fraction_non_alphanumeric': 0.11839140232275958, 'fraction_numerical': 0.03206794938464205, 'mean_word_length': 1.4397463002114166, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2855303', 'n_tokens_mistral': 2118, 'n_tokens_neox': 1875, 'n_words': 464}