﻿html, body {
	font-size: 14px;
	height: 100%;
	margin: 0;
	overflow: hidden;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
	box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
	font-family: "IBM Plex Sans", sans-serif;
	color: var(--text-color);
	background-color: #f5f7fb;
}

/* 自定义颜色 */
:root {
	--primary-color: #4a6bff;
	--secondary-color: #f8f9fa;
	--hover-color: #e9ecef;
	--text-color: #333;
	--light-text: #6c757d;
	--border-color: #dee2e6;
}

/* 顶部 */
.header {
	height: 50px;
	background-color: #0d6efd;
	color: white;
	display: flex;
	align-items: center;
	padding: 0 15px;
}
/* 顶部导航栏 */
	.header .nav-link {
		display: flex;
		align-items: center;
		gap: 8px;
	}

/* 中间内容 */
.main {
	display: flex;
	height: calc(100% - 50px); /* 除去头部 */
}
/* 侧边导航栏 */
.sidebar {
	width: 250px;
	min-width: 250px;
	height: 100%;
	left: 0;
	background-color: #ffffff;
	overflow-y: auto;
}

	.sidebar .nav-item {
		margin: 0 0 0.5rem 0;
		margin: 0 0 0.5rem 0;
	}

		.sidebar .nav-item button, .sidebar .nav-item a.btn {
			width: 100%;
			text-align: left;
		}

	.sidebar .btn-toggle-nav a {
		padding: .1875rem 0;
		margin-top: .125rem;
		margin-left: 2rem;
	}

	.sidebar .nav-item button::after {
		width: 1.25em;
		line-height: 0;
		content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
		float: right;
		transition: transform .35s ease;
		transform-origin: .5em 50%;
	}

	.sidebar .nav-item button.collapsed::after {
		transform: rotate(90deg);
	}

/* 正文 */
.main-content {
	flex: 1;
	padding: 20px;
	overflow-y:auto;
}



/* 通用样式 */
/* 列表页页码高度 */
.cdy-admin-pages-height {
	height: 70px;
}
/* 宋体 */
.cdy-admin-fontfamily-st {
	font-family: "宋体", SimSun, serif;
}
.cdy-admin-list-checkbox-width {
	width:30px;
}
.cdy-admin-list-edit-width {
	width: 120px;
}