[d565449] | 1 | /* Modal.module.css */
|
---|
| 2 |
|
---|
| 3 | .activeModal {
|
---|
| 4 | overflow-y: hidden; /* Disable scrolling */
|
---|
| 5 | }
|
---|
| 6 |
|
---|
| 7 | .modal,
|
---|
| 8 | .overlay {
|
---|
| 9 | position: fixed;
|
---|
| 10 | top: 0;
|
---|
| 11 | left: 0;
|
---|
| 12 | width: 100vw;
|
---|
| 13 | height: 100vh;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | .overlay {
|
---|
| 17 | background: rgba(0, 0, 0, 0.7); /* Darken the background */
|
---|
| 18 | backdrop-filter: blur(5px); /* Optional blur effect */
|
---|
| 19 | z-index: 999;
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | .modalContent {
|
---|
| 23 | position: absolute;
|
---|
| 24 | top: 50%;
|
---|
| 25 | left: 50%;
|
---|
| 26 | transform: translate(-50%, -50%);
|
---|
| 27 | background-color: #2c2f33; /* Darker background for modal content */
|
---|
| 28 | color: #ffffff; /* White text for contrast */
|
---|
| 29 | padding: 20px;
|
---|
| 30 | border-radius: 8px;
|
---|
| 31 | max-width: 600px;
|
---|
| 32 | width: 100%;
|
---|
| 33 | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
---|
| 34 | z-index: 1000;
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | h2 {
|
---|
| 38 | margin-bottom: 15px;
|
---|
| 39 | color: #ffffff; /* White text for the heading */
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 | .btnModal {
|
---|
| 43 | width: 70px;
|
---|
| 44 | height: 70px;
|
---|
| 45 | background-color: transparent;
|
---|
| 46 | border: none;
|
---|
| 47 | border-radius: 50%;
|
---|
| 48 | cursor: pointer;
|
---|
| 49 | margin: 0px;
|
---|
| 50 | display: flex;
|
---|
| 51 | justify-content: center;
|
---|
| 52 | align-items: center;
|
---|
| 53 | background-image: url("../../assets/help_icon.png");
|
---|
| 54 | background-size: 60%;
|
---|
| 55 | background-position: center;
|
---|
| 56 | background-repeat: no-repeat;
|
---|
| 57 | transition: transform 0.2s;
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | .btnModal:hover {
|
---|
| 61 | transform: scale(1.1);
|
---|
| 62 | background-color: rgba(255, 255, 255, 0.1);
|
---|
| 63 | }
|
---|
| 64 |
|
---|
| 65 | .btnModal:active {
|
---|
| 66 | transform: scale(0.95);
|
---|
| 67 | }
|
---|
| 68 |
|
---|
| 69 | .iconImage {
|
---|
| 70 | width: 100%;
|
---|
| 71 | height: 100%;
|
---|
| 72 | }
|
---|
| 73 |
|
---|
| 74 | .closeModal {
|
---|
| 75 | position: absolute;
|
---|
| 76 | top: 10px;
|
---|
| 77 | right: 10px;
|
---|
| 78 | padding: 5px 10px;
|
---|
| 79 | background-color: #dc3545;
|
---|
| 80 | color: white;
|
---|
| 81 | border: none;
|
---|
| 82 | border-radius: 5px;
|
---|
| 83 | cursor: pointer;
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | .closeModal:hover {
|
---|
| 87 | background-color: #c82333;
|
---|
| 88 | }
|
---|
| 89 |
|
---|
| 90 | .form {
|
---|
| 91 | display: flex;
|
---|
| 92 | flex-direction: column;
|
---|
| 93 | }
|
---|
| 94 |
|
---|
| 95 | .formGroup {
|
---|
| 96 | margin-bottom: 15px;
|
---|
| 97 | }
|
---|
| 98 |
|
---|
| 99 | .formGroup label {
|
---|
| 100 | display: block;
|
---|
| 101 | margin-bottom: 5px;
|
---|
| 102 | color: #ffffff; /* White text for labels */
|
---|
| 103 | }
|
---|
| 104 |
|
---|
| 105 | .formGroup input,
|
---|
| 106 | .formGroup select,
|
---|
| 107 | .formGroup textarea {
|
---|
| 108 | width: 100%;
|
---|
| 109 | padding: 8px;
|
---|
| 110 | border-radius: 4px;
|
---|
| 111 | border: 1px solid #ccc;
|
---|
| 112 | background-color: #23272a; /* Darker input background */
|
---|
| 113 | color: #ffffff; /* White text inside the input fields */
|
---|
| 114 | }
|
---|
| 115 |
|
---|
| 116 | .formGroup input::placeholder,
|
---|
| 117 | .formGroup textarea::placeholder {
|
---|
| 118 | color: #888888; /* Slightly lighter color for placeholder text */
|
---|
| 119 | }
|
---|
| 120 |
|
---|
| 121 | .formGroup input[type="checkbox"] {
|
---|
| 122 | width: auto;
|
---|
| 123 | margin-right: 10px;
|
---|
| 124 | }
|
---|
| 125 |
|
---|
| 126 | .submitButton {
|
---|
| 127 | background-color: #28a745;
|
---|
| 128 | color: white;
|
---|
| 129 | padding: 10px 20px;
|
---|
| 130 | border: none;
|
---|
| 131 | border-radius: 5px;
|
---|
| 132 | cursor: pointer;
|
---|
| 133 | }
|
---|
| 134 |
|
---|
| 135 | .submitButton:hover {
|
---|
| 136 | background-color: #218838;
|
---|
| 137 | }
|
---|