/*
    Created on : 2018/10/11, 上午 11:43:18
    Author     : peter
    各牌只需调整不同颜色参数即可使用
*/
@color-primary: #06abde;
@color-primary-text: #06abde;
@color-primary-dark: #38628c;
@color-primary-light: #7fc3e5;
@color-dark: #434343;
@color-white: #ffffff;
@color-black: #000000;
@color-creamy-white: #e9e9e9;
@color-gray: #1b1b1b;
@color-dark-red: #951d12;

@color-horizontal-line: #d2d0d0;
@color-input-readonly: #c9c7c7;

html, body {
    margin: 0px;
}

.common-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1999;
    overflow-x: hidden; 
    text-align: center;
    font-family: "Microsoft JhengHei";
    &.has-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    * {
        font-family: "Microsoft JhengHei";
    }
    &:before {
        content: '';
        height: 100%;
        display: inline-block;
        vertical-align: middle;
    }
    .common-modal-dialog-style1 {
        width: 563px;
        vertical-align: middle;
        margin: auto;
        display: inline-block;
        .common-modal-content-style1 {
            position: relative;
            font-size: 18px;
            border-radius: 20px;
            background-color: @color-creamy-white;
            border: 1px solid @color-primary;
            margin: 0 auto;
            .common-modal-header {
                background-color: @color-primary;
                font-size: 20px;
                color: @color-white;
                text-align: center;
                height: 46px;
                line-height: 46px;
                white-space: nowrap;
                border-radius: 18px 18px 0 0;
            }
            .common-modal-body {
                margin-left: 19px;
                margin-right: 19px;
                text-align: center;
                color: @color-black;
            }
            .common-modal-footer {
                margin-left: 19px;
                margin-right: 19px;
                border-top: 2px solid @color-horizontal-line;
                min-height: 50px;
                .button-box {
                    margin: 24px auto 24px;
                    text-align: center;
                    &:not(:last-child) {
                        margin-right: 3px;
                    }
                }
            }
        }
    }
}

#refresh_hall_status_box {
    table.refresh-all-hall-status-table {
        margin: 0 auto 30px;
        width: 470px;
        font-size: 16px;
        border-collapse: collapse;
        td {
            border: 1px solid @color-primary-text;
            border-right: 2px solid @color-primary-text;
            height: 32px;
        }
        td.spacing {
            width: 10px;
            border: none;
        }
        td[data-hall_name] {
            font-weight: bold;
            color: @color-primary-text;
            width: 120px;
        }
        td.status-text {
            background-color: @color-primary-light;
            color: @color-white;
            width: 110px;
            &.failed {
                background-color: @color-dark-red;
            }
        }
    }
}

.game_frame {
    width: 100%;
    height: 100%;
}

.color-primary {
    color: @color-primary-text;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.href-style1 {
    color: @color-primary-text;
    text-decoration: underline;
    font-size: 16px;
    cursor: pointer;
}

.button-style1 {
    border: 1px solid @color-primary;
    background-color: @color-primary;
    color: @color-white;
    border-radius: 5px;
    cursor: pointer;
    &.active {
        border: 1px solid @color-primary;
    }
    &:disabled, &.disabled {
        background-color: @color-primary-dark;
        border: 1px solid @color-primary-dark;
    }
}

.button-style2 {
    border: 2px solid @color-primary;
    background-color: @color-creamy-white;
    color: @color-primary-text;
    border-radius: 5px;
    cursor: pointer;
    &.active {
        border: 1px solid @color-primary;
    }
}

.button-size1 {
    height: 42px;
    width: 348px;
    font-size: 18px;
}

.button-size2 {
    width: 232px;
    height: 42px;
    font-size: 18px;
}

.input-style1 {
    color: @color-primary-text;
    border: 1px solid @color-primary;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 600;
    padding: 0 8px;
    &.open-game-phone-recall-style {
        color: @color-primary-text;
        background-color: @color-gray;
    }
    &:read-only {
        background-color: @color-input-readonly;
    }
}

label {
    .custom-input-checkbox {
        position: absolute;
        overflow: hidden;
        clip: rect(0 0 0 0);
        height: 1px;
        width: 1px;
        margin: -1px;
        padding: 0px;
        border: 0;
        z-index: -1;
        opacity: 0;
    }
    .custom-input-checkbox:checked ~ .custom-label-checkbox:before {
        display: block;
    }
    .custom-label-checkbox {
        display: block;
        float: left;
        border: 2px solid @color-primary;
        border-radius: 3px;
        height: 20px;
        width: 20px;
        z-index: 5;
        cursor: pointer;
        margin: 2px 8px 0 0;
        &:before {
            display: none;
            content: '';
            width: 8px;
            height: 15px;
            margin-left: 4px;
            border-radius: 3px;
            margin-top: -1px;
            border: solid @color-primary;
            border-width: 0 4px 4px 0;
            -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg);
        }
    }
}

#vue_gamehall_box {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: @color-black;
    height: 100vh;
    width: 100vw;
    color: @color-white;
    font-family: "Microsoft JhengHei";
    * {
        font-family: "Microsoft JhengHei";
    }
    .loading-page {
        .logo {
            width: 415px;
            height: 130px;
            margin: 134px auto 25px;
            img {
                width: 100%;
            }
        }
        .loading-process {
            width: 415px;
            height: 60px;;
            margin: 0 auto 28px;
            .show-text {
                font-size: 16px;
                text-align: center;
                margin-bottom: 34px;
            }
            .el-progress-bar__outer {
                background-color: #252525;
            }
        }
        .status-bar {
            text-align: center;
            font-size: 16px;
            line-height: 28px;
            padding: 0% 5%;
        }
    }
    .recommend-game-block {
        margin: 10px auto 23px;
        text-align: center;
        .title {
            font-size: 18px;
            margin-bottom: 18px;
            color: @color-primary-text;
            vertical-align: middle;
            font-weight: bold;
            img.icon {
                width: 30px;
                height: 30px;
                vertical-align: bottom;
            }
        }
        .game-box {
            display: inline-block;
            background-color: @color-white;
            width: 165px;
            height: 185px;
            box-shadow: 0px 3px 2px #b3b3b3;
            border-radius: 5px;
            padding: 0 5px 10px;
            &:not(:nth-child(3n)) {
                margin-right: 8px;
            }
            .game-name {
                color: @color-primary-text;
                font-size: 17px;
                white-space: nowrap;
                margin: 7px auto;
            }
            .game-img {
                width: 152px;
                height: 112px;
                margin-bottom: 5px;
            }
            .open-game-btn {
                width: 152px;
                height: 28px;
                border: 1px solid @color-primary;
                background-color: @color-primary;
                color: @color-white;
                border-radius: 3px;
                font-size: 15px;
                cursor: pointer;
                &.active {
                    border: 1px solid @color-primary;
                }
            }
        }
    }
}
