@tailwind base;
@tailwind components;
@tailwind utilities;

.quill-editor-container .ql-toolbar {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom: none;
	border: none;
}

.quill-editor-container .ql-container {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border: none;
	@apply text-base;
}

.ag-custom-dragging-class {
	@apply border-b-2 border-blue-200;
}

.ant-popover-inner {
	padding: 0 !important;
	@apply border border-gray-300;
}

.ag-header-viewport {
	z-index: 0;
}

.ag-cell {
	display: flex;
	align-items: center;
	/* 垂直居中 */
}

.ag-cell .ag-cell-wrapper {
	display: flex;
	align-items: center;
	/* 垂直居中 */
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
	border-radius: 10px;
	@apply bg-gray-200;
}

/* 滚动块 */
::-webkit-scrollbar-thumb {
	/* background-color: #888; */
	border-radius: 10px;
	border: 2px solid #f0f0f0;
	@apply hover:bg-blue-200 transition-all bg-gray-400 ease-in-out rounded-full;
}

/* 鼠标悬停在滚动块上 */
::-webkit-scrollbar-thumb:hover {
	background-color: "tr";
}

::-webkit-scrollbar {
	height: 8px;
	width: 10px;
	/* 滚动条宽度 */
}

/* 覆盖 Ant Design 的默认样式  raido button左侧的按钮*/
.ant-radio-button-wrapper-checked:not(
		.ant-radio-button-wrapper-disabled
	)::before {
	background-color: unset !important;
}

.state-select.ant-select-selector {
	cursor: pointer !important;
	/* 强制覆盖默认的禁止样式 */
}

.ant-tabs-nav-operations {
	display: none !important;
}

.no-wrap-header .ant-table-thead > tr > th {
	white-space: nowrap;
}
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
	content: "标题 1";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
	content: "标题 2";
}
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
	content: "标题 3";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
	content: "标题 4";
}
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
	content: "标题 5";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
	content: "标题 6";
}
/* 针对下拉菜单中的选项 */
.ql-snow .ql-picker.ql-header .ql-picker-item:not([data-value])::before,
.ql-snow .ql-picker.ql-header .ql-picker-label:not([data-value])::before {
	content: "正文" !important;
}
