264 lines
4.0 KiB
Plaintext
264 lines
4.0 KiB
Plaintext
page {
|
|
background-color: #222238;
|
|
border-top: 1px solid hsla(0,31%,87%,.5);
|
|
}
|
|
|
|
.container {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 20px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
width: 100%;
|
|
}
|
|
|
|
.title {
|
|
font-size: 24px;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 14px;
|
|
color: #a790e2;
|
|
}
|
|
|
|
.form-area {
|
|
width: 100%;
|
|
background-color: #222238;
|
|
box-shadow: 0 4px 10px rgba(141, 114, 210, 0.4);
|
|
padding: 20px;
|
|
box-sizing: border-box;
|
|
border-radius: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-item {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.label {
|
|
font-size: 14px;
|
|
color: #fff;
|
|
margin-bottom: 8px;
|
|
display: block;
|
|
}
|
|
|
|
.required {
|
|
color: #ff4d4f;
|
|
}
|
|
|
|
.input-field {
|
|
background: #33334c;
|
|
color: #a790e2;
|
|
padding: 12px 15px;
|
|
box-sizing: border-box;
|
|
border-radius: 5px;
|
|
width: 100%;
|
|
height: 40px;
|
|
border: 1px solid #a790e2;
|
|
outline: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.textarea-field {
|
|
background: #33334c;
|
|
color: #a790e2;
|
|
padding: 12px 15px;
|
|
box-sizing: border-box;
|
|
border-radius: 5px;
|
|
width: 100%;
|
|
height: 120px;
|
|
border: 1px solid #a790e2;
|
|
outline: none;
|
|
resize: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.input-field:hover, .textarea-field:hover {
|
|
border-color: #fff;
|
|
}
|
|
|
|
.type-selector {
|
|
background: #33334c;
|
|
color: #a790e2;
|
|
padding: 0 15px;
|
|
box-sizing: border-box;
|
|
border-radius: 5px;
|
|
width: 100%;
|
|
height: 40px;
|
|
border: 1px solid #a790e2;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.type-selector:hover {
|
|
border-color: #fff;
|
|
}
|
|
|
|
.placeholder {
|
|
color: #999;
|
|
line-height: 1;
|
|
}
|
|
|
|
.selected {
|
|
color: #a790e2;
|
|
line-height: 0.2;
|
|
}
|
|
|
|
.arrow {
|
|
color: #a790e2;
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.button-group {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.submit-button, .clear-button {
|
|
width: 48%;
|
|
height: 40px;
|
|
box-sizing: border-box;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
color: white;
|
|
font-size: 14px;
|
|
line-height: 40px;
|
|
box-shadow: 0 4px 10px rgba(141, 114, 210, 0.4);
|
|
transition: background 0.3s, transform 0.3s;
|
|
}
|
|
|
|
.submit-button {
|
|
background: linear-gradient(90deg, #8d72d2, #7183f3);
|
|
}
|
|
|
|
.submit-button:hover {
|
|
background: linear-gradient(90deg, #664da5, #4e66d8);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.clear-button {
|
|
background: linear-gradient(90deg, #666, #888);
|
|
}
|
|
|
|
.clear-button:hover {
|
|
background: linear-gradient(90deg, #555, #777);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.disclaimer {
|
|
margin-top: 20px;
|
|
padding: 15px;
|
|
background: rgba(167, 144, 226, 0.1);
|
|
border-radius: 5px;
|
|
color: #a790e2;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.disclaimer text {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
/* 弹窗样式 */
|
|
.type-selector-modal {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.modal-mask {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.modal-content {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
background: #222238;
|
|
border-radius: 15px 15px 0 0;
|
|
padding: 20px;
|
|
box-sizing: border-box;
|
|
animation: slideUp 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
transform: translateY(100%);
|
|
}
|
|
to {
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid #a790e2;
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 16px;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.modal-close {
|
|
font-size: 24px;
|
|
color: #a790e2;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.type-list {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.type-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 15px 0;
|
|
border-bottom: 1px solid rgba(167, 144, 226, 0.2);
|
|
}
|
|
|
|
.type-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.type-label {
|
|
font-size: 14px;
|
|
color: #a790e2;
|
|
}
|
|
|
|
.type-check {
|
|
font-size: 16px;
|
|
color: #00b269;
|
|
font-weight: bold;
|
|
}
|
|
|
|
|