add Dropdown component

add Dropdown component
This commit is contained in:
梁灏 2016-12-03 23:46:25 +08:00
parent 0f4ccf4486
commit ab8aaf958a
13 changed files with 235 additions and 4 deletions

View file

@ -0,0 +1,17 @@
@dropdown-prefix-cls: ~"@{css-prefix}dropdown";
@dropdown-item-prefix-cls: ~"@{dropdown-prefix-cls}-item";
.@{dropdown-prefix-cls} {
display: inline-block;
position: relative;
&-rel{
display: inline-block;
}
&-menu{
min-width: 100px;
}
}
.select-item(@dropdown-prefix-cls, @dropdown-item-prefix-cls);