Skip to content

Commit 90218b9

Browse files
committed
release
1 parent 7578989 commit 90218b9

4 files changed

Lines changed: 573 additions & 0 deletions

File tree

MMM-CalendarExtPlan.css

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
.CXP {
2+
--cell-height: 60px;
3+
--font-size: 14px;
4+
--dayHeader-width: 100px;
5+
}
6+
7+
.CXP .CellTable {
8+
border:2px;
9+
table-layout: fixed;
10+
}
11+
12+
.CXP .CellTable * {
13+
box-sizing: border-box;
14+
}
15+
16+
.CXP .CellTable tr td {
17+
font-size: var(--font-size);
18+
line-height: 130%;
19+
text-align: left;
20+
overflow: hidden;
21+
}
22+
.CXP .CellTable tr th {
23+
text-align:center;
24+
color: White;
25+
font-size: calc(var(--font-size) + 8px);
26+
}
27+
28+
.CXP .CellTable tr th.day {
29+
font-size: calc(var(--font-size) + 4px);
30+
font-weight:bold;
31+
color: White;
32+
white-space: nowrap;
33+
padding-left:10px;
34+
}
35+
36+
.CXP .CellTable tr td .wrapper {
37+
height: var(--cell-height);
38+
padding:5px;
39+
}
40+
41+
.CXP .CellTable .headerWidth {
42+
width: var(--dayHeader-width);
43+
}
44+
45+
.CXP .CellTable tr:nth-child(odd) {
46+
background-color: rgba(66,66,66, 0.5)
47+
}
48+
49+
.CXP .CellTable td:nth-child(even) {
50+
background-color: rgba(66,66,66, 0.5)
51+
}
52+
53+
.CXP .CellTable tr.weekday_6 {
54+
background-color: rgba(0,0,127, 0.5)
55+
}
56+
57+
.CXP .CellTable tr.weekday_7 {
58+
background-color: rgba(127,0,0, 0.5)
59+
}
60+
61+
.CXP .CellTable tr.today th {
62+
color:#FF0;
63+
}
64+
65+
.CXP .event {
66+
overflow: hidden;
67+
white-space: nowrap;
68+
}
69+
70+
.CXP .event .eventIcon {
71+
margin-right: 5px;
72+
}
73+
74+
.CXP .event div {
75+
display:inline-block;
76+
}
77+
78+
.CXP .event .eventTime .start.startHere,
79+
.CXP .event .eventTime .end.endHere {
80+
display:inline-block;
81+
margin-right: 5px;
82+
}
83+
84+
.CXP .event .eventTime .end.endHere {
85+
display:none;
86+
}
87+
88+
.CXP .event .eventTime .start,
89+
.CXP .event .eventTime .end {
90+
display:none;
91+
}
92+
93+
.CXP .event .eventTime .end::before {
94+
content: " - "
95+
}
96+
97+
.CXP .event .eventTime.fullday {
98+
display:none;
99+
}
100+
101+
.CXP .event .eventTitle {
102+
font-weight:bold;
103+
color: White;
104+
}

0 commit comments

Comments
 (0)