<commit_before>/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

@mixin mode-visibility($edit, $disp, $igno) {
  .editing {
    display: $edit;
  }
  .displaying {
    display: $disp;
  }
  .ignoring {
    display: $igno;
  }
}

// unfortunately, we used the same class name as bootstrap's .container, need to reset it's effects
@mixin revert_bootstrap_container {
  margin-left: 0;
  margin-right: 0;
  width: auto;
}

.rubric_container {
  margin-top: 20px;
  tr.criterion .links {
    float: right;
    text-align: right;
  }

  &.editing {
    tr.criterion .links {
      display: inline-block;
    }
    tr.criterion .description {
      clear: both;
    }
    label[for=rubric-title] {
      font-weight: bold;
    }
    tr.criterion .container .add_rating_link {
      position: absolute;
      float: right;
      top: 50%;
      right: -.5%;
      transform: translateY(-50%);
      line-height: 0;
      width: 0;
      display: block;
    }
    .add_rating_link_after {
      border-radius: 1rem;
      background-color: $ic-link-color;
      text-align: center;
      vertical-align: middle;
      display: table-cell;
    }
    .add_rating_link i::before {
      font-size: .75rem;
      padding: .1875rem;
    }
    .add_rating_link i {
      color: $ic-color-light;
    }
    tr.criterion td.criterion_description .description_content {
      float: left;
      clear: both;
    }
  }
  .rubric_table {
    border-collapse: collapse;
    //for some reason, chrome puts a scrollbar on the table in the extended gradebook if it is 100%
    width: 99.9%;
    height: 100%;
    page-break-inside: avoid;
  }<commit_msg>Convert sass var to css var in g_rubrics<commit_after>/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

@mixin mode-visibility($edit, $disp, $igno) {
  .editing {
    display: $edit;
  }
  .displaying {
    display: $disp;
  }
  .ignoring {
    display: $igno;
  }
}

// unfortunately, we used the same class name as bootstrap's .container, need to reset it's effects
@mixin revert_bootstrap_container {
  margin-left: 0;
  margin-right: 0;
  width: auto;
}

.rubric_container {
  margin-top: 20px;
  tr.criterion .links {
    float: right;
    text-align: right;
  }

  &.editing {
    tr.criterion .links {
      display: inline-block;
    }
    tr.criterion .description {
      clear: both;
    }
    label[for=rubric-title] {
      font-weight: bold;
    }
    tr.criterion .container .add_rating_link {
      position: absolute;
      float: right;
      top: 50%;
      right: -.5%;
      transform: translateY(-50%);
      line-height: 0;
      width: 0;
      display: block;
    }
    .add_rating_link_after {
      border-radius: 1rem;
      background-color: var(--ic-link-color);
      text-align: center;
      vertical-align: middle;
      display: table-cell;
    }
    .add_rating_link i::before {
      font-size: .75rem;
      padding: .1875rem;
    }
    .add_rating_link i {
      color: $ic-color-light;
    }
    tr.criterion td.criterion_description .description_content {
      float: left;
      clear: both;
    }
  }
  .rubric_table {
    border-collapse: collapse;
    //for some reason, chrome puts a scrollbar on the table in the extended gradebook if it is 100%
    width: 99.9%;
    height: 100%;
    page-break-inside: avoid;
  }
{'fraction_non_alphanumeric': 0.10341824515567168, 'fraction_numerical': 0.01393424776834313, 'mean_word_length': 2.5667701863354035, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '120970', 'n_tokens_mistral': 1508, 'n_tokens_neox': 1432, 'n_words': 479}