@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.
320 lines (297 loc) • 9.62 kB
CSS
/* stylelint-disable property-no-vendor-prefix */
/*! component icons */
.e-time-wrapper .e-time-icon.e-icons::before,
*.e-control-wrapper.e-time-wrapper .e-time-icon.e-icons::before {
content: "\e97f";
}
.e-timepicker-mob-popup-wrap .e-timepicker.e-popup-expand .e-model-header .e-popup-close::before,
.e-datetimepicker.e-popup-expand .e-model-header .e-popup-close::before {
content: "\e7fc";
font-family: "e-icons";
}
.e-input-group.e-control-wrapper.e-time-wrapper.e-non-edit.e-input-focus .e-input:focus ~ .e-clear-icon,
.e-float-input.e-control-wrapper.e-input-group.e-time-wrapper.e-non-edit.e-input-focus input:focus ~ .e-clear-icon {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.e-time-wrapper,
*.e-control-wrapper.e-time-wrapper {
/* stylelint-disable property-no-vendor-prefix */
-webkit-tap-highlight-color: transparent;
}
.e-time-wrapper .e-time-icon.e-icons,
*.e-control-wrapper.e-time-wrapper .e-time-icon.e-icons {
font-size: 16px;
}
.e-time-wrapper .e-time-icon.e-icons.e-disabled,
*.e-control-wrapper.e-time-wrapper .e-time-icon.e-icons.e-disabled {
pointer-events: none;
}
.e-time-wrapper span,
*.e-control-wrapper.e-time-wrapper span {
cursor: pointer;
}
.e-timepicker.e-time-modal {
background-color: rgba(255, 255, 255, 0.6);
height: 100%;
left: 0;
opacity: 0.5;
pointer-events: auto;
position: fixed;
top: 0;
width: 100%;
z-index: 999;
}
.e-timepicker.e-popup {
border-style: solid;
border-width: 1px;
overflow: auto;
}
.e-timepicker.e-popup .e-content {
position: relative;
}
.e-timepicker.e-popup .e-list-parent.e-ul {
margin: 0;
padding: 0 0;
}
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
cursor: default;
font-size: 14px;
overflow: hidden;
position: relative;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
width: 100%;
}
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-hover {
cursor: pointer;
}
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
line-height: 36px;
text-indent: 10px;
}
.e-small .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item,
*.e-small.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
font-size: 13px;
line-height: 26px;
text-indent: 10px;
}
.e-small .e-time-wrapper .e-time-icon.e-icons,
*.e-small.e-time-wrapper .e-time-icon.e-icons,
*.e-small .e-control-wrapper.e-time-wrapper .e-time-icon.e-icons,
*.e-control-wrapper.e-small.e-time-wrapper .e-time-icon.e-icons {
font-size: 14px;
}
.e-content-placeholder.e-timepicker.e-placeholder-timepicker {
background-size: 250px 33px;
min-height: 33px;
}
/* stylelint-disable */
.e-time-overflow {
overflow: hidden;
}
.e-timepicker-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-timepicker-mob-popup-wrap .e-timepicker.e-popup.e-lib.e-control.e-popup-open {
left: 0 ;
position: relative;
top: 0 ;
}
.e-timepicker-mob-popup-wrap .e-popup-expand.e-timepicker.e-popup,
.e-datetimepicker.e-popup-expand.e-timepicker.e-popup,
.e-timepicker-mob-popup-wrap .e-popup-expand.e-datetimepicker.e-popup,
.e-datetimepicker.e-popup-expand.e-popup {
border-radius: 0;
}
.e-timepicker-mob-popup-wrap .e-popup-expand .e-model-header,
.e-datetimepicker.e-popup-expand .e-model-header {
height: 10%;
padding: 2.5vh 2.5vw 2.5vh 1.5vw;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
font-size: 2vh;
border-bottom: 1px solid #757575;
}
.e-timepicker-mob-popup-wrap .e-popup-expand .e-model-header .e-popup-close,
.e-datetimepicker.e-popup-expand .e-model-header .e-popup-close {
float: left;
padding: 1vh 2vw;
}
.e-timepicker-mob-popup-wrap .e-popup-expand .e-model-header .e-model-title,
.e-datetimepicker.e-popup-expand .e-model-header .e-model-title {
padding: 1vh 2vw;
text-transform: capitalize;
font-weight: 500;
}
.e-timepicker-mob-popup-wrap .e-popup-expand .e-model-header .e-btn.e-popup-close,
.e-datetimepicker.e-popup-expand .e-model-header .e-btn.e-popup-close {
font-size: 2vh;
}
.e-timepicker-mob-popup-wrap .e-popup-expand .e-content,
.e-datetimepicker.e-popup-expand .e-content {
height: 90%;
overflow: auto;
}
.e-timepicker-mob-popup-wrap .e-popup-expand .e-content .e-list-parent.e-ul .e-list-item,
.e-datetimepicker.e-popup-expand .e-content .e-list-parent.e-ul .e-list-item {
padding: 1vh 0;
line-height: 5vh;
}
@media (max-device-width: 768px) {
.e-timepicker-mob-popup-wrap .e-popup-expand .e-content .e-list-parent.e-ul .e-list-item,
.e-datetimepicker.e-popup-expand .e-content .e-list-parent.e-ul .e-list-item {
font-size: 14px;
}
}
@media (min-device-width: 768px) {
.e-timepicker-mob-popup-wrap .e-popup-expand .e-content .e-list-parent.e-ul .e-list-item,
.e-datetimepicker.e-popup-expand .e-content .e-list-parent.e-ul .e-list-item {
font-size: 24px;
}
}
@media screen and (orientation: landscape) {
.e-timepicker-mob-popup-wrap .e-popup-expand .e-model-header,
.e-datetimepicker.e-popup-expand .e-model-header {
height: 15%;
font-size: 2vw;
}
.e-timepicker-mob-popup-wrap .e-popup-expand .e-model-header .e-popup-close,
.e-datetimepicker.e-popup-expand .e-model-header .e-popup-close {
padding: 1vh 1vw;
}
.e-timepicker-mob-popup-wrap .e-popup-expand .e-model-header .e-model-title,
.e-datetimepicker.e-popup-expand .e-model-header .e-model-title {
padding: 1vh 1vw;
}
.e-timepicker-mob-popup-wrap .e-popup-expand .e-model-header .e-btn.e-popup-close,
.e-datetimepicker.e-popup-expand .e-model-header .e-btn.e-popup-close {
font-size: 2vw;
}
.e-timepicker-mob-popup-wrap .e-popup-expand .e-content,
.e-datetimepicker.e-popup-expand .e-content {
height: 85%;
}
.e-timepicker-mob-popup-wrap .e-popup-expand .e-content .e-list-parent.e-ul .e-list-item,
.e-datetimepicker.e-popup-expand .e-content .e-list-parent.e-ul .e-list-item {
padding: 1vh 0;
line-height: 10vh;
}
}
/* stylelint-enable */
.e-time-wrapper .e-input-group-icon.e-icons.e-active {
color: #000;
}
.e-time-wrapper.e-input-group:not(.e-disabled) .e-input-group-icon.e-active:active {
color: #fff;
}
.e-timepicker.e-popup {
background-color: #fff;
border: 1px solid #757575;
border-radius: 0;
-webkit-box-shadow: none;
box-shadow: none;
}
.e-timepicker.e-popup .e-list-parent.e-ul {
background-color: #fff;
}
.e-timepicker.e-popup .e-list-parent.e-ul li.e-list-item {
border: 1px solid transparent;
color: #000;
}
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-disabled {
color: #757575;
opacity: 1;
pointer-events: none;
-ms-touch-action: none;
touch-action: none;
}
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-hover, .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-navigation, .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item:focus {
background-color: #ecf;
border: 1px solid #000;
color: #000;
}
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-active {
background-color: #400074;
color: #fff;
}
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-active.e-hover {
background-color: #ecf;
color: #000;
}
.e-small .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item,
*.e-small.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
color: #000;
}
.e-timepicker-mob-popup-wrap .e-timepicker.e-popup-expand .e-model-header,
.e-datetimepicker.e-popup-expand .e-model-header {
background-color: #fff;
color: #000;
}
.e-timepicker-mob-popup-wrap .e-timepicker.e-popup-expand .e-model-header .e-popup-close,
.e-datetimepicker.e-popup-expand .e-model-header .e-popup-close {
color: #000;
font-weight: 500;
}
.e-bigger .e-time-wrapper .e-time-icon.e-icons,
*.e-bigger.e-time-wrapper .e-time-icon.e-icons,
*.e-bigger .e-control-wrapper .e-time-wrapper .e-time-icon.e-icons,
*.e-control-wrapper.e-bigger.e-time-wrapper .e-time-icon.e-icons {
font-size: 18px;
}
.e-bigger .e-timepicker.e-popup .e-list-parent.e-ul,
*.e-bigger.e-timepicker.e-popup .e-list-parent.e-ul {
padding: 0 0;
}
.e-bigger .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item,
*.e-bigger.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
font-size: 14px;
line-height: 48px;
text-indent: 12px;
}
.e-bigger .e-content-placeholder.e-timepicker.e-placeholder-timepicker,
.e-bigger.e-content-placeholder.e-timepicker.e-placeholder-timepicker {
background-size: 250px 40px;
min-height: 40px;
}
.e-small.e-bigger .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item,
*.e-small.e-bigger.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
font-size: 14px;
line-height: 40px;
text-indent: 16px;
}
.e-small.e-bigger .e-time-wrapper .e-time-icon.e-icons,
*.e-small.e-bigger.e-time-wrapper .e-time-icon.e-icons,
*.e-small.e-bigger .e-control-wrapper.e-time-wrapper .e-time-icon.e-icons,
*.e-control-wrapper.e-small.e-bigger.e-time-wrapper .e-time-icon.e-icons {
font-size: 18px;
}
.e-bigger.e-small .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item,
*.e-bigger.e-small.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
color: #000;
}