2017-10-15 08:36:44 +08:00
|
|
|
@import 'ui-variables';
|
2016-04-06 09:42:19 +08:00
|
|
|
|
|
|
|
.time-picker-wrap {
|
|
|
|
display: inline-block;
|
|
|
|
width: 5.5em;
|
2016-04-08 03:15:04 +08:00
|
|
|
position: relative;
|
2016-04-06 09:42:19 +08:00
|
|
|
input {
|
|
|
|
width: 5.5em;
|
|
|
|
&.invalid {
|
|
|
|
background: fade(@color-error, 10%);
|
|
|
|
}
|
|
|
|
}
|
2016-04-08 03:15:04 +08:00
|
|
|
|
|
|
|
.time-options {
|
|
|
|
max-height: 158px;
|
|
|
|
overflow: auto;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
background: @background-primary;
|
|
|
|
border-top: 0;
|
|
|
|
border-radius: 0 0 @border-radius-base @border-radius-base;
|
2017-10-15 08:36:44 +08:00
|
|
|
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
|
2016-04-08 03:15:04 +08:00
|
|
|
|
|
|
|
&.relative-to {
|
|
|
|
width: 120px;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
.option {
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.option {
|
|
|
|
line-height: 1.75;
|
|
|
|
&.selected {
|
|
|
|
color: @text-color;
|
|
|
|
&:hover {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
2017-10-15 08:36:44 +08:00
|
|
|
&.focused,
|
|
|
|
&:hover {
|
|
|
|
background: rgba(0, 0, 0, 0.05);
|
2016-04-08 03:15:04 +08:00
|
|
|
}
|
|
|
|
.rel-text {
|
|
|
|
font-size: 0.8em;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-04-06 09:42:19 +08:00
|
|
|
}
|