/*
 * 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.item_list {
  list-style-type: none;
  padding: 0;
  margin: direction-sides(5px 0 20px 20px);
  max-height: 150px;
  overflow: auto;
  li {
    display: block;
    a.header {
      font-size: 1em;
    }
    div.sub_header {
      font-size: 0.8em;
      color: $ic-font-color--subdued;
      margin-top: -5px;
      margin-bottom: 0.5em;
      margin-#{direction(left)}: 5px;
    }
  }
}

table.numbers_table {
  margin-#{direction(left)}: 20px;
  margin-bottom: 20px;
  font-size: 1.2em;
  border-collapse: collapse;
  th {
    padding-bottom: 2px;
    padding-top: 2px;
    border-bottom: 1px dotted #ccc;
    padding-#{direction(left)}: 5px;
    font-size: 0.8em;
  }
  td {
    padding-#{direction(left)}: 20px;
    padding-#{direction(right)}: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
    border-bottom: 1px dotted #ccc;
  }
}

.stats table {
  margin: 0 20px;
  border-collapse: collapse;
  th {
    border-bottom: 1px dotted #ccc;
    padding: 2px 10px;
    text-align: direction(left);
  }
  td {
    border-bottom: 1px dotted #ccc;
    padding: 2px 10px;
  }
  td.indent {
    padding-#{direction(left)}: 25px;
    font-size: 0.8em;
  }
  .small {
    font-size: 0.8em;
  }
}

#page_views_by_day td {
  border: none;
}
