main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
2.1 KB
|
Line | |
---|
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 | padding: 10px 20px;
|
---|
44 | font-size: 18px;
|
---|
45 | background-color: #007bff;
|
---|
46 | color: white;
|
---|
47 | border: none;
|
---|
48 | border-radius: 5px;
|
---|
49 | cursor: pointer;
|
---|
50 | margin: 20px;
|
---|
51 | display: block;
|
---|
52 | }
|
---|
53 |
|
---|
54 | .btnModal:hover {
|
---|
55 | background-color: #0056b3;
|
---|
56 | }
|
---|
57 |
|
---|
58 | .closeModal {
|
---|
59 | position: absolute;
|
---|
60 | top: 10px;
|
---|
61 | right: 10px;
|
---|
62 | padding: 5px 10px;
|
---|
63 | background-color: #dc3545;
|
---|
64 | color: white;
|
---|
65 | border: none;
|
---|
66 | border-radius: 5px;
|
---|
67 | cursor: pointer;
|
---|
68 | }
|
---|
69 |
|
---|
70 | .closeModal:hover {
|
---|
71 | background-color: #c82333;
|
---|
72 | }
|
---|
73 |
|
---|
74 | .form {
|
---|
75 | display: flex;
|
---|
76 | flex-direction: column;
|
---|
77 | }
|
---|
78 |
|
---|
79 | .formGroup {
|
---|
80 | margin-bottom: 15px;
|
---|
81 | }
|
---|
82 |
|
---|
83 | .formGroup label {
|
---|
84 | display: block;
|
---|
85 | margin-bottom: 5px;
|
---|
86 | color: #ffffff; /* White text for labels */
|
---|
87 | }
|
---|
88 |
|
---|
89 | .formGroup input,
|
---|
90 | .formGroup select,
|
---|
91 | .formGroup textarea {
|
---|
92 | width: 100%;
|
---|
93 | padding: 8px;
|
---|
94 | border-radius: 4px;
|
---|
95 | border: 1px solid #ccc;
|
---|
96 | background-color: #23272a; /* Darker input background */
|
---|
97 | color: #ffffff; /* White text inside the input fields */
|
---|
98 | }
|
---|
99 |
|
---|
100 | .formGroup input::placeholder,
|
---|
101 | .formGroup textarea::placeholder {
|
---|
102 | color: #888888; /* Slightly lighter color for placeholder text */
|
---|
103 | }
|
---|
104 |
|
---|
105 | .formGroup input[type="checkbox"] {
|
---|
106 | width: auto;
|
---|
107 | margin-right: 10px;
|
---|
108 | }
|
---|
109 |
|
---|
110 | .submitButton {
|
---|
111 | background-color: #28a745;
|
---|
112 | color: white;
|
---|
113 | padding: 10px 20px;
|
---|
114 | border: none;
|
---|
115 | border-radius: 5px;
|
---|
116 | cursor: pointer;
|
---|
117 | }
|
---|
118 |
|
---|
119 | .submitButton:hover {
|
---|
120 | background-color: #218838;
|
---|
121 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.