﻿/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

/* 声明字体*/
@font-face {
    font-family: electronicFont;
    src: url(../font/DS-DIGIT.TTF);
}

html,
body,
#root,
#app,
app {
    height: 100%;
}

.colorWeak {
    filter: invert(80%);
}

.ant-layout {
    min-height: 100vh;
}

canvas {
    display: block;
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
    list-style: none;
}

.action {
    cursor: pointer;
}

@media (max-width: 480px) {
    .ant-table {
        width: 100%;
        overflow-x: auto;
    }

    .ant-table-thead > tr > th,
    .ant-table-tbody > tr > th,
    .ant-table-thead > tr > td,
    .ant-table-tbody > tr > td {
        white-space: pre;
    }

        .ant-table-thead > tr > th > span,
        .ant-table-tbody > tr > th > span,
        .ant-table-thead > tr > td > span,
        .ant-table-tbody > tr > td > span {
            display: block;
        }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    body .ant-design-pro > .ant-layout {
        min-height: 100vh;
    }
}

/**
    页面整体内容布局
*/
.ant-pro-basicLayout-content {
    margin: 12px;
}

.ant-tabs-nav {
    margin-bottom: 8px;
}

.ant-tree .ant-tree-node-content-wrapper {
    line-height: 1.8;
}

.ant-tree .ant-tree-node-selected {
    background-color: #e6f7ff;
}

.ant-table-thead .ant-table-cell {
    font-weight: bold;
    text-align: center;
}

/**
    按钮与前面Icon的距离
*/
.ant-btn > .anticon + span, .ant-btn > span {
    margin-left: 0px;
}

/*
    元素居中显示
*/
.div-center {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 700px;
}

/*
    树行结构
*/
.ant-tree .ant-tree-treenode {
    padding: 5px 0;
}

.ant-pro-basicLayout-children-content-wrap {
    height: 100%;
}

.ant-tabs {
    height: 100%;
}

.ant-tabs-content {
    height: 100%;
}

.ant-tabs-tabpane {
    height: 100%;
}

/*.ant-table-wrapper, .ant-table-spin-wrapper, .ant-spin-container {
    height: 100%;
}*/

.ant-pro-global-footer {
    display: none;
}

.full-col {
    background-color: white;
    height: 100%;
}

.full {
    height: 100%;
    width: 100%;
}

.full-h {
    height: 100%;
}

    .full-h .ant-table {
        height: 100%;
    }

    .full-h .ant-table-wrapper, .ant-table-spin-wrapper, .ant-spin-container {
        height: 100%;
    }

    .full-h .ant-table .ant-table-container {
        /**
        加上后会盖住下面的分页，有点奇怪
    */
        /*            height: 100%;*/
    }

    .full-h .ant-table-wrapper .ant-table-spin-wrapper > div {
        height: 100%;
    }

    .full-h .ant-tree {
        height: 100%;
    }

/**
    Modal 关闭按钮颜色
*/
.ant-modal-close-x {
    color: red;
}

/**
    树形组件添加滚动 测试版本
*/
.ant-tree {
    overflow-y: auto;
}

.ant-picker {
    width: 100%;
}

.ant-form-inline .ant-form-item {
    margin-bottom: 8px;
}

.full-card {
    height: 100%;
}

    .full-card .ant-card-body {
        height: 100%;
    }

/**

*/
.query-form .ant-form-item-control {
    width: 200px !important;
    max-width: 200px;
}

.query-form .ant-form-item {
    width: 300px !important;
}

.query-form .ant-form-item-label {
    width: 100px;
}

.ant-table-spin-wrapper.ant-spin-nested-loading > div {
    height: 100%;
}

.full-table {
    height: calc(100% - 35px);
}

.hidden {
    display: none !important;
}

.statistic-value {
    font-size: xx-large;
    color: green;
    font-family: "electronicFont";
    line-height: 1.1;
}

.statistic-title {
    color: grey;
}

.ant-descriptions-item-label {
    text-align: end;
    color: gray;
    width: 150px;
}

.ant-descriptions-item-content {
    text-align: start;
    font-weight: 500;
}

.ant-descriptions-bordered {
    margin-top: 20px;
}

.mt-0 {
    margin-top: 0px;
}



.min100 {
    min-width: 100px;
}

.min120 {
    min-width: 120px;
}

.min150 {
    min-width: 150px;
}
