@import '../common/var.scss';
$toolbar-spacing:10px;
$toolbar-height:44px;

.ibps-toolbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fcfcfc;
  z-index: 999;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);

  .ibps-toolbar-group {
    display: -webkit-box;
    display: flex;
    height: $toolbar-height;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 2px;
    box-shadow: 0 1px 6px rgba(0,0,0,.24);
    background-color: #fcfcfc;
    margin: 0 $toolbar-spacing $toolbar-spacing $toolbar-spacing;
  }
  /**更多*/
  .ibps-toolbar-group-more {
    margin-bottom: $toolbar-spacing;
  }
}

.ibps-toolbar-item {
  display: -webkit-box;
  display: flex;
  -webkit-box-flex: 1;
  flex: 1;
  flex-basis: 1e-9px;
  width: 1%;
  -webkit-box-align: center;
  align-items: center;
  background-color: $background-color;

  &:last-child {
    position: static;
    :after {
      display: none;
    }
  }
  &:active {
     opacity: .2; 
//background-color: $active-color;
    &:after {
      border-color: transparent;
    }
  }
  
  .ibps-toolbar-chb {
    height: $toolbar-height;
    padding: 0;
    font-size: $fontsize-small;
    background-color: transparent;
    .van-checkbox__label {
      position: relative;
      margin-left: 5px;
    }
  }
  .van-button {
    position: relative;
    padding: 0 5px;
    border: 0 none;
    font-size: $fontsize-small;
    border-right: 1px solid #e5e5e5;
    width:100%;
    &:active {
      // background-color: transparent;
      &:after {
        display: none
      }
    }
    i{
      margin-right: 0;
    }
    i.van-icon-ellipsis {
      color: $gray-dark;
      font-size: $fontsize-large-xxx;
      margin: 10px;
    }
  }
}