UNPKG

@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.

416 lines (380 loc) 17.4 kB
/* stylelint-disable property-no-vendor-prefix */ @-webkit-keyframes e-input-ripple { 100% { opacity: 0; -webkit-transform: scale(4); transform: scale(4); } } @keyframes e-input-ripple { 100% { opacity: 0; -webkit-transform: scale(4); transform: scale(4); } } @-webkit-keyframes slideTopUp { from { -webkit-transform: translate3d(0, 0, 0) scale(1); transform: translate3d(0, 0, 0) scale(1); } to { -webkit-transform: translate3d(0, 0, 0) scale(1); transform: translate3d(0, 0, 0) scale(1); } } @keyframes slideTopUp { from { -webkit-transform: translate3d(0, 0, 0) scale(1); transform: translate3d(0, 0, 0) scale(1); } to { -webkit-transform: translate3d(0, 0, 0) scale(1); transform: translate3d(0, 0, 0) scale(1); } } /* stylelint-disable */ .e-input:focus:not(.e-success):not(.e-warning).e-error, .e-float-input:not(.e-success):not(.e-warning).e-error:not(.e-input-group) input:focus, .e-float-input:not(.e-success):not(.e-warning).e-error:not(.e-input-group) textarea:focus, .e-float-input.e-control-wrapper:not(.e-success):not(.e-warning).e-error:not(.e-input-group) input:focus, .e-float-input.e-control-wrapper:not(.e-success):not(.e-warning).e-error:not(.e-input-group) textarea:focus, .e-float-input:not(.e-success):not(.e-warning).e-error:not(.e-input-group).e-input-focus input, .e-float-input.e-control-wrapper:not(.e-success):not(.e-warning).e-error:not(.e-input-group).e-input-focus input { -webkit-box-shadow: none !important; box-shadow: none !important; } .e-input:focus:not(.e-error):not(.e-warning).e-success, .e-float-input:not(.e-error):not(.e-warning).e-success:not(.e-input-group) input:focus, .e-float-input:not(.e-error):not(.e-warning).e-success:not(.e-input-group) textarea:focus, .e-float-input.e-control-wrapper:not(.e-error):not(.e-warning).e-success:not(.e-input-group) input:focus, .e-float-input.e-control-wrapper:not(.e-error):not(.e-warning).e-success:not(.e-input-group) textarea:focus, .e-float-input:not(.e-error):not(.e-warning).e-success:not(.e-input-group).e-input-focus input, .e-float-input.e-control-wrapper:not(.e-error):not(.e-warning).e-success:not(.e-input-group).e-input-focus input { -webkit-box-shadow: none !important; box-shadow: none !important; } .e-input:focus:not(.e-success):not(.e-error).e-warning, .e-float-input:not(.e-success):not(.e-error).e-warning:not(.e-input-group) input:focus, .e-float-input:not(.e-success):not(.e-error).e-warning:not(.e-input-group) textarea:focus, .e-float-input.e-control-wrapper:not(.e-success):not(.e-error).e-warning:not(.e-input-group) input:focus, .e-float-input.e-control-wrapper:not(.e-success):not(.e-error).e-warning:not(.e-input-group) textarea:focus, .e-float-input:not(.e-success):not(.e-error).e-warning:not(.e-input-group).e-input-focus input, .e-float-input.e-control-wrapper:not(.e-success):not(.e-error).e-warning:not(.e-input-group).e-input-focus input { -webkit-box-shadow: none !important; box-shadow: none !important; } .e-input-group.e-input-focus:not(.e-success):not(.e-warning).e-error, .e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(.e-warning).e-error { -webkit-box-shadow: none !important; box-shadow: none !important; } .e-input-group.e-input-focus:not(.e-error):not(.e-warning).e-success, .e-input-group.e-control-wrapper.e-input-focus:not(.e-error):not(.e-warning).e-success { -webkit-box-shadow: none !important; box-shadow: none !important; } .e-input-group.e-input-focus:not(.e-success):not(.e-error).e-warning, .e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(.e-error).e-warning { -webkit-box-shadow: none !important; box-shadow: none !important; } .e-input-group:not(.e-disabled):active:not(.e-success):not(.e-warning).e-error, .e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-success):not(.e-warning).e-error { -webkit-box-shadow: none !important; box-shadow: none !important; } .e-input-group:not(.e-disabled):active:not(.e-error):not(.e-warning).e-success, .e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-error):not(.e-warning).e-success { -webkit-box-shadow: none !important; box-shadow: none !important; } .e-input-group:not(.e-disabled):active:not(.e-success):not(.e-error).e-warning, .e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-success):not(.e-error).e-warning { -webkit-box-shadow: none !important; box-shadow: none !important; } .e-float-input.e-error label.e-float-text, .e-float-input.e-control-wrapper.e-error label.e-float-text, .e-float-input.e-error input:focus ~ label.e-float-text, .e-float-input.e-control-wrapper.e-error input:focus ~ label.e-float-text, .e-float-input.e-error.e-input-focus input ~ label.e-float-text, .e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text, .e-float-input.e-error textarea:focus ~ label.e-float-text, .e-float-input.e-control-wrapper.e-error textarea:focus ~ label.e-float-text { color: var(--color-sf-danger) !important; } .e-outline.e-float-input.e-error.e-input-focus input:focus ~ label.e-float-text, .e-outline.e-float-input.e-input-group.e-error.e-valid-input label.e-label-top.e-float-text, .e-outline.e-float-input.e-bigger.e-error.e-input-focus input:focus ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-error.e-input-focus input:focus ~ label.e-float-text, .e-outline.e-float-input.e-small.e-error.e-input-focus input:focus ~ label.e-float-text, .e-small .e-outline.e-float-input.e-error input:focus ~ label.e-float-text, .e-outline.e-float-input.e-small.e-bigger.e-error input:focus ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-small:not(.e-error) input:focus ~ label.e-float-text, .e-outline.e-float-input.e-error textarea:focus ~ label.e-float-text, .e-outline.e-float-input.e-bigger.e-error textarea:focus ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-error textarea:focus ~ label.e-float-text, .e-outline.e-float-input.e-small.e-error textarea:focus ~ label.e-float-text, .e-small .e-outline.e-float-input.e-error textarea:focus ~ label.e-float-text, .e-outline.e-float-input.e-small.e-bigger.e-error textarea:focus ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-small.e-error textarea:focus ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-error input:focus ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-bigger.e-error input:focus ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-control-wrapper.e-error input:focus ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-small.e-error input:focus ~ label.e-float-text, .e-small .e-outline.e-float-input.e-control-wrapper.e-error input:focus ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-small.e-bigger.e-error input:focus ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-control-wrapper.e-small.e-error input:focus ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-error textarea:focus ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-bigger.e-error textarea:focus ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-control-wrapper.e-error textarea:focus ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-small.e-error textarea:focus ~ label.e-float-text, .e-small .e-outline.e-float-input.e-control-wrapper.e-error textarea:focus ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-small.e-bigger.e-error textarea:focus ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-control-wrapper.e-small.e-error textarea:focus ~ label.e-float-text, .e-outline.e-float-input.e-error label.e-float-text.e-label-top, .e-outline.e-float-input.e-input-group.e-error label.e-float-text.e-label-top, .e-outline.e-float-input.e-control-wrapper.e-error label.e-float-text.e-label-top, .e-outline.e-float-input.e-valid-input.e-error:not(.e-input-focus) input:valid ~ label.e-float-text.e-label-top, .e-outline.e-float-input.e-control-wrapper.e-valid-input.e-error:not(.e-input-focus) input:focus ~ label.e-float-text.e-label-top, .e-outline.e-float-input.e-valid-input.e-error:not(.e-input-focus) textarea:valid ~ label.e-float-text.e-label-top, .e-outline.e-float-input.e-control-wrapper.e-valid-input.e-error:not(.e-input-focus) textarea:focus ~ label.e-float-text.e-label-top, .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text, .e-outline.e-float-input.e-bigger.e-error.e-input-focus input ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text, .e-outline.e-float-input.e-small.e-error.e-input-focus input ~ label.e-float-text, .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text, .e-outline.e-float-input.e-small.e-bigger.e-error.e-input-focus input ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-small:not(.e-error).e-input-focus input ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-bigger.e-error.e-input-focus input ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text, .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text, .e-outline.e-float-input.e-control-wrapper.e-small.e-bigger.e-error.e-input-focus input ~ label.e-float-text, .e-bigger .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text { color: var(--color-sf-danger) !important; } .e-filled.e-float-input.e-error label.e-float-text, .e-filled.e-float-input.e-control-wrapper.e-error label.e-float-text, .e-filled.e-float-input.e-error input:focus ~ label.e-float-text, .e-filled.e-float-input.e-control-wrapper.e-error input:focus ~ label.e-float-text, .e-filled.e-float-input.e-error textarea:focus ~ label.e-float-text, .e-filled.e-float-input.e-control-wrapper.e-error textarea:focus ~ label.e-float-text, .e-filled.e-float-input.e-error.e-input-focus input ~ label.e-float-text, .e-filled.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text { color: var(--color-sf-danger) !important; } /* 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: 14px; } .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; -webkit-box-sizing: border-box; box-sizing: border-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: 14px; 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 !important; /* stylelint-disable-line declaration-no-important */ position: relative; top: 0 !important; /* stylelint-disable-line declaration-no-important */ } .e-datetimepicker.e-time-modal { background-color: var(--color-sf-content-bg-color-alt2); 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: var(--color-sf-content-text-color); 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: 24px; text-indent: 12px; } .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: var(--color-sf-content-text-color-pressed); } .e-datetime-wrapper.e-input-group:not(.e-disabled) .e-input-group-icon.e-active:active { color: var(--color-sf-icon-color-pressed); } .e-datetimepicker.e-popup { border: 1px solid var(--color-sf-border-light); border-radius: 6px; -webkit-box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.14), 0 0 2px 0 rgba(0, 0, 0, 0.12); box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.14), 0 0 2px 0 rgba(0, 0, 0, 0.12); } .e-datetimepicker.e-popup .e-list-parent.e-ul { background-color: var(--color-sf-content-bg-color); } .e-datetimepicker.e-popup .e-list-parent.e-ul li.e-list-item { border: none; color: var(--color-sf-content-text-color); } .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: var(--color-sf-flyout-bg-color-focus); border: none; color: var(--color-sf-content-text-color-hover); } .e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item.e-active { background-color: var(--color-sf-content-bg-color-pressed); color: var(--color-sf-content-text-color-pressed); } .e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item.e-active.e-hover { background-color: var(--color-sf-content-bg-color-hover); color: var(--color-sf-content-text-color-hover); } .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: 36px; 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: 36px; text-indent: 12px; }