2018-05-11 04:58:35 -04:00
|
|
|
//
|
|
|
|
// A stylesheet for use with Bootstrap 3.x
|
|
|
|
// @author: Dan Grossman http://www.dangrossman.info/
|
|
|
|
// @copyright: Copyright (c) 2012-2015 Dan Grossman. All rights reserved.
|
|
|
|
// @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
|
|
|
|
// @website: https://www.improvely.com/
|
|
|
|
//
|
|
|
|
|
|
|
|
//
|
|
|
|
// VARIABLES
|
|
|
|
//
|
|
|
|
|
|
|
|
//
|
|
|
|
// Settings
|
|
|
|
|
|
|
|
// The class name to contain everything within.
|
2019-12-05 14:09:31 -05:00
|
|
|
@arrow-size: 7px;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
|
|
|
//
|
|
|
|
// Colors
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-color: @brand-primary;
|
|
|
|
@daterangepicker-bg-color: #fff;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-cell-color: @daterangepicker-color;
|
|
|
|
@daterangepicker-cell-border-color: transparent;
|
|
|
|
@daterangepicker-cell-bg-color: @daterangepicker-bg-color;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-cell-hover-color: @daterangepicker-color;
|
|
|
|
@daterangepicker-cell-hover-border-color: @daterangepicker-cell-border-color;
|
|
|
|
@daterangepicker-cell-hover-bg-color: #eee;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-in-range-color: #000;
|
|
|
|
@daterangepicker-in-range-border-color: transparent;
|
|
|
|
@daterangepicker-in-range-bg-color: #ebf4f8;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-active-color: #fff;
|
|
|
|
@daterangepicker-active-bg-color: #138a07;
|
|
|
|
@daterangepicker-active-border-color: transparent;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-unselected-color: #999;
|
|
|
|
@daterangepicker-unselected-border-color: transparent;
|
|
|
|
@daterangepicker-unselected-bg-color: #fff;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
|
|
|
//
|
|
|
|
// daterangepicker
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-width: 278px;
|
|
|
|
@daterangepicker-padding: 4px;
|
|
|
|
@daterangepicker-z-index: 3000;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-border-size: 1px;
|
|
|
|
@daterangepicker-border-color: #ccc;
|
|
|
|
@daterangepicker-border-radius: 4px;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
|
|
|
//
|
|
|
|
// Calendar
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-calendar-margin: @daterangepicker-padding;
|
|
|
|
@daterangepicker-calendar-bg-color: @daterangepicker-bg-color;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-calendar-border-size: 1px;
|
|
|
|
@daterangepicker-calendar-border-color: @daterangepicker-bg-color;
|
|
|
|
@daterangepicker-calendar-border-radius: @daterangepicker-border-radius;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
|
|
|
//
|
|
|
|
// Calendar Cells
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-cell-size: 20px;
|
|
|
|
@daterangepicker-cell-width: @daterangepicker-cell-size;
|
|
|
|
@daterangepicker-cell-height: @daterangepicker-cell-size;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-cell-border-radius: @daterangepicker-calendar-border-radius;
|
|
|
|
@daterangepicker-cell-border-size: 1px;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
|
|
|
//
|
|
|
|
// Dropdowns
|
|
|
|
@daterangepicker-dropdown-z-index: @daterangepicker-z-index + 1;
|
|
|
|
|
|
|
|
//
|
|
|
|
// Controls
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-control-height: 30px;
|
|
|
|
@daterangepicker-control-line-height: @daterangepicker-control-height;
|
|
|
|
@daterangepicker-control-color: #555;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-control-border-size: 1px;
|
|
|
|
@daterangepicker-control-border-color: #ccc;
|
|
|
|
@daterangepicker-control-border-radius: 4px;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-control-active-border-size: 1px;
|
|
|
|
@daterangepicker-control-active-border-color: @brand-primary;
|
2018-05-11 04:58:35 -04:00
|
|
|
@daterangepicker-control-active-border-radius: @daterangepicker-control-border-radius;
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-control-disabled-color: #ccc;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
|
|
|
//
|
|
|
|
// Ranges
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-ranges-color: @brand-primary;
|
|
|
|
@daterangepicker-ranges-bg-color: daterangepicker-ranges-color;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-ranges-border-size: 1px;
|
|
|
|
@daterangepicker-ranges-border-color: @daterangepicker-ranges-bg-color;
|
|
|
|
@daterangepicker-ranges-border-radius: @daterangepicker-border-radius;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-ranges-hover-color: #fff;
|
|
|
|
@daterangepicker-ranges-hover-bg-color: @daterangepicker-ranges-color;
|
|
|
|
@daterangepicker-ranges-hover-border-size: @daterangepicker-ranges-border-size;
|
|
|
|
@daterangepicker-ranges-hover-border-color: @daterangepicker-ranges-hover-bg-color;
|
|
|
|
@daterangepicker-ranges-hover-border-radius: @daterangepicker-border-radius;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@daterangepicker-ranges-active-border-size: @daterangepicker-ranges-border-size;
|
|
|
|
@daterangepicker-ranges-active-border-color: @daterangepicker-ranges-bg-color;
|
2018-05-11 04:58:35 -04:00
|
|
|
@daterangepicker-ranges-active-border-radius: @daterangepicker-border-radius;
|
|
|
|
|
|
|
|
//
|
|
|
|
// STYLESHEETS
|
|
|
|
//
|
|
|
|
.daterangepicker {
|
|
|
|
position: absolute;
|
|
|
|
color: @daterangepicker-color;
|
|
|
|
background-color: @daterangepicker-bg-color;
|
|
|
|
border-radius: @daterangepicker-border-radius;
|
|
|
|
width: @daterangepicker-width;
|
|
|
|
padding: @daterangepicker-padding;
|
|
|
|
margin-top: @daterangepicker-border-size;
|
|
|
|
|
|
|
|
// TODO: Should these be parameterized??
|
|
|
|
// top: 100px;
|
|
|
|
// left: 20px;
|
|
|
|
|
|
|
|
@arrow-prefix-size: @arrow-size;
|
|
|
|
@arrow-suffix-size: (@arrow-size - @daterangepicker-border-size);
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
&:before,
|
|
|
|
&:after {
|
2018-05-11 04:58:35 -04:00
|
|
|
position: absolute;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
border-bottom-color: rgba(0, 0, 0, 0.2);
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
top: -@arrow-prefix-size;
|
|
|
|
|
|
|
|
border-right: @arrow-prefix-size solid transparent;
|
|
|
|
border-left: @arrow-prefix-size solid transparent;
|
|
|
|
border-bottom: @arrow-prefix-size solid @daterangepicker-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
top: -@arrow-suffix-size;
|
|
|
|
|
|
|
|
border-right: @arrow-suffix-size solid transparent;
|
|
|
|
border-bottom: @arrow-suffix-size solid @daterangepicker-bg-color;
|
|
|
|
border-left: @arrow-suffix-size solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.opensleft {
|
|
|
|
&:before {
|
|
|
|
// TODO: Make this relative to prefix size.
|
|
|
|
right: @arrow-prefix-size + 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
// TODO: Make this relative to suffix size.
|
|
|
|
right: @arrow-suffix-size + 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.openscenter {
|
|
|
|
&:before {
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.opensright {
|
|
|
|
&:before {
|
|
|
|
// TODO: Make this relative to prefix size.
|
|
|
|
left: @arrow-prefix-size + 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
// TODO: Make this relative to suffix size.
|
|
|
|
left: @arrow-suffix-size + 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.dropup {
|
|
|
|
margin-top: -5px;
|
|
|
|
|
|
|
|
// NOTE: Note sure why these are special-cased.
|
|
|
|
&:before {
|
|
|
|
top: initial;
|
|
|
|
bottom: -@arrow-prefix-size;
|
|
|
|
border-bottom: initial;
|
|
|
|
border-top: @arrow-prefix-size solid @daterangepicker-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
top: initial;
|
2019-12-05 14:09:31 -05:00
|
|
|
bottom: -@arrow-suffix-size;
|
2018-05-11 04:58:35 -04:00
|
|
|
border-bottom: initial;
|
|
|
|
border-top: @arrow-suffix-size solid @daterangepicker-bg-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.dropdown-menu {
|
|
|
|
max-width: none;
|
|
|
|
z-index: @daterangepicker-dropdown-z-index;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.single {
|
2019-12-05 14:09:31 -05:00
|
|
|
.ranges,
|
|
|
|
.calendar {
|
2018-05-11 04:58:35 -04:00
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Calendars */
|
|
|
|
&.show-calendar {
|
|
|
|
.calendar {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar {
|
|
|
|
display: none;
|
|
|
|
max-width: @daterangepicker-width - (@daterangepicker-calendar-margin * 2);
|
|
|
|
margin: @daterangepicker-calendar-margin;
|
|
|
|
|
|
|
|
&.single {
|
|
|
|
.calendar-table {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
th,
|
|
|
|
td {
|
2018-05-11 04:58:35 -04:00
|
|
|
white-space: nowrap;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
// TODO: Should this actually be hard-coded?
|
|
|
|
min-width: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar-table {
|
2019-12-05 14:09:31 -05:00
|
|
|
border: @daterangepicker-calendar-border-size solid
|
|
|
|
@daterangepicker-calendar-border-color;
|
2018-05-11 04:58:35 -04:00
|
|
|
padding: @daterangepicker-calendar-margin;
|
|
|
|
border-radius: @daterangepicker-calendar-border-radius;
|
|
|
|
background-color: @daterangepicker-calendar-bg-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
td,
|
|
|
|
th {
|
2018-05-11 04:58:35 -04:00
|
|
|
text-align: center;
|
|
|
|
width: @daterangepicker-cell-width;
|
|
|
|
height: @daterangepicker-cell-height;
|
|
|
|
border-radius: @daterangepicker-cell-border-radius;
|
2019-12-05 14:09:31 -05:00
|
|
|
border: @daterangepicker-cell-border-size solid
|
|
|
|
@daterangepicker-cell-border-color;
|
2018-05-11 04:58:35 -04:00
|
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&.available {
|
|
|
|
&:hover {
|
|
|
|
background-color: @daterangepicker-cell-hover-bg-color;
|
|
|
|
border-color: @daterangepicker-cell-hover-border-color;
|
|
|
|
color: @daterangepicker-cell-hover-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.week {
|
|
|
|
font-size: 80%;
|
|
|
|
color: #ccc;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
&.off {
|
2019-12-05 14:09:31 -05:00
|
|
|
&,
|
|
|
|
&.in-range,
|
|
|
|
&.start-date,
|
|
|
|
&.end-date {
|
2018-05-11 04:58:35 -04:00
|
|
|
background-color: @daterangepicker-unselected-bg-color;
|
|
|
|
border-color: @daterangepicker-unselected-border-color;
|
|
|
|
color: @daterangepicker-unselected-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// Date Range
|
|
|
|
&.in-range {
|
|
|
|
background-color: @daterangepicker-in-range-bg-color;
|
|
|
|
border-color: @daterangepicker-in-range-border-color;
|
|
|
|
color: @daterangepicker-in-range-color;
|
|
|
|
|
|
|
|
// TODO: Should this be static or should it be parameterized?
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.start-date {
|
2019-12-05 14:09:31 -05:00
|
|
|
border-radius: @daterangepicker-cell-border-radius 0 0
|
|
|
|
@daterangepicker-cell-border-radius;
|
2018-05-11 04:58:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.end-date {
|
2019-12-05 14:09:31 -05:00
|
|
|
border-radius: 0 @daterangepicker-cell-border-radius
|
|
|
|
@daterangepicker-cell-border-radius 0;
|
2018-05-11 04:58:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.start-date.end-date {
|
|
|
|
border-radius: @daterangepicker-cell-border-radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2019-12-05 14:09:31 -05:00
|
|
|
&,
|
|
|
|
&:hover {
|
2018-05-11 04:58:35 -04:00
|
|
|
background-color: @daterangepicker-active-bg-color;
|
|
|
|
border-color: @daterangepicker-active-border-color;
|
|
|
|
color: @daterangepicker-active-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
&.month {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// Disabled Controls
|
|
|
|
//
|
2019-12-05 14:09:31 -05:00
|
|
|
td,
|
|
|
|
option {
|
2018-05-11 04:58:35 -04:00
|
|
|
&.disabled {
|
|
|
|
color: #999;
|
|
|
|
cursor: not-allowed;
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
2019-12-05 14:09:31 -05:00
|
|
|
&.monthselect,
|
|
|
|
&.yearselect {
|
2018-05-11 04:58:35 -04:00
|
|
|
font-size: 12px;
|
|
|
|
padding: 1px;
|
|
|
|
height: auto;
|
|
|
|
margin: 0;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.monthselect {
|
|
|
|
margin-right: 2%;
|
|
|
|
width: 56%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.yearselect {
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
&.hourselect,
|
|
|
|
&.minuteselect,
|
|
|
|
&.secondselect,
|
|
|
|
&.ampmselect {
|
2018-05-11 04:58:35 -04:00
|
|
|
width: 50px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// Text Input Controls (above calendar)
|
|
|
|
//
|
|
|
|
.input-mini {
|
2019-12-05 14:09:31 -05:00
|
|
|
border: @daterangepicker-control-border-size solid
|
|
|
|
@daterangepicker-control-border-color;
|
2018-05-11 04:58:35 -04:00
|
|
|
border-radius: @daterangepicker-control-border-radius;
|
|
|
|
color: @daterangepicker-control-color;
|
|
|
|
height: @daterangepicker-control-line-height;
|
|
|
|
line-height: @daterangepicker-control-height;
|
|
|
|
display: block;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
// TODO: Should these all be static, too??
|
|
|
|
margin: 0 0 5px 0;
|
|
|
|
padding: 0 6px 0 28px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&.active {
|
2019-12-05 14:09:31 -05:00
|
|
|
border: @daterangepicker-control-active-border-size solid
|
|
|
|
@daterangepicker-control-active-border-color;
|
2018-05-11 04:58:35 -04:00
|
|
|
border-radius: @daterangepicker-control-active-border-radius;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.daterangepicker_input {
|
|
|
|
position: relative;
|
2018-07-26 07:53:28 -04:00
|
|
|
padding-left: 0;
|
2018-05-11 04:58:35 -04:00
|
|
|
|
|
|
|
i {
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
// NOTE: These appear to be eyeballed to me...
|
|
|
|
left: 8px;
|
2018-07-26 07:53:28 -04:00
|
|
|
top: 10px;
|
2018-05-11 04:58:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.rtl {
|
|
|
|
.input-mini {
|
|
|
|
padding-right: 28px;
|
|
|
|
padding-left: 6px;
|
|
|
|
}
|
|
|
|
.daterangepicker_input i {
|
|
|
|
left: auto;
|
|
|
|
right: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// Time Picker
|
|
|
|
//
|
|
|
|
.calendar-time {
|
|
|
|
text-align: center;
|
|
|
|
margin: 5px auto;
|
|
|
|
line-height: @daterangepicker-control-line-height;
|
|
|
|
position: relative;
|
|
|
|
padding-left: 28px;
|
|
|
|
|
|
|
|
select {
|
|
|
|
&.disabled {
|
|
|
|
color: @daterangepicker-control-disabled-color;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// Predefined Ranges
|
|
|
|
//
|
|
|
|
|
|
|
|
.ranges {
|
|
|
|
font-size: 11px;
|
|
|
|
float: none;
|
|
|
|
margin: 4px;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
font-size: 13px;
|
|
|
|
background-color: @daterangepicker-ranges-bg-color;
|
2019-12-05 14:09:31 -05:00
|
|
|
border: @daterangepicker-ranges-border-size solid
|
|
|
|
@daterangepicker-ranges-border-color;
|
2018-05-11 04:58:35 -04:00
|
|
|
border-radius: @daterangepicker-ranges-border-radius;
|
|
|
|
color: @daterangepicker-ranges-color;
|
|
|
|
padding: 3px 12px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @daterangepicker-ranges-hover-bg-color;
|
|
|
|
color: @daterangepicker-ranges-hover-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background-color: @daterangepicker-ranges-hover-bg-color;
|
2019-12-05 14:09:31 -05:00
|
|
|
border: @daterangepicker-ranges-hover-border-size solid
|
|
|
|
@daterangepicker-ranges-hover-border-color;
|
2018-05-11 04:58:35 -04:00
|
|
|
color: @daterangepicker-ranges-hover-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Larger Screen Styling */
|
|
|
|
@media (min-width: 564px) {
|
|
|
|
.daterangepicker {
|
2018-07-26 07:53:28 -04:00
|
|
|
.glyphicon {
|
|
|
|
font-family: FontAwesome;
|
|
|
|
}
|
2019-12-05 14:09:31 -05:00
|
|
|
.glyphicon-chevron-left:before {
|
|
|
|
content: '\f053';
|
2018-07-26 07:53:28 -04:00
|
|
|
}
|
2019-12-05 14:09:31 -05:00
|
|
|
.glyphicon-chevron-right:before {
|
|
|
|
content: '\f054';
|
2018-07-26 07:53:28 -04:00
|
|
|
}
|
2019-12-05 14:09:31 -05:00
|
|
|
.glyphicon-calendar:before {
|
|
|
|
content: '\f073';
|
2018-07-26 07:53:28 -04:00
|
|
|
}
|
|
|
|
|
2018-05-11 04:58:35 -04:00
|
|
|
width: auto;
|
|
|
|
|
|
|
|
.ranges {
|
|
|
|
ul {
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.single {
|
|
|
|
.ranges {
|
|
|
|
ul {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar.left {
|
|
|
|
clear: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ltr {
|
2019-12-05 14:09:31 -05:00
|
|
|
.ranges,
|
|
|
|
.calendar {
|
|
|
|
float: left;
|
2018-05-11 04:58:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.rtl {
|
2019-12-05 14:09:31 -05:00
|
|
|
.ranges,
|
|
|
|
.calendar {
|
|
|
|
float: right;
|
2018-05-11 04:58:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ltr {
|
|
|
|
direction: ltr;
|
|
|
|
text-align: left;
|
2019-12-05 14:09:31 -05:00
|
|
|
.calendar {
|
2018-05-11 04:58:35 -04:00
|
|
|
&.left {
|
|
|
|
clear: left;
|
|
|
|
margin-right: 0;
|
|
|
|
|
|
|
|
.calendar-table {
|
|
|
|
border-right: none;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
.calendar-table {
|
|
|
|
border-left: none;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.left .daterangepicker_input {
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar.left .calendar-table {
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.ranges,
|
|
|
|
.calendar {
|
2018-05-11 04:58:35 -04:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.rtl {
|
|
|
|
direction: rtl;
|
|
|
|
text-align: right;
|
2019-12-05 14:09:31 -05:00
|
|
|
.calendar {
|
2018-05-11 04:58:35 -04:00
|
|
|
&.left {
|
|
|
|
clear: right;
|
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
.calendar-table {
|
|
|
|
border-left: none;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
margin-right: 0;
|
|
|
|
|
|
|
|
.calendar-table {
|
|
|
|
border-right: none;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.left .daterangepicker_input {
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar.left .calendar-table {
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.ranges,
|
|
|
|
.calendar {
|
2018-05-11 04:58:35 -04:00
|
|
|
text-align: right;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 730px) {
|
2019-08-27 06:31:02 -04:00
|
|
|
/* force the calendar to display on one row */
|
|
|
|
&.show-calendar {
|
|
|
|
min-width: 658px; /* width of all contained elements, IE/Edge fallback */
|
|
|
|
width: -moz-max-content;
|
|
|
|
width: -webkit-max-content;
|
|
|
|
width: max-content;
|
|
|
|
}
|
|
|
|
|
2018-05-11 04:58:35 -04:00
|
|
|
.daterangepicker {
|
|
|
|
.ranges {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
&.ltr {
|
|
|
|
.ranges {
|
|
|
|
float: left;
|
2019-12-05 14:09:31 -05:00
|
|
|
clear: none !important;
|
2018-05-11 04:58:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.rtl {
|
|
|
|
.ranges {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-27 06:31:02 -04:00
|
|
|
.calendar {
|
2018-05-11 04:58:35 -04:00
|
|
|
clear: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|