Files
leaudit-platform-frontend/app/styles/pages/entry-modules.css
T
LiangShiyong d5827a2146 fix: 1. 接入入口模块的管理接口,优化样式。
2. 将查看文档评查结果详情对接接口,采用接口的方式进行查询。
2025-11-26 23:37:14 +08:00

145 lines
3.1 KiB
CSS

/* 入口模块管理页面样式 */
.entry-modules-page {
padding: 24px;
min-height: 100vh;
}
.entry-modules-new-page {
padding: 24px;
min-height: 100vh;
}
/* 筛选面板 - 搜索框加宽 */
.entry-modules-page .filter-item-wide {
flex: 1;
min-width: 300px;
max-width: 400px;
}
.entry-modules-page .filter-item-wide .filter-control {
width: 100%;
}
/* 操作按钮样式 */
.entry-modules-page .operations-cell {
@apply flex space-x-2;
}
.entry-modules-page .operation-btn {
@apply text-sm flex items-center text-[--color-primary] bg-transparent hover:underline p-2 cursor-pointer border-none;
}
.entry-modules-page .operation-btn:disabled {
@apply opacity-50 cursor-not-allowed;
}
/* 页面头部 */
.page-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
}
/* 表单内容 */
.form-content {
max-width: 800px;
}
.form-item {
margin-bottom: 20px;
}
.form-label {
display: block;
font-size: 14px;
font-weight: 500;
color: #374151;
margin-bottom: 8px;
}
.form-actions {
padding-top: 24px;
border-top: 1px solid #e5e7eb;
}
/* 表单输入框样式 - 参照rule-groups.new */
/* 使用更高优先级的选择器覆盖Tailwind */
.entry-modules-new-page .form-content input[type="text"],
.entry-modules-new-page .form-content input[type="file"],
.entry-modules-new-page .form-content textarea,
.entry-modules-new-page .form-content select {
transition: all 0.2s;
}
/* Focus状态 - 绿色主题 */
.entry-modules-new-page .form-content input[type="text"]:focus,
.entry-modules-new-page .form-content textarea:focus,
.entry-modules-new-page .form-content select:focus {
border-color: #00684a !important;
box-shadow: 0 0 0 1px rgba(0, 104, 74, 0.5) !important;
outline: 2px solid transparent !important;
outline-offset: 2px !important;
}
/* Hover状态 */
.entry-modules-new-page .form-content input[type="text"]:hover,
.entry-modules-new-page .form-content textarea:hover,
.entry-modules-new-page .form-content select:hover {
border-color: #00684a;
}
/* 通用input覆盖 - 排除checkbox和radio */
.entry-modules-new-page input:is(:not([type="checkbox"]):not([type="radio"]):not([type="file"])):focus {
border-color: #00684a !important;
box-shadow: 0 0 0 1px rgba(0, 104, 74, 0.5) !important;
outline: 2px solid transparent !important;
outline-offset: 2px !important;
}
/* 复选框样式 - 绿色主题 */
.entry-modules-new-page input[type="checkbox"] {
accent-color: #00684a;
}
.entry-modules-new-page input[type="checkbox"]:focus {
outline: 2px solid #00684a;
outline-offset: 2px;
}
/* Logo预览样式 */
.logo-preview {
display: inline-block;
border: 1px solid #e5e7eb;
border-radius: 4px;
padding: 8px;
background-color: #f9fafb;
}
/* 响应式设计 */
@media (max-width: 768px) {
.entry-modules-page,
.entry-modules-new-page {
padding: 16px;
}
.page-header {
flex-direction: column;
align-items: flex-start;
gap: 16px;
}
.form-content {
max-width: 100%;
}
.form-actions {
flex-direction: column-reverse;
}
.form-actions button {
width: 100%;
}
}