/*
* created by zhongzheng at 2020.10.09
*/
@import "../style/themes/default.less";
@import "../style/mixins/index.less";

@action-sheet-prefix-cls: ~"@{sino-prefix}-action-sheet";

.@{action-sheet-prefix-cls} {
    border-radius: @action-sheet-border-radius @action-sheet-border-radius 0 0;
    background-color: #F6F9FD;
    overflow: hidden;

    &-message {
        .bb1px();
        padding: .3rem .6rem;
        line-height: @action-sheet-message-line-height;
        text-align: center;
        font-size: @action-sheet-message-font-size;
        color: @action-sheet-message-color;
        background-color: #fff;
    }

    &-item {
        .bb1px();
        display: flex;
        align-items: center;
        justify-content: center;
        height: 1.08rem;
        padding: 0 .6rem;
        line-height: @action-sheet-item-line-height;
        font-size: @action-sheet-item-font-size;
        color: @action-sheet-item-color;
        background-color: #fff;

        &:last-of-type:after {
            display: none;
        }
    }

    &-cancel {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 1.08rem;
        margin-top: .1rem;
        padding: 0 .6rem;
        line-height: @action-sheet-item-line-height;
        font-size: @action-sheet-item-font-size;
        color: #333;
        background-color: #fff;
    }
}