205 lines
3.6 KiB
Plaintext
205 lines
3.6 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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.detect-button:hover {
|
|
background: linear-gradient(90deg, #664da5, #4e66d8);
|
|
|
|
}
|
|
|
|
.active {
|
|
border: 1px solid #fff;
|
|
}
|
|
|
|
.input-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;
|
|
}
|
|
|
|
.input-field {
|
|
background: #33334c;
|
|
color: #a790e2;
|
|
padding: 15px;
|
|
box-sizing: border-box;
|
|
border-radius: 5px;
|
|
width: 100%;
|
|
height: 230px;
|
|
border: 1px solid #a790e2;
|
|
outline: none;
|
|
resize: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.input-field:hover {
|
|
border-color: #fff;
|
|
}
|
|
|
|
.button-group {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.copy-button, .modify-button ,.detect-button, .clear-button{
|
|
width: 30%;
|
|
|
|
box-sizing: border-box;
|
|
background: linear-gradient(90deg, #8d72d2, #7183f3);
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
color: white;
|
|
font-size: 14px;
|
|
|
|
box-shadow: 0 4px 10px rgba(141, 114, 210, 0.4);
|
|
transition: background 0.3s, transform 0.3s;
|
|
}
|
|
|
|
.copy-button:hover, .modify-button:hover {
|
|
background: linear-gradient(90deg, #664da5, #4e66d8);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.result-area {
|
|
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{
|
|
font-size: 12px;
|
|
color: white;
|
|
text-align: left;
|
|
margin:2px;
|
|
}
|
|
.error-text {
|
|
color: red;
|
|
margin-left: 60px;
|
|
}
|
|
|
|
/* 报告容器样式 */
|
|
.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;
|
|
}
|
|
|
|
/* 标题样式 */
|
|
.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 {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
/* 表格行样式 */
|
|
.table-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 10rpx 0;
|
|
border-bottom: 1rpx solid #eaeaea;
|
|
}
|
|
|
|
/* 表格头部样式 */
|
|
.table-header {
|
|
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;
|
|
}
|
|
|
|
/* 底部空白区 */
|
|
.bottom-space {
|
|
height: 50rpx;
|
|
}
|
|
|
|
/* Disclaimer styling */
|
|
.disclaimer {
|
|
margin-top: 20rpx;
|
|
padding: 10rpx;
|
|
color: #999;
|
|
font-size: 22rpx; /* 小号字体 */
|
|
text-align: center;
|
|
}
|
|
|
|
|