Blame view

src/styles/components/dropdown.less 472 Bytes
ab8aaf95   梁灏   add Dropdown comp...
1
2
3
4
5
6
7
  @dropdown-prefix-cls: ~"@{css-prefix}dropdown";
  @dropdown-item-prefix-cls: ~"@{dropdown-prefix-cls}-item";
  
  .@{dropdown-prefix-cls} {
      display: inline-block;
      position: relative;
  
745bcbc2   梁灏   update Dropdown
8
9
10
11
12
13
14
      .@{select-dropdown-prefix-cls} {
          overflow: visible;
      }
      .@{dropdown-prefix-cls} {
          width: 100%;
      }
  
ab8aaf95   梁灏   add Dropdown comp...
15
16
17
18
19
20
21
22
23
24
      &-rel{
          display: inline-block;
      }
  
      &-menu{
          min-width: 100px;
      }
  }
  
  .select-item(@dropdown-prefix-cls, @dropdown-item-prefix-cls);