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
.counter {
  width: 114px;
  height: 40px;
  display: flex;
  position: relative;
  min-width: 114px;
  border-radius: 8px;
  background: var(--color-neutral-surface);
  box-sizing: border-box;
  box-shadow: 0 0 0 1px var(--color-neutral-border) inset;
  transition: box-shadow 80ms ease;
 
  &_disabled {
    opacity: 0.6;
    background-color: var(--color-neutral-background);
  }
 
  &__btn {
    min-width: 32px;
    min-height: 32px;
    margin: 4px;
    border-radius: 4px;
    background: var(--color-neutral-background);
    display: flex;
    color: var(--color-primary-content);
    border: none;
    outline: none;
    align-items: center;
    justify-content: center;
    transition: all 80ms ease;
    box-shadow: 0 1px 0 rgba(var(--color-neutral-shadow-raw) / 24%), 0 0 0 1px rgba(var(--color-neutral-shadow-raw) / 10%), 0 5px 10px rgba(var(--color-neutral-shadow-raw) / 10%);
 
    &_disabled {
      box-shadow: none;
      background: none;
      pointer-events: none;
      color: var(--color-neutral-content-subtlest);
    }
 
    &:active {
      background: var(--color-neutral-background);
      box-shadow: 0 1px 0 rgba(var(--color-neutral-shadow-raw) / 24%), 0 0 0 1px rgba(var(--color-neutral-shadow-raw) / 10%), 0 5px 10px rgba(var(--color-neutral-shadow-raw) / 10%);
    }
 
    &:active,
    &:hover {
      color: var(--color-primary-content-hover);
    }
  }
 
  &__input {
    flex: 1;
    width: 100%;
    border: none;
    padding: 0;
    z-index: 2;
    background: none;
    text-align: center;
    position: relative;
    outline: none;
    font-size: 16px;
    line-height: 22px;
 
    &_under {
      left: 40px;
      right: 40px;
      height: 100%;
      width: auto;
      display: flex;
      align-items: center;
      z-index: 1;
      opacity: 0.6;
      position: absolute;
    }
 
    &_withPostfix {
      text-align: left;
      padding: 0 16px;
    }
  }
}