/*
 * @Author: Zp 全局样式
 * @Date: 2020-02-25 14:31:06 
 * @Last Modified by: Zp
 * @Last Modified time: 2020-04-27 13:30:27
 */

html,
body,
#app {
  height: 100%;
  font-family: Microsoft YaHei;
  .ivu-input-large,.ivu-btn-large {
    font-size: 14px;
  }
  .ivu-select-large.ivu-select-single .ivu-select-selection .ivu-select-placeholder, .ivu-select-large.ivu-select-single .ivu-select-selection .ivu-select-selected-value {
    font-size: 14px;
  }
  .ivu-btn {
    // border-color: #1FE4DC;
    // background-color: transparent;
    // color: #1FE4DC;
  }
  .ivu-btn-primary {
    background-color: #1FE4DC;
    color: #fff;
  }
  .ivu-btn-ghost.ivu-btn-primary {
    color: #1FE4DC;
    background: transparent;
    border-color: #1FE4DC;
  }
  .ivu-input[disabled] {
    background: #161a1a;
    color: #fff;
  }
  th .ivu-table-cell {
    color:rgba(255,255,255,0.38);
    font-weight: normal;
  }
  .ivu-input-word-count,.ivu-input-group-append {
    background: #161a1a;
    
  }
  .ivu-input-group-append {
    border-left: none;
    position: relative;
    font-size: 14px;
    &::before {
      content: '';
      width: 1px;
      height: 100%;
      display: block;
      background: #161a1a;
      position: absolute;
      left: -1px;
      top: 0;
      z-index: 111;
    }
  }
  .ivu-date-picker .ivu-select-dropdown {
    background: #161a1a;
  }
  .ivu-modal-header {
    padding: 0;
  }
  .cancle-btn {
    border: 1px solid #555555;
    background: transparent;
    color: #fff;
    margin-right: 14px;
  }
  .ivu-select-large .ivu-select-input {
    font-size: 14px;
  }
  .upload-handle, .file-item {
    width: 100px;
    height: 100px;
    display: inline-block;
    position: relative;
    margin-left: 10px;
    img {
      width: 100px;
      height: 100px;
    }
    .close-btn {
      color: #fff;
      font-size: 12px !important;
      position: absolute;
      right: 0;
      top: 0;
      line-height: 1;
      .close {
        font-size: 12px;
      }
    }
  }
  .cancle-btn {
    width: 70px;
    background-color: transparent;
    &:hover {
      background-color: transparent;
    }
  }
  .ivu-select-multiple .ivu-select-item-focus, .ivu-select-multiple .ivu-select-item-selected:hover, .ivu-select-multiple .ivu-select-item-selected {
    background-color: transparent;
  }
  .ivu-select-large.ivu-select-multiple .ivu-tag {
    background-color: transparent;
  }
}

// 覆盖 view-design 默认样式 start

// view Message 背景颜色
.ivu-message-notice .ivu-message-notice-content {
  background-color: #000;
}

// view Icon 手指
.ivu-icon,
.iconfont {
  font-size: 20px;
  cursor: pointer;
}

.ivu-icon:not(:last-child) {
  margin-right: 5px;
}

// view Poptip 提示气泡全局样式
.ivu-poptip-content {
  .ivu-poptip-inner {
    background-color: #161a1a;
  }
}

.ivu-poptip-popper[x-placement^="top"]
  .ivu-poptip-content
  .ivu-poptip-arrow:after {
  border-top-color: #161a1a;
}

// view 对话框默认样式
.ivu-modal {
  .ivu-modal-content {
    background-color: rgb(40, 39, 42);
    .ivu-modal-confirm-head-title {
      color: #fff;
    }
  }
  .ivu-modal-header,
  .ivu-modal-footer {
    border: none;
    p {
      color: #fff;
    }
  }
}

// view 表格默认样式
.ivu-table-wrapper {
  .ivu-table,
  .ivu-table td {
    background-color: transparent;
    .ivu-table-row td {
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      background-color: #252828;
    }
  }
}

// view 下拉框默认样式
.ivu-select-dropdown.ivu-select-dropdown-transfer {
  background-color: #161a1a;
  .ivu-select-item:hover, .ivu-select-item-focus {
    background: #161a1a;
  }
}

.ivu-select {
  .ivu-select-selection {
    border: 1px solid #555a5a;
    background-color: #161a1a;
  }
  .ivu-select-dropdown {
    max-height: 300px;
    background-color: #161a1a;
  }
  .ivu-select-item-selected,
  .ivu-select-item-selected:hover {
    color: #1FE4DC;
  }
  .ivu-select-item-focus,
  .ivu-select-item:hover {
    background-color: #252828;
  }
}
// view 输入框、下拉框，伪类默认样式
// .ivu-input-wrapper .ivu-input:hover,
// .ivu-input-wrapper .ivu-input:focus,
// .ivu-select .ivu-select-selection:hover,
// .ivu-select .ivu-select-selection-focused {
//   border: 1px solid #000;
//   box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
// }

// view 上传
.ivu-upload .ivu-upload-drag {
  width: 100%;
  height: 100%;
  background-color: transparent;
  .upload {
    padding: 15px 0;
  }
}

// view 分页默认样式
.ivu-page {
  li {
    background-color: transparent;
  }
}



// 覆盖 view-design 默认样式 end

// 自定义 class 全局样式 start

// 全局搜索框样式
.search-box {
  width: 240px;
  height: 40px;
  margin-bottom: 20px;
  .ivu-input {
    padding: 11px 15px;
  }
}

.button-group {
  button:not(:last-child) {
    margin-right: 15px;
  }
}

// 布局主体容器
.layout-main {
  overflow: auto;
  padding: 24px;
  border-left: 1px solid #555a5a;
  background-color: #161a1a;
}

// 主体容器滚动条
.layout-main::-webkit-scrollbar {
  width: 4px;
}
.layout-main::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.38);
}

// 自定义上传信息框滚动条样式
*::-webkit-scrollbar {
  width: 4px;
}
*::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.38);
}

// 自定义记住密码表单框的样式
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #ededed !important;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  background-color: transparent;
  background-image: none;
  transition: background-color 50000s ease-in-out 0s; //背景色透明  生效时长  过渡效果  启用时延迟的时间
}

// 布局容器
.layout-container {
  padding: 20px;
  background-color: #252828;
}

// 自定义 class 全局样式 end
.clearfix {
  clear: both;
  &:before,&:after {
    content:"";
    display:table;
 }
 &:after { clear:both; }
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.app-container {
  background-color: #252828;
}

.form-content {
  padding: 20px;
  background:rgba(255,255,255,0.05);
}

.m-r-12 {
  margin-right: 12px;
}
.upload-tip {
  color:rgba(255,255,255,0.38);
  font-size: 12px;
  line-height: 1;
}

.upload-box {
  width: 500px;
}
.house-upload {
  width: 100px;
  height: 100px;
  display: inline-block;
}
.hidden-input {
  position: fixed;
  left: 99999px;
  top: 99999px;
}