fezui
Version:
FEZUI 是一套基于 Vue 的支持多终端的开源UI交互组件库,致力于积木式的快速构建项目,提升产品体验和开发效率、降低开发和维护成本。
62 lines (53 loc) • 1.53 kB
text/less
.select-item(@size-class, @item-class) {
.@{item-class} {
margin: 0;
line-height: normal;
padding: 7px 16px;
clear: both;
color: @text-color;
font-size: @font-size-base ;
white-space: nowrap;
list-style: none;
cursor: pointer;
transition: background @transition-time @ease-in-out;
&:hover{
background: @background-color-select-hover;
}
&-focus {
background: @background-color-select-hover;
}
&-disabled {
color: @btn-disable-color;
cursor: @cursor-disabled;
&:hover {
color: @btn-disable-color;
background-color: #fff;
cursor: @cursor-disabled;
}
}
&-selected ,&-selected:hover{
color: #fff;
background: @selected-color;
}
&-selected&-focus {
background: shade(@selected-color, 10%);
}
&-divided{
margin-top: 5px;
border-top: 1px solid @border-color-split;
&:before{
content: '';
height: 5px;
display: block;
margin: 0 -16px;
background-color: #fff;
position: relative;
top: -7px;
}
}
}
.@{size-class}-large .@{item-class} {
padding: 7px 16px 8px;
font-size: @font-size-base ;
}
}