forked from jclarke0000/MMM-MyCalendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MMM-MyCalendar.css
108 lines (91 loc) · 1.8 KB
/
MMM-MyCalendar.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.MMM-MyCalendar {
max-width: 500px;
}
.MMM-MyCalendar .symbol {
padding-left: 0;
padding-right: 10px;
font-size: 80%;
}
.MMM-MyCalendar .symbol span {
display: inline-block;
-ms-transform: translate(0, 2px); /* IE 9 */
-webkit-transform: translate(0, 2px); /* Safari */
transform: translate(0, 2px);
}
.MMM-MyCalendar .title {
padding-left: 0;
padding-right: 0;
}
.MMM-MyCalendar .time {
padding-left: 30px;
text-align: right;
}
.MMM-MyCalendar table {
table-layout: fixed;
border-collapse:collapse;
width: 100%;
}
.MMM-MyCalendar table td {
line-height: 1.75;
}
.MMM-MyCalendar table tr {
border-bottom: solid 1px #222;
}
.MMM-MyCalendar .calendar-event {
position: relative;
}
.MMM-MyCalendar .title {
color: #FFF;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
display: block;
line-height: 1.25;
margin-top: 4px;
}
.MMM-MyCalendar .time,
.MMM-MyCalendar .location {
color: #AAA;
white-space: nowrap;
display: block;
font-size: 17px;
line-height: 1.5;
text-align: left;
padding-left: 0;
margin-bottom: 2px;
font-weight: 400;
overflow: hidden;
text-overflow: ellipsis;
}
.MMM-MyCalendar .calendar-event.with-symbol .title,
.MMM-MyCalendar .calendar-event.with-symbol .time,
.MMM-MyCalendar .calendar-event.with-symbol .location {
margin-left: 30px;
}
.MMM-MyCalendar .symbol {
font-size: 14px;
display: block;
position: absolute;
top: 2px;
font-weight: bold;
text-align: center;
width: 24px;
height: 24px;
padding-top: 6px;
}
.MMM-MyCalendar .symbol span {
display: block;
font-size: 24px;
position: absolute;
top: 1px;
left: 0px;
font-weight: normal;
}
.MMM-MyCalendar .symbol .calendar-icon {
width: 24px;
height: 24px;
position: absolute;
top: 3px;
left: 0px;
fill: currentColor;
}