haldis/app/static/css/bootstrap-datetimepicker.css

367 lines
8.4 KiB
CSS
Raw Permalink Normal View History

2015-03-31 20:15:22 +02:00
/*!
* Datetimepicker for Bootstrap 3
* ! version : 4.7.14
* https://github.com/Eonasdan/bootstrap-datetimepicker/
*/
2015-03-31 20:15:22 +02:00
.bootstrap-datetimepicker-widget {
list-style: none;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget.dropdown-menu {
margin: 2px 0;
padding: 4px;
width: 19em;
2015-03-31 20:15:22 +02:00
}
@media (min-width: 768px) {
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
width: 38em;
}
2015-03-31 20:15:22 +02:00
}
@media (min-width: 992px) {
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
width: 38em;
}
2015-03-31 20:15:22 +02:00
}
@media (min-width: 1200px) {
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
width: 38em;
}
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget.dropdown-menu:before,
.bootstrap-datetimepicker-widget.dropdown-menu:after {
content: '';
display: inline-block;
position: absolute;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid #cccccc;
border-bottom-color: rgba(0, 0, 0, 0.2);
top: -7px;
left: 7px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid white;
top: -6px;
left: 8px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget.dropdown-menu.top:before {
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-top: 7px solid #cccccc;
border-top-color: rgba(0, 0, 0, 0.2);
bottom: -7px;
left: 6px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget.dropdown-menu.top:after {
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid white;
bottom: -6px;
left: 7px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before {
left: auto;
right: 6px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after {
left: auto;
right: 7px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .list-unstyled {
margin: 0;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget a[data-action] {
padding: 6px 0;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget a[data-action]:active {
box-shadow: none;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .timepicker-hour,
.bootstrap-datetimepicker-widget .timepicker-minute,
.bootstrap-datetimepicker-widget .timepicker-second {
width: 54px;
font-weight: bold;
font-size: 1.2em;
margin: 0;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget button[data-action] {
padding: 6px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Increment Hours";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Increment Minutes";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Decrement Hours";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Decrement Minutes";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Show Hours";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Show Minutes";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Toggle AM/PM";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .btn[data-action="clear"]::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Clear the picker";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .btn[data-action="today"]::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Set the date to today";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .picker-switch {
text-align: center;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .picker-switch::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Toggle Date and Time Screens";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .picker-switch td {
padding: 0;
margin: 0;
height: auto;
width: auto;
line-height: inherit;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget .picker-switch td span {
line-height: 2.5;
height: 2.5em;
width: 100%;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table {
width: 100%;
margin: 0;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th {
text-align: center;
border-radius: 4px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table th {
height: 20px;
line-height: 20px;
width: 20px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table th.picker-switch {
width: 145px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table th.disabled,
.bootstrap-datetimepicker-widget table th.disabled:hover {
background: none;
color: #777777;
cursor: not-allowed;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table th.prev::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Previous Month";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table th.next::after {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
content: "Next Month";
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table thead tr:first-child th {
cursor: pointer;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
background: #eeeeee;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td {
height: 54px;
line-height: 54px;
width: 54px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td.cw {
font-size: .8em;
height: 20px;
line-height: 20px;
color: #777777;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td.day {
height: 20px;
line-height: 20px;
width: 20px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td.day:hover,
.bootstrap-datetimepicker-widget table td.hour:hover,
.bootstrap-datetimepicker-widget table td.minute:hover,
.bootstrap-datetimepicker-widget table td.second:hover {
background: #eeeeee;
cursor: pointer;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td.old,
.bootstrap-datetimepicker-widget table td.new {
color: #777777;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td.today {
position: relative;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td.today:before {
content: '';
display: inline-block;
border: 0 0 7px 7px solid transparent;
border-bottom-color: #337ab7;
border-top-color: rgba(0, 0, 0, 0.2);
position: absolute;
bottom: 4px;
right: 4px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
background-color: #337ab7;
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td.active.today:before {
border-bottom-color: #fff;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td.disabled,
.bootstrap-datetimepicker-widget table td.disabled:hover {
background: none;
color: #777777;
cursor: not-allowed;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td span {
display: inline-block;
width: 54px;
height: 54px;
line-height: 54px;
margin: 2px 1.5px;
cursor: pointer;
border-radius: 4px;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td span:hover {
background: #eeeeee;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td span.active {
background-color: #337ab7;
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td span.old {
color: #777777;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget table td span.disabled,
.bootstrap-datetimepicker-widget table td span.disabled:hover {
background: none;
color: #777777;
cursor: not-allowed;
2015-03-31 20:15:22 +02:00
}
.bootstrap-datetimepicker-widget.usetwentyfour td.hour {
height: 27px;
line-height: 27px;
2015-03-31 20:15:22 +02:00
}
.input-group.date .input-group-addon {
cursor: pointer;
2015-03-31 20:15:22 +02:00
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
2015-03-31 20:15:22 +02:00
}