/* positionModule 持仓模块组件 */

#positionModule {
  font-size: 14px;
  height: 100%;
}
#positionModule b {
  font-weight: normal;
}
#positionModule .table-top {
  height: 34px;
  line-height: 34px;  
  padding-left: 4px;
  display: flex;
  justify-content: space-between;
  padding-right: 6px;
}
.white #positionModule .table-top {
  background-color: #F5F6F8;
}
.default #positionModule .table-top {
  background-color: #202028;
  color: #c7c1cd;
}
#positionModule .table-top .refresh-result {
  flex: 1;
  margin-left: 30px;
}
#positionModule .table-top .group-btn {
  position: relative;
}
#positionModule .table-top .group-btn .position-check {
  position: absolute;
  right: 0;
  top: 30px;
  border: 1px solid #4792e5;
  background-color: white;
  height: 26px;
  line-height: 26px;
  background: #d2e8ff;
  color: #000;
  padding-right: 4px;
  z-index: 999;
}
.default #positionModule .table-top .group-btn .position-check {
  background-color: #275caa;
  color: #fff;
}
.default #positionModule .el-checkbox__input.is-checked .el-checkbox__inner,
.default #positionModule .position-check .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #275caa;
  border: none;
}
.default #positionModule .el-checkbox__inner {
  background-color: #000;
}
.white #positionModule .position-check .el-checkbox__input.is-checked .el-checkbox__inner,
.white #positionModule .position-check .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #d2e8ff;
  border: none;
}
.default #positionModule .position-check .el-checkbox__input.is-checked .el-checkbox__inner::after {
  border-color: #fff;
}
.white #positionModule .position-check .el-checkbox__input.is-checked .el-checkbox__inner::after {
  border-color: #000;
}
#positionModule .position-check .el-checkbox__inner {
  border: none;
  background-color: #d2e8ff;
}
.default #positionModule .position-check .el-checkbox__inner {
  border: none;
  background-color: #275caa;
}
#positionModule .position-check .el-checkbox__input {
  padding-left: 4px;
}
#positionModule .position-check  .el-checkbox__label {
  padding-left: 0;
}
.default #positionModule .position-check .el-checkbox__label {
  color: #fff;
}
#positionModule .blue-small-btn {
  color: #4792e5;
  cursor: default;
}

/* tabs */
#positionModule .el-tabs__nav-wrap::after {
  display: none;
}
#positionModule .el-tabs__active-bar {
  display: none;
}
#positionModule .el-tabs__header {
  margin-bottom: 0;
}
.default #positionModule .el-tabs__item{
  color: #c7c1cd;
}
#positionModule .el-tabs__item {
  height: 26px;
  line-height: 26px;
  width: 68px;
  text-align: center;
  padding-right: 0;
  padding-left: 0;
  border-radius: 2px;
  margin-right: 4px;
}
.default #positionModule .el-tabs__item:hover{
  background-color: #2f333e;
  color: #f1f9fc;
}
#positionModule .el-tabs__item:hover {
  background-color: #d4dbed;
  color: #f7f8fc;
  cursor: pointer;
  padding-left: 0;
}
#positionModule .el-tabs__item.is-active {  
  color: #fff;
  padding-left: 0;
}
.white #positionModule .el-tabs__item.is-active {
  background-color: #527bbb;
}
.default #positionModule .el-tabs__item.is-active {
  background-color: #275caa;
}

/* 资产 */
#positionModule .account-info {
  margin: 8px 0;
  display: flex;
}
#positionModule .account-info .left {
  width: 100px;
}
#positionModule .account-info .right {
  width: 80px;
  text-align: center;
  cursor: default;
  position: relative;
  visibility: hidden;
}
#positionModule .span-hover:hover+.account-position {
  display: block;
}
#positionModule .account-position {
  display: none;
  border: 1px solid #000;
  padding: 10px;
  min-width: 300px;
  position: absolute;
  z-index: 99;
  background: #fff;
  right: 40px;
  top: 24px;
  font-size: 12px;
}
#positionModule .account-position span {
  display: block;
  text-align: left;
}
#positionModule .account-info .center {
  flex-grow: 1;
  overflow: hidden;
  /* text-overflow: ellipsis; */
  white-space: nowrap;
}
#positionModule .account-info .el-select .el-input .el-select__caret {
  line-height: 26px;
}
.white #positionModule .account-info {
  color: #000;
}
.default #positionModule .account-info {
  color: #c7c1cd;
}
#positionModule .account-info .el-select{
  width: 90px;
}
#positionModule .account-info,
#positionModule .content-table {
  padding-left: 10px;
}
#positionModule .account-info span {
  padding-left: 10px;
}
#positionModule .el-select-dropdown__item span {
  padding-left: 0;
}

/* 复选框lable颜色 */
.white #positionModule .el-checkbox__input.is-checked+.el-checkbox__label,
.white #positionModule .el-checkbox__label {
  color: #000;
}
.default #positionModule .el-checkbox__input.is-checked+.el-checkbox__label,
.default #positionModule .el-checkbox__label {
  color: #fff;
}

/*  */
#positionModule .el-input {
  width: auto;
  height: auto;
}


/* 表格 */
/* 表格行背景色-白色 白皮肤*/
#positionModule .el-table tr {
  background-color: #f6fafe;
}
#positionModule .el-table__body tr:hover>td {
  background-color: #f6fafe;
}
/* 表格行背景色-蓝色 白皮肤*/
.white #positionModule .el-table .table-row-blue {
  background-color: #e1e9f2!important;
}
.white #positionModule .el-table__body .table-row-blue:hover>td {
  background-color: #e1e9f2!important;
}
/* 表格行背景色 黑皮肤*/
.default #positionModule  .el-table tr {
  background-color: #12151c;
}
.default #positionModule .el-table__body tr:hover>td {
  background-color: #12151c;
}
#positionModule .el-table th.gutter {
  width: 8px!important;
}
#positionModule .positionTable {
  height: calc(100% - 26px);
}
#positionModule .entrustTable {
  height: calc(100% - 36px);
}
#positionModule .dealTable {
  height: calc(100% - 34px - 40px);
}

/*  */
#positionModule .red-color {
  color: #F24950;
}
#positionModule .green-color {
  color: #1AAE52;
}
#positionModule .blue-color {
  color: #509bd4;
}


#positionModule .table-box .selectionText .cell .el-checkbox__inner {
  display: none;
  position: relative;
}
#positionModule .table-box .selectionText .cell::before {
  content: '批选';
  position: absolute;
  right: 2px;
}

/* 隐藏表格复选框 */
#positionModule .table-box .table-checkbox-hidden .el-checkbox__inner {
  display: none;
}
/* 加载更多 */
.white #positionModule .disabled-color {
  color: #cecbc6;
}
.default #positionModule .disabled-color {
  color: #42464f;
}
.white #positionModule .abled-color {
  color: #000;
}
.default #positionModule .abled-color {
  color: #000;
}
#positionModule .load-more {
  text-align: center;
  width: 100%;
  padding: 10px 0;
  cursor: default;
}

/* 撤单 */
#positionModule .left-btn .blue-border-btn {
  padding: 2px 10px;
  border: 1px solid #4792e5;
  color: #4792e5;
  border-radius: 2px;
  margin-right: 10px;
  cursor: default;
}

/* 禁用状态按钮 */
#positionModule .left-btn .disabled-btn {
  color: #c5c1c0;
}
#positionModule .flex-row {
  display: flex;
  justify-content: space-between;
  padding-right: 10px;
}

