@import "./antreset";

/*  清除浮动  */

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
}

.flex-wrap {
    display: flex;
    display: -moz-flex;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-con-1 {
    flex: 1;
    z-index: 0
}

.flex-con-2 {
    flex: 2
}

.flex-pack-center {
    /*水平居中*/
    justify-content: center;
}

.flex-center {
    align-items: center
}

.flex-between {
    justify-content: space-between;
}

.page-container {
    background: #fff;
    padding: 16px;
}

.search-box {
    padding-bottom: 16px;

    .search-item {
        padding-right: 8px;
    }

    .label-option {
        width: 200px;
    }

    .condition-option {
        width: 100px;
    }

    .search-value {
        width: 200px;
    }

    .search-refresh {

    }

}

.setting-item {
    width: 100px;
    margin-right: 5px;
    float: left;
}

.select-item {
    width: 80px;
    margin-right: 5px;
}

.select-option {
    width: 80px;
}

.page-header {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;

    .page-title {
        font-size: 18px;
        font-weight: 700;
    }

    .page-tool {
        justify-content: end;

        .page-tool-item {
            padding-right: 8px;
        }
    }
}

.page-body {
    padding: 10px 5px;
}

.header {
    height: 60px;
    width: 100%;
    line-height: 60px;
    background: #fff;
    justify-content: space-between;
    border: 1px solid #d3d3d4;
    box-sizing: border-box;
    .left-header {
        flex: 1;
        padding-left: 24px;

        .block {
            width: 24px;
            height: 24px;
            align-items: center;
            justify-content: center;
        }

        .logo {
            font-size: 16px;
            font-family: PingFang SC;
            font-weight: 500;
            line-height: 22px;
            color: #292a2c;
        }
    }

    .right-header {
        flex: 1;
        justify-content: flex-end;
        align-items: center;

        .full-screen {
            padding: 0 15px;
            border-left: 1px solid #eee;

            .full-screen-icon {
                display: inline-block;
                width: 16px;
                height: 16px;
                vertical-align: middle;
                background: url("../../assets/images/full-screen-icon.png") no-repeat 50%;
                cursor: pointer;
            }
        }

        .user-wrap {
            padding: 0 15px;
            border-left: 1px solid #eee;
            cursor: pointer;

            .user-icon {
                width: 34px;
                height: 34px;
            }

            .user-name {
                color: #292a2c;
                font-family: PingFangSC-Regular, PingFang SC;
                font-size: 14px;
                font-weight: 400;
                font-stretch: normal;
                margin-left: 6px;
            }

            .arrow-down {
                width: 10px;
                height: 10px;
                margin-left: 9px;
                background: url("../../assets/images/arrow-down.png") no-repeat 50%
            }
        }

        .user-wrap.active, .user-wrap:hover, .full-screen:hover {
            background: #eee;
        }

        .user-menu {
            position: absolute;
            top: 50px;
            right: 0;
            z-index: 9999;
            width: 162px;
            background-color: #fff;
            box-shadow: 0 4px 5px 0 rgba(191, 192, 194, 0.3);
            border: 1px solid #e5e5e5;
            padding-top: 6px;
            padding-bottom: 3px;

            .menu-item {
                height: 36px;
                line-height: 36px;
                font-family: MicrosoftYaHei;
                font-size: 12px;
                font-weight: 400;
                font-stretch: normal;
                letter-spacing: 0;
                color: #333;
                background-color: #fff;
                align-items: center;
                padding-left: 20px;
                cursor: pointer;

                &:hover {
                    background-color: #ecedef;
                }

                .ic_user {
                    width: 16px;
                    height: 16px;
                    margin: 1px 12px 0 0;
                    background: url("../../assets/images/user-icon.png") no-repeat 50%;
                }

                .version-icon {
                    width: 16px;
                    height: 16px;
                    margin: 1px 12px 0 0;
                    background: url("../../assets/images/version-icon.png") no-repeat 50%;
                }
            }
        }

        .version-info {
            position: absolute;
            top: 50px;
            right: 220px;
            z-index: 9999;
            width: 373px;
            background-color: #ffffff;
            box-shadow: 0 4px 5px 0 rgba(191, 192, 194, 0.3);
            border: solid 1px #e5e5e5;
            padding: 0 22px 30px 22px;

            .info-title {
                text-align: center;
                padding-top: 10px;
                line-height: 40px;

                span {
                    font-family: DIN-Medium;
                    font-size: 16px;
                    font-weight: normal;
                    letter-spacing: 0;
                    color: #111111;
                }
            }

            .info-sub-title {
                font-family: DIN-Medium;
                font-size: 14px;
                font-weight: normal;
                letter-spacing: 0;
                color: #666666;
                height: 14px;
                line-height: 14px;
                padding-bottom: 20px;
                text-align: center;
            }

            .info-split {
                height: 1px;
                background-color: #e5e5e5;
            }

            .info-content {
                margin-top: 20px;

                .warn-icon i {
                    display: block;
                    width: 16px;
                    height: 16px;
                    background: url("../../assets/images/warn-icon.png") no-repeat center center;
                    margin-top: 2px
                }

                .warn-text {
                    font-family: MicrosoftYaHei;
                    font-size: 12px;
                    font-weight: normal;
                    font-stretch: normal;
                    line-height: 20px;
                    letter-spacing: 0;
                    color: #888888;
                    margin-left: 8px;
                }
            }
        }
    }
}

.user-info-content {
    .baseInfo {
        padding-bottom: 30px;
        border-bottom: 1px solid #e5e5e5;

        .leftContent {
            width: 80px;

            img {
                width: 80px;
                height: 80px;
            }
        }

        .rightContent {
            flex: 1;
            padding-left: 30px;

            .info-wrap {
                width: 100%;
                height: 100%;
                flex-wrap: wrap;

                .item {
                    width: 50%;
                    height: 26px;
                    line-height: 26px;
                    font-family: MicrosoftYaHei;
                    font-size: 13px;
                    font-weight: normal;
                    font-stretch: normal;
                    letter-spacing: 0;
                    overflow: hidden;

                    &.time {
                        width: 100%;
                    }

                    .name {
                        color: #999999;
                    }

                    .value {
                        color: #333333;
                    }
                }
            }
        }
    }

    .info-row {
        font-family: MicrosoftYaHei;
        font-size: 13px;
        font-weight: normal;
        font-stretch: normal;
        letter-spacing: 0;
        margin-top: 20px;

        .name {
            line-height: 28px;
            color: #666666;
        }

        .value {
            height: 36px;
            line-height: 36px;
            font-size: 14px !important;
        }
    }
}

