@import "MatrixViewCommon.less"; .nihilo .dojoxCalendarMatrixView { cursor: default; .select-none; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarGrid { position: absolute; left: @row-header-width; right: 0px; top: @column-header-height; bottom: 0px; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarGridTable { position: relative; width: 100%; height: 100%; margin: 0; padding: 0; border-collapse: collapse; table-layout: fixed; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarGridTable tr{ .border-box; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarGridTable td { text-align: right; vertical-align: top; border-bottom: @inner-border; border-right: @inner-border; .border-box; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarGridTable td span{ padding-right: 2px; padding-top: 2px; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarGridTable td span.FirstVisibleDayOfMonth{ } .nihilo .dojoxCalendarMatrixView .dojoxCalendarGridTable tr.last-child td { border-bottom: @outer-border; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarGridTable td.last-child { border-right: @outer-border; } /* * The dojoxCalendarColToday & dojoxCalendarColWeekend classes is added by the * MatrixView.styleGridCell method that can be subclassed to add/remove css classes */ .nihilo .dojoxCalendarMatrixView .dojoxCalendarGridTable td.dojoxCalendarToday { background-color: @today-color; font-weight: bold; color: @today-label-color; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarGridTable .dojoxCalendarWeekend { background-color: @week-end-color; color: @week-end-label-color; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarGridTable .dojoxCalendarDayDisabled { background-color: @disabled-day-color; color: @disabled-day-label-color; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarYearColumnHeader{ position: absolute; left: 0px; top: 0px; width: @row-header-width; height: @column-header-height - 1px; text-align: center; vertical-align: middle; border-bottom: @outer-border; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarYearColumnHeader table{ position: relative; width:100%; height: 100%; table-layout: fixed; border-collapse: collapse; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarYearColumnHeader table td{ text-align: center; vertical-align: middle; border-left: @outer-border; border-top: @outer-border; border-right: @outer-border; .header-background; color: @label-color; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarColumnHeader { position: absolute; left: @row-header-width; right: 0px; top: 0px; height: @column-header-height - 1px; cursor: default; border-bottom: @outer-border; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarColumnHeaderTable { position: relative; width:100%; height: 100%; table-layout: fixed; border-collapse: collapse; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarColumnHeaderTable td { overflow:hidden; vertical-align: middle; text-align: center; .header-background; border-right: @inner-border; border-top: @outer-border; .select-none; color: @label-color; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarColumnHeaderTable td.last-child { border-right: @outer-border; } /* * The dojoxCalendarColWeekend class is added by the * ColumnView.styleColumnHeaderCell method that can be subclassed to add/remove css class. */ .nihilo .dojoxCalendarMatrixView .dojoxCalendarColumnHeaderTable .dojoxCalendarWeekend { color: @week-end-label-color; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarRowHeader { position: absolute; left: 0px; top: @column-header-height; width: @row-header-width; bottom: 0; cursor: default; .select-none; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarRowHeaderTable { position: relative; width: 100%; height: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; padding: 0; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarRowHeaderTable tr{ .border-box; } /* * The MatrixView.styleRowHeaderCell method that can be subclassed to add/remove css classes per hour. */ .nihilo .dojoxCalendarMatrixView .dojoxCalendarRowHeaderTable td { text-align: center; vertical-align: middle; border-left: @outer-border; border-right: @outer-border; border-bottom: @inner-border; background-color: @row-color; .transition-duration(0.2s); .border-box; color: @label-color; cursor: pointer; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarRowHeaderTable td.last-child { border-bottom: @outer-border; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarRowHeaderTable td.Hover { background-color: @row-color-hover; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarRowHeaderTable td.Active { background-color: @row-color-active; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarContainer { position: absolute; top: @column-header-height; left: @row-header-width; right: 0px; bottom: 0px; cursor: default; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarContainerTable { position: relative; width: 100%; height: 100%; margin: 0; padding: 0; border-collapse: collapse; table-layout: fixed; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarContainerTable tr{ .border-box; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarContainerTable td{ vertical-align: top; border-bottom: solid 1px transparent; border-right: solid 1px transparent; .border-box; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarContainerTable td div.dojoxCalendarContainerRow{ position:relative; height:100%; width:100%; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEventContainer { position: absolute; overflow: hidden; .select-none; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent { position: absolute; text-align: left; color: #000000; cursor: default; white-space: nowrap; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarHorizontal { color: #FFF; position: absolute; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarHorizontal .bg { border: @horizontal-border; position: absolute; left: 0; right: 0; top: 0; bottom: 0; color: #000000; .rounded-corners(5px); background-color: @horizontal-color; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarHorizontal.Hovered .bg { background-color: @horizontal-hover-color; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarHorizontal.Selected .bg { background-color: @horizontal-selected-bg-color; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.Edited { color: #fff; font-weight: bold; text-decoration: none; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarHorizontal.Edited .bg { border: dashed 1px #FFF; .opacity(30); } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarHorizontal.Focused .bg { border: dashed 1px #FFF; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarLabel.Hovered { color: #F40; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarLabel.Selected { color: #F00; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarLabel.Edited { border: dashed 1px #FFF; background: #600; .opacity(30); color: #FFF; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarLabel.Focused { border: dashed 1px #000000; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarHorizontal .labels { position: absolute; left: 3px; right: 1px; bottom: 2px; overflow: hidden; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent.dojoxCalendarLabel .labels { position: absolute; left: 2px; right: 2px; bottom: 0; overflow: hidden; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent .handle { .glass-view; position: absolute; width:5px; height:100%; cursor:e-resize; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent .moveHandle { left:0; top:0; width:100%; cursor:move; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent .resizeStartHandle { } .nihilo .dojoxCalendarMatrixView .dojoxCalendarEvent .resizeEndHandle { right:0px; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarExpand { position: absolute; text-align: center; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarExpand span { position: inline-block; vertical-align: middle; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarExpand .bg { position: relative; margin-right: 5px; margin-left: 5px; height: 100%; .rounded-corners(5px); .transition-duration(0.2s); .border-box; border: 1px solid transparent; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarExpand.Up .bg { background-color: @expand-up-color; border: 1px solid @expand-up-color - #555555; } .nihilo .dojoxCalendarMatrixView .dojoxCalendarExpand.Down .bg { background-color: @expand-down-color; border: 1px solid @expand-down-color - #555555; }