2015-12-08 14:55:28 +08:00
|
|
|
.@{timepicker-prefix-cls}-panel-select {
|
2015-11-16 23:11:41 +08:00
|
|
|
float: left;
|
|
|
|
font-size: 12px;
|
2015-12-02 14:00:41 +08:00
|
|
|
border: 1px solid @border-color-split;
|
2015-11-16 23:11:41 +08:00
|
|
|
border-width: 0 1px;
|
|
|
|
margin-left: -1px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 56px;
|
2015-12-08 14:55:28 +08:00
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2015-11-16 23:11:41 +08:00
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-left: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
max-height: 144px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0 0 16px;
|
|
|
|
width: 100%;
|
|
|
|
height: 24px;
|
|
|
|
line-height: 24px;
|
|
|
|
text-align: left;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
2015-12-08 22:08:21 +08:00
|
|
|
transition: background 0.3s ease;
|
2015-11-16 23:11:41 +08:00
|
|
|
|
2015-12-08 22:08:21 +08:00
|
|
|
&:hover {
|
2015-11-17 18:11:46 +08:00
|
|
|
background: tint(@primary-color, 90%);
|
2015-11-16 23:11:41 +08:00
|
|
|
}
|
|
|
|
|
2015-12-08 22:08:21 +08:00
|
|
|
&.@{timepicker-prefix-cls}-panel-select-option-selected {
|
|
|
|
background: tint(@primary-color, 80%);
|
2015-11-16 23:11:41 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|