@import "./default";

// @blue-6: #fa9022; //primary颜色，如按钮
// @red-6: #fa4b36; //input has-error边框，错误提示的颜色

// @btn-height-base: 30px;

// /*reset input*/
// @input-height-base: 30px;
// @border-radius-base: 2px;
// @input-color: #171717;
// @input-placeholder-color: #ccc;
// @border-color-base: #e8e8e8;
// @background-color-base: #f1f2f3; //只读input的底色
// /*END*/

/*重置滚动条样式 BEGIN*/
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 3px;
}
/*滚动条 END*/

.ie9 .ant-layout-sider {
  float: left;
}
/* 隐藏tabs 开始*/
// .ie9 .bss-content > div:first-child {
//   display: none;
// }
/* 结束*/

.clearfixAfter {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix {
  display: block;
  zoom: 1;
}

/* 兼容IE9下card布局 开始*/
.ie9 .ant-card-head-title {
  float: left;
}
/* 结束*/

/* 标准卡片列表 开始*/
.ie9 {
  .fix-list-ie9 {
    .ant-list-item {
      .clearfix;
      &:after {
        .clearfixAfter;
      }
      .ant-list-item-meta {
        .clearfix;
        float: left;
        width: 40%;
        min-width: 450px;
        &:after {
          .clearfixAfter;
        }

        .ant-list-item-meta-avatar {
          float: left;
        }
        .ant-list-item-meta-content {
          float: left;
          width: 70%;
        }
      }
      .ant-list-item-content {
        float: left;
        min-width: 428px;
      }
      .ant-list-item-action {
        float: right;
        min-width: 110px;
      }
    }
  }
}
/* 结束*/

/* 移除input的box-shadow效果 */
.ant-input:focus,
.ant-select-focused {
  box-shadow: none !important;
  border-color: #fa9022 !important;
}
.has-error .ant-input,
.has-error .ant-input:hover {
  border-color: @red-6!important;
  color: @red-6!important;
}
.has-error .ant-form-explain,
.has-error .ant-form-split {
  border-color: @red-6!important;
  color: @red-6!important;
}
.ant-input[disabled],
.ant-input-disabled,
.ant-select-disabled .ant-select-selection,
.ant-cascader-picker-disabled {
  background-color: @background-color-base!important;
  color: #5e5e5e !important;
}
/* 结束 */

/* 重置 .ant-card */
.ant-card {
  border-radius: 8px !important;
}
/* 结束 */
