@import "txui.min.css";


/**整体布局**/
html {
    font-size: 14px;
}

body {
    --tx-primary: #2174ff;
    background-color: #f2f4f8;
}

.w2 {
    width: 2em;
}

.w3 {
    width: 3em;
}

.w5 {
    width: 5em;
}

.w7 {
    width: 7em;
}

.w9 {
    width: 9em;
}

.w11 {
    width: 11em;
}

.w13 {
    width: 13em;
}

.w15 {
    width: 15em;
}

.w20 {
    width: 20em;
}

.w30 {
    width: 30em;
}

.login-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
}

.login-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: auto;
}

.login-info {
     width: 100%;
    min-width: 320px;
    max-width: 600px;
    background-color: var(--tx-bg-base);
    box-shadow: var(--tx-shadow-lg);
    border-radius: var(--tx-radius);
    padding: 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer {
    width: 100%;
    padding: 20px;
    flex: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 99;
    background-color: #202020;
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    flex: auto;
}

.logo img {
    height: 40px;
    width: auto;
}

.aside {
    position: fixed;
    top: 60px;
    left: 0;
    width: 200px;
    height: 100%;
    z-index: 99;
    background-color: #202020;
    border-top: 1px solid #383838;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 60px;
}

.menu li a {
    display: flex;
    align-items: center;
    height: 3em;
    padding: 0 2em;
    color: #fff;
    font-size: 1.1em;
}

.menu li a:hover,
.menu li a.on {
    background-color: var(--tx-primary);
    color: #fff;
}

.menu li ul {
    font-size: 0.9em;
    opacity: 0.8;
}

.menu li ul li a {
    height: 2.7em;
    padding: 0 2em 0 4em;
}

.main {
    padding: 100px 20px 20px 220px;
}


.tx-box {
    background-color: var(--tx-bg-base);
    border-radius: var(--tx-radius);
}

.tx-pagebar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tx-pagebar>* {
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    height: 2.6em;
    padding: 0 1em;
    margin: 2px;
    border-radius: var(--tx-radius);
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.08);
}

.tx-pagebar>.now-page,
.top-menu>*.on {
    background-color: var(--tx-primary);
    color: #fff;
}

.top-menu {
    display: flex;
    align-items: center;
    overflow-y: hidden;
    overflow-x: auto;
    border-radius: var(--tx-radius);
}

.top-menu>* {
    display: inline-flex;
    height: 2.8em;
    align-items: center;
    padding: 0 1em;
    background-color: rgba(0, 0, 0, 0.08);
}

@media screen and (max-width:996px) {
    body {
        --tx-base: 3px;
    }

    .header {
        height: 50px;
        padding: 10px;
    }

    .logo img {
        height: 30px;
    }

    .nav-on {
        width: 26px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-bottom: 2px solid #fff;
        border-top: 2px solid #fff;
    }

    .nav-on i {
        display: block;
        width: 100%;
        border-top: 2px solid #fff;
    }

    .aside {
        top: 0;
        left: -400px;
    }

    .aside.on {
        left: 0;
    }

    .main {
        padding: 60px 10px 10px 10px;
    }
}