﻿/*======================收银公共样式===========================*/


html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0;
    overflow: hidden;
}
/*顶部条*/
.top-bar {
    background: #252A2F;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
}

.top-bar-left {
    font-size: 20px;
    font-weight: bold;
}

    .top-bar-left img {
        width: 40px;
        margin-right: 10px;
    }

.top-bar-right {
    display: flex;
    align-items: center;
}

    .top-bar-right a {
        font-size: 16px;
        color: white;
        padding: 0px 5px;
        padding-right: 10px;
    }

        .top-bar-right a:hover {
            color: #f38e00;
        }

    .top-bar-right img {
        width: 30px;
    }

.cashier-model {
    border: 1px solid white;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

    .cashier-model img {
        width: 24px;
        margin: 3px 5px;
    }
/*主体表单*/
.content-form {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;

}

.nav-left {
    width: 75px;
    background: #252A2F;
    color: white;
    height: 100%;
    overflow: auto;
}

    .nav-left div a {
        display: block;
        font-size: 18px;
        color: white;
        text-align: center;
        padding: 15px 0;
        font-weight: bold;
    }

        .nav-left div a:hover {
            color: #f38e00;
        }

.nav-left-current {
    background: #3BB4F2;
    color: white;
}
/*消息导航*/
.msg-num-a {
    position: relative;
}

.msg-num-bage {
    width: 25px;
    height: 25px;
    color: white;
    background: red;
    border-radius: 100px;
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msg-num-bage {
    width: 25px;
    height: 25px;
    color: white;
    background: red;
    border-radius: 100px;
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*右侧主体内容*/
.form-list {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.content-right {
    background: white;
    width: 100%;
    margin: 8px;
    margin-right:6px;
}
.main-right{
    padding: 10px;
}

/*标题栏*/
.main-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-title-left {
    text-align: left;
    width: 200px;
    display: flex;
    align-items: center;
    flex-wrap:nowrap;
}

.main-title-right {
    text-align: right;
    display:flex;
    justify-content:flex-end;
    flex-wrap:wrap;
    flex:1;
}


