date.picker.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. table.jCalendar {
  2. border: 1px solid #000;
  3. background: #aaa;
  4. border-collapse: separate;
  5. border-spacing: 2px;
  6. }
  7. table.jCalendar th {
  8. background: #333;
  9. color: #fff;
  10. font-weight: bold;
  11. padding: 3px 5px;
  12. }
  13. table.jCalendar td {
  14. background: #ccc;
  15. color: #000;
  16. padding: 3px 5px;
  17. text-align: center;
  18. }
  19. table.jCalendar td.other-month {
  20. background: #ddd;
  21. color: #aaa;
  22. }
  23. table.jCalendar td.today {
  24. background: #666;
  25. color: #fff;
  26. }
  27. table.jCalendar td.selected {
  28. background: #f66;
  29. color: #fff;
  30. }
  31. table.jCalendar td.selected:hover {
  32. background: #f33;
  33. color: #fff;
  34. }
  35. table.jCalendar td:hover, table.jCalendar td.dp-hover {
  36. background: #fff;
  37. color: #000;
  38. }
  39. table.jCalendar td.disabled, table.jCalendar td.disabled:hover {
  40. background: #bbb;
  41. color: #888;
  42. }
  43. /* For the popup */
  44. /* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */
  45. div.dp-popup {
  46. position: relative;
  47. background: #ccc;
  48. font-size: 10px;
  49. font-family: arial, sans-serif;
  50. padding: 2px;
  51. width: 171px;
  52. line-height: 1.2em;
  53. }
  54. div#dp-popup {
  55. position: absolute;
  56. z-index: 199;
  57. }
  58. div.dp-popup h2 {
  59. font-size: 12px;
  60. text-align: center;
  61. margin: 2px 0;
  62. padding: 0;
  63. }
  64. a#dp-close {
  65. font-size: 11px;
  66. padding: 4px 0;
  67. text-align: center;
  68. display: block;
  69. }
  70. a#dp-close:hover {
  71. text-decoration: underline;
  72. }
  73. div.dp-popup a {
  74. color: #000;
  75. text-decoration: none;
  76. padding: 3px 2px 0;
  77. }
  78. div.dp-popup div.dp-nav-prev {
  79. position: absolute;
  80. top: 2px;
  81. left: 4px;
  82. width: 100px;
  83. }
  84. div.dp-popup div.dp-nav-prev a {
  85. float: left;
  86. }
  87. /* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
  88. div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
  89. cursor: pointer;
  90. }
  91. div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
  92. cursor: default;
  93. }
  94. div.dp-popup div.dp-nav-next {
  95. position: absolute;
  96. top: 2px;
  97. right: 4px;
  98. width: 100px;
  99. }
  100. div.dp-popup div.dp-nav-next a {
  101. float: right;
  102. }
  103. div.dp-popup a.disabled {
  104. cursor: default;
  105. color: #aaa;
  106. }
  107. div.dp-popup td {
  108. cursor: pointer;
  109. }
  110. div.dp-popup td.disabled {
  111. cursor: default;
  112. }