2019-06-14 17:39:56 +08:00
|
|
|
@import './mixins/mixins.scss';
|
|
|
|
@import './theme/default.scss';
|
|
|
|
|
2019-06-14 19:33:41 +08:00
|
|
|
@include b(select) {
|
2019-06-14 17:39:56 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: inline-block;
|
|
|
|
border: none;
|
|
|
|
border-radius: 9px;
|
2019-06-14 19:33:41 +08:00
|
|
|
padding: 8px 14px;
|
2019-06-14 17:39:56 +08:00
|
|
|
outline: none;
|
|
|
|
background-color: #6F768B;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
width: 100%;
|
|
|
|
color: #fff;
|
|
|
|
font-family: $default-font-family;
|
|
|
|
cursor: pointer;
|
|
|
|
&.active {
|
|
|
|
border: 1px solid #63E2B7;
|
|
|
|
margin: -1px;
|
|
|
|
.link {
|
|
|
|
&::after {
|
|
|
|
transform: rotate(135deg);
|
|
|
|
}
|
|
|
|
.menu {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.link {
|
|
|
|
position: relative;
|
|
|
|
&::after {
|
|
|
|
position: absolute;
|
|
|
|
content: '';
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
border-left: 1px solid rgba(255, 255, 255, .4);
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, .4);
|
|
|
|
right: 2px;
|
|
|
|
top: calc(50% - 5px);
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
transform-origin: 25% 75%;
|
|
|
|
}
|
|
|
|
.label {
|
|
|
|
&.placeholder {
|
|
|
|
color: rgba(255, 255, 255, .4);
|
|
|
|
}
|
|
|
|
}
|
2019-06-14 19:33:41 +08:00
|
|
|
.tags {
|
|
|
|
&.placeholder {
|
|
|
|
color: rgba(255, 255, 255, .4);
|
|
|
|
}
|
|
|
|
}
|
2019-06-14 17:39:56 +08:00
|
|
|
.menu {
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
visibility: hidden;
|
|
|
|
top: calc(100% + 15px);
|
|
|
|
left: -14px;
|
|
|
|
right: -14px;
|
|
|
|
border-radius: 9px;
|
|
|
|
background-color: rgba(75, 81, 106, 1);
|
|
|
|
box-shadow: 0px 2px 20px 0px rgba(0,0,0,0.16);
|
|
|
|
.item {
|
|
|
|
padding: 8px 14px;
|
|
|
|
color: rgba(255, 255, 255, .7);
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(96, 220, 178, 0.3);
|
|
|
|
color: #63E2B7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|