bin-ui
Version:
基于 vue2.6 / vue-cli3 的 UI 组件库
61 lines (59 loc) • 1.15 kB
text/stylus
.bin-dropdown {
display: inline-block;
.bin-dropdown {
width: 100%;
}
&-rel {
position: relative;
&-user-select-none {
user-select: none;
}
}
&-menu {
min-width: 100px;
}
&-transfer {
width: auto;
max-height: none;
}
&-item-selected, &-item&-item-selected:hover {
background: $color-primary-light5;
}
.bin-select-dropdown {
overflow: visible;
max-height: none;
margin: 4px;
}
}
.bin-dropdown-item {
margin: 0;
line-height: normal ;
padding: 6px 12px;
clear: both;
color: $color-text-default;
font-size: $base-font-size ;
white-space: nowrap;
list-style: none;
cursor: pointer;
transition: background $animation-duration-base ease-in-out;
.icon-ios-arrow-forward {
position relative;
right: -6px;
}
&:hover {
background: #f3f3f3;
}
&-disabled {
color: $btn-disable-color ;
cursor: not-allowed;
&:hover {
color: $btn-disable-color ;
background-color: #fff;
cursor: not-allowed;
}
}
&-divided {
margin-top: 5px;
border-top: 1px solid #e8eaec;
}
}