styles.less
1.25 KB
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
@import '~@qx/ui/src/style/variable.less';
@prefix: ~'qx-input-select';
.@{prefix} {
  &-dropdown {
    position: relative;
    width: 100%;
    padding: 0 0 48px 0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 12%),
      0 6px 16px 0 rgba(0, 0, 0, 8%), 0 9px 28px 8px rgba(0, 0, 0, 5%);
    &__list {
      max-height: 192px;
      margin-top: 5px;
      overflow-y: auto;
      .ant-dropdown-menu {
        box-shadow: none;
      }
    }
    &__list-empty {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      overflow: hidden;
      height: 100px;
    }
    &__list-content {
      width: 100%;
      :global {
        .ant-menu-item {
          margin-bottom: 0;
          &:hover {
            background-color: @N3;
          }
        }
      }
    }
    &__list-content-bottom {
      position: absolute;
      bottom: 0;
      width: 100%;
    }
    &__input {
      height: 32px;
      border-bottom: 1px solid @N4 !important;
      .anticon {
        margin-right: 4px;
        font-size: 16px;
        color: @N6;
      }
    }
  }
}
.qx-input-select__input {
  .qx-input-select__input-suffix {
    color: @N6;
  }
}