Changeset 43c9090 for src/main/resources/static/css/index.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/index.css
r743de55 r43c9090 66 66 67 67 .dropdown-content { 68 display: none; /* Hide dropdown by default */69 position: absolute; /* Position relative to the list item */68 display: none; 69 position: absolute; 70 70 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%; 77 77 } 78 78 .icon-search{ … … 98 98 justify-content: center; 99 99 height: 350px; 100 /*background-color: #F3F0E7;*/101 100 background-color: #F7F7F5; 102 101 } … … 108 107 .items-register{ 109 108 font-family: "Kumbh Sans", sans-serif; 109 position: absolute; 110 left: 900px; 110 111 } 111 112 .items-register p{ … … 117 118 } 118 119 119 . items-register{120 display: flex;120 .form-imp{ 121 display: flex; 121 122 flex-direction: column; 122 123 align-items: center; 123 /*background-color: #F3F0E7;*/124 }125 126 .form-imp{127 display: flex;128 flex-direction: column;129 align-items: center;130 124 width: auto; 131 125 padding: 10px; 132 126 } 133 127 input , 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; 137 131 } 138 132 button{ … … 140 134 color:white; 141 135 } 136 #personalised{ 137 font-size: xx-large; 138 font-family: "Caveat", cursive; 139 } 142 140 .white-part{ 141 display: flex; 142 flex-direction: column; 143 143 background-color: white; 144 144 width: 415px; 145 145 border-radius: 5px; 146 padding: 7px; 146 padding: 20px; 147 } 148 a { 149 text-decoration: none; 150 } 151 .logged-in{ 152 padding: 20px; 153 font-family: "Kumbh Sans", sans-serif; 147 154 } 148 155 .split-title{ … … 179 186 align-items: center; 180 187 background-color: #F7F7F5; 181 /*background-color: #F3F0E7;*/182 188 } 183 189 .part2 > div{ … … 187 193 } 188 194 .part2 > div:first-child { 189 justify-content: flex-end; /* Align the content to the right */195 justify-content: flex-end; 190 196 } 191 197 … … 217 223 background-color: transparent; 218 224 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; 226 232 } 227 233 … … 248 254 } 249 255 .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; 252 258 } 253 259 .footer-left p img{ … … 272 278 } 273 279 274 275 /*login*/276 277 280 .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; 281 284 left: 50%; 282 285 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 292 296 .popup .close-btn { 293 297 position: absolute; … … 297 301 cursor: pointer; 298 302 } 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 301 311 .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; 306 317 } 307 318 308 319 .popup-content h2 { 309 margin-bottom: 20px; /* Add some space below the title */320 margin-bottom: 20px; 310 321 } 311 322 312 323 .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; 316 327 } 317 328 318 329 .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; 324 335 } 325 336 326 337 .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; 333 344 } 334 345 335 346 .popup-content button:hover { 336 background-color: #0056b3; /* Darken the button on hover */347 background-color: #0056b3; 337 348 } 338 349 body.no-scroll { … … 340 351 } 341 352 .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 } 371 a 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.