@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@font-face {
    font-family: 'DS-DIGIT'; // txchj 我自己定义的
    src: url("~@/assets/font/DS-DIGIT.TTF"); // 路径自己调整
}

body {
    height: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
    background: #06263B;
}

label {
    font-weight: 700;
}

html {
    height: 100%;
    box-sizing: border-box;
}

#app {
    height: 100%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a:focus,
a:active {
    outline: none;
}

a,
a:focus,
a:hover {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

div:focus {
    outline: none;
}

.clearfix {
    &:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }
}

// 单选框复选框颜色更改
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #04E3ED;
    border-color: #04E3ED;
}

.el-radio__input.is-checked+.el-radio__label {
    color: #04E3ED;
}

.el-radio__input.is-checked .el-radio__inner {
    border-color: #04E3ED;
    background: #04E3ED;
}

// main-container global css
.app-container {
    padding: 20px;
}

.border-container {
    border: 1px solid rgba(0, 246, 255, .7);
    background-image: url(../assets/main-bg.png);
    border-radius: 4px;
    min-height: calc(100vh - 1.34rem);
}

.colorRed {
    color: #F13131;
}

.colorBlue {
    color: #688FFF;
}

.colorOrange {
    color: #FF6C24
}

.colorGreen {
    color: #65FF94
}

.colorYellow {
    color: #FFEF68
}

.colorLightBlue {
    color: #4BE3E9
}

// 筛选框样式
.el-input__inner {
    background: rgba(0, 0, 0, 0);
    border: 1px solid #057683;
    height: 30px;
    line-height: 30px;
}

.el-input__icon {
    line-height: 30px;
}

.el-select:hover .el-input__inner,
.el-select .el-input.is-focus .el-input__inner,
.el-select .el-input__inner:focus,
.filter-item .el-input__inner {
    border-color: #057683;
    color: #fff
}

.filter-item {
    display: inline-block;
    margin: 0 10px 10px 0;
}

// 公共表格样式
.el-table thead.is-group th,
.el-table th,
.el-table tr,
.el-table,
.el-table__expanded-cell {
    background: rgba(0, 0, 0, 0) !important;
}

.el-table--border,
.el-table--group,
.el-table--border::after,
.el-table--group::after,
.el-table::before {
    border: 1px solid #01727a;
}

.el-table__body tr:hover>td {
    background-color: #043b53 !important;
}

.el-table td,
.el-table th {
    text-align: center;
}

.el-table td,
.el-table th {
    padding: 8px 0;
    button {
        cursor: default
    }
}

// 回路信息
.page-container {
    font-size: 14px;
}

.page-inner {
    padding: 16px;
    position: relative;
    .refresh,
    .export {
        display: inline-block;
        background: #3799FC;
        padding: 6px 9px;
        margin-left: 15px;
        cursor: pointer;
    }
    .export {
        position: absolute;
        right: 10px;
    }
}

.latestData {
    height: 48px;
    background: #035D73;
    line-height: 48px;
    font-size: 14px;
    padding: 0 16px;
}

.checkSection {
    margin: 15px 0;
    label {
        margin-right: 10px;
        font-weight: normal;
        position: relative;
        top: -1px;
    }
}

.alarming-tab .grid-content {
    border: 1px solid #25B3BF;
    background: rgba(16, 110, 133, .5);
    margin: 10px 0;
    padding: 10px 0 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 100px;
    .num {
        font-size: 40px;
        font-family: DS-DIGIT;
        margin-bottom: 5px;
    }
    .text {
        font-size: 16px;
    }
}

// 视频告警
.el-radio {
    margin: 0 5px 0 10px;
    color: #fff;
    height: 30px;
    line-height: 30px;
}

// @media screen and (max-width:1024px) {
//     html {
//         font-size: 42px !important
//     }
// }
// @media screen and (min-width:1920) {
//     html {
//         font-size: 80px !important
//     }
// }
.body {
    min-width: 1000px;
    overflow: auto
}