@import "../rt.variables.less";

.rt-button{
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    background-color: transparent;
    cursor: pointer;
    padding: 0.3rem 0.8rem;
    height: @rt-base-height;
    line-height: @rt-base-height;

    &.disabled, &.disabled:hover{
        color: @rt-disabled-color;
        background-color: transparent;
    }

    &.float-left{
        float: left !important;
        width: auto !important;
    }
    &.float-right{
        float: right !important;
        width: auto !important;
    }

    &.float-none{
        clear: both;
        margin-left: 0px !important;
        margin-right: 0px !important;
        text-align: center;
        width: 100% !important;
    }

    &>.btn-icon{
        margin-right: 0.4rem;
    }

    &>.btn-text{

    }
}
