Marthee commited on
Commit
1ed1392
·
verified ·
1 Parent(s): d7d4ddb

Update static/popups.css

Browse files
Files changed (1) hide show
  1. static/popups.css +105 -29
static/popups.css CHANGED
@@ -1,6 +1,51 @@
1
- .mpopup ,.overlay{
2
- display: none;
3
  position: fixed;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  z-index: 1;
5
  padding-top: 100px;
6
  left: 0;
@@ -8,22 +53,23 @@
8
  width: 100%;
9
  height: 100%;
10
  overflow: auto;
11
- background-color: rgb(0,0,0);
12
- background-color: rgba(0,0,0,0.4);
13
  }
14
- .modal-content ,.popup{
 
 
15
  position: relative;
16
  background-color: #fff;
17
  margin: auto;
18
  padding: 0;
19
- width: 450px;
20
- box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
21
- -webkit-animation-name: animatetop;
22
- -webkit-animation-duration: 0.4s;
23
- animation-name: animatetop;
24
- animation-duration: 0.4s;
25
  border-radius: 0.3rem;
26
  }
 
 
27
  .modal-header {
28
  padding: 2px 12px;
29
  background-color: #ffffff;
@@ -31,18 +77,30 @@
31
  border-bottom: 1px solid #e9ecef;
32
  border-top-left-radius: 0.3rem;
33
  border-top-right-radius: 0.3rem;
 
 
 
 
 
 
34
  }
35
- .modal-header h2{
36
- font-size: 1.25rem;
37
- margin-top: 14px;
38
- margin-bottom: 14px;
 
 
39
  color: maroon;
40
  }
 
 
41
  .modal-body {
42
- padding: 2px 12px;
43
- height: auto;
44
  }
45
- #modal-bodyText{
 
 
46
  font-family: "acumin-pro", sans-serif;
47
  font-weight: 400;
48
  font-style: normal;
@@ -87,9 +145,25 @@
87
  text-decoration: none;
88
  cursor: pointer;
89
  }
90
-
 
 
 
 
 
 
 
 
 
 
 
91
  .text-right{
92
- text-align: center;
 
 
 
 
 
93
  }
94
  .dialog-btn#confirm{
95
  background-color:#098815;
@@ -100,18 +174,20 @@
100
  .dialog-btn {
101
  color: white;
102
  font-weight: 600;
 
103
  border: none;
104
  border-radius: 5px;
105
  height: 30px;
106
- width: 30%;
107
  }
108
 
109
  .dialog-btn#confirm:hover{
110
- background-color:#05470c;
111
- cursor: pointer;
112
- }
113
-
114
- .dialog-btn#cancel:hover{
115
- background-color:#430505;
116
- cursor: pointer;
117
- }
 
 
1
+ .mpopuppassword {
2
+ display: none; /* Ensure popup is hidden by default */
3
  position: fixed;
4
+ top: 0;
5
+ left: 0;
6
+ width: 100%;
7
+ height: 100%;
8
+ background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
9
+ backdrop-filter: blur(10px); /* Apply blur effect to the background */
10
+ -webkit-backdrop-filter: blur(5px); /* For Safari support */
11
+ justify-content: center;
12
+ align-items: center;
13
+ }
14
+ /* Styling for the error message */
15
+ .error-message {
16
+ display: none;
17
+ background-color: #f44336;
18
+ color: white;
19
+ padding: 10px;
20
+ margin-top: 10px;
21
+ text-align: center;
22
+ border-radius: 5px;
23
+ }
24
+ #submitBtn{
25
+ background-color: #16c72e;
26
+ border: none;
27
+ padding: 10px 30px; /*102*/
28
+ cursor: pointer;
29
+ border-radius: 5px;
30
+ margin-left: 3px;
31
+ font-family: "acumin-pro", sans-serif;
32
+ font-weight: bold;
33
+ font-style: normal;
34
+ font-size: 14px;
35
+ color:white;
36
+ float : right;
37
+ display:inline-block;
38
+ }
39
+ .modal-contentpassword {
40
+ background: white;
41
+ padding: 20px;
42
+ border-radius: 8px;
43
+ }
44
+
45
+ /* Modal Overlay */
46
+ .mpopup, .overlay {
47
+ display: none;
48
+ position: absolute;
49
  z-index: 1;
50
  padding-top: 100px;
51
  left: 0;
 
53
  width: 100%;
54
  height: 100%;
55
  overflow: auto;
56
+ background-color: rgba(0, 0, 0, 0.4);
 
57
  }
58
+
59
+ /* Modal Content */
60
+ .modal-content, .popup {
61
  position: relative;
62
  background-color: #fff;
63
  margin: auto;
64
  padding: 0;
65
+ overflow: visible;
66
+ display: block;
67
+ box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
68
+ animation: animatetop 0.4s;
 
 
69
  border-radius: 0.3rem;
70
  }
71
+
72
+ /* Modal Header */
73
  .modal-header {
74
  padding: 2px 12px;
75
  background-color: #ffffff;
 
77
  border-bottom: 1px solid #e9ecef;
78
  border-top-left-radius: 0.3rem;
79
  border-top-right-radius: 0.3rem;
80
+
81
+ cursor: move;
82
+ cursor: grab;
83
+ &:active {
84
+ cursor: grabbing;
85
+ }
86
  }
87
+
88
+
89
+ .modal-header h2 {
90
+ font-size: 14px;
91
+ font-family: "acumin-pro", sans-serif;
92
+ margin: 14px 0;
93
  color: maroon;
94
  }
95
+
96
+ /* Modal Body */
97
  .modal-body {
98
+ padding: 2px 15px;
99
+ overflow: visible; /* Ensure tooltip is not clipped */
100
  }
101
+
102
+
103
+ #modal-bodyText ,#enterPText{
104
  font-family: "acumin-pro", sans-serif;
105
  font-weight: 400;
106
  font-style: normal;
 
145
  text-decoration: none;
146
  cursor: pointer;
147
  }
148
+ #passwordField{
149
+ font-size: 12px;
150
+ width: 310px;
151
+ height: 33px;
152
+ border-radius: 1px;
153
+ border-color:#646060;
154
+ margin-bottom: 3px;
155
+ margin-right: 0.2%;
156
+ font-family: "acumin-pro", sans-serif;
157
+ font-weight: 400;
158
+ font-style: normal;
159
+ }
160
  .text-right{
161
+ text-align: right;
162
+ float: right;
163
+ margin-top: -14px;
164
+ margin-bottom: 50px;
165
+ margin-right: 27px;
166
+
167
  }
168
  .dialog-btn#confirm{
169
  background-color:#098815;
 
174
  .dialog-btn {
175
  color: white;
176
  font-weight: 600;
177
+ font-size: 12px;
178
  border: none;
179
  border-radius: 5px;
180
  height: 30px;
181
+ width: 50px;
182
  }
183
 
184
  .dialog-btn#confirm:hover{
185
+ box-shadow: 0 0 8px 2px #098815;
186
+ color:black;
187
+ cursor: pointer;
188
+ }
189
+ .dialog-btn#cancel:hover{
190
+ box-shadow: 0 0 8px 2px #880909;
191
+ color:black;
192
+ cursor: pointer;
193
+ }