source: imaps-frontend/src/components/Modals/EntranceModal/EntranceModal.module.css@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 3.5 KB
Line 
1/* Active modal: Disable scrolling when the modal is open */
2.activeModal {
3 overflow-y: hidden; /* Disable scrolling */
4}
5
6/* Modal and overlay styles */
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(255, 255, 255, 0.05);*/
18 z-index: 999;
19}
20
21.draggableHeader {
22 cursor: move;
23 padding: 10px;
24 background-color: #2c2f33;
25 color: #ffffff;
26 border-bottom: 1px solid #444;
27}
28
29
30
31.modalContent {
32 position: absolute;
33 top: 50%;
34 left: 50%;
35 transform: translate(-50%, -50%);
36 background-color: #2c2f33f7;
37 color: #ffffff !important;
38 padding: 20px;
39 border-radius: 8px;
40 max-width: 600px;
41 width: 100%;
42 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
43 z-index: 1000;
44}
45
46
47.title {
48 margin-bottom: 15px;
49 color: #ffffff ;
50}
51
52.btnModal {
53 padding: 10px 20px;
54 font-size: 18px;
55 background-color: #007bff;
56 color: white;
57 border: none;
58 border-radius: 5px;
59 cursor: pointer;
60 margin: 20px;
61 display: block;
62}
63
64.btnModal:hover {
65 background-color: #0056b3;
66}
67
68.closeModal {
69 position: absolute;
70 top: 10px;
71 right: 10px;
72 padding: 5px 10px;
73 background-color: #dc3545;
74 color: white;
75 border: none;
76 border-radius: 5px;
77 cursor: pointer;
78}
79
80.closeModal:hover {
81 background-color: #c82333;
82}
83
84.form {
85 display: flex;
86 flex-direction: column;
87}
88
89.formGroup {
90 margin-bottom: 15px;
91}
92
93/*tuka novo start*/
94
95label {
96 font-size: 16px;
97 font-weight: bold;
98 margin-bottom: 8px;
99}
100
101.customFileInput {
102 position: relative;
103}
104
105.uploadButton {
106 background-color: #007bff;
107 color: white;
108 border: none;
109 padding: 10px 20px;
110 border-radius: 5px;
111 cursor: pointer;
112 font-size: 16px;
113 transition: background-color 0.3s ease;
114}
115
116.uploadButton:hover {
117 background-color: #0056b3;
118}
119
120.uploadButton:focus {
121 outline: none;
122 box-shadow: 0 0 4px rgba(0, 123, 255, 0.6);
123}
124
125.uploadButton:active {
126 background-color: #003f7f;
127}
128
129/*tuka novo end*/
130
131.formGroup label {
132 display: block;
133 margin-bottom: 5px;
134 color: #ffffff;
135}
136
137.formGroup input,
138.formGroup select,
139.formGroup textarea {
140 width: 100%;
141 padding: 8px;
142 border-radius: 4px;
143 border: 1px solid #ccc;
144 background-color: #23272a;
145 color: #ffffff;
146}
147
148.formGroup input::placeholder,
149.formGroup textarea::placeholder {
150 color: #888888;
151}
152
153/* Checkbox alignment fix */
154.formGroupCheckbox {
155
156 display: flex;
157 flex-direction: row;
158 vertical-align: middle;
159 align-items: flex-end;
160 /*justify-content: start;!* Vertical alignment *!*/
161 /*color: #ffffff;*/
162}
163
164.formGroupCheckbox input{
165 width: 10%;
166 margin-bottom: 0.88em;
167}
168
169/* Add button */
170.addButton {
171 background-color: #28a745 !important;
172 color: white;
173 padding: 8px 15px;
174 border: none;
175 border-radius: 5px;
176 cursor: pointer;
177 margin-top: 10px;
178}
179
180.addButton:hover {
181 background-color: #218838 !important;
182}
183
184/* Save button styling */
185.submitButton {
186 background-color: #28a745 !important;
187 color: white;
188 padding: 10px 20px;
189 border: none;
190 border-radius: 5px;
191 cursor: pointer;
192 font-size: 16px;
193 margin-top: 15px;
194}
195
196.submitButton:hover {
197 background-color: #218838;
198}
199
200.pinList {
201 list-style-type: none;
202 padding: 0;
203 margin-top: 15px;
204}
205
206.pinItem {
207 background-color: #444;
208 padding: 8px;
209 margin-bottom: 5px;
210 color: white;
211 border-radius: 5px;
212 display: flex;
213 justify-content: space-between;
214 align-items: center;
215}
216
217.removeButton {
218 background-color: #dc3545;
219 color: white;
220 border: none;
221 padding: 5px 10px;
222 border-radius: 5px;
223 cursor: pointer;
224}
225
226.removeButton:hover {
227 background-color: #c82333;
228}
Note: See TracBrowser for help on using the repository browser.