/* 法律条文详情样式 - 与原型 law_search_detail.html 保持一致 */
|
|
.law-detail-modal-body {
|
height: 100%;
|
overflow-y: auto;
|
padding: 20px;
|
background-color: #f5f7fb;
|
}
|
|
/* 章节导航 */
|
.law-detail-chapter-nav {
|
background: white;
|
border-radius: var(--border-radius, 6px);
|
padding: 20px;
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
margin-bottom: 20px;
|
}
|
|
.law-detail-chapter-nav-title {
|
font-size: 1.1rem;
|
color: var(--dark-color, #212529);
|
margin-bottom: 15px;
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
font-weight: 600;
|
}
|
|
.law-detail-chapter-nav-title i {
|
color: var(--primary-color, #1a6fb8);
|
}
|
|
.law-detail-chapter-list {
|
max-height: 200px;
|
overflow-y: auto;
|
display: flex;
|
flex-direction: column;
|
}
|
|
.law-detail-chapter-link {
|
display: block;
|
padding: 8px 12px;
|
color: var(--gray-color, #6c757d);
|
text-decoration: none;
|
border-left: 3px solid transparent;
|
transition: all 0.2s ease;
|
font-size: 0.95rem;
|
}
|
|
.law-detail-chapter-link:hover {
|
background: #f8f9fa;
|
color: var(--primary-color, #1a6fb8);
|
border-left-color: var(--primary-color, #1a6fb8);
|
}
|
|
.law-detail-chapter-link.active {
|
background: #e3f2fd;
|
color: var(--primary-color, #1a6fb8);
|
border-left-color: var(--primary-color, #1a6fb8);
|
font-weight: 600;
|
}
|
|
/* 法律详情容器 */
|
.law-detail-main-container {
|
background: white;
|
border-radius: var(--border-radius, 6px);
|
padding: 30px;
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
}
|
|
.law-detail-header {
|
margin-bottom: 30px;
|
border-bottom: 2px solid var(--primary-color, #1a6fb8);
|
padding-bottom: 20px;
|
}
|
|
.law-detail-title {
|
font-size: 1.6rem;
|
color: var(--primary-color, #1a6fb8);
|
margin-bottom: 20px;
|
text-align: center;
|
font-weight: 700;
|
}
|
|
.law-detail-meta-grid {
|
display: grid;
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
gap: 15px;
|
}
|
|
.law-detail-meta-item {
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
padding: 10px;
|
background: #f8f9fa;
|
border-radius: var(--border-radius, 6px);
|
}
|
|
.law-detail-meta-label {
|
font-weight: 600;
|
color: var(--dark-color, #212529);
|
min-width: 100px;
|
font-size: 0.9rem;
|
}
|
|
.law-detail-meta-value {
|
color: var(--gray-color, #6c757d);
|
font-size: 0.9rem;
|
}
|
|
.law-detail-meta-value.status-effective {
|
color: var(--success-color, #2a9d8f);
|
font-weight: 600;
|
}
|
|
/* 法律内容 */
|
.law-detail-content-area {
|
line-height: 1.8;
|
}
|
|
.law-detail-chapter-section {
|
margin-bottom: 30px;
|
}
|
|
.law-detail-chapter-title {
|
font-size: 1.3rem;
|
color: var(--secondary-color, #0d4a8a);
|
margin-bottom: 20px;
|
padding-bottom: 10px;
|
border-bottom: 1px solid var(--border-color, #dee2e6);
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
font-weight: 600;
|
}
|
|
.law-detail-chapter-title i {
|
color: var(--primary-color, #1a6fb8);
|
}
|
|
.law-detail-articles-container {
|
margin-left: 20px;
|
}
|
|
.law-detail-article-item {
|
margin-bottom: 25px;
|
padding: 15px;
|
border-left: 3px solid #e9ecef;
|
transition: all 0.2s ease;
|
}
|
|
.law-detail-article-item:hover {
|
border-left-color: var(--primary-color, #1a6fb8);
|
background: #f8f9fa;
|
}
|
|
.law-detail-article-number {
|
font-weight: 700;
|
color: var(--primary-color, #1a6fb8);
|
margin-bottom: 8px;
|
font-size: 1.05rem;
|
}
|
|
.law-detail-article-content {
|
font-size: 0.95rem;
|
color: var(--dark-color, #212529);
|
text-align: justify;
|
}
|
|
/* 响应式调整 */
|
@media (max-width: 768px) {
|
.law-detail-articles-container {
|
margin-left: 0;
|
}
|
}
|