html, body, #app {
height: 100%;
margin: 0px;
padding: 0px;
}
/* 进度条 */
// #nprogress .bar {
// background: #1890ff !important;
// }
/* 搜索按钮 */
.search_btn {
margin-top: 4px;
}
// 搜索下拉选
.search_select .ant-select-selection--single {
width: 100%;
}
.search_right_btn {
float: right;
}
// .search_form {
// margin-bottom: 15px;
// }
/* 表格按钮 */
.table_delbtn, .table_delbtn:hover, .table_delbtn:focus {
color: #cd0f25
}
/* 表头样式 */
.ant-table-thead > tr > th {
font-weight: bold;
}
// 分页
.ant-pagination {
float: right;
margin-top: 15px;
}
// 弹窗内信息回显
.form_block_title {
font-size: 16px;
color: rgba(0, 0, 0, 0.85);
font-weight: bold;
margin-bottom: 10px;
}
/* 弹窗内卡片内边距 */
.modal_card .ant-card-body {
padding: 15px;
}
/* 弹窗内边距 */
.spill_modal .ant-modal-body {
padding: 0;
}
/* 弹窗内卡片之间间距 */
.modal_card {
margin: 10px;
border-radius: 6px;
}
.row_item {
margin-top: 10px;
}
/* 弹窗内表格的表头样式 */
.modal_table .ant-table-thead > tr > th {
background: #edeff3;
color: #333;
font-weight: 400;
}
/* 弹窗内表单高度 */
.form_height {
max-height: 492.4px;
overflow: auto;
}
/* 弹窗位置 */
.spill_modal .ant-modal-wrap {
position: absolute;
top: -30px;
}
::-webkit-scrollbar {
width: 4px;
height: 4px;
}
::-webkit-scrollbar-track-piece {
background-color: rgba(0, 0, 0, 0.2);
-webkit-border-radius: 4px;
}
::-webkit-scrollbar-thumb:vertical {
height: 4px;
background-color: rgba(125, 125, 125, 0.7);
-webkit-border-radius: 4px;
}
::-webkit-scrollbar-thumb:horizontal {
width: 4px;
background-color: rgba(125, 125, 125, 0.7);
-webkit-border-radius: 4px;
}
// 禁用框样式
.ant-input[disabled] {
color: rgba(0, 0, 0, 0.65);
}
.ant-select-disabled {
color: rgba(0, 0, 0, 0.65);
}
//上传图片大小
.upload-img {
height: 150px;
.ant-upload > img{
width: 230px;
height: 150px;
}
.ant-upload-list-picture-card-container {
margin: 0px!important;
width: 230px;
height: 150px;
}
.ant-upload.ant-upload-select-picture-card {
margin: 10px 0px 0px 0px;
background-color: transparent;
width: 230px;
height: 150px;
}
.ant-upload-list-picture-card .ant-upload-list-item {
margin: 10px 0px 0px 0px;
width: 230px;
height: 150px;
}
}
.upload-dra {
.ant-upload.ant-upload-drag {
background-color: transparent;
width: 230px;
height: 150px;
margin: 10px 0px 0px 0px;
}
}
.flex_center {
display: flex;
justify-content: space-between;
align-items: center;
}
.flex_center_c {
display: flex;
justify-content: center;
align-items: center;
}
.flex_start {
display: flex;
justify-content: flex-start;
align-items: center;
}
.bg-color {
background-color: #F5F5F5;
}
//隐藏form提示语
.show_erorr {
.ant-form-explain {
display: none!important;
}
}
.ant-tree li .ant-tree-node-content-wrapper {
width: 80% !important;
cursor: pointer;
}
.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected {
font-weight: bold;
border: 1px solid #00b7ee;
}
.ant-layout-content {
width: 100%!important;
padding: 0px 1px 0px 0px!important;
}
.ant-tabs-nav-scroll {
// margin-left: 24px;
}
.tab_error {
.ant-table-layout-fixed table {
table-layout: auto!important;
}
}
.ant-descriptions-bordered .ant-descriptions-item-label, .ant-descriptions-bordered .ant-descriptions-item-content {
padding: 10px 24px!important;
}
// 按键样式
.bt-normal {
color: #0079FE;
border: 1px solid #0079FE;
}
// 列表表格
.ant-table table {
border: 1px solid #E4E8EE;
border-bottom: 0;
}
// 鼠标样式
.hover-pointer {
&:hover {
cursor: pointer;
}
}