study.scss 900 Bytes
Newer Older
1 2
$tabHeight: 44px;
$tabFontSize: 15px;
xuzhenghua committed
3 4 5
html, body, #root {
    height: 100%!important;
}
6 7 8
#study {
    height: 100%;
    background: $bg_fff;
zhanghaozhe committed
9 10 11
    display: flex;
    flex-flow: column;
    overflow: hidden;
12 13 14

    .tab {
        height: $tabHeight;
zhanghaozhe committed
15
        max-height: $tabHeight;
16 17 18
        line-height: $tabHeight;
        text-align: center;
        background: #F7F9FC;
zhanghaozhe committed
19 20 21 22 23 24 25
        flex: 1 0 auto;
        display: flex;
        justify-content: center;

        & > div {
            flex: 1 0 auto;
        }
26 27 28 29 30 31 32 33

        a {
            display: inline-block;
            height: $tabHeight;
            font-size: $tabFontSize;
        }
    }

zhanghaozhe committed
34
    .study-container {
zhanghaozhe committed
35 36
        padding-bottom: 50px;
        flex: 1 1 auto;
zhanghaozhe committed
37
        overflow-y: auto;
zhanghaozhe committed
38
        box-sizing: border-box;
zhanghaozhe committed
39
        //background: $bg_f5f5f5;
zhanghaozhe committed
40 41
    }

42 43 44 45 46
    .active {
        color: $active;
        border-bottom: 1px solid $active;
    }
}