You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
240 lines
3.7 KiB
240 lines
3.7 KiB
.container {
|
|
max-width: 480px;
|
|
margin: 0 auto;
|
|
background-color: white;
|
|
min-height: 100vh;
|
|
padding: 20px 20px;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.user-info {
|
|
background-color: #f8f9fa;
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
margin-bottom: 20px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.user-info-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.user-info-title {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
.logout-btn {
|
|
padding: 6px 12px;
|
|
font-size: 14px;
|
|
background-color: #6c757d;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.user-info-content {
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
|
|
.user-info-item {
|
|
margin-bottom: 8px;
|
|
display: block;
|
|
}
|
|
|
|
.user-info-value {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.header-title {
|
|
font-size: 24px;
|
|
color: #28a745;
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
display: block;
|
|
}
|
|
|
|
.header-subtitle {
|
|
font-size: 16px;
|
|
color: #666;
|
|
display: block;
|
|
}
|
|
|
|
.info-box {
|
|
background-color: #f8f9fa;
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
margin: 20px auto;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.info-box-title {
|
|
font-size: 18px;
|
|
color: #333;
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
display: block;
|
|
}
|
|
|
|
.info-box-item {
|
|
font-size: 14px;
|
|
color: #666;
|
|
line-height: 1.5;
|
|
margin-bottom: 8px;
|
|
display: block;
|
|
}
|
|
|
|
.qr-container {
|
|
text-align: center;
|
|
margin: 30px 0;
|
|
}
|
|
|
|
.qr-container-title {
|
|
color: #28a745;
|
|
font-weight: bold;
|
|
margin-bottom: 15px;
|
|
display: block;
|
|
}
|
|
|
|
.qrcode-image {
|
|
width: 300px;
|
|
height: 300px;
|
|
margin: 0 auto;
|
|
background-color: white;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.qrcode-image image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.image-loading,
|
|
.image-error {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.image-loading text,
|
|
.image-error text {
|
|
color: #666;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.qrcode-placeholder {
|
|
width: 300px;
|
|
height: 300px;
|
|
margin: 0 auto;
|
|
background-color: #f0f0f0;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.placeholder-text {
|
|
font-size: 14px;
|
|
color: #999;
|
|
text-align: center;
|
|
}
|
|
|
|
.qr-info {
|
|
margin-top: 15px;
|
|
padding: 10px;
|
|
background-color: #e6f7ee;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.qr-info-title {
|
|
color: #28a745;
|
|
font-weight: 500;
|
|
margin-bottom: 5px;
|
|
display: block;
|
|
}
|
|
|
|
.qr-info-subtitle {
|
|
color: #666;
|
|
font-size: 14px;
|
|
display: block;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
margin: 30px auto;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.action-btn {
|
|
padding: 15px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.action-btn.primary {
|
|
background-color: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
.action-btn.primary:hover {
|
|
background-color: #218838;
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
margin-top: 40px;
|
|
padding: 20px 0;
|
|
font-size: 14px;
|
|
color: #999;
|
|
border-top: 1px solid #f0f0f0;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.container {
|
|
max-width: 100%;
|
|
padding: 15px;
|
|
}
|
|
|
|
.header-title {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.qrcode-image {
|
|
max-width: 250px;
|
|
max-height: 250px;
|
|
}
|
|
}
|
|
|