@import '~view-design/src/styles/index.less';

@side-menu-background: #191A23;
@side-menu-drawer: #2b2c53;
//@background: #E5E5E5;
//@background: #F2F4FB;
//@background: radial-gradient(29.17% 29.12% at 89.64% 10.79%, rgba(45, 100, 255, 0.1) 0%, rgba(45, 100, 255, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
@background: linear-gradient(51.29deg, #F1F5F9 62.9%, #DDE7FA 100%);



// c4d9ff
@currentRowColor:rgba(230, 247, 255, 1);//table选中颜色
@cell_height: 30px;
@cell_input_height: 28px;
@input_height: 28px;
@select_tag_height: 24px;
@logo_height: 40px;

// @primary-color: #58B957;
// @link-color: #58B957;
.vxe-cell--valid-msg {
  padding: 4px 10px !important;
  display: inline !important;
}



.header-bar .custom-content-con {
  line-height: @logo_height !important;
}

.ivu-radio-group {
  height: @input_height;
  line-height: @input_height;
  margin-left: 8px;
}

.col--seq > .vxe-cell {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.vxe-button.type--button {
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 29px !important;
}

.vxe-switch {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 30px;
  line-height: 30px;
}

.vxe-switch.size--mini {
  font-size: 10px !important;
}

.button-column-class .vxe-cell {
  padding: 0 !important;
}


/**
 * @desc   : main最顶端左侧样式
 * @author : 周兴
 * @date   : 2022/5/18 20:23
 */
.tag-nav-wrapper {
  display: flex;
  height: @logo_height;
  line-height: @logo_height;
  align-content: center;

  .main {
    z-index: 999;
    background: #fff;
    height: 100%;

    .sub-main {
      padding-left: 20px;
      //width: 180px;
      height: 38px;
      justify-content: left;
      display: flex;
      align-items: center;
    }
  }
}

.seq-column-class .vxe-cell {
  justify-content: center;
  border-right: 1px solid #dcdee2;
  width: 100% !important;
}

.col--checkbox .vxe-cell {
  justify-content: center;
}

.vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--label {
  padding-left: 0 !important;
}


.content-button {
  //padding-bottom: 15px;
  //border-bottom: 2px dashed  #e8eaec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  //margin-bottom: 10px;
  //border : 1px solid #dcdee2;
  //background-color: #F8F8F8;
}

.content-search {
  padding-top: 5px;
  padding-bottom: 0px;
  //border-bottom: 2px dashed #e8eaec;
  margin-bottom: 15px;
}

.content-content {
  padding-top: 15px;
  width: 100%;
}

/* 导航字体大小 */
.ivu-menu-submenu-title, .ivu-menu-item {
  //仅保留上下，不覆盖左右
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* 项目名高度 */
.main .logo-con {
  //height: 38px;
}

//查询条件相关样式
.ivu-collapse-content > .ivu-collapse-content-box {
  padding-top: 10px !important;
  padding-bottom: 0px !important;
}

.ivu-collapse-content {
  //padding-top: 0px!important;
  //padding-right: 0px!important;
  //padding-bottom: 0px!important;
  //padding-left: 16px!important;
  padding: 0 16px !important;
}

.ivu-collapse-header {
  background-color: #fff !important;
  height: 34px !important;
  line-height: 34px !important;
}

.ivu-select-small.ivu-select-multiple .ivu-select-selection {
  height: @input_height !important;
  line-height: @input_height !important;
  overflow-y: hidden;
}

.ivu-select-placeholder {
  height: @input_height !important;
  line-height: @input_height !important;
}

.hidden-default-btn {
  .vxe-tools--operate {
    .vxe-custom--wrapper {
      .vxe-custom--option-wrapper {
        margin-top: 20px;
      }

      .vxe-button:nth-child(1) {
        display: none;
      }
    }
  }
}

.ivu-card-body > .ivu-row:last-child > .ivu-col:nth-child(n) > div {
  margin-bottom: 0 !important;
}

.ivu-form-item {
  margin-bottom: 24px !important;
  //height: 32px !important;
}

.no-class {
  text-decoration: underline;
  color: #2d8cf0;
}

.no-class:active {
  text-decoration: underline;
  color: blue;
}

/*table高亮颜色修改*/
.vxe-table--render-default .vxe-body--row.row--checked,
.vxe-table--render-default .vxe-body--row.row--radio {
  background-color: #e6f7ff !important;
}

.vxe-table .vxe-button.block-class {
  display: block !important;
}


.table-filter-btn > i {
  font-size: 20px;
}

/*
 * @desc   : 收缩类型的样式
 * @author : 周兴
 * @date   : 2022/3/2 16:52
 */
.ivu-collapse-header {
  height: 30px !important;
  padding: 6px 0 10px 16px !important;
  line-height: 20px !important;
  border-bottom: 0px solid #dcdee2 !important;
}

/**
 * @desc   : 整个页面的样式
 * @author : 周兴
 * @date   : 2022/3/5 15:37
 */
.main-div {
  padding: 0 6px;
  //height: 100%;
  min-width: 1100px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  background: @background;
}

.btn-div {
  background:  @background !important;
}

.tab-fixed-class {
  width: 100%;
  height: 32px;
  position: fixed;
  z-index: 999;
  background: @background;
}
//table列头hover颜色
.vxe-table--render-default.column--highlight .vxe-header--column:not(.col--seq):hover{
  background-color: rgba(234, 242, 255, 1)!important;
}

//table行hover颜色
.vxe-table--render-default .vxe-body--row.row--hover{
  background-color: rgba(234, 242, 255, 1)!important;
}

.vxe-table--render-default .vxe-body--row.row--current {
  background-color: @currentRowColor !important;
}

.vxe-table--render-default .vxe-body--row.row--current .vxe-body--column .vxe-cell .vxe-button {
  background-color: @currentRowColor !important;
}

.vxe-table--render-default .vxe-body--row.row--checked, .vxe-table--render-default .vxe-body--row.row--radio .vxe-body--column .vxe-cell .vxe-button {
  background-color: @currentRowColor !important;
}

.vxe-table--render-default .vxe-body--row.row--checked, .vxe-table--render-default .vxe-body--row.row--radio {
  background-color: @currentRowColor !important;
}


.search-cond-class {
  padding: 2px 0 6px 0;
  //min-width: 1200px !important;
}

.table-foot-class {
  width: calc(~'100% - 1px');
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 10px;
  height: 30px;
  background-color: #FFF !important;
  margin-left: 1px;
}

.close-div-class {
  display: flex;
  align-items: center;
}


.ivu-row {
  display: flex !important;
}

.ivu-switch {
  margin-top: 3px !important;
}


.popper-class {
  z-index: 500 !important;
}

.input-popper-class {
  z-index: 1500 !important;
}

.popper-class > .ivu-poptip-content > .ivu-poptip-inner > .ivu-poptip-body {
  padding: 0;
}

.popper-class > .ivu-poptip-content > .ivu-poptip-inner {
  border-radius: 0 !important;
}

.popper-class > .ivu-poptip-content > .ivu-poptip-arrow {
  border-bottom-color: #a5acb5 !important;
}

.popper-class > .ivu-poptip-content > .ivu-poptip-arrow:after {
  border-bottom-color: #e9edf1 !important;
}

.month-popper-class > .ivu-poptip-content > .ivu-poptip-inner > .ivu-poptip-body {
  padding: 0;
}


.tableColumnHeight {
  height: @cell_height !important;
  line-height: @cell_height !important;
  display: table-cell;
  align-items: center !important;
  justify-content: center !important;

  .vxe-cell {
    display: flex;
    align-items: center;
  }
}

.vxe-cell--checkbox {
  height: 16px;
}

.vxe-cell--radio {
  height: 16px;
}


.vxe-header--column {
  height: @cell_height !important;
  line-height: @cell_height !important;
}

.vxe-header--column {
  padding: 0 !important;
  overflow: hidden;
}

.vxe-body--column {
  height: @cell_height !important;
  line-height: @cell_height !important;
}


/**
 * @desc   : 控制单元格列可输入控件的高度
 * @author : 周兴
 * @date   : 2022/3/20 10:02
 */
.vxe-input--inner {
  height: @cell_input_height !important;
  border: 1px solid #fff !important;
}

.vxe-checkbox-class{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

//.mytable-style .vxe-table  .vxe-body--column.test-class{
//  background: red !important;
//}


/**
 * @desc   : 控制单元格的高度（因为有了可输入单元格 会造成高度增高）
 * @author : 周兴
 * @date   : 2022/3/20 10:03
 */
.vxe-cell.c--ellipsis {
  height: @cell_height !important;
}

//
////修改tabs样式

.ivu-tabs-nav{
  margin-top: 2px!important;
}

.ivu-tabs.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab{
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  background-color: #FFFFFF!important;
  border-color: transparent;
  border-left: 1px solid transparent!important;
  border-right: 1px solid transparent!important;
  border-top: 1px solid transparent!important;
}
.ivu-tabs.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab-active{
  background-color: rgba(245, 250, 255, 1)!important;
  border-top: 2px solid rgba(62, 105, 246, 1);
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-color:transparent!important;
}
.ivu-tabs.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab-focused{
  //border-left: 1px solid transparent!important;
  //border-right: 1px solid transparent!important;
  //border-top: 1px solid transparent!important;
}
.ivu-tabs.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab-active:before{
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(62, 105, 246, 1);
  position: absolute;
  top: -1px;
  left: 0;
}
.ivu-tabs-nav-container {
  height: @cell_height !important;
}

// 修改layout样式
.ivu-layout {
  background: #d3dbe4 !important;
}


.ivu-input-small {
  height: @input_height !important;
}
//垃圾桶高度
.ivu-form-item-content{
  line-height: @input_height !important;
}

.ivu-select-small.ivu-select-single .ivu-select-selection {
  height: @input_height !important;
}

.ivu-select-input {
  height: @input_height !important;
  line-height: @input_height !important;
  top: 0 !important
}

.search-class {
  cursor: pointer;
  width: @input_height;
  height: @input_height;
  display: flex;
  align-items: center;
  justify-content: center;
  //border-bottom: 1px solid #dcdee2;
  //border-right: 1px solid #dcdee2;
  //border-top: 1px solid #dcdee2;

  position: absolute;
  right: 15px;
  align-items: center;
  justify-content: center;
  color: #a0a5ac;
  z-index: 88;
}

//.vxe-table--render-default .vxe-cell{
//  padding: 0 !important;
//}

.vxe-header--row .vxe-cell {
  height: @cell_height !important;
  line-height: @cell_height !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.vxe-body--row .vxe-cell {
  height: @cell_height !important;
  line-height: @cell_height !important;
  display: block !important;
  align-items: center !important;
}

.vxe-cell--title {
  height: @cell_height !important;
  line-height: @cell_height !important;
}

.vxe-input {
  height: @cell_height !important;
  line-height: @cell_input_height !important;
  border-color: #57a3f3 !important;
}

.vxe-body--row .ivu-input {
  height: @cell_input_height !important;
  line-height: @cell_input_height !important;
  margin-top: 0 !important;
  //border-color: #57a3f3 !important;
}

.vxe-body--row .col--tableSelect .ivu-input {
  height: @cell_height !important;
  line-height: @cell_height !important;
  margin-top: -5px !important;
  border-color: #57a3f3 !important;
}

.vxe-body--row .col--select .ivu-input {
  height: @cell_height !important;
  line-height: @cell_height !important;
  margin-top: -5px !important;
  border-color: #57a3f3 !important;
}

.vxe-body--row .ivu-poptip {
  width: 100%;
  height: @cell_height;
  line-height: @cell_height;
}

.vxe-body--column {
  padding: 0 !important;
}

//暗锚
.hide-anchor {
  position: relative;
  top: 0px;
  display: block;
  height: 0;
  overflow: hidden;
}

.button-group-class {
  width: 100%;
  height: 50px;
  background-color: #ff0000;
  z-index: 10
}


.vxe-footer--column.col--ellipsis > .vxe-cell {
  display: block !important;
}


//菜单栏.menu
.menu {
  background-color: #F5F7F9;
}

.ivu-select-small.ivu-select-multiple .ivu-tag i {
  top: 4px !important;
  right: 2px !important;
}

.ivu-select-small.ivu-select-multiple .ivu-tag {
  height: @select_tag_height !important;
  line-height: @select_tag_height !important;
  margin: -4px 4px 0 0 !important;
}

.ivu-select-multiple .ivu-select-item-focus {
  background: #fff;
}


/**
 * @desc   : svg引入icon的样式
 * @author : 张潇木
 * @date   : 2022-5-14 10:37
 */
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}


.print-preview-model-no-padding .ivu-modal .ivu-modal-content .ivu-modal-body {
  padding: 0px !important;
}

.multi-class .ivu-modal-body {
  background: #eaedf7 !important;
}

.print-preview-model-no-padding .ivu-modal {
  top: 20px;
}

.pop-content {
  width: 255px;
  min-width: 200px;
  /*background: #e9edf1;*/
  padding: 10px;
  border: 1px #a5acb5;
  overflow-y: auto;
  overflow-x: hidden;
  white-space: initial;
  /*word-break: break-all;*/
}

.ivu-modal-body .Col{
  padding-right:  0 !important;
}


//TODO
///deep/.ivu-collapse-content-box {
//  padding-top: 0 !important;
//}
//
///deep/.ivu-collapse-content {
//  padding: 0 1px !important;
//}

//.main .content-wrapper {
//  height: 0;
//  overflow: auto;
//  margin: 50px 0px 60px 0px;
//}

//时间空间的input高度
.ivu-date-picker-editor > .ivu-input {
  height: 28px;
}

//恒洁article-show组件
.article-show {
  padding: 30px 20%;
  display: flex;
  flex-direction: column;
  align-items: center;

  .header {
    position: relative;
    display: flex;
    font-weight: bold;
    font-size: 24px;

    .title {
      padding: 0100px;
    }

    .category-name {
      position: absolute;
      font-weight: 500;
      font-size: 14px;
      color: #909399;
      bottom: 5px;
      right: 0;
    }
  }

  .html-box {
    width: 100%;
  }

  .footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: #909399;
  }
}

.split-class {
  height: 2px;
  background: #E6ECF4;
  margin-bottom: 3px;
}

/* datepicker 只读背景色 */
.ivu-date-picker-editor > input[readonly='readonly'] {
  background: #f3f3f3;
}

.ivu-input-group-prepend[type="radio"] {
  border: 1px solid #dcdee2 !important;
  //background: red !important;
}


.xm-select-size > xm-select > .xm-body {
  min-width: 200px !important;
}

.xm-select-size > xm-select {
  //border: 1px solid #dcdee2 !important;
  min-height: 28px !important;
  line-height: 28px !important;
}

.ivu-form-item-error .xm-select-size > xm-select {
  border: 1px solid red !important;
}

.ivu-form-item-error .ivu-switch {
  border: 1px solid red !important;
}

//form页面滚动条样式
.ivu-layout-content::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
/*滚动条的轨道*/
.ivu-layout-content ::-webkit-scrollbar-track {
  /*background-color:  rgba(233, 240, 254, 1);*/
  background-color:  rgb(222, 231, 250);
  border: unset;
}
/*滚动条里面的小方块，能向上向下移动*/
.ivu-layout-content ::-webkit-scrollbar-thumb {
  background-color: #bfbfbf;
  border-radius: 5px;
  border: 1px solid #F1F1F1;
  box-shadow: inset 0 0 6px rgba(0,0,0,.3);
}
.ivu-layout-content ::-webkit-scrollbar-thumb:hover {
  background-color: #A8A8A8;
}
.ivu-layout-content ::-webkit-scrollbar-thumb:active {
  background-color: #787878;
}
/*边角，即两个滚动条的交汇处*/
.ivu-layout-content ::-webkit-scrollbar-corner {
  background-color: #FFFFFF;
}

.main-div::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
  height: 0;
}

.main-div::-webkit-scrollbar-thumb:hover {
  /*滚动条里面小方块*/
  border-radius: 10px;
  box-shadow: inset 0 0 5px #2d8cf0;
  background: #2d8cf0;
}

.main-div::-webkit-scrollbar-track:hover {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #ededed;
}

.main-div::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  box-shadow: inset 0 0 5px #f5f7f9;
  background: #f5f7f9;
}

.main-div::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px #f5f7f9;
  border-radius: 10px;
  background: #f5f7f9;
}

.close-all-class {
  cursor: pointer;
  width: 24px;
  position: absolute;
  top: 5px;
  align-items: center;
  justify-content: center;
  height: 24px;
  color: #a0a5ac;
  z-index: 33;
}

.split-div-class {
  margin-top: 1px;
  padding: 0 0 0 1px;
}

.vxe-input--number-prev-icon {
  display: none;
}

.vxe-input--number-next-icon {
  display: none;
}


.vxe-table--context-menu-wrapper {
  z-index: 6000 !important;
}

.vxe-select--panel {
  z-index: 5000 !important;
}

/** side-menu**/
.ivu-layout-sider {
  //background-color: @side-menu-background !important;
  background-color: #272541!important;

}

.ivu-menu-dark {
  //background-color: @side-menu-background !important;
  background-color: #272541!important;

}

.ivu-menu-submenu-title i:nth-child(3) {
  display: none;
}

.ivu-menu-item {
  //background-color: @side-menu-drawer !important;
  background-color: #272541!important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ivu-menu-submenu-title {
  display: flex;
  align-items: center;
  //background-color: @side-menu-background !important;
  background-color: #272541!important;
  //background-color: #1a1a1a!important;
}



.ivu-menu-submenu-title:hover {
  //background-color: @side-menu-drawer !important;
  //background-color: #272541!important;
  background: rgba(62, 105, 246, 1)!important;


}

.ivu-menu-submenu {
  //background-color: @side-menu-drawer !important;
  //background-color: #272541!important;
  background: rgba(62, 105, 246, 1)!important;


}

.monthPanpel .monthPanpel-left .monthPanpel-left-cell .ivu-tooltip .ivu-tooltip-rel{
  cursor: pointer;
}

.vxe-header--row .vxe-cell{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.table-title {
  padding: 4px 0 4px 4px;
  font-weight: bold;
}

.search-menu {
  width: 70% !important;

}

.search-menu > input {
  border-radius: 4px!important;
  height: 40px !important;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.22);
  border: unset;
  color: #FFFFFF!important;
  //width: 100% !important;
}

.search-menu > i {
  margin-top: 4px;
  line-height: 32px !important;
  font-size: 16px !important;
}

//抽屉
.drawer {
  display: flex;
  margin-bottom: 5px;
  margin-left: 5px;
  z-index: 5000;
}

.drawer .drawer-title {
  font-size: 14px;
  border-bottom: 1px solid #B3B9BF;
  padding-bottom: 10px;
  width: 125px;
  margin-right: 10px;
  color: #FFFFFF
}

.drawer .drawer-item {
  max-height: 407px;
  overflow-y: auto;
  margin-right: 20px;
}

.drawer .drawer-content {
  color: #FFFFFF;
  margin-top: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  padding: 0 10px 0 0;
  height: 24px;
}

.drawer-meta-title{
  display: flex;
  align-items: center;
}
//鼠标悬停变色
.drawer-meta-title:hover {
  color: rgba(115, 148, 255, 1);
}

//菜单弹窗 添加padding
#menu-drawer .ivu-drawer-body {
  padding: 16px !important;
}

//抽屉的z-index是1000，如果小于1000，会被认为移出了鼠标，会一直打开、关闭无限循环
.ivu-menu-vertical .ivu-menu-submenu-title {
  z-index: 5000 !important;
}


.vxe-table--render-default .vxe-body--row.row--current .vxe-body--column {
  background-size: 1px 100%, 100% 0px !important;
}

.vxe-table--render-default .vxe-body--row.row--checked, .vxe-table--render-default .vxe-body--row.row--radio .vxe-body--column {
  background-size: 1px 100%, 100% 0px !important;
}

.look-more-class {
  width: 100%;
  text-align: right;
}

.base-button-class .ivu-poptip-content {
  width: 120px !important;
}

.base-button-class .ivu-poptip-body {
  padding: 1px 0 0 0;
}


.index-grid-item-class {
  background: transparent !important;
}

.index-grid-item-text-class {
  color: #1B365D !important;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  //text-overflow: ellipsis;
  //white-space: nowrap;
  //overflow: hidden;
}

.refresh-class .ivu-poptip-inner{
  width: 80px !important;
}


//大屏半检 ↓
//采集检查 下拉弹窗
.check-add-touch-select-left {
  transform-origin: top left;
  scale: 1.5;
}

.check-add-touch-select-right {
  transform-origin: top right;
  scale: 1.5;
}

//采集检查 modal弹窗
.check-add-touch-modal .header-class {
  font-size: 20px !important;
}

/*采集检查 选择modal body*/
.check-add-touch-modal .ivu-modal-body {
  //height: 600px !important;
}

/* 采集检查选择modal tab*/
.check-add-touch-modal .ivu-tabs-tab {
  font-size: 16px !important;
  height: 40px !important;
  line-height: 40px !important;
}

.check-add-touch-modal .ivu-tabs-bar {
  height: 40px !important;
}

.check-add-touch-modal .ivu-tabs-nav-container {
  height: 40px !important;
}

//大屏半检 ↑

//一览页面查询条件+表格部分
.index-card{
  padding: 6px 8px;
  border-radius: 8px;
  //background: rgba(255, 255, 255, 1);
  //box-shadow: 0px 3px 8px 0px rgba(146, 179, 186, 0.25);
  background-color: #FFFFFF;
}

//form页面只读form样式
.read-only-form{

  .ivu-row{
    margin-top: 10px;
    .ivu-col{
      padding-right: 0px!important;
      .ivu-input-group-prepend{
        border: unset!important;
        background-color: rgba(248, 249, 253, 1);
      }
    }
  }
  .amount input{
    color: #FF7B1A!important;
  }
  input{
    height: 36px!important;
    border: unset!important;
    text-align: left!important;
    background-color: rgba(248, 249, 253, 1)!important;
    font-size: 16px!important;
    font-weight: 600;
    outline:none!important;  /*去除点击时的蓝色边框*/
    box-shadow:none!important; /*同时去除阴影的蓝色边框*/
  }
  .ivu-input-group{
    height: 36px!important;
  }

  .ivu-input-group-append{
    border: unset!important;
    background-color: rgba(248, 249, 253, 1)!important;
  }
  .ivu-input-group-prepend{
    width: 50%!important;
    div{
      width: 100%!important;
      text-align: right!important;
      color: rgba(136, 136, 136, 1);
    }
  }
}


//带switch的form样式
.ivu-input-group .ivu-switch{
  margin: 2px 4px!important;
}
.ivu-input-group:has(.ivu-switch){
  width: ~"calc(100% - 16px)";
  border: 1px solid #dcdee2;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ivu-input-group:has(.ivu-switch)>div:first-child{
  border: unset;
}

//form中的textarea备注样式
.ivu-input-group textarea{
  min-height: 28px!important;
}
//放大镜组件readonly-input鼠标禁用样式
.readonly-input .ivu-input{
  cursor: not-allowed;
}
//放大镜组件readonly-icon鼠标禁用样式
.ivu-input-group:has(.readonly-input) .search-class{
  cursor: not-allowed!important;
  pointer-events: none; /* 阻止鼠标事件触发 */
}


//将form的label和内容合并的样式，还有问题 暂时注释
////input-hover样式
//.ivu-input-group:hover .ivu-input-group-prepend,
//.ivu-input-group:hover .ivu-input,
//.ivu-input-group:hover xm-select{
//  border-color: #57a3f3!important;
//}
////input-focus样式
//.ivu-input-group:focus-within .ivu-input-group-prepend,
//.ivu-input-group:focus-within .ivu-input,
//.ivu-input-group:focus-within xm-select {
//  border-color: #57a3f3!important;
//  //box-shadow:0 0 0 2px rgba(45, 140, 240, 0.2)!important;
//}
//
//
//.ivu-input:focus{
//  box-shadow:unset!important;
//}
//
//.ivu-input-group-prepend{
//  transition: border 0.2s ease-in-out, background 0.2s ease-in-out, box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out!important;
//}
//
//xm-select {
//  border-left: unset!important;
//  box-shadow: none!important;
//  transition: border 0.2s ease-in-out, background 0.2s ease-in-out, box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out!important;
//
//}
//
//.ivu-input-group .ivu-input{
//  border-left: unset!important;
//  border-top-left-radius: 0px!important;
//  border-bottom-left-radius: 0px!important;
//}
//.ivu-input-group .ivu-input-group-prepend{
//  border-right: unset!important;
//  border-top-right-radius: 0px!important;
//  border-bottom-right-radius: 0px!important;
//}
//.ivu-input-group xm-select{
//  border-left: unset!important;
//  border-top-left-radius: 0px!important;
//  border-bottom-left-radius: 0px!important;
//}
//

