| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349 |
- /*.picker{font-size:16px;text-align:left;line-height:1.2;color:#000;position:absolute;z-index:10000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.picker__input{cursor:default}.picker__input.picker__input--active{border-color:#0089ec}.picker__holder{width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;position:fixed;transition:background .15s ease-out,-webkit-transform 0s .15s;transition:background .15s ease-out,transform 0s .15s;-webkit-backface-visibility:hidden}/*!
- * Default mobile-first, responsive styling for pickadate.js
- * Demo: http://amsul.github.io/pickadate.js
- *//*.picker__frame,.picker__holder{top:0;bottom:0;left:0;right:0;-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%)}.picker__frame{position:absolute;margin:0 auto;min-width:256px;max-width:666px;width:100%;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;opacity:0;transition:all .15s ease-out}.picker__wrap{display:table;width:100%;height:100%}@media (min-height:33.875em){.picker__frame{overflow:visible;top:auto;bottom:-100%;max-height:80%}.picker__wrap{display:block}}.picker__box{background:#fff;display:table-cell;vertical-align:middle}@media (min-height:26.5em){.picker__box{font-size:1.25em}}@media (min-height:33.875em){.picker__box{display:block;font-size:1.33em;border:1px solid #777;border-top-color:#898989;border-bottom-width:0;border-radius:5px 5px 0 0;box-shadow:0 12px 36px 16px rgba(0,0,0,.24)}}@media (min-height:40.125em){.picker__frame{margin-bottom:7.5%}.picker__box{font-size:1.5em;border-bottom-width:1px;border-radius:5px}}.picker--opened .picker__holder{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);zoom:1;background:rgba(0,0,0,.32);transition:background .15s ease-out}.picker--opened .picker__frame{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:alpha(opacity=100);-moz-opacity:1;opacity:1}@media (min-height:33.875em){.picker--opened .picker__frame{top:auto;bottom:0}}*/
- /* ------------------------------------------------------------------------------
- *
- * # Pick-a-date - Picker base
- *
- * The mobile-friendly, responsive, and lightweight jQuery date & time input picker
- *
- * Version: 1.0
- * Latest update: May 25, 2015
- *
- * ---------------------------------------------------------------------------- */
- .picker {
- width: 100%;
- text-align: left;
- position: absolute;
- top: 100%;
- margin-top: -1px;
- z-index: 990;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- }
- .picker__input {
- cursor: default;
- }
- .picker__holder {
- width: 100%;
- overflow-y: auto;
- position: absolute;
- display: none;
- background-color: #fff;
- border: 1px solid #ddd;
- border-top-width: 0;
- border-bottom-width: 0;
- max-width: 280px;
- max-height: 0;
- -webkit-overflow-scrolling: touch;
- }
- .picker--opened .picker__holder {
- max-height: 480px;
- border-top-width: 1px;
- border-bottom-width: 1px;
- display: block;
- }
- /* ------------------------------------------------------------------------------
- *
- * # Pick-a-date - Date picker
- *
- * The mobile-friendly, responsive, and lightweight jQuery date & time input picker
- *
- * Version: 1.0
- * Latest update: May 25, 2015
- *
- * ---------------------------------------------------------------------------- */
- .picker__box {
- padding: 5px;
- }
- .picker__header {
- text-align: center;
- position: relative;
- font-size: 15px;
- padding-top: 15px;
- padding-bottom: 15px;
- }
- .picker__month,
- .picker__year {
- font-weight: 500;
- display: inline-block;
- margin-left: 5px;
- margin-right: 5px;
- }
- .picker__year {
- color: #999999;
- font-size: 12px;
- font-weight: normal;
- }
- .picker__select--month,
- .picker__select--year {
- border-color: #ddd;
- height: 32px;
- font-size: 13px;
- line-height: 1.6666667;
- margin-left: 5px;
- margin-right: 5px;
- outline: 0;
- }
- .picker__select--month {
- width: 35%;
- }
- .picker__select--year {
- width: 22.5%;
- }
- .picker__nav--prev,
- .picker__nav--next {
- position: absolute;
- padding: 8px;
- top: 50%;
- margin-top: -16px;
- border-radius: 2px;
- line-height: 1;
- }
- .picker__nav--prev:before,
- .picker__nav--next:before {
- font-family: 'FontAwesome';
- display: block;
- font-size: 16px;
- width: 16px;
- text-align: center;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- .picker__nav--prev:hover,
- .picker__nav--next:hover {
- cursor: pointer;
- background-color: #f5f5f5;
- }
- .picker__nav--prev {
- left: 0;
- }
- .picker__nav--prev:before {
- content: '\f104';
- }
- .picker__nav--next {
- right: 0;
- }
- .picker__nav--next:before {
- content: '\f105';
- }
- .picker__nav--disabled,
- .picker__nav--disabled:hover,
- .picker__nav--disabled:before,
- .picker__nav--disabled:before:hover {
- cursor: default;
- background: none;
- border-right-color: #f5f5f5;
- border-left-color: #f5f5f5;
- }
- .picker__table {
- text-align: center;
- border-collapse: collapse;
- border-spacing: 0;
- table-layout: fixed;
- font-size: inherit;
- width: 100%;
- margin-bottom: 10px;
- }
- .picker__table td {
- margin: 0;
- padding: 0;
- }
- .picker__weekday {
- width: 14.285714286%;
- font-size: 12px;
- text-align: center;
- padding-bottom: 10px;
- color: #999999;
- font-weight: 400;
- }
- .picker__day {
- padding: 7px;
- }
- .picker__day--today {
- position: relative;
- background-color: #f5f5f5;
- }
- .picker__day--today:before {
- content: "";
- position: absolute;
- top: 2px;
- right: 2px;
- width: 0;
- height: 0;
- border-top: 6px solid #26A69A;
- border-left: 6px solid transparent;
- }
- .picker__day--outfocus {
- color: #ccc;
- }
- .picker__day--infocus:hover,
- .picker__day--outfocus:hover {
- cursor: pointer;
- color: #333333;
- background-color: #f5f5f5;
- }
- .picker__day--highlighted:before {
- border-top-color: #fff;
- }
- .picker__day--highlighted,
- .picker__day--selected {
- border-radius: 3px;
- }
- .picker__day--highlighted,
- .picker__day--highlighted:hover,
- .picker--focused .picker__day--highlighted {
- cursor: pointer;
- color: #fff;
- background-color: #26A69A;
- }
- .picker__day--selected,
- .picker__day--selected:hover,
- .picker--focused .picker__day--selected {
- background-color: #26A69A;
- color: #fff;
- }
- .picker__day--disabled,
- .picker__day--disabled:hover {
- background: #fafafa;
- color: #999999;
- cursor: default;
- }
- .picker__day--disabled:before {
- border-top-color: #999;
- }
- .picker__day--highlighted .picker__day--disabled,
- .picker__day--highlighted .picker__day--disabled:hover {
- background-color: #bbbbbb;
- }
- .picker__footer {
- text-align: center;
- }
- .picker__footer button {
- border: 0;
- background: #fff;
- padding: 7px 12px;
- border-radius: 3px;
- font-weight: 500;
- cursor: pointer;
- display: inline-block;
- }
- .picker__footer button:hover,
- .picker__footer button:focus {
- outline: 0;
- background-color: #f5f5f5;
- }
- .picker__footer button:before {
- height: 0;
- }
- .picker__button--today:before {
- content: '';
- margin-right: 5px;
- position: relative;
- display: inline-block;
- top: -1px;
- width: 0;
- border-top: 6px solid #2196F3;
- border-left: 6px solid transparent;
- }
- .picker__button--close:before {
- content: '\f00d';
- display: inline-block;
- position: relative;
- margin-right: 5px;
- top: 1px;
- font-family: FontAwesome;
- font-size: 14px;
- color: red;
- }
- .picker__button--clear:before {
- content: '';
- display: inline-block;
- position: relative;
- top: -3px;
- width: 8px;
- margin-right: 5px;
- border-top: 2px solid #F44336;
- }
- /* ------------------------------------------------------------------------------
- *
- * # Pick-a-date - Time picker
- *
- * The mobile-friendly, responsive, and lightweight jQuery date & time input picker
- *
- * Version: 1.0
- * Latest update: May 25, 2015
- *
- * ---------------------------------------------------------------------------- */
- .picker--time {
- min-width: 256px;
- max-width: 320px;
- }
- .picker--time .picker__box {
- padding: 0;
- }
- .picker__list {
- list-style: none;
- padding: 5px 0;
- margin: 0;
- background-color: #fff;
- max-height: 250px;
- overflow-y: auto;
- }
- .picker__list-item {
- position: relative;
- padding: 7px 12px;
- }
- .picker__list-item:hover,
- .picker__list-item:focus {
- cursor: pointer;
- background-color: #f5f5f5;
- z-index: 10;
- }
- .picker--time .picker__button--clear {
- display: block;
- width: 100%;
- margin: 0;
- padding: 7px 12px;
- background-color: #fcfcfc;
- margin-top: 1px;
- outline: 0;
- border: 0;
- border-top: 1px solid #eeeeee;
- text-align: center;
- margin-bottom: -5px;
- margin-top: 5px;
- }
- .picker--time .picker__button--clear:hover,
- .picker--time .picker__button--clear:focus {
- background-color: #f5f5f5;
- }
- .picker__list-item--highlighted {
- z-index: 10;
- }
- .picker__list-item--highlighted,
- .picker__list-item--highlighted:hover,
- .picker--focused .picker__list-item--highlighted {
- cursor: pointer;
- color: #fff;
- background-color: #26A69A;
- }
- .picker__list-item--selected,
- .picker__list-item--selected:hover,
- .picker--focused .picker__list-item--selected {
- background-color: #26A69A;
- color: #fff;
- z-index: 10;
- }
- .picker__list-item--disabled,
- .picker__list-item--disabled:hover,
- .picker--focused .picker__list-item--disabled {
- background-color: #fafafa;
- color: #999999;
- cursor: default;
- z-index: auto;
- }
|