Blame view

src/styles/components/select-dropdown.less 782 Bytes
e355dd49   梁灏   add Select Component
1
  @select-dropdown-prefix-cls: ~"@{css-prefix}select-dropdown";
8105945f   梁灏   update ColorPicker
2
  @transfer-no-max-height: ~"@{css-prefix}transfer-no-max-height";
e355dd49   梁灏   add Select Component
3
4
  
  .@{select-dropdown-prefix-cls} {
f12aca9e   梁灏   fixed #44
5
      width: inherit;
e355dd49   梁灏   add Select Component
6
7
8
      max-height: 200px;
      overflow: auto;
      margin: 5px 0;
9a9e103f   梁灏   optimize Select s...
9
      padding: 5px 0;
e355dd49   梁灏   add Select Component
10
11
      background-color: #fff;
      box-sizing: border-box;
3a2c6fc7   梁灏   optimize Select a...
12
      //border: 1px solid @border-color-split;
e355dd49   梁灏   add Select Component
13
      border-radius: @btn-border-radius;
9a9e103f   梁灏   optimize Select s...
14
15
      //box-shadow: 0 1px 3px rgba(0,0,0,.2);
      box-shadow: @shadow-base;
e355dd49   梁灏   add Select Component
16
17
      position: absolute;
      z-index: @zindex-select;
595cfa72   梁灏   fixed #1187 #844 ...
18
19
      &-transfer{
          z-index: @zindex-transfer;
341e73ce   梁灏   fixed #4329
20
          width: auto;
595cfa72   梁灏   fixed #1187 #844 ...
21
      }
8105945f   梁灏   update ColorPicker
22
23
24
      &.@{transfer-no-max-height} {
          max-height: none;
      }
7c41ecb3   梁灏   fixed #1099
25
26
27
28
29
  }
  .@{modal-prefix-cls} {
      .@{select-dropdown-prefix-cls} {
          position: absolute !important;
      }
e355dd49   梁灏   add Select Component
30
  }