-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalendar.css
More file actions
86 lines (71 loc) · 1.19 KB
/
Copy pathcalendar.css
File metadata and controls
86 lines (71 loc) · 1.19 KB
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
#calendar {
direction: rtl;
margin-left: auto;
margin-right: auto;
width: 530px;
}
#week_days {
text-align: center;
}
#week_days div {
float: right;
width: 75px;
}
#days div:first-of-type {
display: none;
}
#days div:nth-child(7n+1) {
border-left: #000 solid 1px;
}
#calendar .day {
border-right: #000 solid 1px;
border-bottom: #000 solid 1px;
float: right;
height: 70px;
width: 70px;
padding: 2px;
}
#calendar .number {
height: 20px;
width: 20px;
display: block;
line-height: 20px;
-moz-border-radius: 10px;
border-radius: 10px;
background-color: white;
text-align: center;
}
#calendar .number.has_event{
background-color: #0000ff;
color: #fff;
cursor: pointer;
}
#modal {
display: none;
position: fixed;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.4);
}
#modal .modal-content {
margin-left: auto;
margin-right: auto;
height: 300px;
width: 300px;
background-color: #fff;
}
#close {
background-color: #000;
color: #fff;
padding: 2px;
}
.modal-content > div:first-of-type {
display: none;
}
#close {
cursor: pointer;
}