Debian Codegraph @

dojox/calendar/themes/nihilo/MatrixView.less

raw
1 @import "MatrixViewCommon.less";
2
3 .nihilo .dojoxCalendarMatrixView {
4 cursor: default;
5 .select-none;
6
7 .dojoxCalendarGrid {
8 position: absolute;
9 left: @row-header-width;
10 right: 0px;
11 top: @column-header-height;
12 bottom: 0px;
13 }
14
15 .dojoxCalendarGridTable {
16 position: relative;
17 width: 100%;
18 height: 100%;
19 margin: 0;
20 padding: 0;
21 border-collapse: collapse;
22 table-layout: fixed;
23
24 tr{
25 .border-box;
26 }
27
28 td {
29 text-align: right;
30 vertical-align: top;
31 border-bottom: @inner-border;
32 border-right: @inner-border;
33 .border-box;
34 }
35
36 td span{
37 padding-right: 2px;
38 padding-top: 2px;
39 }
40
41 td span.FirstVisibleDayOfMonth{
42 }
43
44 tr.last-child td {
45 border-bottom: @outer-border;
46 }
47
48 td.last-child {
49 border-right: @outer-border;
50 }
51
52 /*
53 * The dojoxCalendarColToday & dojoxCalendarColWeekend classes is added by the
54 * MatrixView.styleGridCell method that can be subclassed to add/remove css classes
55 */
56 td.dojoxCalendarToday {
57 background-color: @today-color;
58 font-weight: bold;
59 color: @today-label-color;
60 }
61
62 .dojoxCalendarWeekend {
63 background-color: @week-end-color;
64 color: @week-end-label-color;
65 }
66
67 .dojoxCalendarDayDisabled {
68 background-color: @disabled-day-color;
69 color: @disabled-day-label-color;
70 }
71 }
72
73 .dojoxCalendarYearColumnHeader{
74 position: absolute;
75 left: 0px;
76 top: 0px;
77 width: @row-header-width;
78 height: @column-header-height - 1px;
79 text-align: center;
80 vertical-align: middle;
81 border-bottom: @outer-border;
82
83 table{
84 position: relative;
85 width:100%;
86 height: 100%;
87 table-layout: fixed;
88 border-collapse: collapse;
89
90 td{
91 text-align: center;
92 vertical-align: middle;
93 border-left: @outer-border;
94 border-top: @outer-border;
95 border-right: @outer-border;
96 .header-background;
97 color: @label-color;
98 }
99 }
100 }
101
102 .dojoxCalendarColumnHeader {
103 position: absolute;
104 left: @row-header-width;
105 right: 0px;
106 top: 0px;
107 height: @column-header-height - 1px;
108 cursor: default;
109 border-bottom: @outer-border;
110 }
111
112 .dojoxCalendarColumnHeaderTable {
113 position: relative;
114 width:100%;
115 height: 100%;
116 table-layout: fixed;
117 border-collapse: collapse;
118
119 td {
120 overflow:hidden;
121 vertical-align: middle;
122 text-align: center;
123 .header-background;
124 border-right: @inner-border;
125 border-top: @outer-border;
126 .select-none;
127 color: @label-color;
128 }
129
130 td.last-child {
131 border-right: @outer-border;
132 }
133
134 /*
135 * The dojoxCalendarColWeekend class is added by the
136 * ColumnView.styleColumnHeaderCell method that can be subclassed to add/remove css class.
137 */
138 .dojoxCalendarWeekend {
139 color: @week-end-label-color;
140 }
141 }
142
143 .dojoxCalendarRowHeader {
144 position: absolute;
145 left: 0px;
146 top: @column-header-height;
147 width: @row-header-width;
148 bottom: 0;
149 cursor: default;
150
151 .select-none;
152 }
153
154 .dojoxCalendarRowHeaderTable {
155 position: relative;
156 width: 100%;
157 height: 100%;
158 border-collapse: collapse;
159 table-layout: fixed;
160 margin: 0;
161 padding: 0;
162
163 tr{
164 .border-box;
165 }
166
167 /*
168 * The MatrixView.styleRowHeaderCell method that can be subclassed to add/remove css classes per hour.
169 */
170 td {
171 text-align: center;
172 vertical-align: middle;
173 border-left: @outer-border;
174 border-right: @outer-border;
175 border-bottom: @inner-border;
176 background-color: @row-color;
177 .transition-duration(0.2s);
178 .border-box;
179 color: @label-color;
180 cursor: pointer;
181 }
182
183 td.last-child {
184 border-bottom: @outer-border;
185 }
186
187 td.Hover {
188 background-color: @row-color-hover;
189 }
190
191 td.Active {
192 background-color: @row-color-active;
193 }
194 }
195
196 .dojoxCalendarContainer {
197 position: absolute;
198 top: @column-header-height;
199 left: @row-header-width;
200 right: 0px;
201 bottom: 0px;
202 cursor: default;
203 }
204
205 .dojoxCalendarContainerTable {
206 position: relative;
207 width: 100%;
208 height: 100%;
209 margin: 0;
210 padding: 0;
211 border-collapse: collapse;
212 table-layout: fixed;
213
214 tr{
215 .border-box;
216 }
217
218 td{
219 vertical-align: top;
220 border-bottom: solid 1px transparent;
221 border-right: solid 1px transparent;
222 .border-box;
223 }
224
225 td div.dojoxCalendarContainerRow{
226 position:relative;
227 height:100%;
228 width:100%;
229 }
230 }
231
232 .dojoxCalendarEventContainer {
233 position: absolute;
234 overflow: hidden;
235 .select-none;
236 }
237
238 .dojoxCalendarDecoration {
239 position:absolute;
240 background-color: rgb(167, 233, 68);
241 .opacity(20);
242 }
243
244 .dojoxCalendarEvent {
245 position: absolute;
246 text-align: left;
247 color: #000;
248 cursor: default;
249 white-space: nowrap;
250 }
251
252 .dojoxCalendarEvent.dojoxCalendarHorizontal {
253 color: #FFF;
254 position: absolute;
255 }
256
257 .dojoxCalendarEvent.dojoxCalendarHorizontal .bg {
258 border: @horizontal-border;
259 position: absolute;
260 left: 0;
261 right: 0;
262 top: 0;
263 bottom: 0;
264 color: #000;
265 .rounded-corners(5px);
266 background-color: @horizontal-color;
267 }
268
269 .dojoxCalendarEvent.dojoxCalendarHorizontal.Hovered .bg {
270 background-color: @horizontal-hover-color;
271 }
272
273 .dojoxCalendarEvent.dojoxCalendarHorizontal.Selected .bg {
274 background-color: @horizontal-selected-bg-color;
275 }
276
277 .dojoxCalendarEvent.Edited {
278 color: #FFF;
279 font-weight: bold;
280 text-decoration: none;
281 }
282
283 .dojoxCalendarEvent.dojoxCalendarHorizontal.Edited .bg {
284 border: dashed 1px #FFF;
285 .opacity(30);
286 }
287
288 .dojoxCalendarEvent.dojoxCalendarHorizontal.Focused .bg {
289 border: dashed 1px #FFF;
290 }
291
292 .dojoxCalendarEvent.dojoxCalendarLabel.Hovered {
293 color: #F40;
294 }
295
296 .dojoxCalendarEvent.dojoxCalendarLabel.Selected {
297 color: #F00;
298 }
299
300 .dojoxCalendarEvent.dojoxCalendarLabel.Edited {
301 border: dashed 1px #FFF;
302 background: #600;
303 .opacity(30);
304 color: #FFF;
305 }
306
307 .dojoxCalendarEvent.dojoxCalendarLabel.Focused {
308 border: dashed 1px #000;
309 }
310
311 .dojoxCalendarEvent.dojoxCalendarHorizontal .labels {
312 position: absolute;
313 left: 3px;
314 right: 1px;
315 bottom: 2px;
316 overflow: hidden;
317 }
318
319 .dojoxCalendarEvent.dojoxCalendarLabel .labels {
320 position: absolute;
321 left: 2px;
322 right: 2px;
323 bottom: 0;
324 overflow: hidden;
325 }
326
327 .dojoxCalendarEvent .handle {
328 .glass-view;
329 position: absolute;
330 width:5px;
331 height:100%;
332 cursor:e-resize;
333 }
334
335 .dojoxCalendarEvent .moveHandle {
336 left:0;
337 top:0;
338 width:100%;
339 cursor:move;
340 }
341
342 .dojoxCalendarEvent .resizeStartHandle {
343 }
344
345 .dojoxCalendarEvent .resizeEndHandle {
346 right:0px;
347 }
348
349 .dojoxCalendarExpand {
350 position: absolute;
351 text-align: center;
352
353 span {
354 display: inline-block;
355 vertical-align: middle;
356 }
357
358 .bg {
359 position: relative;
360 margin-right: 5px;
361 margin-left: 5px;
362 height: 100%;
363 .rounded-corners(5px);
364 .transition-duration(0.2s);
365 .border-box;
366 border: 1px solid transparent;
367 }
368 }
369
370 .dojoxCalendarExpand.Up .bg {
371 background-color: @expand-up-color;
372 border: 1px solid @expand-up-color - #555;
373 }
374
375 .dojoxCalendarExpand.Down .bg {
376 background-color: @expand-down-color;
377 border: 1px solid @expand-down-color - #555;
378 }
379
380 }