ORIENT/modules/system/assets/ui/less/datepicker.less

117 lines
2.1 KiB
Plaintext
Raw Normal View History

//
// Dependencies
// --------------------------------------------------
2014-05-14 13:24:20 +00:00
@import "global.less";
//
// Date Picker
// --------------------------------------------------
@import "datepicker.date.less";
@import "datepicker.time.less";
2014-05-14 13:24:20 +00:00
.field-datepicker {
}
.pika-single {
border-radius: @border-radius-base;
font-size: 12px;
margin-top: 5px;
2016-05-24 20:55:56 +00:00
z-index: @zindex-datepicker;
font-family: @font-family-sans-serif;
width: 310px;
2014-05-14 13:24:20 +00:00
&.is-bound {
2016-05-24 20:55:56 +00:00
.box-shadow(@overlay-box-shadow);
2014-05-14 13:24:20 +00:00
}
2016-05-24 20:55:56 +00:00
2014-05-14 13:24:20 +00:00
abbr {
border-bottom: none;
}
.pika-button {
2016-05-24 20:55:56 +00:00
border-radius: 999px !important;
text-align: center;
width: 29px;
height: 29px;
margin: 3px;
background: transparent;
2014-05-14 13:24:20 +00:00
}
.is-today .pika-button {
background: #ddd;
font-weight: bold;
2016-05-24 20:55:56 +00:00
color: @color-datepicker-today-text;
2014-05-14 13:24:20 +00:00
}
.is-selected .pika-button {
box-shadow: none;
2016-05-24 20:55:56 +00:00
background: @color-datepicker-selected-bg;
2014-05-14 13:24:20 +00:00
}
.pika-button:hover {
2016-05-24 20:55:56 +00:00
color: @color-datepicker-hover-text !important;
background: @color-datepicker-hover-bg !important;
2014-05-14 13:24:20 +00:00
}
.pika-label {
font-weight: normal;
}
.pika-table th {
text-transform: uppercase;
2016-05-24 20:55:56 +00:00
font-weight: normal;
line-height: 30px;
font-size: @font-size-base - 3;
2014-05-14 13:24:20 +00:00
}
.pika-footer {
.pika-label {
2016-05-24 20:55:56 +00:00
font-size: @font-size-base - 3;
2014-05-14 13:24:20 +00:00
}
}
}
.clockpicker-popover {
z-index: @zindex-datepicker;
.box-shadow(@overlay-box-shadow);
border-radius: @border-radius-base;
.popover-title {
font-size: 20px;
font-weight: normal;
border: none;
}
&.top {
margin-top: -5px;
}
&.right {
margin-left: 5px;
}
&.bottom {
margin-top: 5px;
}
&.left {
margin-left: -5px;
}
> .arrow {
display: none;
}
}
.clockpicker-plate {
border: none;
}
.clockpicker-hours .clockpicker-tick {
font-size: 12px;
&.tick-inner {
font-size: 16px;
}
}
.clockpicker-minutes .clockpicker-tick {
font-size: 16px;
}