forked from zabuto/calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zabuto_calendar.css
175 lines (145 loc) · 3.48 KB
/
zabuto_calendar.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/**
* Zabuto Calendar
*/
div.zabuto_calendar {
margin: 0;
padding: 0;
}
div.zabuto_calendar .table {
width: 100%;
margin: 0;
padding: 0;
}
div.zabuto_calendar .table th,
div.zabuto_calendar .table td {
padding: 4px 2px;
text-align: center;
}
div.zabuto_calendar .table tr th,
div.zabuto_calendar .table tr td {
background-color: #ffffff;
}
div.zabuto_calendar .table tr.calendar-month-header th {
background-color: #fafafa;
}
div.zabuto_calendar .table tr.calendar-month-header th span {
cursor: pointer;
display: inline-block;
padding-bottom: 10px;
}
div.zabuto_calendar .table tr.calendar-dow-header th {
background-color: #f0f0f0;
}
div.zabuto_calendar .table tr:last-child {
border-bottom: 1px solid #dddddd;
}
div.zabuto_calendar .table tr.calendar-month-header th {
padding-top: 12px;
padding-bottom: 4px;
}
div.zabuto_calendar .table-bordered tr.calendar-month-header th {
border-left: 0;
border-right: 0;
}
div.zabuto_calendar .table-bordered tr.calendar-month-header th:first-child {
border-left: 1px solid #dddddd;
}
div.zabuto_calendar div.calendar-month-navigation {
cursor: pointer;
margin: 0;
padding: 0;
padding-top: 5px;
}
div.zabuto_calendar tr.calendar-dow-header th,
div.zabuto_calendar tr.calendar-dow td {
width: 14%;
}
div.zabuto_calendar .table tr td div.day {
margin: 0;
padding-top: 7px;
padding-bottom: 7px;
}
/* actions and events */
div.zabuto_calendar .table tr td.event div.day,
div.zabuto_calendar ul.legend li.event {
background-color: #fff0c3;
}
div.zabuto_calendar .table tr td.dow-clickable,
div.zabuto_calendar .table tr td.event-clickable {
cursor: pointer;
}
/* badge */
div.zabuto_calendar .badge-today,
div.zabuto_calendar div.legend span.badge-today {
background-color: #357ebd;
color: #ffffff;
text-shadow: none;
}
div.zabuto_calendar .badge-event,
div.zabuto_calendar div.legend span.badge-event {
background-color: #ff9b08;
color: #ffffff;
text-shadow: none;
}
div.zabuto_calendar .badge-event {
font-size: 0.95em;
padding-left: 8px;
padding-right: 8px;
padding-bottom: 4px;
}
/* legend */
div.zabuto_calendar div.legend {
margin-top: 5px;
text-align: right;
}
div.zabuto_calendar div.legend span {
color: #999999;
font-size: 10px;
font-weight: normal;
}
div.zabuto_calendar div.legend span.legend-text:after,
div.zabuto_calendar div.legend span.legend-block:after,
div.zabuto_calendar div.legend span.legend-list:after,
div.zabuto_calendar div.legend span.legend-spacer:after {
content: ' ';
}
div.zabuto_calendar div.legend span.legend-spacer {
padding-left: 25px;
}
div.zabuto_calendar ul.legend > span {
padding-left: 2px;
}
div.zabuto_calendar ul.legend {
display: inline-block;
list-style: none outside none;
margin: 0;
padding: 0;
}
div.zabuto_calendar ul.legend li {
display: inline-block;
height: 11px;
width: 11px;
margin-left: 5px;
}
div.zabuto_calendar ul.legend
div.zabuto_calendar ul.legend li:first-child {
margin-left: 7px;
}
div.zabuto_calendar ul.legend li:last-child {
margin-right: 5px;
}
div.zabuto_calendar div.legend span.badge {
font-size: 0.9em;
border-radius: 5px 5px 5px 5px;
padding-left: 5px;
padding-right: 5px;
padding-top: 2px;
padding-bottom: 3px;
}
/* responsive */
@media (max-width: 979px) {
div.zabuto_calendar .table th,
div.zabuto_calendar .table td {
padding: 2px 1px;
}
}