@import 'press-plus/common/style/gp-match/palette.scss';
@import 'press-plus/common/style/gp-match/mixin.scss';

// 防止 ::v-deep 语句 在小程序中不生效
:root {
  --popup-background-color: transparent;
}

::v-deep .press-popup {
  background-color: transparent;
}


.press-operation {
  &__main {
    padding: 0 .2rem;
    box-sizing: border-box;
  }
  
  &__item {
    margin-bottom: .2rem;  
  }

  &__button {
    position: relative;
    display: block;
    text-align: center;
    font-size: $font-l;
    line-height: 1rem;
    background: $color-white;
    border-radius: 1px;
    
    &:last-child {
      border: 0 none;
    }

    &--default {
      color: $color-gray-3;
    }
    
    &--cancel {
      color: $color-gray-3;
    }
    
    &--warn {
      color: $color-red;
    }
  }
}

