鸿蒙智能电子锁前端项目
whychdw
2024-12-18 45b4ff5c0b824d2e5b51a6af3c44076d05f0214d
src/styles/index.scss
@@ -1,4 +1,4 @@
// import dark theme
// import dark
@use "element-plus/theme-chalk/src/dark/css-vars.scss" as *;
@use "./element-variables.scss";
@use "./element-ui.scss";
@@ -16,6 +16,7 @@
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  margin: 0;
  color: #ffffff;
}
label {
@@ -206,4 +207,49 @@
.multiselect--active {
  z-index: 1000 !important;
}
}
// 图标容器样式
.e-chart-root {
  position: relative;
  height: 100%;
  &.full-screen {
    .e-chart-container {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: url("@/assets/images/dw_bg.jpg");
      background-repeat: no-repeat;
      background-size: 100% 100%;
      z-index: 9999;
    }
  }
  .e-chart {
    height: 100%;
  }
  .e-chart-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
  }
  /* export chart wrapper css */
  .export-chart-wrapper {
    position: relative;
    width: 0;
    height: 0;
    overflow: hidden;
  }
  .export-chart {
    position: absolute;
    width: 600px;
    height: 400px;
  }
}