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/index.css

    r743de55 r43c9090  
    6666
    6767.dropdown-content {
    68     display: none; /* Hide dropdown by default */
    69     position: absolute; /* Position relative to the list item */
     68    display: none;
     69    position: absolute;
    7070    left: 0;
    71     top: 100%; /* Position below the list item */
    72     background-color: white; /* Background color of the dropdown */
    73     border: 1px solid #ddd; /* Border of the dropdown */
    74     padding: 10px; /* Padding inside the dropdown */
    75     box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional shadow for dropdown */
    76     width: 100%; /* Full width of the list item */
     71    top: 100%;
     72    background-color: white;
     73    border: 1px solid #ddd;
     74    padding: 10px;
     75    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
     76    width: 100%;
    7777}
    7878.icon-search{
     
    9898    justify-content: center;
    9999    height: 350px;
    100     /*background-color: #F3F0E7;*/
    101100    background-color: #F7F7F5;
    102101}
     
    108107.items-register{
    109108    font-family: "Kumbh Sans", sans-serif;
     109    position: absolute;
     110    left: 900px;
    110111}
    111112.items-register p{
     
    117118}
    118119
    119 .items-register{
    120     display:flex;
     120.form-imp{
     121    display: flex;
    121122    flex-direction: column;
    122123    align-items: center;
    123     /*background-color: #F3F0E7;*/
    124 }
    125 
    126 .form-imp{
    127     display: flex;
    128     flex-direction: column;
    129     align-items: center;
    130124    width: auto;
    131125    padding: 10px;
    132126}
    133127input , button {
    134     border-radius: 5px; /* Adjust the value to make the corners more or less rounded */
    135     padding: 7px; /* Optional: adds padding inside the input */
    136     border: 1px solid #9D9D9D; /* Optional: adds a border around the input */
     128    border-radius: 5px;
     129    padding: 7px;
     130    border: 1px solid #9D9D9D;
    137131}
    138132button{
     
    140134    color:white;
    141135}
     136#personalised{
     137    font-size: xx-large;
     138    font-family: "Caveat", cursive;
     139}
    142140.white-part{
     141    display: flex;
     142    flex-direction: column;
    143143    background-color: white;
    144144    width: 415px;
    145145    border-radius: 5px;
    146     padding: 7px;
     146    padding: 20px;
     147}
     148a {
     149    text-decoration: none;
     150}
     151.logged-in{
     152    padding: 20px;
     153    font-family: "Kumbh Sans", sans-serif;
    147154}
    148155.split-title{
     
    179186    align-items: center;
    180187    background-color: #F7F7F5;
    181     /*background-color: #F3F0E7;*/
    182188}
    183189.part2 > div{
     
    187193}
    188194.part2 > div:first-child {
    189     justify-content: flex-end; /* Align the content to the right */
     195    justify-content: flex-end;
    190196}
    191197
     
    217223    background-color: transparent;
    218224    color: darkgreen;
    219     border: 2px solid darkgreen; /* Set the border color and make it bold */
    220     border-radius: 12px; /* Make the borders rounded */
    221     font-weight: bold; /* Make the text bold */
    222     padding: 10px 20px; /* Add some padding for better appearance */
    223     cursor: pointer; /* Change the cursor to a pointer when hovered */
    224     font-family: "Kumbh Sans", sans-serif; /* Match the font family */
    225     font-size: 16px; /* Adjust font size as needed */
     225    border: 2px solid darkgreen;
     226    border-radius: 12px;
     227    font-weight: bold;
     228    padding: 10px 20px;
     229    cursor: pointer;
     230    font-family: "Kumbh Sans", sans-serif;
     231    font-size: 16px;
    226232}
    227233
     
    248254}
    249255.icons li img:hover {
    250     background-color: white; /* Change background color on hover */
    251     border-color: darkslategrey; /* Change border color on hover */
     256    background-color: white;
     257    border-color: darkslategrey;
    252258}
    253259.footer-left p img{
     
    272278}
    273279
    274 
    275 /*login*/
    276 
    277280.popup {
    278     display: none; /* Hide the form */
    279     position: fixed; /* Position it relative to the viewport */
    280     z-index: 2; /* Ensure it appears above other content */
     281    display: none;
     282    position: fixed;
     283    z-index: 2;
    281284    left: 50%;
    282285    top: 50%;
    283     transform: translate(-50%, -50%); /* Center it horizontally and vertically */
    284     width: 500px; /* Set a fixed width for the form */
    285     padding: 25px; /* Add some padding */
    286     background-color: white; /* Background color of the form */
    287     box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* Add a shadow for better visibility */
    288     border-radius: 10px; /* Slightly round the corners */
    289 }
    290 
    291 /* Style the close button */
     286    transform: translate(-50%, -50%);
     287    width: 500px;
     288    height: auto;
     289    padding: 25px;
     290    background-color: white;
     291    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
     292    border-radius: 10px;
     293    font-family: "Kumbh Sans", sans-serif;
     294}
     295
    292296.popup .close-btn {
    293297    position: absolute;
     
    297301    cursor: pointer;
    298302}
    299 
    300 /* Add some basic styling for the form content */
     303#submit-btn{
     304    width: 120px;
     305    background-color: #10B981;
     306}
     307#loginForm > div > h2{
     308    text-align: center;
     309}
     310
    301311.popup-content {
    302     display: flex; /* Use flexbox for layout */
    303     flex-direction: column; /* Stack children vertically */
    304     align-items: stretch; /* Ensure all elements take the full width */
    305     text-align: center; /* Center the content */
     312    padding: 20px;
     313    width: 100%;
     314    display: flex;
     315    flex-direction: column;
     316    align-items: stretch;
    306317}
    307318
    308319.popup-content h2 {
    309     margin-bottom: 20px; /* Add some space below the title */
     320    margin-bottom: 20px;
    310321}
    311322
    312323.popup-content label {
    313     display: block; /* Make the labels block elements */
    314     margin-bottom: 10px; /* Add some space below the labels */
    315     text-align: left; /* Align the text to the left */
     324    display: block;
     325    margin-bottom: 10px;
     326    text-align: left;
    316327}
    317328
    318329.popup-content input {
    319     width: 100%; /* Make the inputs take up the full width */
    320     padding: 8px; /* Add some padding inside the inputs */
    321     margin-bottom: 20px; /* Add space below the inputs */
    322     border: 1px solid #ccc; /* Light border around inputs */
    323     border-radius: 5px; /* Slightly round the input corners */
     330    width: 100%;
     331    padding: 8px;
     332    margin-bottom: 20px;
     333    border: 1px solid #ccc;
     334    border-radius: 5px;
    324335}
    325336
    326337.popup-content button {
    327     padding: 10px 20px; /* Add padding to the button */
    328     background-color: #007BFF; /* Button background color */
    329     color: white; /* Button text color */
    330     border: none; /* Remove the default border */
    331     border-radius: 5px; /* Round the button corners */
    332     cursor: pointer; /* Add a pointer cursor on hover */
     338    padding: 10px 20px;
     339    background-color: #007BFF;
     340    color: white;
     341    border: none;
     342    border-radius: 5px;
     343    cursor: pointer;
    333344}
    334345
    335346.popup-content button:hover {
    336     background-color: #0056b3; /* Darken the button on hover */
     347    background-color: #0056b3;
    337348}
    338349body.no-scroll {
     
    340351}
    341352.dataForms{
    342     display: flex; /* Use flexbox for layout */
    343     flex-direction: column; /* Stack children vertically */
    344     align-items: stretch; /* Ensure all elements take the full width */
    345     text-align: center; /* Center the content */
    346 }
     353    display: flex;
     354    flex-direction: column;
     355    align-items: stretch;
     356    text-align: center;
     357
     358}
     359#links{
     360    padding: 10px;
     361    display: flex;
     362    flex-direction: column;
     363    gap: 5px;
     364    color: darkgreen;
     365}
     366.logged-in{
     367    position: absolute;
     368    left: 900px;
     369    padding: 30px;
     370}
     371a img{
     372    transform: rotate(-90deg);
     373    height: 20px;
     374    margin-right: 10px;
     375}
     376#signInForm{
     377    height: 500px;
     378    width: 700px;
     379}
     380#signInForm > div > form{
     381    display: grid;
     382    grid-template-columns: repeat(2, 1fr);
     383    grid-template-rows: repeat(3, 1fr);
     384    gap: 10px;
     385}
     386#authButton{
     387    position: absolute;
     388    left: 1145px;
     389    top: 21px;
     390    width: 150px;
     391    color: white;
     392    background-color: red;
     393    padding: 10px;
     394    border: none;
     395    border-radius: 5px;
     396}
     397
     398#create{
     399    width: 200px;
     400    padding: 15px;
     401    background-color: #10B981;
     402    position: absolute;
     403    top: 80%;
     404    left: 50%;
     405    transform: translate(-50%, -50%);
     406    margin-top: 20px;
     407}
Note: See TracChangeset for help on using the changeset viewer.