Blame view

src/design/ant/pagination.less 1.18 KB
1
2
3
4
.ant-pagination {
  &.mini {
    .ant-pagination-prev,
    .ant-pagination-next {
5
6
      font-size: 12px;
      color: @text-color-base;
7
8
      border: 1px solid;
    }
陈文彬 authored
9
10
11
12
13
    .ant-pagination-prev:hover,
    .ant-pagination-next:hover,
    .ant-pagination-item:focus,
    .ant-pagination-item:hover {
14
15
16
      a {
        color: @primary-color;
      }
17
    }
陈文彬 authored
18
19
20
    .ant-pagination-prev,
    .ant-pagination-next,
21
    .ant-pagination-item {
22
23
24
25
26
27
28
29
30
      margin: 0 4px;
      background: #f4f4f5 !important;
      border: none;
      border-radius: none !important;

      a {
        margin-top: 1px;
        color: #606266;
      }
陈文彬 authored
31
32
33
      &:last-child {
        margin-right: 0 !important;
陈文彬 authored
34
      }
35
    }
陈文彬 authored
36
37
    .ant-pagination-item-active {
38
39
40
      background: @primary-color !important;
      border: none;
      border-radius: none !important;
陈文彬 authored
41
42
      a {
43
        color: @white !important;
陈文彬 authored
44
      }
45
    }
陈文彬 authored
46
47
    .ant-pagination-options {
48
      margin-left: 12px;
49
    }
陈文彬 authored
50
51
    .ant-pagination-options-quick-jumper input {
52
      height: 22px;
53
      margin: 0 6px;
54
      line-height: 22px;
55
56
      text-align: center;
    }
陈文彬 authored
57
58
59
    .ant-select-arrow {
      color: @border-color-shallow-dark;
陈文彬 authored
60
61
    }
  }
62
63
64
65

  &-disabled {
    display: none;
  }
陈文彬 authored
66
}