Bin
2025-12-16 9e0b2ba2c317b1a86212f24cbae3195ad1f3dbfa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
.pagination-ls {
  --pagination-height: 40px;
 
  height: var(--pagination-height);
  display: inline-flex;
  align-items: center;
 
  --button-color: var(--color-primary-content);
 
  &_disabled {
    --button-color: var(--color-neutral-content-subtlest);
 
    background-color: var(--color-neutral-surface);
    pointer-events: none;
  }
 
  &__label {
    padding-right: 16px;
    font-size: 16px;
    line-height: 19px;
    color: var(--color-neutral-content-subtler);
  }
 
  &__navigation {
    display: flex;
    height: 100%;
    align-items: center;
    border-radius: 5px;
    background: var(--color-neutral-background);
    border: 1px solid var(--color-neutral-border);
 
    &_waiting & {
      pointer-events: none;
      animation: button-waiting 1s linear infinite;
 
      --button-background-image: var(--button-waiting-animation-bg);
    }
  }
 
  &__divider {
    width: 1px;
    height: 30px;
    background-color: var(--color-neutral-border);
  }
 
  &__btn {
    width: 37px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: pointer;
 
    &_waiting & {
      opacity: 0.5;
    }
 
    &_disabled {
      pointer-events: none;
 
      --button-color: var(--color-neutral-content-subtlest);
    }
 
    &_arrow-left,
    &_arrow-right {
      position: relative;
 
      &::before,
      &::after {
        content: '';
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        width: 9px;
        height: 9px;
        border: 2px solid var(--color-primary-icon);
        border-bottom: none;
        border-right: none;
      }
 
      &::after {
        display: none;
      }
    }
 
    &_arrow-left {
      &::before,
      &::after {
        transform: translate3d(-50%, -50%, 0) rotate(-45deg);
      }
    }
 
    &_arrow-right {
      &::before,
      &::after {
        transform: translate3d(-50%, -50%, 0) rotate(135deg);
      }
    }
 
    &_arrow-left-double {
      &::after {
        display: block;
        margin-left: 7px;
      }
    }
 
    &_arrow-right-double {
      &::after {
        display: block;
        margin-left: -7px;
      }
    }
  }
 
  &__input {
    width: 100px;
    height: var(--pagination-height);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-neutral-border);
    border-top: none;
    border-bottom: none;
    background: var(--color-neutral-surface);
    margin: 1px 0;
 
    &_waiting & {
      opacity: 0.5;
    }
 
    input {
      width: 100%;
      height: calc(100% - 2px);
      border: none;
      margin: 1px 0;
      padding: 0;
      outline: none;
      text-align: center;
      background: none;
      font-weight: 500;
      font-size: 16px;
      line-height: 19px;
    }
  }
 
  &__page-indicator {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    flex: 1;
    user-select: none;
 
    span {
      font-weight: normal;
      opacity: 0.4;
    }
  }
 
  &__page-size {
    min-width: 150px;
    padding-left: 16px;
    box-sizing: content-box;
 
    .select__list {
      padding-right: 0;
    }
  }
}