Newer
Older
KaiFengPC / src / assets / styles / public.scss
@zhangdeliang zhangdeliang on 20 May 2 KB 项目初始化
//main-container全局样式
.publicContainer {
  padding: 20px;
  color: #fff;
}

.text-center {
  text-align: center;
}

.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

// 公共的表单提交
.publicForm {
  .el-select,
  .el-input,
  .el-textarea {
    width: 100% !important;
  }
}
.red {
  color: $red !important;
}
.green {
  color: $green !important;
}
// 省略号
.ellipsis {
  overflow: hidden;
  white-space: nowrap; /* 防止文字换行 */
  text-overflow: ellipsis; /* 超出部分显示省略号 */
}
// 公共的弹窗详情
.publicDetail {
  display: flex;
  flex-wrap: wrap;
  .part {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 48%;
    margin-right: 2%;
    line-height: 30px;
    color: #c6c6c6;
    .title {
      font-weight: bold;
    }

    .content {
      margin-left: 10px;
      .el-image {
        width: 100px;
        height: 100px;
      }
    }
  }
}

// 表单提交 flex50 一行两列
.flex50 {
  display: flex;
  flex-wrap: wrap;
  .el-form-item {
    width: 48%;
    margin-right: 2%;
  }
}

// 批量新增
.batchAdd {
  display: flex;
  flex-direction: column;
  margin: 0px 0px 20px 0px;

  .batchTitle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    height: 30px;

    p {
      text-align: center;
      width: 150px;
    }
  }

  .batchCon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #c6c6c6;
    margin-top: 20px;

    .el-form-item {
      margin: 10px 0px 0px 5px;
      width: 150px;
      .el-form-item__content {
        margin-left: 0px !important;
      }
    }
  }
}
// 一张图公共样式
.mapTitle {
  font-weight: bold;
  font-size: 15px;
  color: #fff;
  width: 100%;
  height: 25px;
  line-height: 25px;
  border-left: 5px solid #00c7f2;
  background-size: 100% 100%;
  padding-left: 15px;
}

.tableLineMonitor {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 5px;
  .el-icon {
    font-size: 26px;
    color: #5796ff;
    margin-right: 15px;
    cursor: pointer;
  }
}

// 图例色块
.mapLegendColor {
  position: absolute;
  bottom: 20px;
  right: 430px;
  z-index: 99;
  background: $mainColor2;
  box-shadow: 0px 0px 20px $mainColor1;
  padding: 10px;
  border-radius: 8px;
  p {
    line-height: 25px;
    span {
      display: inline-block;
      width: 20px;
      height: 10px;
      border-radius: 5px;
      margin-right: 6px;
    }
    .info {
      background: $tiffany;
    }
    .primary {
      background: $--color-primary;
    }
    .blue {
      background: $light-blue;
    }
    .pink {
      background: $pink;
    }
    .red {
      background: $red;
    }
    .green {
      background: $green;
    }
    .reds {
      background: red;
    }
  }
  .title {
    font-size: 16px;
    font-weight: bold;
  }
}
// 暂无数据
.noData {
  width: 100%;
  text-align: center;
  color: #c6c6c6;
  line-height: 200px;
}