-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
216 lines (187 loc) · 3.58 KB
/
styles.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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
h1 {
text-align: center;
margin-top: 20px;
}
.button-container {
text-align: right;
margin-right: 20px;
}
.blue-button {
background-color: #007bff;
color: white;
border: none;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
margin-top: 10px;
}
.blue-button:hover {
background-color: #0056b3;
}
#calendar {
max-width: 900px;
margin: 20px auto;
}
#admin-sign-in-button {
display: block;
margin: 20px auto;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
.modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 600px;
box-sizing: border-box;
word-wrap: break-word;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
#event-form label {
display: block;
margin-top: 10px;
}
#event-form input, #event-form select, #event-form textarea {
width: 100%;
padding: 8px;
margin-top: 5px;
box-sizing: border-box;
}
#event-form button {
margin-top: 15px;
padding: 10px 15px;
background-color: #007BFF;
color: #fff;
border: none;
cursor: pointer;
}
#event-form button:hover {
background-color: #0056b3;
}
/* Tooltip styling */
.fc-event:hover .fc-event-title {
display: none;
}
.fc-event:hover:after {
content: attr(data-tooltip);
white-space: pre-wrap;
position: absolute;
z-index: 10001;
background: #fff;
color: #333;
border: 1px solid #ccc;
padding: 10px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
font-size: 12px;
line-height: 1.2;
font-family: Arial, sans-serif;
max-width: 200px;
transition: opacity 0.3s ease;
}
/* Prevent event titles from distorting calendar cells */
.fc-daygrid-event {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.fc-daygrid-event-dot {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Admin table styling */
table {
width: 90%;
margin: 20px auto;
border-collapse: collapse;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
th, td {
border: 1px solid #ddd;
padding: 12px 8px;
text-align: left;
word-wrap: break-word;
}
th {
background-color: #007BFF;
color: white;
}
td {
background-color: #f9f9f9;
}
td button {
margin: 0 5px;
padding: 5px 10px;
background-color: #007BFF;
color: white;
border: none;
cursor: pointer;
border-radius: 3px;
}
td button:hover {
background-color: #0056b3;
}
/* Admin sign-in form styling */
.form-container {
max-width: 500px;
margin: 50px auto;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
background-color: #fefefe;
}
.input-group {
margin-bottom: 15px;
}
.input-group label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
.input-group input {
width: 100%;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
}
#message {
text-align: center;
margin-top: 15px;
font-size: 16px;
font-weight: bold;
}