apply patch
This commit is contained in:
@@ -8,44 +8,28 @@ page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 20px;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin-bottom: 20px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.button-group {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.detect-button{
|
||||
width: 30%;
|
||||
height: 35px;
|
||||
font-size: 12px;
|
||||
line-height: 35px;
|
||||
background: linear-gradient(90deg, #8d72d2, #7183f3);
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
box-shadow: 0 4px 10px rgba(141, 114, 210, 0.4);
|
||||
transition: background 0.3s, transform 0.3s;
|
||||
margin-bottom: 30px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.detect-button:hover {
|
||||
background: linear-gradient(90deg, #664da5, #4e66d8);
|
||||
|
||||
.title {
|
||||
font-size: 24px;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.active {
|
||||
border: 1px solid #fff;
|
||||
.subtitle {
|
||||
font-size: 14px;
|
||||
color: #a790e2;
|
||||
}
|
||||
|
||||
.input-area {
|
||||
.form-area {
|
||||
width: 100%;
|
||||
background-color: #222238;
|
||||
box-shadow: 0 4px 10px rgba(141, 114, 210, 0.4);
|
||||
@@ -55,150 +39,225 @@ page {
|
||||
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: 15px;
|
||||
padding: 12px 15px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 5px;
|
||||
width: 100%;
|
||||
height: 230px;
|
||||
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 {
|
||||
.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: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.copy-button, .modify-button ,.detect-button, .clear-button{
|
||||
width: 30%;
|
||||
|
||||
.submit-button, .clear-button {
|
||||
width: 48%;
|
||||
height: 40px;
|
||||
box-sizing: border-box;
|
||||
background: linear-gradient(90deg, #8d72d2, #7183f3);
|
||||
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;
|
||||
}
|
||||
|
||||
.copy-button:hover, .modify-button:hover {
|
||||
.submit-button {
|
||||
background: linear-gradient(90deg, #8d72d2, #7183f3);
|
||||
}
|
||||
|
||||
.submit-button:hover {
|
||||
background: linear-gradient(90deg, #664da5, #4e66d8);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.result-area {
|
||||
.clear-button {
|
||||
background: linear-gradient(90deg, #666, #888);
|
||||
}
|
||||
|
||||
.clear-button:hover {
|
||||
background: linear-gradient(90deg, #555, #777);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.disclaimer {
|
||||
margin-top: 20px;
|
||||
background: linear-gradient(135deg, #a3a3df, #eaeaf5); /* 浅色渐变背景 */
|
||||
width: 90%;
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 添加轻微阴影效果 */
|
||||
margin-bottom: 20px;
|
||||
border: 1px solid #ddd; /* 增加边框 */
|
||||
}
|
||||
.text-counter{
|
||||
background: rgba(167, 144, 226, 0.1);
|
||||
border-radius: 5px;
|
||||
color: #a790e2;
|
||||
font-size: 12px;
|
||||
color: white;
|
||||
text-align: left;
|
||||
margin:2px;
|
||||
}
|
||||
.error-text {
|
||||
color: red;
|
||||
margin-left: 60px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* 报告容器样式 */
|
||||
.report-container {
|
||||
width: 95%;
|
||||
background-color: #f5f8ff;
|
||||
padding: 20rpx;
|
||||
border-radius: 15rpx;
|
||||
box-shadow: 0rpx 5rpx 15rpx rgba(0, 0, 0, 0.1);
|
||||
margin-top: 20rpx;
|
||||
margin-bottom: 45px;
|
||||
.disclaimer text {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
/* 标题样式 */
|
||||
.report-title {
|
||||
font-size: 36rpx;
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin-bottom: 2rpx;
|
||||
}
|
||||
|
||||
/* 检测结果样式 */
|
||||
.result-summary {
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
margin-bottom: 20rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* 合规与不合规文本样式 */
|
||||
.compliant {
|
||||
color: #00b269; /* 绿色 */
|
||||
}
|
||||
|
||||
.non-compliant {
|
||||
color: #ff4d4f; /* 红色 */
|
||||
}
|
||||
|
||||
/* 表格样式 */
|
||||
.result-table {
|
||||
/* 弹窗样式 */
|
||||
.type-selector-modal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
height: 100%;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
/* 表格行样式 */
|
||||
.table-row {
|
||||
.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;
|
||||
padding: 10rpx 0;
|
||||
border-bottom: 1rpx solid #eaeaea;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
border-bottom: 1px solid #a790e2;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
/* 表格头部样式 */
|
||||
.table-header {
|
||||
.modal-title {
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
background-color: #eef1f8;
|
||||
padding: 10rpx 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* 表格单元格样式 */
|
||||
.table-cell {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
font-size: 26rpx;
|
||||
color: #333;
|
||||
padding: 10rpx 0;
|
||||
.modal-close {
|
||||
font-size: 24px;
|
||||
color: #a790e2;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* 底部空白区 */
|
||||
.bottom-space {
|
||||
height: 50rpx;
|
||||
.type-list {
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Disclaimer styling */
|
||||
.disclaimer {
|
||||
margin-top: 20rpx;
|
||||
padding: 10rpx;
|
||||
color: #999;
|
||||
font-size: 22rpx; /* 小号字体 */
|
||||
text-align: center;
|
||||
.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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user