@import 'angular-data-grid.variables';

th:focus,
a:focus {
  outline: none;
}
.codepen-wrap {
  margin-top: 15px;
}
.mdl-data-table {
  width: 100%;
  th {
    cursor: pointer;
  }
}
.mdl-data-table tr {
  transition: none !important;
}
th md-select {
  margin: 0;
}
.md-errors-spacer {
  display: none;
}
.pagination {
  padding: 0;
  font-size: 0;
  display: inline-block;
  & > li{
    display: inline-block;
    vertical-align: middle;
    height: 30px;
    border: 1px solid $foregroundPagination;
    border-left: 0;
    &:first-child {
      border-left: 1px solid $foregroundPagination;
      border-radius: 2px 0 0 2px;
    }
    &:last-child {
      border-radius: 0 2px 2px 0;
    }
  }
  a {
    color: $foregroundDefault;
    font-size: 13px;
    padding: 0 10px;
    line-height: 30px;
    display: inline-block;
    text-decoration: none;
  }
  .active {
    background: $backgroundActive;
    border-color: $backgroundActive;
    a {
      color: $foregroundActive;
    }
  }
  &-page {
    &.active {
      background: $backgroundActive;
      a {
        color: $foregroundActive;
      }
    }
  }
}
.sortable {
  .arrow {
    position: relative;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
  }
  &.sort-ascent {
    .arrow {
      top: -10px;
      left: 5px;
      border-bottom: 4px solid $backgroundArrows;
    }
  }
  &.sort-descent {
    .arrow {
      top: 10px;
      left: 5px;
      border-top: 4px solid $backgroundArrows;
    }
  }
}