Blame view

src/styles/components/dropdown.less 835 Bytes
ab8aaf95   梁灏   add Dropdown comp...
1
2
3
4
5
  @dropdown-prefix-cls: ~"@{css-prefix}dropdown";
  @dropdown-item-prefix-cls: ~"@{dropdown-prefix-cls}-item";
  
  .@{dropdown-prefix-cls} {
      display: inline-block;
d5d4d8e3   梁灏   fixed #188
6
      //position: relative;
ab8aaf95   梁灏   add Dropdown comp...
7
  
745bcbc2   梁灏   update Dropdown
8
9
      .@{select-dropdown-prefix-cls} {
          overflow: visible;
fece7a9a   梁灏   fixed #138
10
          max-height: none;
745bcbc2   梁灏   update Dropdown
11
12
13
14
15
      }
      .@{dropdown-prefix-cls} {
          width: 100%;
      }
  
ab8aaf95   梁灏   add Dropdown comp...
16
      &-rel{
2d74744d   梁灏   update Dropdown
17
          //display: inline-block;
d5d4d8e3   梁灏   fixed #188
18
          position: relative;
eccaa940   梁灏   Dropdown add new ...
19
20
21
22
23
          &-user-select-none{
              -webkit-user-select: none;
              -moz-user-select: none;
              user-select: none;
          }
ab8aaf95   梁灏   add Dropdown comp...
24
25
26
27
28
      }
  
      &-menu{
          min-width: 100px;
      }
f1800986   梁灏   update Dropdown cls
29
30
31
32
  
      &-transfer{
          width: auto;
      }
3a3dcb0a   梁灏   update cell & dro...
33
34
35
      &-item-selected, &-item&-item-selected:hover{
          background:  ~`colorPalette("@{primary-color}", 1)`;
      }
ab8aaf95   梁灏   add Dropdown comp...
36
37
38
  }
  
  .select-item(@dropdown-prefix-cls, @dropdown-item-prefix-cls);