// @import './mixin.scss';
@import './transition.less';
@import './sidebar.less';
@import './reset.less';
@import './common.less';
@import './variables.less';

body {
  width: 100vw;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  // color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}
.pointer{
  cursor: pointer;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.ant-form-item-label > label::after {
  content: '';
}


// 上下布局
.updown-content {
  height: 100%;
  background-color: #fff;
  padding: 20px;
  .ant-input-affix-wrapper {
    padding: 0 0 0 4px;
  }
  .ant-form-item-label {
    line-height: 42px;
  }
  .ant-input {
    padding-left: 10px !important;
  }
  .ant-divider {
    margin-top: 0px;
  }
}

.content-table {
  margin-top: 20px;
  height: calc(~'100% - 180px');
  .ant-table {
    .ant-btn {
      padding: 4px 0 !important;
    }
    .ant-dropdown-link {
      color: #2956F2;
    }
    .ant-btn > .anticon + span {
      margin-left: 5px;
    }
    .center-btn {
      margin: 0 20px;
    }
  }
}

.ant-dropdown-menu li {
  padding-left: 8px !important;
}

// 左右布局
.about-content {
  height: 100%;
  position: relative;
  .ant-input-affix-wrapper {
    padding: 0 0 0 4px;
  }
  .input-lg {
    width: 100%;
  }
  .ant-divider {
    margin: 15px 0;
  }
  .left-box,
  .right-box {
    padding: 16px;
    background-color: #fff;
    border-radius: 6px;
    height: 100%;
    overflow: auto;
    .ant-input {
      padding-left: 10px;
    }
  }
  .left-box {
    width: 248px;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow-x: hidden;
    .z-tree {
       width: 216px;
    }
  }
  .right-box {
    width: calc(~'100% - 258px');
    margin-left: 258px;
    .ant-form {
      .ant-btn {
        height: 42px;
        padding: 4px 24px;
      }
    }
  }
}

.ant-message {
  z-index: 5000;
}

.ant-form-item-explain-error {
  color: #FF333D;
}
