/*
 * 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/>.
 */

@import "base/environment";

ul.context_list {
  li {
    margin-bottom: 10px;
    margin-#{direction(left)}: 10px;
    margin-#{direction(right)}: 10px;
    padding-#{direction(left)}: 10px;
    padding-bottom: 5px;
    .unenroll_link {
      opacity: 0.3;
    }
    &:hover {
      background-color: #eee;
      .unenroll_link {
        opacity: 1;
      }
      &.invited {
        background-color: transparent;
      }
    }
    .invited:hover {
      background-color: transparent;
    }
    a {
      font-weight: bold;
      display: block;
      .subtitle {
        color: $ic-font-color--subdued;
      }
    }
    .reminder {
      margin-#{direction(left)}: 0;
    }
  }
  .unpublished {
    a, i {
      color: $ic-font-color--subdued;
      font-weight: normal;
    }
  }
  .name {
    font-size: 1.5em;
  }
  .subtitle {
    display: block;
    margin-#{direction(left)}: 10px;
    font-size: 0.8em;
    line-height: 0.8em;
    margin-bottom: 3px;
  }
}
