1
mayisheng
2022-08-15 81f54040c2cb65537c6c6e1db8358a39a57dea0d
src/styles/index.scss
@@ -1,6 +1,12 @@
html,
body {
    font-size: 16px;
    div {
        scrollbar-width: thin;
    }
}
@@ -13,261 +19,39 @@
    }
}
.ol-zoom {
    padding: 0;
    top: 170px !important;
    left: auto !important;
    right: 10px !important;
    border-radius: 5px;
    button {
        margin: 1px;
        width: 30px;
        height: 30px;
        background: #fff;
        color: #666;
        box-shadow: 0px 0px 4px 1px #ccc;
        border-radius: 5px;
    }
    button:hover,
    button:focus {
        background: #666;
        color: #fff;
    }
}
.ol-full-screen {
    padding: 0;
    border-radius: 5px;
    top: 50px !important;
    left: auto !important;
    right: 10px !important;
    button {
        margin: 1px;
        width: 30px;
        height: 30px;
        background: #fff;
        color: #666;
        box-shadow: 0px 0px 4px 1px #ccc;
        border-radius: 5px;
    }
    button:hover,
    button:focus {
        background: #666;
        color: #fff;
    }
.deblurring {
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}
.ol-rotate {
    button {
        margin: 1px;
        width: 30px;
        height: 30px;
        background: #fff;
        color: #666;
        box-shadow: 0px 0px 4px 1px #ccc;
        border-radius: 5px;
    }
    button:hover,
    button:focus {
        background: #666;
        color: #fff;
    }
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
    width: 16px;
    /*滚动条宽度*/
    height: 16px;
    /*滚动条高度*/
}
.ol-scale-line {
    background: #fff;
    box-shadow: 0px 0px 4px 1px #ccc;
    div {
        color: #666;
        border: 1px solid #666;
        border-top: none;
    }
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    /*滚动条的背景区域的圆角*/
    background-color: #fff;
    /*滚动条的背景颜色*/
}
.text-green {
    color: #44cc44;
}
.text-red {
    color: #ff0909;
}
.water-rain-box {
    .el-dialog {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto !important;
        width: 920px !important;
        height: 540px !important;
        background: #C1E6F3;
        color: #606266;
        .el-dialog__header {
            padding: 10px 20px;
            .el-dialog__title {
                color: #606266 !important;
            }
            .el-dialog__close {
                color: #606266 !important;
            }
            .el-dialog__headerbtn {
                top: 14px;
            }
        }
        .el-dialog__body {
            padding: 2px 20px 10px 20px;
            background: #fff;
            color: #606266;
            height: calc(100% - 44px);
            .risk-text {
                height: calc(100% - 12px);
                div.header {
                    display: flex;
                    align-items: center;
                    height: 48px;
                    .el-button {
                        margin: 0 5px !important;
                    }
                    .search {
                        margin: 0 !important;
                    }
                }
                div.content {
                    position: relative;
                    height: calc(100% - 48px);
                    p {
                        position: absolute;
                        top: 0;
                        left: 0;
                        padding: 5px;
                        margin: 0;
                        height: 100%;
                        word-wrap: break-word;
                        box-sizing: border-box;
                        overflow-y: auto;
                        scrollbar-width: thin;
                        font-size: 16px;
                        line-height: 32px;
                        letter-spacing: 1.2px;
                        word-break: break-all;
                        span {
                            color: #011dff;
                            i {
                                font-style: normal;
                                color: #606266;
                            }
                            strong {
                                font-weight: normal;
                                cursor: pointer;
                            }
                        }
                        span[ii="0"],
                        span[ii="1"],
                        span[ii="2"],
                        span[ii="3"],
                        span[ii="4"] {
                            cursor: pointer;
                        }
                        .text-tab {
                            color: red;
                            cursor: pointer;
                            font-weight: normal;
                        }
                        .text-tab:hover {
                            border-bottom: 1px solid red;
                        }
                    }
                }
            }
        }
    }
}
.retail-popup {
    .el-dialog {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto !important;
        width: 920px !important;
        height: 540px !important;
        background: #C1E6F3;
        color: #606266;
        .el-dialog__header {
            padding: 10px 20px;
            .el-dialog__title {
                color: #606266 !important;
            }
            .el-dialog__close {
                color: #606266 !important;
            }
            .el-dialog__headerbtn {
                top: 14px;
            }
        }
        .el-dialog__body {
            padding: 0;
            height: calc(100% - 30px);
            background: #fff;
            color: #606266;
            iframe {
                width: 100%;
                height: 100%;
            }
        }
    }
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    /*滚动条的圆角*/
    -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, .9);
    background-color: green;
    /*滚动条的背景颜色*/
}