/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */

.limiter-control > .control-group {
  padding: 0;

  > .control-label-group {
    text-align: left;
    padding: 0;
    width: 1em;
  }

  > select {
    width: 4.5em;
  }

  > i {
    .sr-only();
  }
}

.pagination-control {
  li {
    &.active {
      > a,
      > a:hover {
        border-bottom: 2px solid @icinga-blue;
        color: @icinga-blue
      }
      > a:hover {
        background: none;
        cursor: default;
        text-decoration: none;
      }
    }

    &.disabled {
      color: @gray-light;
      cursor: no-drop;
    }

    > a,
    > span {
      padding: 0 0.5em 0.25em 0.5em;
    }
    > a:hover {
      background-color: @gray-lighter;
      text-decoration: none;
    }
  }

  .previous-page {
    padding-left: 0;
  }

  .next-page {
    padding-right: 0;
  }
}

.sort-control {
  label {
    width: auto;
    margin-right: 0.5em;
  }

  select[name=sort] {
    width: 12em;
    margin-left: 0;
  }

  select[name=dir] {
    width: 8em;
    margin-left: 0;
  }

  > form > i {
    .sr-only();
  }
}

html.no-js .sort-control form {
  display: table;
  margin-left: auto;
  margin-top: 0.25em;
}
