Last change
on this file since f08e256 was d7b7f00, checked in by Gorazd Biskoski <gorazdbiskoskii@…>, 4 weeks ago |
Add project
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | .modalOverlay {
|
---|
2 | position: fixed;
|
---|
3 | top: 0;
|
---|
4 | left: 0;
|
---|
5 | right: 0;
|
---|
6 | bottom: 0;
|
---|
7 | background-color: rgba(0, 0, 0, 0); /* Start with 0 opacity */
|
---|
8 | display: flex;
|
---|
9 | justify-content: center;
|
---|
10 | align-items: center;
|
---|
11 | z-index: 999; /* Ensure it overlays everything */
|
---|
12 | opacity: 0;
|
---|
13 | transition: opacity 0.3s ease-in-out, background-color 0.3s ease-in-out; /* Smooth fade-in/out */
|
---|
14 | }
|
---|
15 |
|
---|
16 | .modalOverlay.show {
|
---|
17 | background-color: rgba(0, 0, 0, 0.5); /* Transition to semi-transparent background */
|
---|
18 | opacity: 1;
|
---|
19 | }
|
---|
20 |
|
---|
21 | .alertModal {
|
---|
22 | position: fixed;
|
---|
23 | top: 50%;
|
---|
24 | left: 50%;
|
---|
25 | transform: translate(-50%, -50%); /* Center the modal */
|
---|
26 | background-color: #fff;
|
---|
27 | border-radius: 10px;
|
---|
28 | padding: 20px 30px;
|
---|
29 | box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Add a soft shadow */
|
---|
30 | max-width: 500px;
|
---|
31 | text-align: center;
|
---|
32 | z-index: 1000;
|
---|
33 | opacity: 0;
|
---|
34 | transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth fade-in/out */
|
---|
35 | }
|
---|
36 |
|
---|
37 | .alertModal.show {
|
---|
38 | opacity: 1;
|
---|
39 | }
|
---|
40 |
|
---|
41 | .alertModal h3 {
|
---|
42 | font-size: 24px;
|
---|
43 | color: #333;
|
---|
44 | margin-bottom: 15px;
|
---|
45 | }
|
---|
46 |
|
---|
47 | .alertModal p {
|
---|
48 | font-size: 16px;
|
---|
49 | color: #666;
|
---|
50 | margin-bottom: 20px;
|
---|
51 | }
|
---|
52 |
|
---|
53 | .closeButton {
|
---|
54 | background-color: #e0a500;
|
---|
55 | color: #fff;
|
---|
56 | padding: 10px 20px;
|
---|
57 | border: none;
|
---|
58 | border-radius: 5px;
|
---|
59 | cursor: pointer;
|
---|
60 | font-size: 16px;
|
---|
61 | transition: background-color 0.3s ease;
|
---|
62 | }
|
---|
63 |
|
---|
64 | .closeButton:hover {
|
---|
65 | background-color: #cc8b00;
|
---|
66 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.