<template>
  <div class="main-container-box">
 
    <nav-header></nav-header>

    <div class="panel-box">
      <div class="column1">
        <sbjk></sbjk>
        <monitor></monitor>
      </div>
      <div class="column2">
        <alarm-static></alarm-static>
        <handle-number></handle-number>
        <alarming></alarming>
      </div>
    </div>
  </div>
</template>

<script>


import sbjk from "./components/sbjk";
import monitor from "./components/monitor";
import alarming from "./components/alarming";
import handleNumber from "./components/handleNumber";
import alarmStatic from "./components/alarmStatic";

import TimeMenu from "@/components/TimeMenu";
import navHeader from "./components/navHeader";


export default {
  components: {
    sbjk,
    monitor,
    alarming,
    handleNumber,
    alarmStatic,
    TimeMenu,
    navHeader,
  },

 
};
</script>

<style lang="scss">
/* 修复input 背景不协调 和光标变色 */
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */

$bg: #283443;
$light_gray: #fff;
$cursor: #fff;

@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
  .main-container-box .el-input input {
    color: $cursor;
  }
}
</style>

<style lang="scss" scoped>
// @import "../../styles/mixin.scss";
</style>

<style lang="scss" >
/* 初始化 */

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

li,
p {
  padding: 0;
  margin: 0;
  list-style: none;
}

.colorSuccess {
  color: #01e416;
}

.colorUnhandle {
  color: rgb(248, 72, 3);
}

.colorOverTime {
  color: #0bc3ff;
}

.colorUnpass {
  color: #fd7700;
}

.colorTotal {
  color: #ffec16;
}



/* 首页公共css */
.main-container-box {
  min-width: 1024px;

  background: url(../../assets/bg.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #fff;
}







.panel-box {
  min-width: 1024px;
  max-width: 1920px;
  min-height: 650px;
  position: relative;
  height: calc(100vh - 8rem);

    margin-top: 8rem;
  display: flex;
  > div {
    position: absolute;
    top: 0;

    width: 23%;
  }
  .column1 {
    left: 1rem;
  }
  .column2 {
    right: 1rem;
  }
}
.panel {
  position: relative;
  background: #021132;
  border: 1px solid #3486da;

  .panel-tit {
    background: linear-gradient(
      to right,
      #021132 0%,
      #3053af 50%,
      #021132 100%
    );
    padding: 1.2rem;
    color: #fff;
    text-align: center;
    font-size: 1.6rem;
    font-family: "impact";
  }
}

.panel::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #02a6b5;
  border-left: 2px solid #02a6b5;
}
.panel::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #02a6b5;
  border-right: 2px solid #02a6b5;
}
.panel .panel-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}
.panel .panel-footer::before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #02a6b5;
  border-left: 2px solid #02a6b5;
}
.panel .panel-footer::after {
  position: absolute;
  bottom: 0;
  right: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #02a6b5;
  border-right: 2px solid #02a6b5;
}

/* 约束屏幕尺寸 */
@media screen and (max-width: 1024px) {
  html {
    font-size: 5px !important;
  }
}
@media screen and (min-width: 1920px) {
  html {
    font-size: 10px !important;
  }
}
</style>

<style  scoped>
.el-menu--collapse .el-menu .el-submenu, .el-menu--popup{
  min-width:10rem!important;
}
</style>