-
Notifications
You must be signed in to change notification settings - Fork 0
/
10-12.error_pw_lightbox.html
218 lines (172 loc) · 6.05 KB
/
10-12.error_pw_lightbox.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>會員系統-會員資料修改(密碼輸入錯誤) 光箱測試版</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"
integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<!-- Google font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Kaisei+Opti:wght@400;500;700&family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap"
rel="stylesheet">
<!-- Fontawesome -->
<link rel="stylesheet" href="./fontawesome/css/all.css">
<!-- 連結主要的css檔 -->
<!-- <link rel="stylesheet" href="./css/Vtuber_main.css"> -->
<style>
.error-pw {
/* width: 350vh; */
width: 100vw;
height: 150vh;
position: fixed;
background-color: rgb(0, 0, 0, 0.3);
z-index: 3;
/* outline: 1px solid red; */
}
.error-pw-wrap {
width: 95%;
height: 280px;
background-color: #fff;
border-radius: 5px;
position: fixed;
top: 0;
bottom: 0;
margin: auto;
left: 0;
right: 0;
text-align: center;
}
.error-pw-name {
/* outline: 1px solid red; */
color: #000;
margin-top: 35px;
}
.error-pw-name p {
font-size: 20px;
font-weight: 500;
margin-bottom: 0;
padding-left: 10px;
padding-right: 10px;
}
.error-pw-text {
/* outline: 1px solid red; */
font-size: 14px;
color: #667080;
padding-left: 30px;
padding-right: 30px;
padding-top: 35px;
line-height: 25px;
}
/* 按鈕 */
.checkout {
height: auto;
/* outline: 1px solid red; */
display: flex;
justify-content: center;
}
.checkout button {
border: 0;
margin-top: 35px;
margin-left: 15px;
margin-right: 15px;
padding: 13px 24px;
background-color: #D3B572;
color: #fff;
font-size: 16px;
border-radius: 6px;
padding: 8px 24px;
}
.checkout button:hover {
background-color: #667080;
}
/* 關閉叉叉按鈕 */
.error-pw-close {
width: 30px;
height: 30px;
position: absolute;
right: 10px;
top: 10px;
}
.error-pw-close svg {
width: 20px;
height: 20px;
}
.hide {
display: none;
}
/* ---RWD桌機版:1920px--- */
@media screen and (min-width: 1600px) {
.error-pw-wrap {
/* outline: 1px solid red; */
width: 25%;
height: 300px;
}
.error-pw-name p {
font-size: 24px;
margin-bottom: 0;
padding-left: 20px;
padding-right: 20px;
}
.error-pw-text {
/* outline: 1px solid red; */
font-size: 16px;
padding-top: 50px;
}
.checkout button {
margin-top: 50px;
}
}
</style>
</head>
<body>
<div class="error-pw">
<div class="error-pw-wrap">
<div class="error-pw-name d-flex justify-content-center align-items-center">
<svg width="47" height="47" viewBox="0 0 47 47" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M15.3928 3.91666H31.6078L43.0837 15.3925V31.6075L31.6078 43.0833H15.3928L3.91699 31.6075V15.3925L15.3928 3.91666Z"
stroke="#D3B572" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
<path d="M23.5 15.6667V23.5" stroke="#D3B572" stroke-width="3" stroke-linecap="round"
stroke-linejoin="round" />
<path d="M23.5 31.3333H23.5196" stroke="#D3B572" stroke-width="3" stroke-linecap="round"
stroke-linejoin="round" />
</svg>
<p>提示訊息</p>
</div>
<div class="error-pw-text">
密碼輸入錯誤!
</div>
<div class="error-pw-main">
<!-- 按鈕 -->
<div class="error-pw-btn">
<div class="checkout">
<button class="">確定</button>
</div>
</div>
</div>
<!-- 關閉叉叉按鈕 -->
<div class="error-pw-close">
<svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M25.5 8.5L8.5 25.5" stroke="#667080" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" />
<path d="M8.5 8.5L25.5 25.5" stroke="#667080" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" />
</svg>
</div>
</div>
</div>
<script src="./js/jquery-3.6.0.js"></script>
<script src="./bootstrap-4.2.1-dist/js/bootstrap.bundle.js"></script>
<script>
$('.error-pw-close').click(function () {
console.log('hi');
$('.error-pw').addClass('hide');
})
</script>
</body>
</html>