_datePicker.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. #datePlugin {
  2. background: rgba(0, 0, 0, 0.2);
  3. position: fixed;
  4. top: 0;
  5. left: 0;
  6. z-index: 1111111;
  7. width: 100%;
  8. height: 100%;
  9. display: none;
  10. }
  11. #datePlugin * {
  12. box-sizing: border-box;
  13. margin: 0;
  14. padding: 0;
  15. background-clip: padding-box;
  16. }
  17. #datePlugin .d-date-box {
  18. position: absolute;
  19. bottom: 0;
  20. background-color: #fff;
  21. width: 100%;
  22. }
  23. #datePlugin .d-date-title {
  24. text-align: center;
  25. font-weight: 700;
  26. padding: 10px;
  27. }
  28. #datePlugin .d-date-info {
  29. color: #333;
  30. text-align: center;
  31. font-size: 14px;
  32. }
  33. #datePlugin .d-date-wrap {
  34. margin-top: 10px;
  35. width: 100%;
  36. height: 120px;
  37. position: relative;
  38. }
  39. #datePlugin .d-time-wrap {
  40. border-top: 1px solid #2285E2;
  41. }
  42. #datePlugin .d-time-wrap .d-date-cell {
  43. width: 50%;
  44. }
  45. #datePlugin .d-date-mark {
  46. background-color: #eee;
  47. border-top: 1px solid #ddd;
  48. border-bottom: 1px solid #ddd;
  49. position: absolute;
  50. top: 40px;
  51. left: 0;
  52. width: 100%;
  53. height: 40px;
  54. }
  55. #datePlugin .d-date-cell {
  56. float: left;
  57. width: 33.33333%;
  58. height: 100%;
  59. overflow: hidden;
  60. }
  61. #datePlugin .d-date-cell li {
  62. height: 40px;
  63. line-height: 40px;
  64. text-align: center;
  65. }
  66. #datePlugin .d-date-btns .d-btn {
  67. background: #2285E2;
  68. display: inline-block;
  69. width: 50%;
  70. margin-top: 10px;
  71. border: none;
  72. border-top: 1px solid #ddd;
  73. color: #fff;
  74. font-size: 16px;
  75. padding: 10px 0;
  76. }
  77. #datePlugin .d-date-btns #d-okBtn {
  78. border-right: 1px solid #ddd;
  79. }
  80. #datePlugin .d-date-btns #d-cancleBtn {
  81. background: #bbb;
  82. }