source: imaps-frontend/src/components/PublishForm/PublishForm.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/* Modal overlay for blur and dark background */
2.modalOverlay {
3 position: fixed;
4 top: 0;
5 left: 0;
6 width: 100%;
7 height: 100%;
8 background-color: rgba(0, 0, 0, 0.6); /* Dark transparent background */
9 backdrop-filter: blur(8px); /* Stronger blur effect */
10 z-index: 999; /* Behind the modal */
11}
12
13.denyReason {
14 display: flex;
15 flex-direction: column;
16 margin-top: 10px;
17 border-radius: 20px;
18}
19.denyReasonTextArea{
20 padding-bottom: 4rem;
21}
22
23.denySubmitButton {
24 color: white;
25 margin-right: 10px;
26}
27
28
29/* Modal styles */
30.modal {
31 position: fixed;
32 top: 50%;
33 left: 50%;
34 transform: translate(-50%, -50%);
35 background-color: #ffffff;
36 border-radius: 12px;
37 box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
38 width: 420px;
39 max-width: 90%;
40 z-index: 1000; /* Above the overlay */
41 padding: 30px;
42 animation: fadeIn 0.3s ease;
43}
44
45/* Modal fade-in animation */
46@keyframes fadeIn {
47 from {
48 opacity: 0;
49 transform: translate(-50%, -55%);
50 }
51 to {
52 opacity: 1;
53 transform: translate(-50%, -50%);
54 }
55}
56
57.modalContent {
58 display: flex;
59 flex-direction: column;
60 align-items: flex-start;
61}
62
63h2 {
64 font-size: 1.8rem;
65 font-weight: 600;
66 margin-bottom: 20px;
67 color: #333333;
68 text-align: center;
69 width: 100%;
70}
71
72/* Input and form styles */
73form {
74 width: 100%;
75}
76
77label {
78 font-size: 1rem;
79 font-weight: 600;
80 margin-bottom: 5px;
81 display: block;
82 color: #555555;
83}
84
85input, select {
86 width: calc(100% - 10px);
87 padding: 10px;
88 margin-bottom: 15px;
89 border: 1px solid #cccccc;
90 border-radius: 6px;
91 font-size: 1rem;
92}
93
94/* Button styles */
95button {
96 background-color: #007bff;
97 color: #ffffff;
98 border: none;
99 border-radius: 6px;
100 padding: 12px 20px;
101 font-size: 1rem;
102 cursor: pointer;
103 transition: background-color 0.3s ease, transform 0.2s;
104}
105
106button:hover {
107 background-color: #0056b3;
108 transform: scale(1.05); /* Slight scaling effect */
109}
110
111.cancelButton {
112 background-color: #dc3545;
113 color: white;
114 border: none;
115 border-radius: 6px;
116 padding: 12px 20px;
117 font-size: 1rem;
118 cursor: pointer;
119 transition: background-color 0.3s ease, transform 0.2s;
120}
121
122.cancelButton:hover {
123 background-color: #a71d2a;
124 transform: scale(1.05); /* Slight scaling effect */
125}
126
127.approveButton {
128 background-color: #28a745;
129 color: white;
130 border: none;
131 border-radius: 6px;
132 padding: 12px 20px;
133 font-size: 1rem;
134 cursor: pointer;
135 transition: background-color 0.3s ease, transform 0.2s;
136}
137
138.approveButton:hover {
139 background-color: #218838;
140 transform: scale(1.05); /* Slight scaling effect */
141}
142
143.denyButton {
144 background-color: #ffc107;
145 color: #212529;
146 border: none;
147 border-radius: 6px;
148 padding: 12px 20px;
149 font-size: 1rem;
150 cursor: pointer;
151 transition: background-color 0.3s ease, transform 0.2s;
152}
153
154.denyButton:hover {
155 background-color: #e0a800;
156 transform: scale(1.05); /* Slight scaling effect */
157}
158
159/* Button group */
160.buttonGroup {
161 display: flex;
162 justify-content: space-between;
163 gap: 15px;
164 margin-top: 20px;
165}
166
167.error {
168 color: #ff0000;
169 font-size: 0.85rem;
170 margin-top: -10px;
171 margin-bottom: 10px;
172}
173
174p {
175 font-size: 1rem;
176 margin: 10px 0;
177 line-height: 1.6;
178}
179
180a {
181 color: #007bff;
182 text-decoration: none;
183 transition: color 0.3s ease;
184}
185
186a:hover {
187 color: #0056b3;
188}
189
190@media (max-width: 480px) {
191 .modal {
192 width: 90%;
193 }
194}
Note: See TracBrowser for help on using the repository browser.