/* You can add global styles to this file, and also import other style files */
@import "~ng-zorro-antd/style/index.min.css";
@import "~ng-zorro-antd/form/style/index.min.css";
@import "~ng-zorro-antd/icon/style/index.min.css";
@import "~ng-zorro-antd/input/style/index.min.css";
@import "~ng-zorro-antd/checkbox/style/index.min.css";
@import "~ng-zorro-antd/button/style/index.min.css";
@import "~ng-zorro-antd/select/style/index.min.css";
@import "~ng-zorro-antd/dropdown/style/index.min.css";
@import "~ng-zorro-antd/tooltip/style/index.min.css";
@import "~ng-zorro-antd/badge/style/index.min.css";

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: Helvetica, Tahoma, Arial, STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif;
    min-width: 1024px;
    overflow-y: hidden;
}

.prefixSelect {
    text-align: left;
    position: relative;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 60px;
        height: 50px;
        display: block;
        background-size: 28px 28px;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 1;
    }
    &.roleSwitch::before {
        background-image: url(assets/icons/role-switch.svg);
    }
    &.projSwitch::before {
        background-image: url(assets/icons/proj-switch.svg);
    }
    .ant-select-selector {
        height: 50px !important;
        padding-left: 60px !important;
        border-radius: 10px !important;
        border: 0 !important;
        box-shadow: 0 4px 10px 0 #70707080;
        .ant-select-selection-search {
            left: 60px;
            .ant-select-selection-search-input {
                height: 50px !important;

            }
        }
        .ant-select-selection-item,
        .ant-select-selection-placeholder {
            line-height: 50px !important;
        }
        .ant-select-selection-item {
            .label-main {
                line-height: 20px !important;
                padding-top: 5px;
            }
            .label-child {
                line-height: 20px !important;
                font-size: 12px;
                font-family: Helvetica;
                font-weight: 100;
                color: #b3b3b3;
            }
        }
    }
}

.login-select{
    .ant-select-item-option {
        &:not(:last-child) {
            border-bottom: 1px solid #ccc;
        }
    }
    .option-manage {
        font-weight: 100;
    }
    .option-des {
        font-weight: 100;
        color: #bbb;
        white-space: initial;
        padding-bottom: 5px;
    }
}

nz-header {
    padding: 0 25px;
}

nz-content {
    height: calc(100% - 64px);
    background: #fff;
}
