@import '../../static/iconfont/iconfont.less';
@import '../../static/antd/anticon.less';

.anticon,
.yonicon
 {
  display: inline-block;
  font-style: normal;
  vertical-align: baseline;
  text-align: center;
  text-transform: none;
  line-height: 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.yonicon:before {
  display: block;
  font-family: 'iconfont' !important;
}

.yonicon-zuidahua:before {
  content: "\e7cc";
  color: #bac0c7;
  font-size: 20px;
  font-family: "iconfont" !important;
}

.yonicon-canzhao:before {
  content: "\e6fe";
  color: #adb4bc;
  font-size: 16px;
  font-family: "iconfont" !important;
  line-height: 28px;
}

.yonicon-down:before {
  content: '\e633';
  font-family: 'iconfont' !important;
  font-size: 12px;
  transform: scale(.8);
}

.yonicon-canzhao:hover:before {
  color: #505766;
}

.yonicon-close-circle {
  &:before {
    font-family: "uf" !important;
    content: "\e66b" !important;
    color: #adb4bc; // fix: 工厂模型，机台生产状态
  }
}

// 树展开图标
.yonicon-minus-square-o:before {
  content: "\e672" !important;
  font-weight: bold;
}

.yonicon-ellipsis:before {
  content: "\e521" !important;
  font-family: "iconfont" !important;
}

// 下拉框选项勾选态
.u-select-dropdown.u-select-dropdown--multiple .u-select-dropdown-menu-item:after {
  font-family: "uf" !important;
  content: "\e658";
}

// 模态框中穿梭框的向右、向左
.u-modal .crossGroupingModal .u-modal-body .crossbtncount {

  .u-button-icon.icon-right-enabled::before,
  .u-button-icon.icon-right-disabled::before {
    content: "\e61e";
    font-family: 'uf' !important;
  }
}

.u-modal .crossGroupingModal .u-modal-body .crossbtncount {

  .u-button-icon.icon-left-enabled::before,
  .u-button-icon.icon-left-disabled::before {
    content: "\e624";
    font-family: 'uf' !important;
  }
}

// fix: 基础数据，弹框，添加查询条件 分别：x up down
.yonicon-guanbi1:before,
.yonicon-shanchucopy1:before,
.yonicon-shanchucopy2:before {
  font-family: 'iconfont' !important;
}

.wuliu_none .icon-cuowutishi:before {
  font-family: 'iconfont' !important;
  content: "\e671";
}

.anticon-shurukuangshanchu::before {
  content: "\e690";
  font-family: 'iconfont' !important;
}

// 新组件的日期图标暂用iconfont 的
.uf-calendar:before,
i.uf-calendar:before {
  content: "\e661";
  font-family: 'iconfont' !important;
  color: #c3c3c3;
}

.uf-location:before {
  content: "\e78b";
}

.yonicon-zuixiaohua2::before {
  content: "\e80f";
}

.yonicon-star {
  color: #ff0000;
  margin-right: 4px;
  transform: scale(0.75);
  width: 10px;
  &:before {
    content: "\e605";
  }
}

.yonicon-weidongjie:before {
  content: "\e789";
}

.yonicon-up:before {
  content: '\e633';
  transform: rotate(180deg) scale(.8);
}

.yonicon-down-circle:before {
  content: "\e685"!important;
}

.yonicon-up-circle:before {
  content: "\e684"!important;
}

.ant-row .yonicon-star {
  margin-left: -14px;
  vertical-align: -.04em;
  color: #ff0000;
  margin-right: 4px;
  transform: scale(0.75);
  transform-origin: 0 center;
  width: 10px;
}

.yonicon-close:before {
  content: "\e636";
}

.yonicon-ellipsis {
  margin-right: 20px;
  &:before {
    content: "\e521";
  }
}

.yonicon-bangzhu:before{
  content: "\e66a";
  font-size: 16px;
  line-height: 28px;
  color: #ccc;
}

.yonicon-shanchucopy2:before {
  content: "\e676";
}

// 向下
.yonicon-shanchucopy1:before {
  content: "\e66d";
}

// 删除
.yonicon-guanbi1:before {
  content: "\e636";
}

.yonicon-tianjiashuliang:before {
  content: "\e749";
  color: #333;
}

.yonicon-jianshaoshuliang::before {
  content: "\e748";
  color: #333;
}

.yonicon-select-arrow:before {
  content: "\E633";
  color: #98a2ad;
}

.yonicon-delete:before {
  content: "\e675";
}
