@import "_mixin";
@import "common";

.bml-cell-option {
  padding-right: $bmlCellGapH * 2;
  
  position: relative; //这个是为了兼容cells容器onepx方案被before挡住而做的
  flex-direction: row;
  align-items: center;
  left: 0;
}
.bml-cell-link {
  padding-left: $bmlCellGapH;
  padding-right: $bmlCellGapH;
  left: 0;
}
.bml-cell__hd{
  flex-direction: row;
  align-items: center;
}
.bml-cell__bd{
  //flex: 1;
}
.bml-cell__ft {
  flex-direction: row;
  align-items: center;
  text-align: right;
}
.bml-cell-ft-text {
  color: $bmlTextColorDesc;
}
.bml-cell-icon {
  width:$bmlCellLineHeight;
  height:$bmlCellLineHeight;
  font-size: $bmlCellFontSize;
  color: $bmlColorPrimary;
  margin-right: $bmlCellInnerGapH;
}
.bml-cell-image {
  width:$bmlCellLineHeight;
  height:$bmlCellLineHeight;
  margin-right: $bmlCellInnerGapH;
}
.bml-label{
  width:$bmlCellLabelWidth;
  @include text_wrap();
}
.bml-label-text {
  font-size: $bmlCellFontSize;
  color: $bmlTextColorTitle;
}
.bml-cell_input{
  padding-top: 0;
  padding-bottom: 0;
}
.bml-input{
  height: $bmlCellLineHeight;
  min-height: $bmlCellLineHeight;
  line-height: $bmlCellLineHeight;
  font-size: $bmlCellFontSize;
}

.bml-cell_active {
  background-color: $bmlCellActiveBg;
}
.bml-cell_primary{
  align-items: flex-start;
}
.bml-cell_wxss{
  &:before{display:block;}
}
.bml-cell_label-block{
  display:block;
  .bml-label{
    width:auto;
    word-break:initial;
    -webkit-hyphens:auto;
    hyphens:auto;
  }
}
.bml-cells_checkbox{
  .bml-check__label{
    &:before{
      left:55px;
    }
  }
}

// icon
.bml-check__label{
    &:active{
        background-color: $bmlCellActiveBg;
    }
}
.bml-check{
    position: absolute;
    left: -9999px;
}
.bml-check__hd_in-checkbox{
    padding-right: $bmlCellInnerGapH;
}
.bml-cell__ft_in-radio{
    padding-left: $bmlCellInnerGapH;
}

.bml-cell_access {
  color: inherit;
  @include setTapColor();
}

.bml-cell-ft-icon {
  font-size: 32px;
  font-weight: Medium;
  color: #c2c4ca;
  margin-left: $bmlCellInnerGapH;
  //width: 32px;
  //height: 32px;
}
/*
.bml-cell__ft_in-access {
  padding-right: 16px;
  position: relative;

  content: " ";
  @include setArrow(right, 8px, #B2B2B2, 2px);
  position: absolute;
  top: 50%;
  margin-top: -5px;
  right: 0;
}
*/
.bml-cell_link{
  color: $bmlLinkColorDefault;
  font-size: 17px;
}
.bml-cell_link:active {
  background-color: $bmlCellActiveBg;
}

.bml-textarea{
  display: block;
  width: 100%;
}
.bml-textarea-counter{
  color: $bmlTextColorTips;
  text-align: right;
}
.bml-textarea-counter_warn{
  color: $bmlTextColorWarn;
}
.bml-cell_warn{
  color: $bmlTextColorWarn;
}
