Changeset 43c9090 for src/main/resources/static/css/calendar.css
- Timestamp:
- 10/12/24 21:32:15 (5 weeks ago)
- Branches:
- master
- Parents:
- 743de55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/static/css/calendar.css
r743de55 r43c9090 1 /* Modal background */2 1 #confirmation-modal { 3 display: none; /* Hidden by default */4 position: absolute; /* Fixed positioning to center it on the page */5 z-index: 1000; /* Sit on top */2 display: none; 3 position: absolute; 4 z-index: 1000; 6 5 left: 38%; 7 6 top: 40%; 8 width: 400px; /* Full width */9 overflow: auto; /* Enable scroll if needed */10 background-color: #fff; /* White background for the content */11 border-radius: 8px; /* Rounded corners */12 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */13 text-align: center; /* Center align text */7 width: 400px; 8 overflow: auto; 9 background-color: #fff; 10 border-radius: 8px; 11 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 12 text-align: center; 14 13 } 15 14 .model-content{ … … 24 23 } 25 24 26 /* Buttons */27 25 button { 28 background-color: #3498db; /* Primary button color */26 background-color: #3498db; 29 27 border: none; 30 28 color: #fff; … … 38 36 39 37 button:hover { 40 background-color: #2980b9; /* Darker shade for hover effect */41 transform: scale(1.05); /* Slight scale effect on hover */38 background-color: #2980b9; 39 transform: scale(1.05); 42 40 } 43 41 44 42 button:active { 45 background-color: #1f77e4; /* Even darker shade when active */ 46 } 47 48 /* Cancel button with different color */ 43 background-color: #1f77e4; 44 } 45 49 46 #cancel-booking { 50 background-color: #e74c3c; /* Different color for cancel button */47 background-color: #e74c3c; 51 48 } 52 49 53 50 #cancel-booking:hover { 54 background-color: #c0392b; /* Darker shade for hover effect */51 background-color: #c0392b; 55 52 } 56 53 … … 118 115 #right-side > *{ 119 116 margin:10px; 117 } 118 #right-side{ 119 position: relative; 120 top: 50px; 121 padding: 16px; 122 } 123 #hourly-terms{ 124 display: flex; 125 flex-wrap: wrap; 126 gap: 10px; 127 } 128 #right-side > *{ 129 margin-bottom: 5px; 120 130 } 121 131 … … 176 186 position: relative; 177 187 overflow: hidden; 178 /* transform: scale(1.25); */179 188 } 180 189 … … 232 241 cursor: pointer; 233 242 animation: to-top 1s forwards; 234 /* border-radius: 50%; */235 243 } 236 244 … … 239 247 } 240 248 241 .calendar-days div:hover span {242 transition: width 0.2s ease-in-out, height 0.2s ease-in-out;243 }244 249 245 250 .calendar-days div span:nth-child(1), … … 250 255 } 251 256 252 .calendar-days div:hover span:nth-child(1),253 .calendar-days div:hover span:nth-child(3) {254 height: 100%;255 }256 257 257 .calendar-days div span:nth-child(1) { 258 258 bottom: 0; … … 272 272 } 273 273 274 .calendar-days div:hover span:nth-child(2),275 .calendar-days div:hover span:nth-child(4) {276 width: 100%;277 }278 274 279 275 .calendar-days div span:nth-child(2) { … … 287 283 } 288 284 289 .calendar-days div:hover span:nth-child(2) { 290 transition-delay: 0.2s; 291 } 292 293 .calendar-days div:hover span:nth-child(3) { 294 transition-delay: 0.4s; 295 } 296 297 .calendar-days div:hover span:nth-child(4) { 298 transition-delay: 0.6s; 299 } 300 301 .calendar-days div.curr-date, 302 .calendar-days div.curr-date:hover { 285 .curr-date{ 303 286 background-color: var(--blue); 304 287 color: var(--white); … … 391 374 } 392 375 } 393 394 395 396 376 #authButton{ 377 position: absolute; 378 left: 1145px; 379 top: 21px; 380 width: 150px; 381 color: white; 382 background-color: red; 383 padding: 10px; 384 border: none; 385 border-radius: 5px; 386 } 387 388 389
Note:
See TracChangeset
for help on using the changeset viewer.