pikaday.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. @charset "UTF-8";
  2. /*!
  3. * Pikaday
  4. * Copyright © 2014 David Bushell | BSD & MIT license | http://dbushell.com/
  5. */
  6. .pika-single {
  7. z-index: 9999;
  8. display: block;
  9. position: relative;
  10. width: 240px;
  11. padding: 8px;
  12. color: #333;
  13. background: #fff;
  14. border: 1px solid #ccc;
  15. border-bottom-color: #bbb;
  16. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  17. }
  18. .pika-single.is-hidden {
  19. display: none;
  20. }
  21. .pika-single.is-bound {
  22. position: absolute;
  23. box-shadow: 0 5px 15px -5px rgba(0,0,0,.5);
  24. }
  25. .pika-title {
  26. position: relative;
  27. text-align: center;
  28. }
  29. .pika-label {
  30. display: inline-block;
  31. *display: inline;
  32. position: relative;
  33. z-index: 9999;
  34. overflow: hidden;
  35. margin: 0;
  36. padding: 5px 3px;
  37. font-size: 14px;
  38. line-height: 20px;
  39. font-weight: bold;
  40. background-color: #fff;
  41. }
  42. .pika-title select {
  43. cursor: pointer;
  44. position: absolute;
  45. z-index: 9998;
  46. margin: 0;
  47. left: 0;
  48. top: 5px;
  49. filter: alpha(opacity=0);
  50. opacity: 0;
  51. }
  52. .pika-prev,
  53. .pika-next {
  54. display: block;
  55. cursor: pointer;
  56. position: relative;
  57. outline: none;
  58. border: 0;
  59. padding: 0;
  60. width: 20px;
  61. height: 30px;
  62. /* hide text using text-indent trick, using width value (it's enough) */
  63. text-indent: 20px;
  64. white-space: nowrap;
  65. overflow: hidden;
  66. background-color: transparent;
  67. background-position: center center;
  68. background-repeat: no-repeat;
  69. background-size: 75% 75%;
  70. opacity: .5;
  71. *position: absolute;
  72. *top: 0;
  73. }
  74. .pika-prev:hover,
  75. .pika-next:hover {
  76. opacity: 1;
  77. }
  78. .pika-prev,
  79. .is-rtl .pika-next {
  80. float: left;
  81. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==');
  82. *left: 0;
  83. }
  84. .pika-next,
  85. .is-rtl .pika-prev {
  86. float: right;
  87. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=');
  88. *right: 0;
  89. }
  90. .pika-prev.is-disabled,
  91. .pika-next.is-disabled {
  92. cursor: default;
  93. opacity: .2;
  94. }
  95. .pika-select {
  96. display: inline-block;
  97. *display: inline;
  98. }
  99. .pika-table {
  100. width: 100%;
  101. border-collapse: collapse;
  102. border-spacing: 0;
  103. border: 0;
  104. }
  105. .pika-table th,
  106. .pika-table td {
  107. width: 14.285714285714286%;
  108. padding: 0;
  109. }
  110. .pika-table th {
  111. color: #999;
  112. font-size: 12px;
  113. line-height: 25px;
  114. font-weight: bold;
  115. text-align: center;
  116. }
  117. .pika-button {
  118. cursor: pointer;
  119. display: block;
  120. outline: none;
  121. border: 0;
  122. margin: 0;
  123. width: 100%;
  124. padding: 5px;
  125. color: #666;
  126. font-size: 12px;
  127. line-height: 15px;
  128. text-align: right;
  129. background: #f5f5f5;
  130. }
  131. .is-today .pika-button {
  132. color: #33aaff;
  133. font-weight: bold;
  134. }
  135. .is-selected .pika-button {
  136. color: #fff;
  137. font-weight: bold;
  138. background: #33aaff;
  139. box-shadow: inset 0 1px 3px #178fe5;
  140. border-radius: 3px;
  141. }
  142. .is-disabled .pika-button {
  143. pointer-events: none;
  144. cursor: default;
  145. color: #999;
  146. opacity: .3;
  147. }
  148. .pika-button:hover {
  149. color: #fff !important;
  150. background: #ff8000 !important;
  151. box-shadow: none !important;
  152. border-radius: 3px !important;
  153. }