Newer
Older
HuangJiPC / src / styles / global.less
@zhangdeliang zhangdeliang on 21 Jun 3 KB update
@import "./theme.less";

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #555;
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: @primary-color;
    transition: all 0.2s;
    border-radius: 5px;
}

.mapboxgl-ctrl.mapboxgl-ctrl-scale {
    width: 70px !important;
}

.n-data-table .n-data-table-td {
    vertical-align: middle;
}

@font-face {
    font-family: 'PangMenZhengDao';
    src: url('@/assets/font/PangMenZhengDao2.0.woff');
    font-weight: normal;
    font-style: normal;
}

// 一张图公共样式
.publicTitle {
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    font-weight: bold;
    padding-left: 20px;
    width: 205px;
    background: url('@/assets/newImgs/titleBg.png');
    background-size: 100% 100%;
}

.rightContentPublic {
    width: 456px;
    height: 90%;
    overflow: auto;
    background-color: #00364d;
    box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.68);
    border-radius: 10px;
    position: absolute;
    right: 0px;
    top: 5%;
    padding: 20px 10px;

    &::before {
        content: "";
        position: absolute;
        top: 0px;
        left: -7px;
        width: 28px;
        height: 90%;
        background: url("@/assets/newImgs/rightBg.png") no-repeat center;
        background-size: 100% 100%;
    }
}

.rightBgPublic {
    height: 294px;
    width: 16px;
    background: url("@/assets/newImgs/expand.png") no-repeat center;
    background-size: 100% 100%;
    position: absolute;
    right: 456px;
    top: 30%;
    cursor: pointer;
}

.goRightPublic {
    right: 0px !important;
}

.n-tag {
    cursor: pointer;
}

// 全局模态框最大高度设置
.n-modal {
    max-height: 90vh;
    overflow: auto;

    .n-base-close {
        cursor: pointer;
    }

    .uploadWarns {
        .n-form-item-blank {
            display: grid;
        }
    }
}

.n-data-table .n-data-table__pagination {
    padding-right: 10px;
}

.n-base-selection .n-base-selection-label .n-base-selection-label__render-label {
    color: #01CAC0;
}

// 地图图例点位详情的公共背景
.publicMapTips {
    position: absolute;
    z-index: 9999;
    left: 0px;
    top: -107px;
    width: 500px;
    height: 380px;
    padding: 30px 20px 20px 20px;
    background: url("@/assets/newImgs/other/layer.png") no-repeat center;
    background-size: 100% 100%;

    .close {
        cursor: pointer;
        float: right;
        margin-top: 0px;
        padding-right: 10px;
    }

    .title {
        font-size: 16px;
        color: #14ccca;
        text-align: center;
    }

    .content {
        margin-top: 10px;
        overflow: auto;
        max-height: 260px;
        display: flex;
        flex-wrap: wrap;

        .part {
            display: flex;
        }
    }
}

.publicMapTips2 {
    position: absolute;
    z-index: 9999;
    left: 0px;
    top: 40px;
    width: 450px;
    height: 175px;
    padding: 30px 20px 20px 20px;
    background: url("@/assets/newImgs/other/layer.png") no-repeat center;
    background-size: 100% 100%;

    .close {
        cursor: pointer;
        float: right;
        margin-top: 0px;
        padding-right: 10px;
    }

    .title {
        font-size: 16px;
        color: #14ccca;
        text-align: center;
    }

    .content {
        margin-top: 10px;
        overflow: auto;
        max-height: 230px;
        display: flex;
        flex-wrap: wrap;

        .part {
            display: flex;

            #warn {
                color: rgb(166, 44, 62);
            }
        }
    }
}