mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
55 lines
897 B
Plaintext
55 lines
897 B
Plaintext
.@{timepicker-prefix-cls}-panel {
|
|
&-input {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
width: 100%;
|
|
cursor: auto;
|
|
line-height: 1.5;
|
|
outline: 0;
|
|
|
|
&-wrap {
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
padding: 6px;
|
|
border-bottom: 1px solid @border-color-split;
|
|
}
|
|
|
|
&-invalid {
|
|
border-color: red;
|
|
}
|
|
}
|
|
|
|
&-clear-btn {
|
|
position: absolute;
|
|
right: 5px;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
width: 20px;
|
|
height: 20px;
|
|
text-align: center;
|
|
line-height: 20px;
|
|
top: 5px;
|
|
margin: 0;
|
|
}
|
|
|
|
&-clear-btn:after {
|
|
content: "\e631";
|
|
font-family: "anticon";
|
|
font-size: 12px;
|
|
color: #ccc;
|
|
display: inline-block;
|
|
line-height: 1;
|
|
width: 20px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
&-clear-btn:hover:after {
|
|
color: #999;
|
|
}
|
|
|
|
&-narrow &-input-wrap {
|
|
max-width: 111px;
|
|
}
|
|
}
|