-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcalendar.css
More file actions
114 lines (108 loc) · 2 KB
/
calendar.css
File metadata and controls
114 lines (108 loc) · 2 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
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
@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap');
* {
font-family: 'Gowun Dodum', sans-serif;
}
.my-calendar {
width: 700px;
margin: 30px;
padding: 20px 20px 10px;
text-align: center;
font-weight: 800;
border: 1px solid #ddd;
cursor: default;
}
.my-calendar .clicked-date {
border-radius: 25px;
margin-top: 36px;
float: left;
width: 42%;
padding: 46px 0 26px;
background: #ddd;
}
.my-calendar .calendar-box {
float: right;
width: 58%;
padding-left: 30px;
}
.clicked-date .cal-day {
font-size: 24px;
}
.clicked-date .cal-date {
font-size: 130px;
}
.ctr-box {
padding: 0 16px;
margin-bottom: 20px;
font-size: 20px;
}
.ctr-box .btn-cal {
position: relative;
float: left;
width: 25px;
height: 25px;
margin-top: 5px;
font-size: 16px;
cursor: pointer;
border: none;
background: none;
}
.ctr-box .btn-cal:after {
content: '<';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
line-height: 25px;
font-weight: bold;
font-size: 20px;
}
.ctr-box .btn-cal.next {
float: right;
}
.ctr-box .btn-cal.next:after {
content: '>';
}
.cal-table {
width: 100%;
}
.cal-table th {
width: 14.2857%;
padding-bottom: 5px;
font-size: 16px;
font-weight: 900;
}
.cal-table td {
padding: 3px 0;
height: 50px;
font-size: 15px;
vertical-align: middle;
}
.cal-table td.day {
position: relative;
cursor: pointer;
}
.cal-table td.today {
background: #ffd255;
border-radius: 50%;
color: #fff;
}
.cal-table td.day-active {
background: #ff8585;
border-radius: 50%;
color: #fff;
}
.cal-table td.has-event:after {
content: '';
display: block;
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 4px;
background: #FFC107;
}
.disabled {
background-color: gray;
color: white;
}