vue-moo
Version:
moo
88 lines (77 loc) • 1.62 kB
CSS
.vm {
.select {
position: relative;
text-align: center;
cursor: pointer;
border-radius: 5px;
background-color: #fff;
.select-mask {
position: absolute;
top: 0;
left: 0;
z-index: 1;
width: 100%;
height: 100%;
}
.select-pull-down, .select-default {
border: 1px solid #dfdfdf;
outline: none;
font-size: 14px;
.psm-icon {
position: absolute;
right: 0;
font-size: 25px;
color: #dfdfdf;
}
}
.select-pull-down {
position: relative;
top: 0;
z-index: 1;
margin-top: -2.2em;
border-top: none;
border-radius: 5px;
background-color: #fff;
.select-option {
height: 2.2em;
line-height: 2.2em;
}
.select-clear-option {
color: #efefef;
}
.select-option:hover {
color: #00619c;
}
.select-default {
z-index: 0;
border: none;
}
}
.select-default:hover {
border: 1px solid #00619c;
color: #00619c;
.psm-icon {
color: #00619c;
}
}
.select-default {
position: relative;
z-index: 2;
height: 2.2em;
line-height: 2.2em;
border-radius: 5px;
box-sizing: border-box;
}
.list-open {
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.list-open:hover {
border-top: 1px solid #dfdfdf;
border-left: 1px solid #dfdfdf;
border-right: 1px solid #dfdfdf;
border-bottom: none;
}
}
}