Skip to content

Instantly share code, notes, and snippets.

@ikamal7
Created September 6, 2022 11:17
Show Gist options
  • Save ikamal7/0a458903d4d219064ac81549b10f7a3e to your computer and use it in GitHub Desktop.
Save ikamal7/0a458903d4d219064ac81549b10f7a3e to your computer and use it in GitHub Desktop.
.ui-datepicker {
background: #fff;
font-size: 13px;
left: 0;
border: 1px solid #ccd0d4;
line-height: 34px;
border-top-color: #007cba;
}
.ui-datepicker table{
border-spacing: 0;
border-collapse: collapse;
}
.ui-datepicker a,
.ui-datepicker .ui-datepicker-calendar span{
cursor: pointer;
float: left;
height: 34px;
list-style: none;
margin: 0;
padding: 0;
text-align: center;
width: 34px;
border:0;
color: #5f5f5f;
text-decoration:none;
}
.ui-datepicker .ui-datepicker-calendar span {
color: #bbb;
cursor: default;
font-weight: normal;
-webkit-font-smoothing: antialiased;
}
.ui-datepicker a:hover{
background-color: #f9f9f9;
}
.ui-datepicker a:focus{
box-shadow:none;
}
.ui-datepicker a.ui-state-highlight {
color: #007cba;
}
.ui-datepicker a.ui-state-highlight:hover {
background-color: #cce5ff;
}
.ui-datepicker a.ui-state-active {
font-weight: 600;
color: #333;
}
.ui-datepicker-header{
position:relative;
text-align:center;
}
.ui-datepicker-prev, .ui-datepicker-next{
position: absolute;
}
.ui-datepicker-prev{
left: 0;
}
.ui-datepicker-next{
right: 0;
}
.ui-datepicker-prev span, .ui-datepicker-next span{
display:none;
}
.ui-datepicker-prev:before, .ui-datepicker-next:before{
position: absolute;
display: block;
top: 0;
left: 0;
content: "‹";
text-indent: 0;
width: 34px;
text-align: center;
font-size: 16px;
-webkit-font-smoothing: antialiased;
}
.ui-datepicker-next:before{
content: "›";
top:0;
right:0;
left:auto;
}
.ui-datepicker-prev.ui-state-disabled,
.ui-datepicker-prev.ui-state-disabled:hover,
.ui-datepicker-next.ui-state-disabled,
.ui-datepicker-next.ui-state-disabled:hover{
background-color: #fff;
cursor:default;
color:#ccc;
}
@Kartikdayal121
Copy link

language

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment