ant-design/style/components/timepicker/Header.less

55 lines
896 B
Plaintext
Raw Normal View History

2015-11-16 23:11:41 +08:00
.@{timepicker-prefix-cls} {
&-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 #e9e9e9;
}
&-invalid {
border-color: red;
}
}
&-clear-btn {
position: absolute;
2015-11-20 15:10:02 +08:00
right: 5px;
2015-11-16 23:11:41 +08:00
cursor: pointer;
overflow: hidden;
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
2015-11-20 15:10:02 +08:00
top: 5px;
2015-11-16 23:11:41 +08:00
margin: 0;
}
&-clear-btn:after {
content: "\e631";
font-family: "anticon";
font-size: 12px;
2015-11-19 19:39:31 +08:00
color: #ccc;
2015-11-16 23:11:41 +08:00
display: inline-block;
line-height: 1;
width: 20px;
transition: color 0.3s ease;
}
&-clear-btn:hover:after {
2015-11-19 14:08:26 +08:00
color: #999;
2015-11-16 23:11:41 +08:00
}
}
2015-11-19 19:39:31 +08:00
.narrow .@{timepicker-prefix-cls}-input-wrap {
max-width: 111px;
}