/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.pagination-ui {
  .inline-block;
  .align-top;

  float: right;

  .page-list {
    .inline-block;
    .align-top;

    overflow: hidden;

    border: 1px solid @border-color;
    border-radius: 5px;
    background-color: @table-bg;

    padding: 0px;

    font-size: 0px;

    li {
      .inline-block;

      padding: 6px 12px;
      height: 32px;

      font-size: @font-size;
      color: @text-light;

      border-left: 1px solid @border-color;

      pointer-events: none;

      &.clickable {
        pointer-events: auto;
        color: @text-color;

        &:hover {
          background-color: @bg-grey;
          cursor: pointer;
        }
      }
    }

    .total-page-count {
      font-size: .8em;
    }

    :first-child {
      border-left: none;
    }
  }

  .row-select {
    margin-left: 5px;

    display: inline-block;
    text-align: center;

    select {
      cursor: pointer;
    }
  }
}

.table-footer {
  .pagination-ui {
    position: static;
  }
}
