Ignore:
Timestamp:
10/12/24 21:32:15 (5 weeks ago)
Author:
macagaso <gasoskamarija@…>
Branches:
master
Parents:
743de55
Message:

Updated version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/static/css/calendar.css

    r743de55 r43c9090  
    1 /* Modal background */
    21#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;
    65    left: 38%;
    76    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;
    1413}
    1514.model-content{
     
    2423}
    2524
    26 /* Buttons */
    2725button {
    28     background-color: #3498db; /* Primary button color */
     26    background-color: #3498db;
    2927    border: none;
    3028    color: #fff;
     
    3836
    3937button: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);
    4240}
    4341
    4442button:active {
    45     background-color: #1f77e4; /* Even darker shade when active */
    46 }
    47 
    48 /* Cancel button with different color */
     43    background-color: #1f77e4;
     44}
     45
    4946#cancel-booking {
    50     background-color: #e74c3c; /* Different color for cancel button */
     47    background-color: #e74c3c;
    5148}
    5249
    5350#cancel-booking:hover {
    54     background-color: #c0392b; /* Darker shade for hover effect */
     51    background-color: #c0392b;
    5552}
    5653
     
    118115#right-side > *{
    119116    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;
    120130}
    121131
     
    176186    position: relative;
    177187    overflow: hidden;
    178     /* transform: scale(1.25); */
    179188}
    180189
     
    232241    cursor: pointer;
    233242    animation: to-top 1s forwards;
    234     /* border-radius: 50%; */
    235243}
    236244
     
    239247}
    240248
    241 .calendar-days div:hover span {
    242     transition: width 0.2s ease-in-out, height 0.2s ease-in-out;
    243 }
    244249
    245250.calendar-days div span:nth-child(1),
     
    250255}
    251256
    252 .calendar-days div:hover span:nth-child(1),
    253 .calendar-days div:hover span:nth-child(3) {
    254     height: 100%;
    255 }
    256 
    257257.calendar-days div span:nth-child(1) {
    258258    bottom: 0;
     
    272272}
    273273
    274 .calendar-days div:hover span:nth-child(2),
    275 .calendar-days div:hover span:nth-child(4) {
    276     width: 100%;
    277 }
    278274
    279275.calendar-days div span:nth-child(2) {
     
    287283}
    288284
    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{
    303286    background-color: var(--blue);
    304287    color: var(--white);
     
    391374    }
    392375}
    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.