pager.types.less 1.0 KB
Newer Older
C
Catouse 已提交
1 2 3 4 5 6
/// ========================================================================
/// ZUI: pager.types.less
/// http://zui.sexy
/// ========================================================================
/// Copyright 2014-2016 cnezsoft.com; Licensed MIT
/// ========================================================================
C
Catouse 已提交
7 8


C
Catouse 已提交
9 10
// Pills

C
Catouse 已提交
11 12
.pager-pills {
  > li:first-child {
C
Catouse 已提交
13
    > a,
C
Catouse 已提交
14
    > span { border-radius: @pager-border-radius 0 0 @pager-border-radius; }
C
Catouse 已提交
15 16
  }

C
Catouse 已提交
17
  > li:last-child {
C
Catouse 已提交
18
    > a,
C
Catouse 已提交
19
    > span { border-radius: 0 @pager-border-radius @pager-border-radius 0; }
C
Catouse 已提交
20
  }
C
Catouse 已提交
21 22


C
Catouse 已提交
23
  &.pager-justify > li {
C
Catouse 已提交
24
      > a,
C
Catouse 已提交
25
      > span { border-radius: @pager-border-radius; }
C
Catouse 已提交
26
  }
C
Catouse 已提交
27 28
}

C
Catouse 已提交
29 30 31

// Loose

C
Catouse 已提交
32
.pager-loose {
C
Catouse 已提交
33 34
  display: block;
  margin: @line-height-computed 0;
C
Catouse 已提交
35 36 37

  &:extend(.clearfix all);

C
Catouse 已提交
38
  &.pager-pills > li {
C
Catouse 已提交
39
      > a,
C
Catouse 已提交
40
      > span { border-radius: @pager-border-radius; }
C
Catouse 已提交
41 42
  }

C
Catouse 已提交
43
  > li {
C
Catouse 已提交
44
    > a,
C
Catouse 已提交
45
    > span {
C
Catouse 已提交
46
      border-radius: @border-radius-base;
C
Catouse 已提交
47 48 49
      margin-left: 5px;
    }
  }
C
Catouse 已提交
50
  > li:first-child {
C
Catouse 已提交
51
    > a,
C
Catouse 已提交
52
    > span { margin-left: 0; }
C
Catouse 已提交
53 54
  }
}