body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Arial", "Helvetica", "STHeiti", sans-serif;
}


/*head*/
.g-head {
    z-index: 400;
    background-color: $panel-default-heading-bg;
    border-bottom: 1px solid $panel-default-border;
    .logo img { width: $head-height;}
    ul{padding: ($head-height - 40px)/2;}
}

.g-foot {
    padding: 23px 0;
    background: #32353d;
    color: #999;
    .copyright-area {
        text-align: center;
        a {color: #999;}
    }
}

.g-side >.bs-docs-sidebar {
    margin-top: 40px;
}

 @media screen and (max-width: 980px) {
     .g-bd, .g-head, .g-foot, .g-foot .g-footer{
        min-width: 100%;
	    width: 100%;
     }
     .g-bd.side-in-right .g-content{margin-right: 0px;}
     .g-bd .g-side {display: none;}
     h1, .explanation{padding: 0 0 0 8px;}
     code: {overflow: auto;}
 }

/*example*/

.bs-example {
    margin-right: 0;
    margin-left: 0;
    background-color: #fff;
    border-color: #ddd;
    border-width: 1px;
    border-radius: 4px 4px 0 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    position: relative;
    padding: 45px 15px 15px;
    border-style: solid;
    overflow: auto;
    &:after {
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: 12px;
        font-weight: 700;
        color: #959595;
        text-transform: uppercase;
        letter-spacing: 1px;
        content: "实例：";
    }
}

.bs-example-popover {
    height: 350px;
    .popover {
        display: block;
    }
    .left {
        top: 50px;
        left: 10px;
    }
    .top {
        top: 50px;
        left: 400px;
    }
    .right {
        top: 200px;
        left: 0;
    }
    .bottom {
        top: 200px;
        left: 400px;
    }
}


/*nav*/

.bs-docs-sidebar >.nav {
    .nav {
        display: none;
        padding-bottom: 10px;
        font-weight: 500;
        >li>a {
            padding-left: 20px;
            font-size: 13px;
        }
    }
    >.active>.nav {
        display: block;
    }
    li a {
        padding: 1px 7px;
        color: #999;
    }
}
.bs-docs-sidebar >.nav.nav-fixed {
    position: fixed;
    top: 20px;
}
.fix-head .bs-docs-sidebar >.nav.nav-fixed {
    top: 60px;
}

.bs-docs-sidebar .nav {
    >li>a:hover,
    >li>a:focus {
        color: #563d7c;
        text-decoration: none;
        background-color: transparent;
        border-left: 1px solid #563d7c;
    }
    >.active>a {
        color: #563d7c;
        background-color: transparent;
        border-left: 2px solid #563d7c;
        font-weight: 700;
    }
}

.font-icon{
    font-size: 24px;
    i{
        cursor: pointer;
        margin-right: 10px;
        display: inline-block;
        width: 30px;
        height: 40px;
    }
}
