@syncfusion/ej2-calendars
Version:
A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.
229 lines (211 loc) • 6.43 kB
CSS
/* stylelint-disable property-no-vendor-prefix */
/* stylelint-disable-line no-empty-source */
/*! component icons */
.e-datetime-wrapper .e-time-icon.e-icons::before {
content: "\e705";
font-family: "e-icons";
}
.e-input-group.e-control-wrapper.e-datetime-wrapper.e-non-edit.e-input-focus .e-input:focus ~ .e-clear-icon,
.e-float-input.e-control-wrapper.e-input-group.e-datetime-wrapper.e-non-edit.e-input-focus input:focus ~ .e-clear-icon {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.e-datetime-wrapper {
/* stylelint-disable property-no-vendor-prefix */
-webkit-tap-highlight-color: transparent;
}
.e-datetime-wrapper .e-time-icon.e-icons::before {
font-size: 16px;
}
.e-datetime-wrapper.e-control-wrapper {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.e-datetime-wrapper .e-time-icon.e-icons.e-disabled, .e-datetime-wrapper .e-date-icon.e-icons.e-disabled {
pointer-events: none;
}
.e-datetime-wrapper .e-clear-icon {
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
.e-datetime-wrapper span {
cursor: pointer;
}
.e-datetime-wrapper .e-input-group-icon.e-date-icon, .e-datetime-wrapper .e-input-group-icon.e-time-icon {
font-size: 16px;
margin: 0;
outline: none;
}
.e-datetime-wrapper .e-input-group-icon.e-time-icon {
border: 0;
border-style: none;
margin: 0;
}
.e-datetime-wrapper:not(.e-outline).e-rtl .e-input-group-icon.e-time-icon {
margin: 0;
}
.e-control.e-datetimepicker.e-popup-wrapper.e-popup-container.e-popup-expand.e-popup.e-popup-open .e-datetime-mob-popup-wrap {
-webkit-box-align: normal;
-ms-flex-align: normal;
align-items: normal;
}
.e-datetime-mob-popup-wrap {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
height: 100%;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
left: 0;
max-height: 100%;
position: fixed;
top: 0;
width: 100%;
z-index: 1002;
}
.e-datetime-mob-popup-wrap .e-datetimepicker.e-popup.e-lib.e-control.e-popup-open {
left: 0 ; /* stylelint-disable-line declaration-no-important */
position: relative;
top: 0 ; /* stylelint-disable-line declaration-no-important */
}
.e-datetimepicker.e-time-modal {
background-color: #e9ecef;
height: 100%;
left: 0;
opacity: 0.5;
pointer-events: auto;
position: fixed;
top: 0;
width: 100%;
z-index: 999;
}
.e-datetimepicker.e-popup {
border-style: solid;
border-width: 1px;
overflow: auto;
}
.e-datetimepicker.e-popup .e-content {
position: relative;
}
.e-datetimepicker.e-popup .e-list-parent.e-ul {
margin: 0;
padding: 8px 0;
}
.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item {
color: #212529;
cursor: default;
font-size: 14px;
overflow: hidden;
position: relative;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
width: 100%;
}
.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item.e-hover {
cursor: pointer;
}
.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item {
line-height: 30px;
text-indent: 12px;
}
.e-small .e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item,
*.e-small.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item {
font-size: 12px;
line-height: 26px;
text-indent: 8px;
}
.e-small.e-datetime-wrapper .e-time-icon.e-icons::before,
*.e-small .e-datetime-wrapper .e-time-icon.e-icons::before {
font-size: 14px;
}
.e-content-placeholder.e-datetimepicker.e-placeholder-datetimepicker {
background-size: 250px 33px;
min-height: 33px;
}
.e-datetimepicker.e-popup-expand.e-popup {
position: fixed;
}
.e-datetimepicker.e-popup-expand.e-popup .e-datetime-mob-popup-wrap {
position: relative;
width: 100%;
}
/*! datetimepicker theme */
.e-datetime-wrapper .e-input-group-icon.e-icons.e-active {
color: #212529;
}
.e-datetime-wrapper.e-input-group:not(.e-disabled) .e-input-group-icon.e-active:active {
color: #212529;
}
.e-datetimepicker.e-popup {
border: 1px solid #dee2e6;
border-radius: 6px;
-webkit-box-shadow: none;
box-shadow: none;
}
.e-datetimepicker.e-popup .e-list-parent.e-ul {
background-color: #fff;
}
.e-datetimepicker.e-popup .e-list-parent.e-ul li.e-list-item {
border: none;
color: #212529;
}
.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item.e-hover, .e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item.e-navigation, .e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item:focus {
background-color: #e9ecef;
border: none;
color: #212529;
}
.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item.e-active {
background-color: #0d6efd;
color: #fff;
}
.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item.e-active.e-hover {
background-color: #e9ecef;
color: #212529;
}
.e-bigger.e-datetime-wrapper .e-time-icon.e-icons::before,
*.e-bigger .e-datetime-wrapper .e-time-icon.e-icons::before {
font-size: 18px;
}
.e-bigger.e-datetime-wrapper .e-input-group-icon.e-time-icon,
*.e-bigger .e-datetime-wrapper .e-input-group-icon.e-time-icon {
margin: 0;
}
.e-bigger.e-datetime-wrapper:not(.e-outline).e-rtl .e-input-group-icon.e-time-icon,
*.e-bigger .e-datetime-wrapper:not(.e-outline).e-rtl .e-input-group-icon.e-time-icon {
margin: 0;
}
.e-bigger .e-datetimepicker.e-popup .e-list-parent.e-ul,
*.e-bigger.e-datetimepicker.e-popup .e-list-parent.e-ul {
padding: 8px 0;
}
.e-bigger .e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item,
*.e-bigger.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item {
font-size: 16px;
line-height: 32px;
text-indent: 16px;
}
.e-bigger .e-content-placeholder.e-datetimepicker.e-placeholder-datetimepicker,
.e-bigger.e-content-placeholder.e-datetimepicker.e-placeholder-datetimepicker {
background-size: 250px 40px;
min-height: 40px;
}
.e-small.e-bigger.e-datetime-wrapper .e-time-icon.e-icons::before,
*.e-small.e-bigger .e-datetime-wrapper .e-time-icon.e-icons::before {
font-size: 16px;
}
.e-small.e-bigger .e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item,
*.e-small.e-bigger.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item {
font-size: 14px;
line-height: 30px;
text-indent: 16px;
}