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: #2c2f33;
|
---|
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 | .formGroup label {
|
---|
94 | display: block;
|
---|
95 | margin-bottom: 5px;
|
---|
96 | color: #ffffff;
|
---|
97 | }
|
---|
98 |
|
---|
99 | .formGroup input,
|
---|
100 | .formGroup select,
|
---|
101 | .formGroup textarea {
|
---|
102 | width: 100%;
|
---|
103 | padding: 8px;
|
---|
104 | border-radius: 4px;
|
---|
105 | border: 1px solid #ccc;
|
---|
106 | background-color: #23272a;
|
---|
107 | color: #ffffff;
|
---|
108 | }
|
---|
109 |
|
---|
110 | .formGroup input::placeholder,
|
---|
111 | .formGroup textarea::placeholder {
|
---|
112 | color: #888888;
|
---|
113 | }
|
---|
114 |
|
---|
115 | /* Checkbox alignment fix */
|
---|
116 | .formGroupCheckbox {
|
---|
117 |
|
---|
118 | display: flex;
|
---|
119 | flex-direction: row;
|
---|
120 | vertical-align: middle;
|
---|
121 | align-items: flex-end;
|
---|
122 | /*justify-content: start;!* Vertical alignment *!*/
|
---|
123 | /*color: #ffffff;*/
|
---|
124 | }
|
---|
125 |
|
---|
126 | .formGroupCheckbox input{
|
---|
127 | width: 10%;
|
---|
128 | margin-bottom: 0.88em;
|
---|
129 | }
|
---|
130 |
|
---|
131 | /* Add button */
|
---|
132 | .addButton {
|
---|
133 | background-color: #28a745 !important;
|
---|
134 | color: white;
|
---|
135 | padding: 8px 15px;
|
---|
136 | border: none;
|
---|
137 | border-radius: 5px;
|
---|
138 | cursor: pointer;
|
---|
139 | margin-top: 10px;
|
---|
140 | }
|
---|
141 |
|
---|
142 | .addButton:hover {
|
---|
143 | background-color: #218838 !important;
|
---|
144 | }
|
---|
145 |
|
---|
146 | /* Save button styling */
|
---|
147 | .submitButton {
|
---|
148 | background-color: #28a745 !important;
|
---|
149 | color: white;
|
---|
150 | padding: 10px 20px;
|
---|
151 | border: none;
|
---|
152 | border-radius: 5px;
|
---|
153 | cursor: pointer;
|
---|
154 | font-size: 16px;
|
---|
155 | margin-top: 15px;
|
---|
156 | }
|
---|
157 |
|
---|
158 | .submitButton:hover {
|
---|
159 | background-color: #218838;
|
---|
160 | }
|
---|
161 |
|
---|
162 | .pinList {
|
---|
163 | list-style-type: none;
|
---|
164 | padding: 0;
|
---|
165 | margin-top: 15px;
|
---|
166 | }
|
---|
167 |
|
---|
168 | .pinItem {
|
---|
169 | background-color: #444;
|
---|
170 | padding: 8px;
|
---|
171 | margin-bottom: 5px;
|
---|
172 | color: white;
|
---|
173 | border-radius: 5px;
|
---|
174 | display: flex;
|
---|
175 | justify-content: space-between;
|
---|
176 | align-items: center;
|
---|
177 | }
|
---|
178 |
|
---|
179 | .removeButton {
|
---|
180 | background-color: #dc3545;
|
---|
181 | color: white;
|
---|
182 | border: none;
|
---|
183 | padding: 5px 10px;
|
---|
184 | border-radius: 5px;
|
---|
185 | cursor: pointer;
|
---|
186 | }
|
---|
187 |
|
---|
188 | .removeButton:hover {
|
---|
189 | background-color: #c82333;
|
---|
190 | }
|
---|