<commit_before>// note: this file should only be included where needed
//
// it's not part of the standard styles build, but is included by
// the reference-book and qa-view screens

@mixin book-page() {


  .book-page {
    @include tutor-book-content();
  }

  .content {
    padding-top: 75px;
    // padding-left: 40px;
    // padding-right: 40px;
    // margin-left: -40px;
    // margin-right: -40px;
    background-color: $tutor-neutral-lighter;
    .center-panel {
      margin: 0 auto;

      // always wrap around elements by extending bootstrap's clearfix
      @include clearfix;
    }

    @include book-paged-content();

    .book-page {
      position: relative;
      &:focus {
        outline: 0;
      }
    }

    .page {
      @include tutor-book-content-body();

      border: 1px solid $tutor-neutral-bright;
      background-color: $tutor-white;
      // shown if parent is-teacher present below.

      > section {
        > h1, h2 {
          clear: both;
        }

        .os-teacher {

          > ul {
            padding-left: 40px;
          }
        }
      }

    }
    // only visible when "spy mode" is enabled
    .ecosystem-info {
      @include tutor-spy-mode-content();
      position: fixed;
      bottom: 0;
      right: 0;
      left: 0;
      padding: 0;
      margin: 0;
      border: 0;
      @include tutor-shadow(2);
    }
  }

  .book-page-wrapper {
    transition: margin-left 0.2s linear;
    .page {
      position: relative;
      @include tutor-subtle-load('will-load', 'Loading page...', 0.1s);

      &::after {
        left: 0;
        top: -20px;
      }
    }

    .page-loading {
      .refresh-button {
        position: absolute;
        left: 50%;
        z-index: 2;
      }
      .page {
        @include tutor-subtle-load(loading);
      }
    }
    @include printer-safe(block, absolute, 0, 0);
  }<commit_msg>add targeted os-teacher display rule<commit_after>// note: this file should only be included where needed
//
// it's not part of the standard styles build, but is included by
// the reference-book and qa-view screens

@mixin book-page() {


  .book-page {
    @include tutor-book-content();
  }

  .content {
    padding-top: 75px;
    // padding-left: 40px;
    // padding-right: 40px;
    // margin-left: -40px;
    // margin-right: -40px;
    background-color: $tutor-neutral-lighter;
    .center-panel {
      margin: 0 auto;

      // always wrap around elements by extending bootstrap's clearfix
      @include clearfix;
    }

    @include book-paged-content();

    .book-page {
      position: relative;
      &:focus {
        outline: 0;
      }
    }

    .page {
      @include tutor-book-content-body();

      border: 1px solid $tutor-neutral-bright;
      background-color: $tutor-white;

      > section {
        > h1, h2 {
          clear: both;
        }

        .os-teacher {

          > ul {
            padding-left: 40px;
          }
        }
      }

    }
    // only visible when "spy mode" is enabled
    .ecosystem-info {
      @include tutor-spy-mode-content();
      position: fixed;
      bottom: 0;
      right: 0;
      left: 0;
      padding: 0;
      margin: 0;
      border: 0;
      @include tutor-shadow(2);
    }
  }

  // include selector chain so the specificity matches
  // the hiding rule in book-content/os-teacher.scss
  &.is-teacher .content .page .os-teacher {
    display: inline-block;
  }

  .book-page-wrapper {
    transition: margin-left 0.2s linear;
    .page {
      position: relative;
      @include tutor-subtle-load('will-load', 'Loading page...', 0.1s);

      &::after {
        left: 0;
        top: -20px;
      }
    }

    .page-loading {
      .refresh-button {
        position: absolute;
        left: 50%;
        z-index: 2;
      }
      .page {
        @include tutor-subtle-load(loading);
      }
    }
    @include printer-safe(block, absolute, 0, 0);
  }
{'fraction_non_alphanumeric': 0.12960122699386503, 'fraction_numerical': 0.018404907975460124, 'mean_word_length': 1.6819739547635366, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '3824406', 'n_tokens_mistral': 1370, 'n_tokens_neox': 1252, 'n_words': 318}