GPQAPP
410 строк · 7.9 Кб
1.daterangepicker {2position: absolute;3color: inherit;4background-color: #fff;5border-radius: 4px;6border: 1px solid #ddd;7width: 278px;8max-width: none;9padding: 0;10margin-top: 7px;11top: 100px;12left: 20px;13z-index: 3001;14display: none;15font-family: arial;16font-size: 15px;17line-height: 1em;18}
19
20.daterangepicker:before, .daterangepicker:after {21position: absolute;22display: inline-block;23border-bottom-color: rgba(0, 0, 0, 0.2);24content: '';25}
26
27.daterangepicker:before {28top: -7px;29border-right: 7px solid transparent;30border-left: 7px solid transparent;31border-bottom: 7px solid #ccc;32}
33
34.daterangepicker:after {35top: -6px;36border-right: 6px solid transparent;37border-bottom: 6px solid #fff;38border-left: 6px solid transparent;39}
40
41.daterangepicker.opensleft:before {42right: 9px;43}
44
45.daterangepicker.opensleft:after {46right: 10px;47}
48
49.daterangepicker.openscenter:before {50left: 0;51right: 0;52width: 0;53margin-left: auto;54margin-right: auto;55}
56
57.daterangepicker.openscenter:after {58left: 0;59right: 0;60width: 0;61margin-left: auto;62margin-right: auto;63}
64
65.daterangepicker.opensright:before {66left: 9px;67}
68
69.daterangepicker.opensright:after {70left: 10px;71}
72
73.daterangepicker.drop-up {74margin-top: -7px;75}
76
77.daterangepicker.drop-up:before {78top: initial;79bottom: -7px;80border-bottom: initial;81border-top: 7px solid #ccc;82}
83
84.daterangepicker.drop-up:after {85top: initial;86bottom: -6px;87border-bottom: initial;88border-top: 6px solid #fff;89}
90
91.daterangepicker.single .daterangepicker .ranges, .daterangepicker.single .drp-calendar {92float: none;93}
94
95.daterangepicker.single .drp-selected {96display: none;97}
98
99.daterangepicker.show-calendar .drp-calendar {100display: block;101}
102
103.daterangepicker.show-calendar .drp-buttons {104display: block;105}
106
107.daterangepicker.auto-apply .drp-buttons {108display: none;109}
110
111.daterangepicker .drp-calendar {112display: none;113max-width: 270px;114}
115
116.daterangepicker .drp-calendar.left {117padding: 8px 0 8px 8px;118}
119
120.daterangepicker .drp-calendar.right {121padding: 8px;122}
123
124.daterangepicker .drp-calendar.single .calendar-table {125border: none;126}
127
128.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span {129color: #fff;130border: solid black;131border-width: 0 2px 2px 0;132border-radius: 0;133display: inline-block;134padding: 3px;135}
136
137.daterangepicker .calendar-table .next span {138transform: rotate(-45deg);139-webkit-transform: rotate(-45deg);140}
141
142.daterangepicker .calendar-table .prev span {143transform: rotate(135deg);144-webkit-transform: rotate(135deg);145}
146
147.daterangepicker .calendar-table th, .daterangepicker .calendar-table td {148white-space: nowrap;149text-align: center;150vertical-align: middle;151min-width: 32px;152width: 32px;153height: 24px;154line-height: 24px;155font-size: 12px;156border-radius: 4px;157border: 1px solid transparent;158white-space: nowrap;159cursor: pointer;160}
161
162.daterangepicker .calendar-table {163border: 1px solid #fff;164border-radius: 4px;165background-color: #fff;166}
167
168.daterangepicker .calendar-table table {169width: 100%;170margin: 0;171border-spacing: 0;172border-collapse: collapse;173}
174
175.daterangepicker td.available:hover, .daterangepicker th.available:hover {176background-color: #eee;177border-color: transparent;178color: inherit;179}
180
181.daterangepicker td.week, .daterangepicker th.week {182font-size: 80%;183color: #ccc;184}
185
186.daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date {187background-color: #fff;188border-color: transparent;189color: #999;190}
191
192.daterangepicker td.in-range {193background-color: #ebf4f8;194border-color: transparent;195color: #000;196border-radius: 0;197}
198
199.daterangepicker td.start-date {200border-radius: 4px 0 0 4px;201}
202
203.daterangepicker td.end-date {204border-radius: 0 4px 4px 0;205}
206
207.daterangepicker td.start-date.end-date {208border-radius: 4px;209}
210
211.daterangepicker td.active, .daterangepicker td.active:hover {212background-color: #357ebd;213border-color: transparent;214color: #fff;215}
216
217.daterangepicker th.month {218width: auto;219}
220
221.daterangepicker td.disabled, .daterangepicker option.disabled {222color: #999;223cursor: not-allowed;224text-decoration: line-through;225}
226
227.daterangepicker select.monthselect, .daterangepicker select.yearselect {228font-size: 12px;229padding: 1px;230height: auto;231margin: 0;232cursor: default;233}
234
235.daterangepicker select.monthselect {236margin-right: 2%;237width: 56%;238}
239
240.daterangepicker select.yearselect {241width: 40%;242}
243
244.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {245width: 50px;246margin: 0 auto;247background: #eee;248border: 1px solid #eee;249padding: 2px;250outline: 0;251font-size: 12px;252}
253
254.daterangepicker .calendar-time {255text-align: center;256margin: 4px auto 0 auto;257line-height: 30px;258position: relative;259}
260
261.daterangepicker .calendar-time select.disabled {262color: #ccc;263cursor: not-allowed;264}
265
266.daterangepicker .drp-buttons {267clear: both;268text-align: right;269padding: 8px;270border-top: 1px solid #ddd;271display: none;272line-height: 12px;273vertical-align: middle;274}
275
276.daterangepicker .drp-selected {277display: inline-block;278font-size: 12px;279padding-right: 8px;280}
281
282.daterangepicker .drp-buttons .btn {283margin-left: 8px;284font-size: 12px;285font-weight: bold;286padding: 4px 8px;287}
288
289.daterangepicker.show-ranges.single.rtl .drp-calendar.left {290border-right: 1px solid #ddd;291}
292
293.daterangepicker.show-ranges.single.ltr .drp-calendar.left {294border-left: 1px solid #ddd;295}
296
297.daterangepicker.show-ranges.rtl .drp-calendar.right {298border-right: 1px solid #ddd;299}
300
301.daterangepicker.show-ranges.ltr .drp-calendar.left {302border-left: 1px solid #ddd;303}
304
305.daterangepicker .ranges {306float: none;307text-align: left;308margin: 0;309}
310
311.daterangepicker.show-calendar .ranges {312margin-top: 8px;313}
314
315.daterangepicker .ranges ul {316list-style: none;317margin: 0 auto;318padding: 0;319width: 100%;320}
321
322.daterangepicker .ranges li {323font-size: 12px;324padding: 8px 12px;325cursor: pointer;326}
327
328.daterangepicker .ranges li:hover {329background-color: #eee;330}
331
332.daterangepicker .ranges li.active {333background-color: #08c;334color: #fff;335}
336
337/* Larger Screen Styling */
338@media (min-width: 564px) {339.daterangepicker {340width: auto;341}342
343.daterangepicker .ranges ul {344width: 140px;345}346
347.daterangepicker.single .ranges ul {348width: 100%;349}350
351.daterangepicker.single .drp-calendar.left {352clear: none;353}354
355.daterangepicker.single .ranges, .daterangepicker.single .drp-calendar {356float: left;357}358
359.daterangepicker {360direction: ltr;361text-align: left;362}363
364.daterangepicker .drp-calendar.left {365clear: left;366margin-right: 0;367}368
369.daterangepicker .drp-calendar.left .calendar-table {370border-right: none;371border-top-right-radius: 0;372border-bottom-right-radius: 0;373}374
375.daterangepicker .drp-calendar.right {376margin-left: 0;377}378
379.daterangepicker .drp-calendar.right .calendar-table {380border-left: none;381border-top-left-radius: 0;382border-bottom-left-radius: 0;383}384
385.daterangepicker .drp-calendar.left .calendar-table {386padding-right: 8px;387}388
389.daterangepicker .ranges, .daterangepicker .drp-calendar {390float: left;391}392}
393
394@media (min-width: 730px) {395.daterangepicker .ranges {396width: auto;397}398
399.daterangepicker .ranges {400float: left;401}402
403.daterangepicker.rtl .ranges {404float: right;405}406
407.daterangepicker .drp-calendar.left {408clear: none !important;409}410}
411