2016-10-07 15:41:11 +08:00
|
|
|
.@{calendar-timepicker-prefix-cls} {
|
2016-07-18 16:44:30 +08:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
top: 34px;
|
2016-11-29 11:56:10 +08:00
|
|
|
background-color: @component-background;
|
2016-07-18 16:44:30 +08:00
|
|
|
|
|
|
|
&-panel {
|
|
|
|
z-index: @zindex-picker;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-inner {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
outline: none;
|
|
|
|
list-style: none;
|
2016-11-08 20:57:07 +08:00
|
|
|
font-size: @font-size-base;
|
2016-07-18 16:44:30 +08:00
|
|
|
text-align: left;
|
2016-11-29 11:56:10 +08:00
|
|
|
background-color: @component-background;
|
2016-07-18 16:44:30 +08:00
|
|
|
background-clip: padding-box;
|
|
|
|
line-height: 1.5;
|
|
|
|
overflow: hidden;
|
2016-11-11 17:50:48 +08:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
&-combobox {
|
|
|
|
width: 100%;
|
2016-07-18 16:44:30 +08:00
|
|
|
}
|
|
|
|
|
2017-05-02 16:24:29 +08:00
|
|
|
&-column-1,
|
|
|
|
&-column-1 &-select {
|
2016-09-27 13:42:30 +08:00
|
|
|
width: 100%;
|
|
|
|
}
|
2017-05-02 16:24:29 +08:00
|
|
|
&-column-2 &-select {
|
2016-11-11 17:50:48 +08:00
|
|
|
width: 50%;
|
2016-09-27 13:42:30 +08:00
|
|
|
}
|
2017-05-02 16:24:29 +08:00
|
|
|
&-column-3 &-select {
|
|
|
|
width: 33.33%;
|
|
|
|
}
|
|
|
|
&-column-4 &-select {
|
|
|
|
width: 25%;
|
2016-09-27 13:42:30 +08:00
|
|
|
}
|
|
|
|
|
2016-10-07 16:04:11 +08:00
|
|
|
&-input-wrap {
|
|
|
|
display: none;
|
2016-07-18 16:44:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-select {
|
|
|
|
float: left;
|
2016-11-08 20:57:07 +08:00
|
|
|
font-size: @font-size-base;
|
2017-05-02 16:24:29 +08:00
|
|
|
border-right: @border-width-base @border-style-base @border-color-split;
|
2016-07-18 16:44:30 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative; // Fix chrome weird render bug
|
2017-01-15 14:10:20 +08:00
|
|
|
height: 206px;
|
2016-07-18 16:44:30 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&: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: 206px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
2017-05-02 16:24:29 +08:00
|
|
|
text-align: center;
|
2016-07-18 16:44:30 +08:00
|
|
|
list-style: none;
|
|
|
|
box-sizing: content-box;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 24px;
|
|
|
|
line-height: 24px;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
transition: background 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
li:last-child:after {
|
|
|
|
content: '';
|
2016-07-21 15:20:01 +08:00
|
|
|
height: 182px;
|
2016-07-18 16:44:30 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
li:hover {
|
2017-05-03 22:57:14 +08:00
|
|
|
background: @item-hover-bg;
|
2016-07-18 16:44:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
li&-option-selected {
|
2017-05-03 23:06:07 +08:00
|
|
|
background: @time-picker-selected-bg;
|
2016-07-18 16:44:30 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
li&-option-disabled {
|
|
|
|
color: @btn-disable-color;
|
|
|
|
&:hover {
|
|
|
|
background: transparent;
|
2016-11-08 20:45:56 +08:00
|
|
|
cursor: not-allowed;
|
2016-07-18 16:44:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-07 16:04:11 +08:00
|
|
|
.@{calendar-prefix-cls}-time {
|
|
|
|
.@{calendar-prefix-cls}-day-select {
|
|
|
|
padding: 0 2px;
|
|
|
|
font-weight: bold;
|
|
|
|
display: inline-block;
|
2016-11-08 20:50:59 +08:00
|
|
|
color: @text-color;
|
2016-10-07 16:04:11 +08:00
|
|
|
line-height: 34px;
|
2016-04-27 20:44:36 +08:00
|
|
|
}
|
2016-07-18 16:44:30 +08:00
|
|
|
|
2016-10-07 16:04:11 +08:00
|
|
|
.@{calendar-prefix-cls}-footer {
|
|
|
|
text-align: right;
|
|
|
|
position: relative;
|
|
|
|
height: auto;
|
|
|
|
line-height: auto;
|
2016-07-18 16:44:30 +08:00
|
|
|
|
2016-10-07 16:04:11 +08:00
|
|
|
&-btn {
|
2016-11-07 16:31:15 +08:00
|
|
|
padding: 10px 0;
|
2016-10-07 16:04:11 +08:00
|
|
|
line-height: 1.5;
|
|
|
|
text-align: right;
|
2016-07-18 16:44:30 +08:00
|
|
|
}
|
|
|
|
|
2016-10-07 16:04:11 +08:00
|
|
|
.@{calendar-prefix-cls}-today-btn {
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 12px;
|
2016-07-18 16:44:30 +08:00
|
|
|
}
|
|
|
|
|
2016-10-07 16:04:11 +08:00
|
|
|
.@{calendar-prefix-cls}-time-picker-btn {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
margin-right: 60px;
|
2016-07-18 16:44:30 +08:00
|
|
|
|
2016-10-07 16:04:11 +08:00
|
|
|
&-disabled {
|
2017-01-01 22:20:06 +08:00
|
|
|
color: @disabled-color;
|
2016-07-18 16:44:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-07-21 15:20:01 +08:00
|
|
|
}
|