You are here

datepicker.css in Open Social 8.8

input[type='text'].form-date {
  min-width: 240px;
  background-repeat: no-repeat;
  background-size: auto 18px;
  background-position: 96% 50%;
  padding-right: 36px;
  background-image: url(../images/icons/icon-today.svg);
}

input[type='text'].form-time {
  min-width: 160px;
  background-repeat: no-repeat;
  background-size: auto 18px;
  background-position: 96% 50%;
  padding-right: 36px;
  background-image: url(../images/icons/icon-schedule.svg);
}

.ui-datepicker {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  float: left;
  min-width: 160px;
  margin: 4px 0;
  text-align: left;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
  font-size: 0.875rem;
  padding: 4px;
  z-index: 1000 !important;
}

.ui-datepicker-header:before, .ui-datepicker-header:after {
  content: " ";
  display: table;
}

.ui-datepicker-header:after {
  clear: both;
}

.ui-datepicker-title {
  text-align: center;
  width: 145px;
  height: 30px;
  border-radius: 4px;
  border: none;
  padding: 5px;
  margin: 0 auto;
  font-weight: 500;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  float: left;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
  background: #e6e6e6;
}

.ui-datepicker-prev:before,
.ui-datepicker-next:before {
  position: relative;
  top: 5px;
  width: 20px;
  height: 20px;
  content: '';
  display: inline-block;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center;
  fill: #4d4d4d;
}

.ui-datepicker-next {
  float: right;
}

.ui-datepicker-prev:before {
  background-image: url(../images/icons/icon-navigate_before.svg);
}

.ui-datepicker-next:before {
  background-image: url(../images/icons/icon-navigate_next.svg);
}

.ui-icon {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ui-datepicker-calendar > thead > tr > th {
  text-align: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: none;
  padding: 0;
  font-weight: 500;
}

.ui-datepicker-calendar > tbody > tr > td {
  border: 0;
  padding: 0;
}

.ui-datepicker-calendar > tbody > tr > td .ui-state-default {
  display: block;
  border-radius: 4px;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-weight: 300;
}

.ui-datepicker-calendar > tbody > tr > td .ui-state-default:hover {
  background: #f3f3f3;
  cursor: pointer;
}

.ui-datepicker-calendar > tbody > tr > td .ui-state-highlight {
  background-color: #e6e6e6;
}

.ui-datepicker-calendar > tbody > tr > td .ui-state-highlight:hover {
  color: white;
  background-color: #777777;
}

File

themes/socialbase/assets/css/datepicker.css
View source
  1. input[type='text'].form-date {
  2. min-width: 240px;
  3. background-repeat: no-repeat;
  4. background-size: auto 18px;
  5. background-position: 96% 50%;
  6. padding-right: 36px;
  7. background-image: url(../images/icons/icon-today.svg);
  8. }
  9. input[type='text'].form-time {
  10. min-width: 160px;
  11. background-repeat: no-repeat;
  12. background-size: auto 18px;
  13. background-position: 96% 50%;
  14. padding-right: 36px;
  15. background-image: url(../images/icons/icon-schedule.svg);
  16. }
  17. .ui-datepicker {
  18. position: absolute;
  19. display: none;
  20. top: 100%;
  21. left: 0;
  22. float: left;
  23. min-width: 160px;
  24. margin: 4px 0;
  25. text-align: left;
  26. box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  27. background-clip: padding-box;
  28. font-size: 0.875rem;
  29. padding: 4px;
  30. z-index: 1000 !important;
  31. }
  32. .ui-datepicker-header:before, .ui-datepicker-header:after {
  33. content: " ";
  34. display: table;
  35. }
  36. .ui-datepicker-header:after {
  37. clear: both;
  38. }
  39. .ui-datepicker-title {
  40. text-align: center;
  41. width: 145px;
  42. height: 30px;
  43. border-radius: 4px;
  44. border: none;
  45. padding: 5px;
  46. margin: 0 auto;
  47. font-weight: 500;
  48. }
  49. .ui-datepicker-prev,
  50. .ui-datepicker-next {
  51. float: left;
  52. width: 30px;
  53. height: 30px;
  54. border-radius: 4px;
  55. text-align: center;
  56. cursor: pointer;
  57. border-radius: 4px;
  58. }
  59. .ui-datepicker-prev:hover,
  60. .ui-datepicker-next:hover {
  61. background: #e6e6e6;
  62. }
  63. .ui-datepicker-prev:before,
  64. .ui-datepicker-next:before {
  65. position: relative;
  66. top: 5px;
  67. width: 20px;
  68. height: 20px;
  69. content: '';
  70. display: inline-block;
  71. background-repeat: no-repeat;
  72. background-size: auto 100%;
  73. background-position: center;
  74. fill: #4d4d4d;
  75. }
  76. .ui-datepicker-next {
  77. float: right;
  78. }
  79. .ui-datepicker-prev:before {
  80. background-image: url(../images/icons/icon-navigate_before.svg);
  81. }
  82. .ui-datepicker-next:before {
  83. background-image: url(../images/icons/icon-navigate_next.svg);
  84. }
  85. .ui-icon {
  86. position: absolute;
  87. width: 1px;
  88. height: 1px;
  89. margin: -1px;
  90. padding: 0;
  91. overflow: hidden;
  92. clip: rect(0, 0, 0, 0);
  93. border: 0;
  94. }
  95. .ui-datepicker-calendar > thead > tr > th {
  96. text-align: center;
  97. width: 30px;
  98. height: 30px;
  99. border-radius: 4px;
  100. border: none;
  101. padding: 0;
  102. font-weight: 500;
  103. }
  104. .ui-datepicker-calendar > tbody > tr > td {
  105. border: 0;
  106. padding: 0;
  107. }
  108. .ui-datepicker-calendar > tbody > tr > td .ui-state-default {
  109. display: block;
  110. border-radius: 4px;
  111. text-align: center;
  112. width: 30px;
  113. height: 30px;
  114. line-height: 30px;
  115. font-weight: 300;
  116. }
  117. .ui-datepicker-calendar > tbody > tr > td .ui-state-default:hover {
  118. background: #f3f3f3;
  119. cursor: pointer;
  120. }
  121. .ui-datepicker-calendar > tbody > tr > td .ui-state-highlight {
  122. background-color: #e6e6e6;
  123. }
  124. .ui-datepicker-calendar > tbody > tr > td .ui-state-highlight:hover {
  125. color: white;
  126. background-color: #777777;
  127. }