123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408 |
- /*!
- * Datepicker for Bootstrap
- *
- * Copyright 2012 Stefan Petre
- * Improvements by Andrew Rowls
- * Licensed under the Apache License v2.0
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- */
- .datepicker {
- padding: 4px;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- direction: ltr;
- /*.dow {
- border-top: 1px solid #ddd !important;
- }*/
- }
- .datepicker-inline {
- width: 220px;
- }
- .datepicker.datepicker-rtl {
- direction: rtl;
- }
- .datepicker.datepicker-rtl table tr td span {
- float: right;
- }
- .datepicker-dropdown {
- top: 0;
- left: 0;
- }
- .datepicker-dropdown:before {
- content: '';
- display: inline-block;
- border-left: 7px solid transparent;
- border-right: 7px solid transparent;
- border-bottom: 7px solid #ccc;
- border-bottom-color: rgba(0, 0, 0, 0.2);
- position: absolute;
- top: -7px;
- left: 6px;
- }
- .datepicker-dropdown:after {
- content: '';
- display: inline-block;
- border-left: 6px solid transparent;
- border-right: 6px solid transparent;
- border-bottom: 6px solid #ffffff;
- position: absolute;
- top: -6px;
- left: 7px;
- }
- .datepicker > div {
- display: none;
- }
- .datepicker.days div.datepicker-days {
- display: block;
- }
- .datepicker.months div.datepicker-months {
- display: block;
- }
- .datepicker.years div.datepicker-years {
- display: block;
- }
- .datepicker table {
- margin: 0;
- }
- .datepicker td,
- .datepicker th {
- text-align: center;
- width: 20px;
- height: 20px;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- border: none;
- }
- .table-striped .datepicker table tr td,
- .table-striped .datepicker table tr th {
- background-color: transparent;
- }
- .datepicker table tr td.day:hover {
- background: #eeeeee;
- cursor: pointer;
- }
- .datepicker table tr td.old,
- .datepicker table tr td.new {
- color: #999999;
- }
- .datepicker table tr td.disabled,
- .datepicker table tr td.disabled:hover {
- background: none;
- color: #999999;
- cursor: default;
- }
- .datepicker table tr td.today,
- .datepicker table tr td.today:hover,
- .datepicker table tr td.today.disabled,
- .datepicker table tr td.today.disabled:hover {
- background-color: #fde19a;
- background-image: linear-gradient(to top, #fdd49a, #fdf59a);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
- border-color: #fdf59a #fdf59a #fbed50;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
- color: #000 !important;
- }
- .datepicker table tr td.today:hover,
- .datepicker table tr td.today:hover:hover,
- .datepicker table tr td.today.disabled:hover,
- .datepicker table tr td.today.disabled:hover:hover,
- .datepicker table tr td.today:active,
- .datepicker table tr td.today:hover:active,
- .datepicker table tr td.today.disabled:active,
- .datepicker table tr td.today.disabled:hover:active,
- .datepicker table tr td.today.active,
- .datepicker table tr td.today:hover.active,
- .datepicker table tr td.today.disabled.active,
- .datepicker table tr td.today.disabled:hover.active,
- .datepicker table tr td.today.disabled,
- .datepicker table tr td.today:hover.disabled,
- .datepicker table tr td.today.disabled.disabled,
- .datepicker table tr td.today.disabled:hover.disabled,
- .datepicker table tr td.today[disabled],
- .datepicker table tr td.today:hover[disabled],
- .datepicker table tr td.today.disabled[disabled],
- .datepicker table tr td.today.disabled:hover[disabled] {
- background-color: #fdf59a;
- }
- .datepicker table tr td.today:active,
- .datepicker table tr td.today:hover:active,
- .datepicker table tr td.today.disabled:active,
- .datepicker table tr td.today.disabled:hover:active,
- .datepicker table tr td.today.active,
- .datepicker table tr td.today:hover.active,
- .datepicker table tr td.today.disabled.active,
- .datepicker table tr td.today.disabled:hover.active {
- background-color: #fbf069 \9;
- }
- .datepicker table tr td.active,
- .datepicker table tr td.active:hover,
- .datepicker table tr td.active.disabled,
- .datepicker table tr td.active.disabled:hover {
- background-color: #006dcc;
- background-image: linear-gradient(to top, #0088cc, #0044cc);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
- border-color: #0044cc #0044cc #002a80;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
- color: #fff;
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
- }
- .datepicker table tr td.active:hover,
- .datepicker table tr td.active:hover:hover,
- .datepicker table tr td.active.disabled:hover,
- .datepicker table tr td.active.disabled:hover:hover,
- .datepicker table tr td.active:active,
- .datepicker table tr td.active:hover:active,
- .datepicker table tr td.active.disabled:active,
- .datepicker table tr td.active.disabled:hover:active,
- .datepicker table tr td.active.active,
- .datepicker table tr td.active:hover.active,
- .datepicker table tr td.active.disabled.active,
- .datepicker table tr td.active.disabled:hover.active,
- .datepicker table tr td.active.disabled,
- .datepicker table tr td.active:hover.disabled,
- .datepicker table tr td.active.disabled.disabled,
- .datepicker table tr td.active.disabled:hover.disabled,
- .datepicker table tr td.active[disabled],
- .datepicker table tr td.active:hover[disabled],
- .datepicker table tr td.active.disabled[disabled],
- .datepicker table tr td.active.disabled:hover[disabled] {
- background-color: #0044cc;
- }
- .datepicker table tr td.active:active,
- .datepicker table tr td.active:hover:active,
- .datepicker table tr td.active.disabled:active,
- .datepicker table tr td.active.disabled:hover:active,
- .datepicker table tr td.active.active,
- .datepicker table tr td.active:hover.active,
- .datepicker table tr td.active.disabled.active,
- .datepicker table tr td.active.disabled:hover.active {
- background-color: #003399 \9;
- }
- .datepicker table tr td span {
- display: block;
- width: 23%;
- height: 54px;
- line-height: 54px;
- float: left;
- margin: 1%;
- cursor: pointer;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- }
- .datepicker table tr td span:hover {
- background: #eeeeee;
- }
- .datepicker table tr td span.disabled,
- .datepicker table tr td span.disabled:hover {
- background: none;
- color: #999999;
- cursor: default;
- }
- .datepicker table tr td span.active,
- .datepicker table tr td span.active:hover,
- .datepicker table tr td span.active.disabled,
- .datepicker table tr td span.active.disabled:hover {
- background-color: #006dcc;
- background-image: linear-gradient(to top, #0088cc, #0044cc);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
- border-color: #0044cc #0044cc #002a80;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
- color: #fff;
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
- }
- .datepicker table tr td span.active:hover,
- .datepicker table tr td span.active:hover:hover,
- .datepicker table tr td span.active.disabled:hover,
- .datepicker table tr td span.active.disabled:hover:hover,
- .datepicker table tr td span.active:active,
- .datepicker table tr td span.active:hover:active,
- .datepicker table tr td span.active.disabled:active,
- .datepicker table tr td span.active.disabled:hover:active,
- .datepicker table tr td span.active.active,
- .datepicker table tr td span.active:hover.active,
- .datepicker table tr td span.active.disabled.active,
- .datepicker table tr td span.active.disabled:hover.active,
- .datepicker table tr td span.active.disabled,
- .datepicker table tr td span.active:hover.disabled,
- .datepicker table tr td span.active.disabled.disabled,
- .datepicker table tr td span.active.disabled:hover.disabled,
- .datepicker table tr td span.active[disabled],
- .datepicker table tr td span.active:hover[disabled],
- .datepicker table tr td span.active.disabled[disabled],
- .datepicker table tr td span.active.disabled:hover[disabled] {
- background-color: #0044cc;
- }
- .datepicker table tr td span.active:active,
- .datepicker table tr td span.active:hover:active,
- .datepicker table tr td span.active.disabled:active,
- .datepicker table tr td span.active.disabled:hover:active,
- .datepicker table tr td span.active.active,
- .datepicker table tr td span.active:hover.active,
- .datepicker table tr td span.active.disabled.active,
- .datepicker table tr td span.active.disabled:hover.active {
- background-color: #003399 \9;
- }
- .datepicker table tr td span.old {
- color: #999999;
- }
- .datepicker th.switch {
- width: 145px;
- }
- .datepicker thead tr:first-child th,
- .datepicker tfoot tr:first-child th {
- cursor: pointer;
- }
- .datepicker thead tr:first-child th:hover,
- .datepicker tfoot tr:first-child th:hover {
- background: #eeeeee;
- }
- .datepicker .cw {
- font-size: 10px;
- width: 12px;
- padding: 0 2px 0 5px;
- vertical-align: middle;
- }
- .datepicker thead tr:first-child th.cw {
- cursor: default;
- background-color: transparent;
- }
- .input-append.date .add-on i,
- .input-prepend.date .add-on i {
- display: block;
- cursor: pointer;
- width: 16px;
- height: 16px;
- }
- /*!
- * Timepicker Component for Twitter Bootstrap
- *
- * Copyright 2013 Joris de Wit
- *
- * Contributors https://github.com/jdewit/bootstrap-timepicker/graphs/contributors
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- .bootstrap-timepicker {
- position: relative;
- }
- .bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu {
- left: auto;
- right: 0;
- }
- .bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:before {
- left: auto;
- right: 12px;
- }
- .bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:after {
- left: auto;
- right: 13px;
- }
- .bootstrap-timepicker .add-on {
- cursor: pointer;
- }
- .bootstrap-timepicker .add-on i {
- display: inline-block;
- width: 16px;
- height: 16px;
- }
- .bootstrap-timepicker-widget.dropdown-menu {
- padding: 2px 3px 2px 2px;
- }
- .bootstrap-timepicker-widget.dropdown-menu.open {
- display: inline-block;
- }
- .bootstrap-timepicker-widget.dropdown-menu:before {
- border-bottom: 7px solid rgba(0, 0, 0, 0.2);
- border-left: 7px solid transparent;
- border-right: 7px solid transparent;
- content: "";
- display: inline-block;
- left: 9px;
- position: absolute;
- top: -7px;
- }
- .bootstrap-timepicker-widget.dropdown-menu:after {
- border-bottom: 6px solid #FFFFFF;
- border-left: 6px solid transparent;
- border-right: 6px solid transparent;
- content: "";
- display: inline-block;
- left: 10px;
- position: absolute;
- top: -6px;
- }
- .bootstrap-timepicker-widget a.btn,
- .bootstrap-timepicker-widget input {
- border-radius: 4px;
- }
- .bootstrap-timepicker-widget table {
- width: 100%;
- margin: 0;
- }
- .bootstrap-timepicker-widget table td {
- text-align: center;
- height: 30px;
- margin: 0;
- padding: 2px;
- }
- .bootstrap-timepicker-widget table td:not(.separator) {
- min-width: 30px;
- }
- .bootstrap-timepicker-widget table td span {
- width: 100%;
- }
- .bootstrap-timepicker-widget table td a {
- border: 1px transparent solid;
- width: 100%;
- display: inline-block;
- margin: 0;
- padding: 8px 0;
- outline: 0;
- color: #333;
- }
- .bootstrap-timepicker-widget table td a:hover {
- text-decoration: none;
- background-color: #eee;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- border-color: #ddd;
- }
- .bootstrap-timepicker-widget table td a i {
- margin-top: 2px;
- }
- .bootstrap-timepicker-widget table td input {
- width: 25px;
- margin: 0;
- text-align: center;
- }
- .bootstrap-timepicker-widget .modal-content {
- padding: 4px;
- }
- @media (min-width: 767px) {
- .bootstrap-timepicker-widget.modal {
- width: 200px;
- margin-left: -100px;
- }
- }
- @media (max-width: 767px) {
- .bootstrap-timepicker {
- width: 100%;
- }
- .bootstrap-timepicker .dropdown-menu {
- width: 100%;
- }
- }
|