main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 2 weeks ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
2.1 KB
|
Rev | Line | |
---|
[0c6b92a] | 1 | /* Modal Overlay */
|
---|
| 2 | .modalOverlay {
|
---|
| 3 | position: fixed;
|
---|
| 4 | top: 0;
|
---|
| 5 | left: 0;
|
---|
| 6 | width: 100vw;
|
---|
| 7 | height: 100vh;
|
---|
| 8 | background-color: rgba(0, 0, 0, 0.6);
|
---|
| 9 | display: flex;
|
---|
| 10 | justify-content: center;
|
---|
| 11 | align-items: center;
|
---|
| 12 | z-index: 1000;
|
---|
| 13 | backdrop-filter: blur(5px);
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | /* Modal Content */
|
---|
| 17 | .modalContent {
|
---|
| 18 | background-color: #fff;
|
---|
| 19 | padding: 2rem;
|
---|
| 20 | border-radius: 12px;
|
---|
| 21 | width: 400px;
|
---|
| 22 | max-width: 90%;
|
---|
| 23 | box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
|
---|
| 24 | animation: fadeIn 0.3s ease-out;
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | /* Modal Title */
|
---|
| 28 | .title {
|
---|
| 29 | color: #333;
|
---|
| 30 | text-transform: uppercase;
|
---|
| 31 | font-size: 1.5rem;
|
---|
| 32 | margin-bottom: 1rem;
|
---|
| 33 | text-align: center;
|
---|
| 34 | }
|
---|
| 35 |
|
---|
| 36 | /* Modal Buttons Container */
|
---|
| 37 | .modalButtons {
|
---|
| 38 | display: flex;
|
---|
| 39 | justify-content: space-between;
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 | /* Submit Button */
|
---|
| 43 | .modalSubmitButton {
|
---|
| 44 | padding: 0.8rem 1.5rem;
|
---|
| 45 | font-size: 1rem;
|
---|
| 46 | font-weight: bold;
|
---|
| 47 | border: none;
|
---|
| 48 | border-radius: 8px;
|
---|
| 49 | cursor: pointer;
|
---|
| 50 | background-color: #007bff;
|
---|
| 51 | color: white;
|
---|
| 52 | transition: background-color 0.3s, transform 0.2s;
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | .modalSubmitButton:hover {
|
---|
| 56 | background-color: #0056b3;
|
---|
| 57 | transform: scale(1.05);
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | /* Cancel Button */
|
---|
| 61 | .modalCancelButton {
|
---|
| 62 | padding: 0.8rem 1.5rem;
|
---|
| 63 | font-size: 1rem;
|
---|
| 64 | font-weight: bold;
|
---|
| 65 | border: none;
|
---|
| 66 | border-radius: 8px;
|
---|
| 67 | cursor: pointer;
|
---|
| 68 | background-color: #f1f1f1;
|
---|
| 69 | color: #333;
|
---|
| 70 | transition: background-color 0.3s, transform 0.2s;
|
---|
| 71 | }
|
---|
| 72 |
|
---|
| 73 | .modalCancelButton:hover {
|
---|
| 74 | background-color: #e0e0e0;
|
---|
| 75 | transform: scale(1.05);
|
---|
| 76 | }
|
---|
| 77 |
|
---|
| 78 | /* Form Data */
|
---|
| 79 | .formData {
|
---|
| 80 | display: flex;
|
---|
| 81 | flex-direction: column;
|
---|
| 82 | gap: 1rem;
|
---|
| 83 | }
|
---|
| 84 |
|
---|
| 85 | label {
|
---|
| 86 | font-size: 0.9rem;
|
---|
| 87 | color: #666;
|
---|
| 88 | margin-bottom: 0.5rem;
|
---|
| 89 | display: block;
|
---|
| 90 | }
|
---|
| 91 |
|
---|
| 92 | input {
|
---|
| 93 | padding: 0.7rem;
|
---|
| 94 | font-size: 1rem;
|
---|
| 95 | border: 1px solid #ddd;
|
---|
| 96 | border-radius: 8px;
|
---|
| 97 | outline: none;
|
---|
| 98 | transition: border-color 0.3s;
|
---|
| 99 | }
|
---|
| 100 |
|
---|
| 101 | input:focus {
|
---|
| 102 | border-color: #007bff;
|
---|
| 103 | box-shadow: 0px 0px 4px rgba(0, 123, 255, 0.5);
|
---|
| 104 | }
|
---|
| 105 |
|
---|
| 106 | /* Fade In Animation */
|
---|
| 107 | @keyframes fadeIn {
|
---|
| 108 | from {
|
---|
| 109 | opacity: 0;
|
---|
| 110 | transform: scale(0.9);
|
---|
| 111 | }
|
---|
| 112 | to {
|
---|
| 113 | opacity: 1;
|
---|
| 114 | transform: scale(1);
|
---|
| 115 | }
|
---|
| 116 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.