yzt
2023-05-26 de4278af2fd46705a40bac58ec01122db6b7f3d7
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
//  =================
//      Imports
//  =================
 
@import '../../base/base';    // Base Variables
 
.bootstrap-touchspin .input-group-btn-vertical {
  position: absolute;
  right: 0;
  height: 100%;
  z-index: 11;
 
  > .btn {
    position: absolute;
    right: 0;
    height: 50%;
    padding: 0;
    width: 2em;
    text-align: center;
    line-height: 1;
  }
}
 
.input-group.btn-group.bootstrap-touchspin .btn {
  padding: .375rem .75rem;
}
 
.bootstrap-touchspin {
  .input-group-btn-vertical {
    .bootstrap-touchspin-up {
      border-radius: 0 4px 0 0;
      top: 0;
    }
 
    .bootstrap-touchspin-down {
      border-radius: 0 0 4px 0;
      bottom: 0;
    }
  }
 
  .input-group-addon[class*="btn-"] .input-group-text {
    color: $white;
    background-color: transparent;
    border: none;
  }
}
 
.btn[class*="btn-"] {
  &.bootstrap-touchspin-up [class*="flaticon-"], &.bootstrap-touchspin-down [class*="flaticon-"] {
    font-size: 10px;
  }
}
 
.input-group-sm > {
  .form-control, .input-group-prepend > .btn, .input-group-append > .btn {
    height: auto !important;
  }
}