Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/css/phui/calendar/phui-calendar-month.css
12242 views
1
/**
2
* @provides phui-calendar-month-css
3
*/
4
5
.phui-calendar-view {
6
width: 100%;
7
border-collapse: collapse;
8
background: {$page.content};
9
}
10
11
tr.phui-calendar-day-of-week-header th {
12
text-align: center;
13
font-size: 13px;
14
padding: 3px;
15
color: {$lightbluetext};
16
background: {$lightgreybackground};
17
}
18
19
tr.phui-calendar-day-of-week-header th.weekend-day-header {
20
background: {$greybackground};
21
}
22
23
.device tr.phui-calendar-day-of-week-header th .long-weekday-name {
24
display: none;
25
}
26
27
tr.phui-calendar-day-of-week-header th .short-weekday-name {
28
display: none;
29
}
30
31
.device tr.phui-calendar-day-of-week-header th .short-weekday-name {
32
display: inline;
33
}
34
35
table.phui-calendar-view td {
36
border: solid {$lightblueborder};
37
border-width: 1px 0 0;
38
width: 14.2857%; /* This is one seventh, approximately. */
39
}
40
41
table.phui-calendar-view td + td {
42
border-left-width: 1px;
43
}
44
45
table.phui-calendar-view td.phui-calendar-month-number {
46
border-top-width: 0;
47
}
48
49
.phui-calendar-month-cell-div {
50
position: relative;
51
}
52
53
.phui-calendar-month-event-list .phui-calendar-month-cell-div {
54
min-height: 125px;
55
}
56
57
.device .phui-calendar-month-event-list .phui-calendar-month-cell-div {
58
min-height: 32px;
59
}
60
61
.device table.phui-calendar-view .phui-calendar-event-list {
62
display: none;
63
}
64
65
.phui-calendar-month-event-count {
66
display: none;
67
}
68
69
.device .phui-calendar-month-event-count {
70
display: block;
71
text-align: center;
72
padding-top: 8px;
73
}
74
75
.phui-calendar-month-event-count .phui-calendar-month-count-badge {
76
border: 1px solid {$lightgreyborder};
77
color: {$lightgreytext};
78
width: 20px;
79
height: 20px;
80
border-radius: 50%;
81
text-align: center;
82
vertical-align: middle;
83
padding: 4px 2px 0px 2px;
84
margin: 0 auto;
85
}
86
87
.phui-calendar-month-count-badge.viewer-invited-day-badge {
88
border-color: {$green};
89
color: {$green};
90
}
91
92
table.phui-calendar-view a.phui-calendar-week-number {
93
color: {$lightgreyborder};
94
padding: 4px;
95
display: inline-block;
96
width: 16px;
97
text-align: center;
98
float: left;
99
}
100
101
table.phui-calendar-view a.phui-calendar-date-number {
102
color: {$lightgreytext};
103
padding: 4px;
104
display: inline-block;
105
width: 16px;
106
text-align: center;
107
}
108
109
.device table.phui-calendar-view a.phui-calendar-week-number,
110
.device table.phui-calendar-view a.phui-calendar-date-number {
111
width: 12px;
112
}
113
114
table.phui-calendar-view td.phui-calendar-month-number {
115
font-weight: normal;
116
color: {$lightgreytext};
117
text-align: right;
118
}
119
120
.phui-calendar-today-slot {
121
display: block;
122
height: 4px;
123
position: absolute;
124
left: 0;
125
right: -1px;
126
bottom: 0;
127
}
128
129
.phui-calendar-today-slot.last-weekday {
130
right: 0px;
131
}
132
133
.phui-calendar-this-week .phui-calendar-today-slot {
134
background-color: {$blue};
135
}
136
137
.phui-calendar-today .phui-calendar-today-slot,
138
.phui-calendar-today .phui-calendar-date-number {
139
background-color: {$sky};
140
}
141
142
table.phui-calendar-view .phui-calendar-today a.phui-calendar-date-number {
143
color: #ffffff;
144
}
145
146
.phui-calendar-event-empty {
147
border-color: transparent;
148
background: transparent;
149
}
150
151
.phui-calendar-view .phui-calendar-list,
152
.phui-calendar-view .phui-calendar-month-list {
153
padding: 1px;
154
width: auto;
155
}
156
157
.phui-calendar-list-item.all-day span {
158
padding: 0;
159
margin: 0;
160
}
161
162
.phui-calendar-view .phui-calendar-list li.phui-calendar-list-item.all-day {
163
height: 20px;
164
background-color: {$bluebackground};
165
display: block;
166
float: none;
167
}
168
169
.phui-calendar-view
170
.phui-calendar-list
171
li.phui-calendar-viewer-invited.all-day {
172
background-color: {$lightgreen};
173
}
174
175
.phui-calendar-view .phui-calendar-list li {
176
padding: 0px 4px;
177
}
178
179
.phui-calendar-view .phui-calendar-list li a {
180
display: block;
181
overflow: hidden;
182
position: relative;
183
height: 18px;
184
}
185
186
.phui-calendar-view li.phui-calendar-list-item {
187
white-space: nowrap;
188
width: auto;
189
}
190
191
.phui-calendar-list-item-icon {
192
display: block;
193
left: 0px;
194
}
195
196
.phui-calendar-view li.phui-calendar-list-item .phui-calendar-list-title {
197
width: auto;
198
position: absolute;
199
left: 16px;
200
right: 60px;
201
text-overflow: ellipsis;
202
overflow: hidden;
203
white-space: nowrap;
204
}
205
206
.phui-calendar-view li.phui-calendar-list-item .phui-calendar-list-time {
207
position: absolute;
208
top: 0;
209
right: 0px;
210
padding: 0;
211
width: 60px;
212
color: {$lightgreytext};
213
text-align: right;
214
}
215
216
td.phui-calendar-month-day,
217
td.phui-calendar-month-number {
218
cursor: pointer;
219
}
220
221
.device-desktop td.phui-calendar-month-day.calendar-hover,
222
.device-desktop td.phui-calendar-month-number.calendar-hover {
223
background: {$hoverblue};
224
}
225
226
.phui-calendar-month-adjacent {
227
background: {$greybackground};
228
}
229
230