_datepicker.scss 2.94 KB
/*datapicker*/
._datepicer {
  background: #fff url("../images/ico-calendar-2.png") 96% 50% no-repeat !important;
}
#ui-datepicker-div {
  background-color: #fff;
  box-shadow: inset 0 0 0 1px #d7d7d7;
  border-radius: 0;
  margin-top: 1px;
  width: 290px;
  right: 0;
  display: none;
  &:after {
    content: '';
    width: 277px;
    height: 1px;
    background-color: #ccc;
    position: absolute;
    left: 7px;
    top: 68px;
  }
}
.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
  text-align: center;
  width: 280px;
  position: relative;
  margin: 0 auto;
  height: 29px;
  overflow: hidden;
  margin-top: 26px;
  margin-bottom: 25px;
  padding-left: 1px;
}
.ui-datepicker-next.ui-corner-all {
  position: absolute;
  width: 20px;
  height: 20px;
  overflow: hidden;
  text-indent: 100%;
  top: 5px;
  background-position: 0 -36px;
  cursor: pointer;
  right: 1px;
}
.ui-datepicker-prev.ui-corner-all {
  position: absolute;
  width: 20px;
  height: 20px;
  overflow: hidden;
  text-indent: 100%;
  top: 5px;
  background-position: 0 -66px;
  cursor: pointer;
  left: 2px;
}
.ui-datepicker-next.ui-corner-all, .ui-datepicker-prev.ui-corner-all {
  background-image: url(../images/calendar_arrows.png);
  background-repeat: no-repeat;
}
.ui-datepicker-title {
  margin-top: -4px;
  select {
    border-radius:0;
    float: none;
    height: 28px;
    margin: 5px;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    background-image: url(../images/arrowselect.png)!important;
    background-repeat: no-repeat;
    background-position: 88px 11px !important;
    max-width: 104px;
    border-color: #bababa;
    cursor: pointer;
    padding: 2px 17px 4px 14px;
    &.ui-datepicker-year {
      background-position: 86px 8px;
    }
  }
}
.ui-datepicker-year {
  width: 102px;
  padding-left: 23px!important;
}
table.ui-datepicker-calendar {
  width: 260px;
  text-align: center;
  margin: 0 auto;
  font-family: Arial;
  margin-bottom: 23px;
  th {
    color: #000;
    text-transform: uppercase;
    font-size: 12px;
    text-align: left;
  }
}
.ui-datepicker-calendar{
  td, tr {
    margin: 0;
    padding: 0;
  }
}
table.ui-datepicker-calendar {
  width: 280px;
  text-align: center;
  margin: 0 auto;
  font-family: Arial;
  margin-bottom: 23px;
  th {
    color: #000;
    text-transform: uppercase;
    font-size: 12px;
    text-align: left;
  }
  td {
    height: 26px;
  }
  a {
    font-size: 12px;
    color: #000;
    text-decoration: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: block;
    line-height: 20px;
    left: 0;
    position: relative;
  }

}

.ui-datepicker-current-day {
  a {
    background: $link-color;
    color: #fff !important;
  }
}

.ui-datepicker-today {
  a {
    font-weight: 700;
    color: $link-color;
  }
}

@media (max-width: 767px) {
  ._datepicer {
    background: #fff url("../images/ico-calendar-2.png") 98% 50% no-repeat !important;
  }
}