study.scss 817 Bytes
Newer Older
1 2 3 4 5 6
$tabHeight: 44px;
$tabFontSize: 15px;

#study {
    height: 100%;
    background: $bg_fff;
zhanghaozhe committed
7 8 9
    display: flex;
    flex-flow: column;
    overflow: hidden;
10 11 12

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

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

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

zhanghaozhe committed
32
    .study-container {
zhanghaozhe committed
33 34
        padding-bottom: 50px;
        flex: 1 1 auto;
zhanghaozhe committed
35
        overflow-y: auto;
zhanghaozhe committed
36
        box-sizing: border-box;
zhanghaozhe committed
37 38
    }

39 40 41 42 43
    .active {
        color: $active;
        border-bottom: 1px solid $active;
    }
}