UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

194 lines (164 loc) 4.95 kB
/** * DevExtreme (widgets/common/scheduler.less) * Version: 19.2.6 * Build date: Thu Jan 30 2020 * * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ @import (once) "./popup.less"; @import (once) "./popover.less"; @import (once) "./tooltip.less"; @import (once) "./overlay.less"; @import (once) "./button.less"; @import (once) "./list.less"; @import (once) "./scrollable.less"; @import (once) "./loadPanel.less"; @import (once) "./form.less"; @import (once) "./dropDownMenu.less"; @import (once) "./tabs.less"; @import (once) "./calendar.less"; @import (once) "./recurrenceEditor.less"; @SCHEDULER_APPOINTMENT_COLLECTOR_MARGIN: 3px; @SCHEDULER_APPOINTMENT_COLLECTOR_HEIGHT: 20px; @SCHEDULER_POPUP_SCROLLABLE_CONTENT_PADDING: 20px; .dx-scheduler-appointment-popup { .dx-popup-content { padding-top: 0; padding-bottom: 0; } .dx-scrollable-content { padding-top: @SCHEDULER_POPUP_SCROLLABLE_CONTENT_PADDING; } } .dx-popup-wrapper.dx-scheduler-appointment-tooltip-wrapper, .dx-scheduler .dx-scheduler-overlay-panel { .dx-popup-content { padding: 0; .dx-list-item { width: 360px; .dx-list-item-content { padding: 5px; } } } .dx-tooltip-appointment-item { display: flex; .dx-tooltip-appointment-item-marker-body { width: 20px; height: 20px; border-radius: 50%; margin-top: 7px; margin-left: 5px; } .dx-tooltip-appointment-item-content { flex-basis: 100%; margin: 5px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; .dx-tooltip-appointment-item-content-subject { text-align: left; font-weight: bold; font-size: 16px; letter-spacing: 0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dx-tooltip-appointment-item-content-date { text-align: left; font-size: 12px; opacity: 0.8; margin-top: 10px; } } } } .dx-scheduler { .dx-scheduler-appointment-content-details { margin-top: 2px; .dx-scheduler-appointment-content-date { line-height: 0.8; } } .dx-scheduler-overlay-panel { .dx-overlay-content { position: relative; background: #fff; } } .dx-empty-message { line-height: normal; } .dx-scheduler-work-space-month > .dx-scrollable-native { .dx-scrollable-content { // min-height is need to rewrite the original .dx-scrollable-content that have magic min-height: 101%. // 101% is need to fix the bounds on ios devices. min-height: 100%; height: 100%; } } } .dx-scheduler-all-day-panel { td { padding: 0; } } .dx-scheduler-appointment-collector { position: absolute; display: block; height: @SCHEDULER_APPOINTMENT_COLLECTOR_HEIGHT; text-align: center; cursor: pointer; margin: @SCHEDULER_APPOINTMENT_COLLECTOR_MARGIN 0 0 @SCHEDULER_APPOINTMENT_COLLECTOR_MARGIN; .dx-scheduler-appointment-collector-content { .dx-overflow(); margin: 0 2* (@SCHEDULER_APPOINTMENT_COLLECTOR_MARGIN - 1); &.dx-button-content { padding: 0; } span:last-child { display: inline-block; vertical-align: middle; line-height: @SCHEDULER_APPOINTMENT_COLLECTOR_HEIGHT / 1.5; height: @SCHEDULER_APPOINTMENT_COLLECTOR_HEIGHT; padding-left: 2px; } } &.dx-state-hover { &:before { border-radius: @SCHEDULER_APPOINTMENT_COLLECTOR_HEIGHT; } } &.dx-button.dx-button-default { padding: 0; max-width: none; border-radius: @SCHEDULER_APPOINTMENT_COLLECTOR_HEIGHT; } } .dx-scheduler-work-space-mouse-selection { .dx-scheduler-fixed-appointments, .dx-scheduler-scrollable-appointments { pointer-events: none; } } .dx-rtl { .dx-scheduler-appointment-collector { margin: @SCHEDULER_APPOINTMENT_COLLECTOR_MARGIN @SCHEDULER_APPOINTMENT_COLLECTOR_MARGIN 0 0; } } .dx-scheduler-adaptive { .dx-scheduler-work-space-week .dx-scheduler-header-panel-cell { white-space: pre-wrap; line-height: 1.3; } .dx-scheduler-appointment-collector { margin: 0; .dx-scheduler-appointment-collector-content { span:last-child { line-height: @SCHEDULER_APPOINTMENT_COLLECTOR_HEIGHT; } } } }