/*
 * Copyright (C) 2014 - 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/>.
 */

#ic-QuizInspector__Session {
  th {
    text-align: left;
    padding-right: $whitespace;
  }
}

.ic-QuizInspector__accessibility-warning {
  color: $ic-color-light;
  background-color: var(--ic-link-color);
  border: 1px dashed $ic-color-light;
  font-size: 14px;
  position: absolute;
  left: -20px;
  top: 40px;
}

#ic-QuizInspector__AttemptController {
  box-shadow: 0 0 0 1px $borderColor;
  display: inline-block;
  border-radius: 2px;
  background: $ic-color-neutral;
}

.ic-AttemptController__Attempt {
  display: inline-block;
  width: 32px;
  text-align: center;
  line-height: 24px;

  &, &:hover, &:focus {
    color: inherit;
    text-decoration: none;
  }
  &:first-of-type {
    border-radius: 2px 0 0 2px;
  }

  &:last-of-type {
    border-radius: 0 2px 2px 0;
  }
}

.ic-AttemptController__Attempt--is-active {
  $bg: $ic-color-dark;
  background: $bg;
  box-shadow: 0 0 0 1px $bg;
  margin-right: 1px;
  margin-left: 1px;
  &, &:hover, &:focus {
    color: white;
    cursor: text;
    text-decoration: none;
  }
}
