main
Last change
on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
Pred 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 | margin-top: 1.5rem;
|
---|
| 39 | display: flex;
|
---|
| 40 | justify-content: space-between;
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | /* Submit Button */
|
---|
| 44 | .modalSubmitButton {
|
---|
| 45 | padding: 0.8rem 1.5rem;
|
---|
| 46 | font-size: 1rem;
|
---|
| 47 | font-weight: bold;
|
---|
| 48 | border: none;
|
---|
| 49 | border-radius: 8px;
|
---|
| 50 | cursor: pointer;
|
---|
| 51 | background-color: #007bff;
|
---|
| 52 | color: white;
|
---|
| 53 | transition: background-color 0.3s, transform 0.2s;
|
---|
| 54 | }
|
---|
| 55 |
|
---|
| 56 | .modalSubmitButton:hover {
|
---|
| 57 | background-color: #0056b3;
|
---|
| 58 | transform: scale(1.05);
|
---|
| 59 | }
|
---|
| 60 |
|
---|
| 61 | /* Cancel Button */
|
---|
| 62 | .modalCancelButton {
|
---|
| 63 | padding: 0.8rem 1.5rem;
|
---|
| 64 | font-size: 1rem;
|
---|
| 65 | font-weight: bold;
|
---|
| 66 | border: none;
|
---|
| 67 | border-radius: 8px;
|
---|
| 68 | cursor: pointer;
|
---|
| 69 | background-color: #f1f1f1;
|
---|
| 70 | color: #333;
|
---|
| 71 | transition: background-color 0.3s, transform 0.2s;
|
---|
| 72 | }
|
---|
| 73 |
|
---|
| 74 | .modalCancelButton:hover {
|
---|
| 75 | background-color: #e0e0e0;
|
---|
| 76 | transform: scale(1.05);
|
---|
| 77 | }
|
---|
| 78 |
|
---|
| 79 | /* Form Data */
|
---|
| 80 | .formData {
|
---|
| 81 | display: flex;
|
---|
| 82 | flex-direction: column;
|
---|
| 83 | gap: 1rem;
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | label {
|
---|
| 87 | font-size: 0.9rem;
|
---|
| 88 | color: #666;
|
---|
| 89 | margin-bottom: 0.5rem;
|
---|
| 90 | display: block;
|
---|
| 91 | }
|
---|
| 92 |
|
---|
| 93 | input {
|
---|
| 94 | padding: 0.7rem;
|
---|
| 95 | font-size: 1rem;
|
---|
| 96 | border: 1px solid #ddd;
|
---|
| 97 | border-radius: 8px;
|
---|
| 98 | outline: none;
|
---|
| 99 | transition: border-color 0.3s;
|
---|
| 100 | }
|
---|
| 101 |
|
---|
| 102 | input:focus {
|
---|
| 103 | border-color: #007bff;
|
---|
| 104 | box-shadow: 0px 0px 4px rgba(0, 123, 255, 0.5);
|
---|
| 105 | }
|
---|
| 106 |
|
---|
| 107 | /* Fade In Animation */
|
---|
| 108 | @keyframes fadeIn {
|
---|
| 109 | from {
|
---|
| 110 | opacity: 0;
|
---|
| 111 | transform: scale(0.9);
|
---|
| 112 | }
|
---|
| 113 | to {
|
---|
| 114 | opacity: 1;
|
---|
| 115 | transform: scale(1);
|
---|
| 116 | }
|
---|
| 117 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.