Debian Codegraph @

dojox/calendar/themes/nihilo/ColumnView.less

raw
1 @import "ColumnViewCommon.less";
2
3 .nihilo .dojoxCalendarColumnView {
4 cursor: default;
5 -webkit-user-select: none;
6
7 .dojoxCalendarHeader {
8 position: absolute;
9 left: 0;
10 right: 0;
11 top: 0;
12 height: @column-header-height - 1px;
13 .border-box;
14 }
15
16 .dojoxCalendarScrollContainer {
17 left: 0;
18 right: 0;
19 bottom: 0;
20 top: @sheet-top;
21 position: absolute;
22 overflow-y: hidden;
23 overflow-x: hidden;
24 border-top: @outer-border;
25 border-bottom: @outer-border;
26 .border-box;
27 }
28
29 .dojoxCalendarGrid {
30 position: absolute;
31 left: @row-header-width;
32 right: 0;
33 overflow: hidden;
34 }
35
36 .dojoxCalendarGrid.dojoxCalendarHorizontalScroll {
37 border-right: @outer-border;
38 }
39
40 .dojoxCalendarGridTable {
41 border-collapse: collapse;
42 table-layout: fixed;
43 width: 100%;
44 position: relative;
45 margin: 0;
46 padding: 0;
47
48 td {
49 border-top: dotted 1px @outer-border;
50 border-right: @inner-border;
51 .border-box;
52 }
53
54 tr:first-child td {
55 border-top: 1px solid transparent;
56 }
57
58 .dojoxCalendarToday {
59 background-color: @today-color;
60 }
61
62 tr td.last-child {
63 border-right: @outer-border;
64 }
65
66 .tr:first-child td.dojoxCalendarToday {
67 border-top: 1px solid @today-color;
68 }
69
70 .dojoxCalendarWeekend {
71 background-color: @week-end-color;
72 }
73
74 tr:first-child td.dojoxCalendarWeekend {
75 border-top: 1px solid @week-end-color;
76 }
77 }
78
79
80 td.hour {
81 border-top: @hour-stroke;
82 }
83
84 td.halfhour{
85 border-top: @half-hour-stroke;
86 }
87
88 td.quarterhour{
89 border-top: @quarter-hour-stroke;
90 }
91
92 span.hour {
93 color: @label-color;
94 background-color: @row-color;
95 }
96
97 span.halfhour,
98 span.quarterhour{
99 color: @secondary-label-color;
100 background-color: @row-color;
101 }
102
103 .dojoxCalendarContainer {
104 position: absolute;
105 top: 0;
106 left: @row-header-width;
107 right: 0;
108 cursor: default;
109 overflow: hidden;
110
111 table {
112 background-color: transparent;
113
114 tr {
115 background-color: transparent;
116
117 td {
118 background-color: transparent;
119 }
120 }
121 }
122 }
123
124 .dojoxCalendarContainer.dojoxCalendarHorizontalScroll {
125 border-right: @outer-border;
126 }
127
128 .dojoxCalendarContainerTable {
129 border-collapse: collapse;
130 table-layout: fixed;
131 width: 100%;
132 position: relative;
133 margin: 0;
134 padding: 0;
135
136 td {
137 height: 100%;
138 padding: 0;
139 vertical-align: top;
140 border-right: 1px solid transparent;
141 }
142 }
143
144 .dojoxCalendarContainerColumn {
145 position: relative;
146 width:100%;
147 }
148
149 .dojoxCalendarSubContainerColumn {
150 position: absolute;
151 top: 0;
152 .border-box;
153 height:100%;
154 }
155
156 .dojoxCalendarEventContainerColumn {
157 position: absolute;
158 height: 100%;
159 left:0;
160 top:0;
161 right:0;
162 margin-left: 1px;
163 margin-right: 5px;
164 }
165
166 .dojoxCalendarDecorationContainerColumn {
167 position: absolute;
168 height: 100%;
169 left:0;
170 top:0;
171 right:0;
172 }
173
174 .dojoxCalendarSubContainerColumn.subColumn {
175 border-right: @sub-column-border;
176 }
177
178 .dojoxCalendarEventContainer {
179 position: absolute;
180 overflow: hidden;
181 .select-none;
182 }
183
184 .dojoxCalendarYearColumnHeader{
185 position: absolute;
186 height: @column-header-height - 1px;
187 left: 0;
188 width: @row-header-width - 2px;
189 top: 0;
190 border-left: @outer-border;
191 border-top: @outer-border;
192 border-right: @outer-border;
193
194 table {
195 position:relative;
196 width:100%;
197 height:100%;
198 }
199
200 table td {
201 text-align: center;
202 vertical-align: middle;
203 border-bottom: @outer-border;
204 color: @label-color;
205 .header-background;
206 }
207 }
208
209 .dojoxCalendarColumnHeader {
210 position: absolute;
211 height: @column-header-height;
212 left: @row-header-width;
213 right: 0;
214 top: 0;
215 cursor: default;
216 overflow: hidden;
217 }
218
219 .dojoxCalendarColumnHeader.dojoxCalendarHorizontalScroll {
220 border-right: @outer-border;
221 }
222
223 .dojoxCalendarColumnHeaderTable {
224 border-collapse: collapse;
225 table-layout: fixed;
226 position: relative;
227 margin: 0;
228 padding: 0;
229 width: 100%;
230 height: 100%;
231
232 td {
233 overflow:hidden;
234 white-space: nowrap;
235 vertical-align: middle;
236 text-align: center;
237 .header-background;
238 border-right: @inner-border;
239 border-top: @outer-border;
240 border-bottom: @outer-border;
241 .select-none;
242 color: @label-color;
243 .transition-duration(0.2s);
244 }
245
246 td.last-child {
247 border-right: @outer-border;
248 }
249
250 .dojoxCalendarToday {
251 font-weight: bold;
252 color: @today-label-color;
253 }
254
255 .dojoxCalendarWeekend {
256 color: @week-end-label-color;
257 }
258
259 td.Hover{
260 cursor: pointer;
261 .header-hover-background;
262 }
263
264 td.Active{
265 .header-active-background;
266 }
267 }
268
269 .dojoxCalendarSubHeader {
270 position: absolute;
271 left: 0;
272 right: 0;
273 top: 72px;
274 height: @sub-column-header-height;
275 -webkit-box-sizing: border-box;
276 -moz-box-sizing: border-box;
277 box-sizing: border-box;
278 display: none;
279 }
280
281 .dojoxCalendarSubColumnHeader {
282 position: absolute;
283 height: @sub-column-header-height;
284 left: @row-header-width;
285 right: 0;
286 top: 0px;
287 cursor: default;
288 overflow: hidden;
289 }
290
291 .dojoxCalendarSubColumnHeader.dojoxCalendarHorizontalScroll {
292 border-right: @outer-border;
293 }
294
295 .dojoxCalendarSubColumnHeaderTable {
296 border-collapse: collapse;
297 table-layout: fixed;
298 position: relative;
299 margin: 0;
300 padding: 0;
301 width: 100%;
302 height: 100%;
303
304 td {
305 overflow: hidden;
306 white-space: nowrap;
307 vertical-align: middle;
308 text-align: center;
309 border-right: @inner-border;
310 border-top: @outer-border;
311 -moz-user-select: none;
312 -webkit-user-select: none;
313 khtml-user-select: none;
314 user-select: none;
315 color: #000000;
316 }
317 td.last-child {
318 border-right: @outer-border;
319 }
320 td.dojoxCalendarToday {
321 background-color: @today-color;
322 }
323 td.dojoxCalendarWeekend {
324 background-color: @week-end-color;
325 }
326 }
327
328 .dojoxCalendarSubHeaderContainer {
329 position: relative;
330 width:100%;
331 height: @sub-column-header-height - 2px;
332 }
333
334 .dojoxCalendarSubHeaderCell {
335 position: absolute;
336 top: 0;
337 .border-box;
338 height:100%;
339 overflow: hidden;
340 text-overflow: ellipsis;
341 }
342
343 .dojoxCalendarSubHeaderCell.subColumn {
344 border-right: @sub-column-border;
345 }
346
347 .dojoxCalendarSubHeaderLabel {
348 font-size: 0.9em;
349 color: #555;
350 }
351
352 .dojoxCalendarSubRowHeader {
353 position: absolute;
354 height: @sub-column-header-height;
355 left: 0;
356 width: @row-header-width - 2px;
357 top: 0;
358 border-left: @outer-border;
359 border-right: @outer-border;
360
361 table {
362 position: relative;
363 width: 100%;
364 height: 100%;
365
366 td {
367 border-top: @outer-border;
368 background-color: #efefef;
369 }
370 }
371 }
372
373 .dojoxCalendarRowHeader {
374 position: absolute;
375 width: @row-header-width - 2px;
376 cursor: default;
377 border-left: @outer-border;
378 border-right: @outer-border;
379 height: 100%;
380 .select-none;
381 }
382
383 .dojoxCalendarRowHeaderLabelContainer{
384 width: 100%;
385 height: 100%;
386 z-index: 10;
387 }
388
389 .dojoxCalendarRowHeaderLabel{
390 right: 4px;
391 position: absolute;
392 }
393
394 .dojoxCalendarRowHeaderTable {
395 border-collapse: collapse;
396 table-layout: fixed;
397 position: relative;
398 margin: 0;
399 padding: 0;
400 width: 100%;
401 height: 100%;
402
403 td.dummy{
404 border-top: 1px solid @row-color;
405 }
406
407 td {
408 background-color: @row-color;
409 color: @label-color;
410 .border-box;
411 }
412
413 tr:first-child td {
414 border-top: 1px solid @row-color;
415 }
416 }
417
418 .dojoxCalendarDecoration {
419 position:absolute;
420 background-color: rgb(167, 233, 68);
421 .opacity(20);
422 }
423
424 .dojoxCalendarEvent {
425 position: absolute;
426 text-align: left;
427 color: #FFF;
428 cursor: default;
429 overflow: hidden;
430
431 .bg {
432 position: absolute;
433 left: 0;
434 right: 0;
435 top: 0;
436 bottom: 0;
437 z-index: -1;
438 border: @event-border;
439 .rounded-corners;
440 background-color: @event-bg-color;
441 .opacity(90);
442 }
443
444 .endTime {
445 position: absolute;
446 font-weight: bold;
447 bottom:3px;
448 left: 6px;
449 white-space:nowrap;
450 }
451
452 .beforeIcon {
453 text-align: center;
454 }
455
456 .afterIcon {
457 position: absolute;
458 bottom: 2px;
459 width: 100%;
460 text-align: center;
461 }
462
463 .handle {
464 .glass-view;
465 }
466
467 .moveHandle {
468 position: absolute;
469 top:0;
470 width:100%;
471 bottom:0;
472 cursor:move;
473 }
474
475 .resizeStartHandle {
476 position: absolute;
477 top:0;
478 width:100%;
479 height:10px;
480 cursor:n-resize;
481 }
482
483 .resizeEndHandle {
484 position: absolute;
485 bottom:0;
486 width:100%;
487 height:10px;
488 cursor:n-resize;
489 }
490
491 dl {
492 margin: 0;
493 }
494
495 dd {
496 margin: 0;
497 padding: 0 3px;
498 text-align: left;
499 }
500 }
501
502 .dojoxCalendarEvent.Hovered .bg {
503 background-color: @event-hovered-bg-color;
504 }
505
506 .dojoxCalendarEvent.Selected .bg {
507 background-color: @event-selected-bg-color;
508 }
509
510 .dojoxCalendarEvent.Edited .bg {
511 border: @event-border-focused;
512 .opacity(70);
513 }
514
515 .dojoxCalendarEvent.Focused .bg {
516 border: @event-border-focused;
517 }
518
519 .dojoxCalendarEvent .startTime {
520 .event-header;
521 background-color: @event-header-bg-color;
522 .top-left-right-border(@event-border);
523 }
524
525 .dojoxCalendarEvent.Focused .startTime {
526 .top-left-right-border(@event-border-focused);
527 }
528
529 .dojoxCalendarEvent.Hovered .startTime {
530 background-color: @event-header-hovered-bg-color;
531 }
532
533 .dojoxCalendarEvent.Selected .startTime {
534 background-color: @event-header-selected-bg-color;
535 }
536
537 .dojoxCalendarEvent.Edited .startTime {
538 background-color: @event-header-bg-color;
539 .top-left-right-border(@event-border-focused);
540 }
541
542 .dojoxCalendarVScrollBar {
543 position: absolute;
544 top: @sheet-top;
545 bottom: 0;
546 overflow-y: scroll;
547 overflow-x: hidden;
548 }
549
550 .dojoxCalendarHScrollBar {
551 position: absolute;
552 bottom: 0;
553 left: @row-header-width;
554 overflow-x: scroll;
555 overflow-y: hidden;
556 }
557
558 .dojoxCalendarMatrixView {
559 position: absolute;
560 left: 0;
561 right: 0;
562 top: @column-header-height;
563 height: @secondary-sheet-height;
564
565 .dojoxCalendarGrid {
566 position: absolute;
567 left: @row-header-width;
568 right: 0;
569 top: 0;
570 bottom: 0;
571 .border-box;
572 }
573
574 .dojoxCalendarContainer {
575 position: absolute;
576 top: 0;
577 left: @row-header-width;
578 right: 0;
579 bottom: 0;
580 cursor: default;
581 }
582
583 .dojoxCalendarRowHeader {
584 position: absolute;
585 left: 0;
586 top: 0;
587 width: @row-header-width;
588 bottom: 0;
589
590 border-right: none;
591 border-left: none;
592 .border-box;
593 }
594
595 .dojoxCalendarGridTable{
596
597 td {
598 text-align: right;
599 vertical-align: top;
600 border-top: @inner-border;
601 border-bottom: @inner-border;
602 border-right: @inner-border;
603 .border-box;
604 }
605
606 tr.last-child td {
607 border-bottom: @outer-border;
608 }
609
610 td.last-child {
611 border-right: @outer-border;
612 }
613
614 }
615
616 .dojoxCalendarRowHeaderTable td {
617 border-top: @inner-border;
618 border-left: @outer-border;
619 border-right: @outer-border;
620 border-bottom: @outer-border;
621 background-color: @row-color;
622 }
623
624 .dojoxCalendarEvent {
625 .handle {
626 .glass-view;
627 position: absolute;
628 width:5px;
629 height:100%;
630 cursor:e-resize;
631 }
632
633 .moveHandle {
634 left:0;
635 top:0;
636 width:100%;
637 cursor:move;
638 }
639
640 .resizeEndHandle {
641 right:0px;
642 }
643
644 .afterIcon {
645 width:auto;
646 }
647
648 .endTime {
649 position: relative;
650 bottom:auto;
651 left: auto;
652 }
653 }
654
655 .dojoxCalendarEvent.dojoxCalendarHorizontal .labels {
656 position: absolute;
657 left: 3px;
658 right: 1px;
659 bottom: 2px;
660 overflow: hidden;
661 }
662
663 .dojoxCalendarExpand {
664 position: absolute;
665 text-align: center;
666
667 .bg {
668 position: relative;
669 margin-right: 10%;
670 margin-left: 10%;
671 border-radius: 5px;
672 height: 100%;
673 .select-none;
674 border: 1px solid transparent;
675 -moz-border-radius: 5px;
676 -webkit-transition-duration: 0.2s;
677 -moz-transition-duration: 0.2s;
678 transition-duration: 0.2s;
679 }
680 }
681
682 .dojoxCalendarExpand.Up .bg {
683 background-color: @expand-up-color;
684 border: 1px solid @expand-up-color - #555;
685 }
686
687 .dojoxCalendarExpand.Down .bg {
688 background-color: @expand-down-color;
689 border: 1px solid @expand-down-color - #555;
690 }
691
692 .dojoxCalendarEvent div {
693 white-space:nowrap;
694 }
695 }
696
697 .dojoxCalendarTimeIndicator {
698 position: absolute;
699 left:0;
700 height: 2px;
701 width:100%;
702 background-color: red;
703 }
704 }
705
706 .nihilo .dojoxCalendarColumnView.subColumns {
707 .dojoxCalendarScrollContainer {
708 top: @sheet-top-subcolumns;
709 }
710 .dojoxCalendarSubHeader {
711 top: @column-header-height + 3px;
712 display: block;
713 }
714 .dojoxCalendarVScrollBar {
715 top: @sheet-top-subcolumns;
716 }
717 }
718
719 .nihilo .dojoxCalendarColumnView.secondarySheet {
720 .dojoxCalendarScrollContainer {
721 top: @sheet-top-secondary-sheet;
722 }
723 .dojoxCalendarSubHeader {
724 top: @column-header-height + @secondary-sheet-height + 3px;
725 display: none;
726 }
727 .dojoxCalendarVScrollBar {
728 top: @sheet-top-secondary-sheet;
729 }
730 }
731
732 .nihilo .dojoxCalendarColumnView.subColumns.secondarySheet {
733 .dojoxCalendarScrollContainer {
734 top: @sheet-top-subcolumns-secondary-sheet;
735 }
736 .dojoxCalendarSubHeader {
737 top: @column-header-height + @secondary-sheet-height + 3px;
738 display: block;
739 }
740 .dojoxCalendarVScrollBar {
741 top: @sheet-top-subcolumns-secondary-sheet;
742 }
743 }