calendar.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. @charset "UTF-8";
  2. .pika-single {
  3. z-index: 9999;
  4. display: block;
  5. position: relative;
  6. background: #fff;
  7. border-radius: 4px;
  8. }
  9. .pika-single:before {
  10. content: '';
  11. position: absolute;
  12. top: -6px;
  13. right: 7px;
  14. width: 0;
  15. height: 0;
  16. border-left: 7px solid transparent;
  17. border-right: 7px solid transparent;
  18. border-bottom: 7px solid #ffffff;
  19. }
  20. .pika-single.is-hidden {
  21. display: none;
  22. }
  23. .pika-single.is-bound {
  24. position: absolute;
  25. box-shadow: 0 5px 15px -5px rgba(0,0,0,.5);
  26. }
  27. .pika-lendar {
  28. float: left;
  29. width: 240px;
  30. margin: 8px;
  31. }
  32. .pika-title {
  33. position: relative;
  34. text-align: center;
  35. display: flex;
  36. align-items: center;
  37. justify-content: center;
  38. margin-bottom: 4px;
  39. }
  40. .pika-label {
  41. display: inline-block;
  42. *display: inline;
  43. position: relative;
  44. z-index: 9999;
  45. overflow: hidden;
  46. margin: 0;
  47. padding: 5px 3px;
  48. background-color: #fff;
  49. font-weight: 500;
  50. font-size: 14px;
  51. line-height: 16px;
  52. }
  53. .pika-title select {
  54. cursor: pointer;
  55. position: absolute;
  56. z-index: 9998;
  57. margin: 0;
  58. left: 0;
  59. top: 5px;
  60. filter: alpha(opacity=0);
  61. opacity: 0;
  62. }
  63. .pika-prev,
  64. .pika-next {
  65. display: block;
  66. cursor: pointer;
  67. position: absolute;
  68. top: 50%;
  69. transform: translateY(-50%);
  70. outline: none;
  71. border: 0;
  72. padding: 0;
  73. min-width: 16px;
  74. max-width: 16px;
  75. height: 16px;
  76. /* hide text using text-indent trick, using width value (it's enough) */
  77. text-indent: 20px;
  78. overflow: hidden;
  79. background-color: transparent;
  80. background-position: center center;
  81. background-repeat: no-repeat;
  82. transition: 0.3s;
  83. }
  84. .pika-prev {
  85. left: 0;
  86. }
  87. .pika-next {
  88. right: 0;
  89. }
  90. .pika-prev,
  91. .is-rtl .pika-next {
  92. background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.47 11.06L7.41664 8L10.47 4.94L9.52997 4L5.52997 8L9.52997 12L10.47 11.06Z' fill='%23757575'/%3E%3C/svg%3E%0A");
  93. }
  94. .pika-next,
  95. .is-rtl .pika-prev {
  96. background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.53003 4.94L8.58336 8L5.53003 11.06L6.47003 12L10.47 8L6.47003 4L5.53003 4.94Z' fill='%23757575'/%3E%3C/svg%3E%0A");
  97. }
  98. .pika-prev.is-disabled,
  99. .pika-next.is-disabled {
  100. cursor: default;
  101. opacity: .2;
  102. }
  103. .pika-select {
  104. display: inline-block;
  105. *display: inline;
  106. }
  107. .pika-table {
  108. width: 100%;
  109. border-collapse: collapse;
  110. border-spacing: 0;
  111. border: 0;
  112. }
  113. .pika-table thead {
  114. display: none;
  115. }
  116. .pika-table th,
  117. .pika-table td {
  118. padding: 2px 0;
  119. }
  120. .pika-button {
  121. cursor: pointer;
  122. display: flex;
  123. align-items: center;
  124. justify-content: center;
  125. box-sizing: border-box;
  126. outline: none;
  127. border: 0;
  128. padding: 5px;
  129. font-weight: 500;
  130. font-size: 12px;
  131. line-height: 16px;
  132. color: #000000;
  133. min-width: 30px;
  134. max-width: 30px;
  135. height: 30px;
  136. border-radius: 15px;
  137. margin: 0 auto;
  138. transition: 0.3s;
  139. }
  140. .is-today .pika-button {
  141. color: #fff;
  142. background: #0D63B3;
  143. }
  144. .is-selected .pika-button {
  145. color: #fff;
  146. font-weight: bold;
  147. background: #0D63B3;
  148. }
  149. .is-inrange .pika-button {
  150. background: #D5E9F7;
  151. }
  152. .is-startrange .pika-button {
  153. color: #fff;
  154. background: #6CB31D;
  155. box-shadow: none;
  156. }
  157. .is-endrange .pika-button {
  158. color: #fff;
  159. background: #0D63B3;
  160. box-shadow: none;
  161. }
  162. .is-disabled .pika-button {
  163. pointer-events: none;
  164. cursor: default;
  165. color: #F0F0F0;
  166. }
  167. .pika-button:hover {
  168. color: #fff;
  169. background: #0D63B3;
  170. box-shadow: none;
  171. }
  172. .pika-table abbr {
  173. border-bottom: none;
  174. cursor: help;
  175. }