form-pickadate.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. .picker__holder {
  2. outline: none; }
  3. .picker__day--today:before,
  4. .picker__button--today:before {
  5. border-top: 6px solid #7367f0; }
  6. .picker__button--clear:before {
  7. border-top: 2px solid #ea5455; }
  8. .picker__day--highlighted,
  9. .picker__day--highlighted:hover,
  10. .picker--focused .picker__day--highlighted,
  11. .picker__list-item--selected,
  12. .picker__list-item--selected:hover,
  13. .picker--focused .picker__list-item--selected {
  14. background-color: #7367f0; }
  15. .picker__nav--prev:before,
  16. .picker__nav--next:before,
  17. .picker__button--close:before {
  18. content: '';
  19. background-repeat: no-repeat;
  20. background-position: center;
  21. background-size: 18px;
  22. color: #6e6b7b;
  23. width: 8px;
  24. height: 18px; }
  25. .picker__nav--prev:before {
  26. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E"); }
  27. .picker__nav--next:before {
  28. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E"); }
  29. .picker__button--close:before {
  30. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  31. height: 10px !important; }
  32. .dark-layout .picker__holder {
  33. background-color: #161d31;
  34. border-color: #3b4253; }
  35. .dark-layout .picker__holder .picker__header .picker__month,
  36. .dark-layout .picker__holder .picker__header .picker__year {
  37. color: #b4b7bd; }
  38. .dark-layout .picker__holder .picker__header .picker__select--year,
  39. .dark-layout .picker__holder .picker__header .picker__select--month {
  40. color: #b4b7bd;
  41. background-color: #161d31;
  42. border-color: #3b4253; }
  43. .dark-layout .picker__holder .picker__header .picker__nav--next:hover,
  44. .dark-layout .picker__holder .picker__header .picker__nav--prev:hover {
  45. background-color: #283046; }
  46. .dark-layout .picker__holder .picker__frame {
  47. border-color: #3b4253; }
  48. .dark-layout .picker__holder .picker__table thead tr .picker__weekday {
  49. color: #b4b7bd; }
  50. .dark-layout .picker__holder .picker__table tbody tr td .picker__day {
  51. color: #b4b7bd; }
  52. .dark-layout .picker__holder .picker__table tbody tr td .picker__day.picker__day--selected {
  53. color: #fff; }
  54. .dark-layout .picker__holder .picker__table tbody tr td .picker__day.picker__day--outfocus {
  55. opacity: 0.65; }
  56. .dark-layout .picker__holder .picker__table tbody tr td .picker__day.picker__day--today {
  57. color: #fff; }
  58. .dark-layout .picker__holder .picker__table tbody tr td .picker__day:not(.picker__day--today):not(.picker__day--highlighted):hover {
  59. background-color: #3b4253;
  60. color: #fff; }
  61. .dark-layout .picker__holder .picker__table tbody tr td .picker__day.picker__day--disabled {
  62. color: #b4b7bd;
  63. opacity: 0.5;
  64. background: #283046; }
  65. .dark-layout .picker__holder .picker__table tbody tr td .picker__day--today:not(.picker__day--highlighted) {
  66. background-color: #283046; }
  67. .dark-layout .picker__holder .picker__footer .picker__button--today,
  68. .dark-layout .picker__holder .picker__footer .picker__button--clear,
  69. .dark-layout .picker__holder .picker__footer .picker__button--close {
  70. background-color: #161d31;
  71. color: #b4b7bd; }
  72. .dark-layout .picker__holder .picker__footer .picker__button--today:hover,
  73. .dark-layout .picker__holder .picker__footer .picker__button--clear:hover,
  74. .dark-layout .picker__holder .picker__footer .picker__button--close:hover {
  75. background-color: #3b4253; }
  76. .dark-layout .picker--time .picker__holder .picker__list {
  77. background-color: #161d31; }
  78. .dark-layout .picker--time .picker__holder .picker__list .picker__list-item:not(.picker__list-item--selected):hover {
  79. background-color: #283046; }
  80. .dark-layout .picker--time .picker__holder .picker__list .picker__list-item.picker__list-item--disabled {
  81. background-color: #283046;
  82. color: #82868b;
  83. opacity: 0.5; }
  84. .dark-layout .picker--time .picker__holder .picker__list .picker__button--clear {
  85. background-color: #161d31;
  86. color: #b4b7bd; }
  87. [dir='rtl'] .picker__nav--prev:before {
  88. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E"); }
  89. [dir='rtl'] .picker__nav--next:before {
  90. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E"); }