﻿//字体大小
@DefaultFontSize: 12px;

//字体颜色
@DefaultFontColor: #111111;

//背景颜色
@DefaultBackColor: #f2f2f2;

//边框颜色
@DefaultBorder: 1px solid #626567;

//文本框样式
@InputFontSizeDefault: 12px;
@InputFontSizeHover: 12px;

@InputFontColorDefault: #ffffff;
@InputFontColorHover: #ffffff;

@InputBackColorDefualt: #262a2f;
@InputBackColorHover: #3e99c7;

@InputBorderDefault: 1px solid #626567;
@InputBorderHover: 1px solid #626567;

//按钮样式
@ButtonFontSizeDefault: 12px;
@ButtonFontSizeHover: 12px;

@ButtonFontColorDefault: #ffffff;
@ButtonFontColorHover: #ffffff;

@ButtonBackColorDefualt: #262a2f;
@ButtonBackColorHover: #3e99c7;

@ButtonBorderDefault: 1px solid #626567;
@ButtonBorderHover: 1px solid #626567;

//表格样式
@TableFontSizeDefault: 12px;
@TableFontSizeHover: 12px;

@TableFontColorDefault: #ffffff;
@TableFontColorHover: #ffffff;

@TableBackColorDefualt: #262a2f;
@TableBackColorHover: #3e99c7;

@TableBorderDefault: 1px solid #626567;
@TableBorderHoverr: 1px solid #626567;

//列表样式
@ListFontSizeDefault: 12px;
@ListFontSizeHover: 12px;

@ListFontColorDefault: #ffffff;
@ListFontColorHover: #ffffff;

@ListBackColorDefualt: #262a2f;
@ListBackColorHover: #3e99c7;

@ListTitleColorDefualt: #262a2f;
@ListTitleColorHover: #3e99c7;

@ListTitleSizeDefault: 12px;
@ListTitleSizeHover: 12px;

@ListBorderDefault: 1px solid #333333;
@ListBorderHoverr: 1px solid #626567;

* {
    margin: 0;
    padding: 0;
    scrollbar-track-color: #ffffff;
    scrollbar-arrow-color: #f5f5f5;
    scrollbar-face-color: #f5f5f5;
    scrollbar-highlight-color: #f5f5f5;
    scrollbar-shadow-color: #f5f5f5;
}

html, body {
    width: 100%;
    font-family: "宋体";
    font-size: @DefaultFontSize;
    color: @DefaultFontColor;
    background-color: @DefaultBackColor;
}

li {
    list-style: none;
    float: left;
}

a {
    text-decoration: none;
    color: @DefaultFontColor;
}

.Frame {
    width: 100%;
    height: 100%;

    .Top {
        width: 100%;
        height: 50px;
        min-width: 400px;
        background-color: #ffffff;
        box-shadow: 0 2px 3px #cccccc;
        position: absolute;
        float: left;
        z-index: 100;

        .Logo {
            padding: 8px;
            width: 300px;
            height: 30px;
            line-height: 30px;
            float: left;
            font-size: 30px;
            font-weight: bold;
        }

        .Menu {
            margin: 15px 10px 0 0;
            width: 600px;
            height: 30px;
            line-height: 30px;
            float: right;

            ul {
                width: 100%;
                height: 100%;

                li {
                    width: 25%;
                    font-size: 16px;
                    text-align: center;
                    border-bottom: 3px solid #ffffff;
                    float: left;

                    &:hover {
                        border-bottom: 3px solid #94a740;
                    }

                    i {
                        margin-right: 8px;
                        font-size: 20px;
                    }
                }

                .Hover {
                    border-bottom: 3px solid #94a740;
                }
            }
        }
    }

    .Middle {
        top: 50px;
        width: 100%;
        height: ~"calc(100% - 140px)";
        position: absolute;
        float: left;

        .Slogn {
            margin: 150px 0 150px 100px;
            width: 350px;
            height: 350px;
            float: left;

            .Title {
                width: 350px;
                height: 70px;
                float: left;
                line-height: 60px;
                text-align: left;
                font-size: 20px;
                font-weight: bold;
            }

            .Text {
                width: 350px;
                height: 280px;
                float: left;
                line-height: 30px;
                text-align: left;
            }
        }

        .Menu {
            width: 200px;
            height: 100%;
            background-color: #fefefe;
            float: left;
            overflow: auto;
            z-index: 99;

            .Title {
                width: 100%;
                height: 50px;
                float: left;
                font-size: 16px;
                line-height: 50px;
                font-weight: bolder;
                border-bottom: 1px solid #cccccc;

                i {
                    margin: 0 10px 0 10px;
                }
            }

            ul {
                width: 100%;
                cursor: pointer;

                li {
                    width: 100%;
                    font-size: 14px;
                    line-height: 40px;
                    float: left;

                    div {
                        width: 100%;
                        height: 100%;
                    }

                    i {
                        margin: 0 10px 0 10px;

                        &:nth-child(2) {
                            float: right;
                        }
                    }

                    ul {
                        width: 100%;
                        float: left;
                        display: none;

                        li {
                            padding-left: 38px;
                            width: ~"calc(100% - 38px)";
                            height: 35px;
                            float: left;
                            font-size: 12px;
                            line-height: 35px;
                            background-color: #f9f9f9;

                            &:hover {
                                background-color: #f3f3f3;
                            }
                        }
                    }
                }
            }
        }

        .Detail {
            margin: 10px;
            width: ~"calc(100% - 220px)";
            height: ~"calc(100% - 20px)";
            background-color: #ffffff;
            float: left;
            overflow: auto;
            z-index: 99;

            .Title {
                margin: 10px;
                font-size: 20px;
                line-height: 30px;
                font-weight: bold;

                .ApiName {
                    font-size: 40px;
                    line-height: 50px;
                    font-family: Arial;
                }
            }

            .Content {
                margin: 10px;
                padding-left: 20px;
                font-size: 12px;
                line-height: 20px;
                word-wrap: break-word;
            }

            .Code {
                margin: 10px;
                height: 50px;
                background-color: #f3f3f3;
                border: 1px solid #cccccc;
            }

            .Download {
                margin: 20px;
                padding: 0;
                width: 150px;
                height: 150px;
                float: left;

                img {
                    width: 100%;
                    height: 100%;
                    border: 0;
                    float: left;
                }

                span {
                    margin-top: 10px;
                    width: 100%;
                    height: 100%;
                    text-align: center;
                    float: left;
                }
            }

            Table {
                margin: 10px 10px 20px 10px;
                width: ~"calc(100% - 20px)";
                border-top: 1px solid #cccccc;
                border-left: 1px solid #cccccc;

                tr {
                    &:nth-child(1) {
                        font-weight: bold;
                        background-color: #f9f9f9;
                    }

                    td {
                        margin: 0;
                        padding: 5px;
                        line-height: 20px;
                        text-align: center;
                        border-right: 1px solid #cccccc;
                        border-bottom: 1px solid #cccccc;
                    }
                }
            }
        }
    }

    .Bottom {
        bottom: 0;
        width: 100%;
        float: left;
        color: #9b9ea0;
        background-color: #383d41;
        position: absolute;

        .Link {
            margin: 5px 20px 5px 20px;
            font-size: 14px;

            a {
                margin-right: 30px;
                color: #9b9ea0;
            }
        }

        .Cert {
            margin: 5px 20px 5px 20px;
            font-size: 12px;

            a {
                margin-right: 30px;
                color: #9b9ea0;
                text-decoration: none;
            }
        }

        .Copyright {
            margin: 5px 20px 5px 20px;
            color: #74777a;
        }
    }
}
