2018-03-07 14:21:55 +00:00
|
|
|
.@{prefixClass}-panel {
|
|
|
|
&-input {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
cursor: auto;
|
|
|
|
line-height: 1.5;
|
|
|
|
outline: 0;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
|
|
|
&-wrap {
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
padding: 6px;
|
|
|
|
border-bottom: 1px solid #e9e9e9;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-invalid {
|
|
|
|
border-color: red;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-clear-btn {
|
|
|
|
position: absolute;
|
|
|
|
right: 6px;
|
|
|
|
cursor: pointer;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 20px;
|
|
|
|
top: 6px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2018-11-10 14:03:00 +00:00
|
|
|
&-clear-btn-icon:after {
|
2019-01-12 03:33:27 +00:00
|
|
|
content: 'x';
|
2018-03-07 14:21:55 +00:00
|
|
|
font-size: 12px;
|
2018-11-10 14:03:00 +00:00
|
|
|
font-style: normal;
|
2018-03-07 14:21:55 +00:00
|
|
|
color: #aaa;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 1;
|
|
|
|
width: 20px;
|
|
|
|
transition: color 0.3s ease;
|
|
|
|
}
|
|
|
|
|
2018-11-10 14:03:00 +00:00
|
|
|
&-clear-btn-icon:hover:after {
|
2018-03-07 14:21:55 +00:00
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
}
|