datepicker.css

/*!
 * jQuery UI Datepicker 1.12.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/datepicker/#theming
 */
.ui-datepicker {
	width: 17em;
	padding: .2em .2em 0;
	display: none;
}
.ui-datepicker .ui-datepicker-header {
	position: relative;
	padding: .2em 0;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	position: absolute;
	top: 2px;
	width: 1.8em;
	height: 1.8em;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
	top: 1px;
}
.ui-datepicker .ui-datepicker-prev {
	left: 2px;
}
.ui-datepicker .ui-datepicker-next {
	right: 2px;
}
.ui-datepicker .ui-datepicker-prev-hover {
	left: 1px;
}
.ui-datepicker .ui-datepicker-next-hover {
	right: 1px;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
	display: block;
	position: absolute;
	left: 50%;
	margin-left: -8px;
	top: 50%;
	margin-top: -8px;
}
.ui-datepicker .ui-datepicker-title {
	margin: 0 2.3em;
	line-height: 1.8em;
	text-align: center;
}
.ui-datepicker .ui-datepicker-title select {
	font-size: 1em;
	margin: 1px 0;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
	width: 45%;
}
.ui-datepicker table {
	width: 100%;
	font-size: .9em;
	border-collapse: collapse;
	margin: 0 0 .4em;
}
.ui-datepicker th {
	padding: .7em .3em;
	text-align: center;
	font-weight: bold;
	border: 0;
}
.ui-datepicker td {
	border: 0;
	padding: 1px;
}
.ui-datepicker td span,
.ui-datepicker td a {
	display: block;
	padding: .2em;
	text-align: right;
	text-decoration: none;
}
.ui-datepicker .ui-datepicker-buttonpane {
	background-image: none;
	margin: .7em 0 0 0;
	padding: 0 .2em;
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
}
.ui-datepicker .ui-datepicker-buttonpane button {
	float: right;
	margin: .5em .2em .4em;
	cursor: pointer;
	padding: .2em .6em .3em .6em;
	width: auto;
	overflow: visible;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
	float: left;
}

/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi {
	width: auto;
}
.ui-datepicker-multi .ui-datepicker-group {
	float: left;
}
.ui-datepicker-multi .ui-datepicker-group table {
	width: 95%;
	margin: 0 auto .4em;
}
.ui-datepicker-multi-2 .ui-datepicker-group {
	width: 50%;
}
.ui-datepicker-multi-3 .ui-datepicker-group {
	width: 33.3%;
}
.ui-datepicker-multi-4 .ui-datepicker-group {
	width: 25%;
}
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
	border-left-width: 0;
}
.ui-datepicker-multi .ui-datepicker-buttonpane {
	clear: left;
}
.ui-datepicker-row-break {
	clear: both;
	width: 100%;
	font-size: 0;
}

/* RTL support */
.ui-datepicker-rtl {
	direction: rtl;
}
.ui-datepicker-rtl .ui-datepicker-prev {
	right: 2px;
	left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next {
	left: 2px;
	right: auto;
}
.ui-datepicker-rtl .ui-datepicker-prev:hover {
	right: 1px;
	left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next:hover {
	left: 1px;
	right: auto;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane {
	clear: right;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
	float: left;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
.ui-datepicker-rtl .ui-datepicker-group {
	float: right;
}
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
	border-right-width: 0;
	border-left-width: 1px;
}

/* Icons */
.ui-datepicker .ui-icon {
	display: block;
	text-indent: -99999px;
	overflow: hidden;
	background-repeat: no-repeat;
	left: .5em;
	top: .3em;
}

File

core/assets/vendor/jquery.ui/themes/base/datepicker.css

View source
  1. /*!
  2. * jQuery UI Datepicker 1.12.1
  3. * http://jqueryui.com
  4. *
  5. * Copyright jQuery Foundation and other contributors
  6. * Released under the MIT license.
  7. * http://jquery.org/license
  8. *
  9. * http://api.jqueryui.com/datepicker/#theming
  10. */
  11. .ui-datepicker {
  12. width: 17em;
  13. padding: .2em .2em 0;
  14. display: none;
  15. }
  16. .ui-datepicker .ui-datepicker-header {
  17. position: relative;
  18. padding: .2em 0;
  19. }
  20. .ui-datepicker .ui-datepicker-prev,
  21. .ui-datepicker .ui-datepicker-next {
  22. position: absolute;
  23. top: 2px;
  24. width: 1.8em;
  25. height: 1.8em;
  26. }
  27. .ui-datepicker .ui-datepicker-prev-hover,
  28. .ui-datepicker .ui-datepicker-next-hover {
  29. top: 1px;
  30. }
  31. .ui-datepicker .ui-datepicker-prev {
  32. left: 2px;
  33. }
  34. .ui-datepicker .ui-datepicker-next {
  35. right: 2px;
  36. }
  37. .ui-datepicker .ui-datepicker-prev-hover {
  38. left: 1px;
  39. }
  40. .ui-datepicker .ui-datepicker-next-hover {
  41. right: 1px;
  42. }
  43. .ui-datepicker .ui-datepicker-prev span,
  44. .ui-datepicker .ui-datepicker-next span {
  45. display: block;
  46. position: absolute;
  47. left: 50%;
  48. margin-left: -8px;
  49. top: 50%;
  50. margin-top: -8px;
  51. }
  52. .ui-datepicker .ui-datepicker-title {
  53. margin: 0 2.3em;
  54. line-height: 1.8em;
  55. text-align: center;
  56. }
  57. .ui-datepicker .ui-datepicker-title select {
  58. font-size: 1em;
  59. margin: 1px 0;
  60. }
  61. .ui-datepicker select.ui-datepicker-month,
  62. .ui-datepicker select.ui-datepicker-year {
  63. width: 45%;
  64. }
  65. .ui-datepicker table {
  66. width: 100%;
  67. font-size: .9em;
  68. border-collapse: collapse;
  69. margin: 0 0 .4em;
  70. }
  71. .ui-datepicker th {
  72. padding: .7em .3em;
  73. text-align: center;
  74. font-weight: bold;
  75. border: 0;
  76. }
  77. .ui-datepicker td {
  78. border: 0;
  79. padding: 1px;
  80. }
  81. .ui-datepicker td span,
  82. .ui-datepicker td a {
  83. display: block;
  84. padding: .2em;
  85. text-align: right;
  86. text-decoration: none;
  87. }
  88. .ui-datepicker .ui-datepicker-buttonpane {
  89. background-image: none;
  90. margin: .7em 0 0 0;
  91. padding: 0 .2em;
  92. border-left: 0;
  93. border-right: 0;
  94. border-bottom: 0;
  95. }
  96. .ui-datepicker .ui-datepicker-buttonpane button {
  97. float: right;
  98. margin: .5em .2em .4em;
  99. cursor: pointer;
  100. padding: .2em .6em .3em .6em;
  101. width: auto;
  102. overflow: visible;
  103. }
  104. .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
  105. float: left;
  106. }
  107. /* with multiple calendars */
  108. .ui-datepicker.ui-datepicker-multi {
  109. width: auto;
  110. }
  111. .ui-datepicker-multi .ui-datepicker-group {
  112. float: left;
  113. }
  114. .ui-datepicker-multi .ui-datepicker-group table {
  115. width: 95%;
  116. margin: 0 auto .4em;
  117. }
  118. .ui-datepicker-multi-2 .ui-datepicker-group {
  119. width: 50%;
  120. }
  121. .ui-datepicker-multi-3 .ui-datepicker-group {
  122. width: 33.3%;
  123. }
  124. .ui-datepicker-multi-4 .ui-datepicker-group {
  125. width: 25%;
  126. }
  127. .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
  128. .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
  129. border-left-width: 0;
  130. }
  131. .ui-datepicker-multi .ui-datepicker-buttonpane {
  132. clear: left;
  133. }
  134. .ui-datepicker-row-break {
  135. clear: both;
  136. width: 100%;
  137. font-size: 0;
  138. }
  139. /* RTL support */
  140. .ui-datepicker-rtl {
  141. direction: rtl;
  142. }
  143. .ui-datepicker-rtl .ui-datepicker-prev {
  144. right: 2px;
  145. left: auto;
  146. }
  147. .ui-datepicker-rtl .ui-datepicker-next {
  148. left: 2px;
  149. right: auto;
  150. }
  151. .ui-datepicker-rtl .ui-datepicker-prev:hover {
  152. right: 1px;
  153. left: auto;
  154. }
  155. .ui-datepicker-rtl .ui-datepicker-next:hover {
  156. left: 1px;
  157. right: auto;
  158. }
  159. .ui-datepicker-rtl .ui-datepicker-buttonpane {
  160. clear: right;
  161. }
  162. .ui-datepicker-rtl .ui-datepicker-buttonpane button {
  163. float: left;
  164. }
  165. .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
  166. .ui-datepicker-rtl .ui-datepicker-group {
  167. float: right;
  168. }
  169. .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
  170. .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
  171. border-right-width: 0;
  172. border-left-width: 1px;
  173. }
  174. /* Icons */
  175. .ui-datepicker .ui-icon {
  176. display: block;
  177. text-indent: -99999px;
  178. overflow: hidden;
  179. background-repeat: no-repeat;
  180. left: .5em;
  181. top: .3em;
  182. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.