吉安感知网项目-前端
chenyao
2 days ago a53ece5036c1fa61a63fe5f9e0cd3519210ab928
applications/drone-command/src/styles/common/cockpit.scss
@@ -41,6 +41,107 @@
    height: 40px;
}
.command-tree {
    background: transparent;
    color: #c3c3dd;
    font-size: 12px;
    .el-tree-node {
        line-height: 30px !important;
        .el-tree-node__content {
            padding-left: 0 !important;
            display: flex;
            align-items: center;
            height: 40px !important;
            line-height: 40px !important;
            border-bottom: 1px solid rgba(70, 70, 100, 0.5);
            box-sizing: border-box;
        }
        .el-tree-node__children {
            .el-tree-node__content {
                border: none;
            }
        }
        &:focus {
            .el-tree-node__content {
                background: transparent !important;
            }
        }
    }
    .el-tree-node__label {
        color: #c3c3dd;
        font-size: 12px;
    }
    .el-checkbox {
        order: 1;
    }
    .el-tree-node__label {
        order: 2;
    }
    .el-tree-node__content:hover,
    .el-tree-node__content:focus {
        background: transparent !important;
    }
    .el-tree-node.is-current>.el-tree-node__content {
        background: transparent !important;
        color: #ffffff;
    }
    .el-tree-node.is-current>.el-tree-node__content .el-tree-node__label {
        color: #ffffff;
    }
    .el-checkbox__input {
        .el-checkbox__inner {
            width: 16px;
            height: 16px;
            background: transparent !important;
            border-radius: 2px 2px 2px 2px;
            border: 2px solid #A1A3D4 !important;
            box-shadow: none;
            box-sizing: border-box;
        }
        &.is-checked {
            .el-checkbox__inner {
                border: none !important;
                background: url("@/assets/images/common/checkbox.png") no-repeat center / 100% 100% !important;
                &::after {
                    content: none !important;
                }
            }
        }
    }
}
.map-layer-tree {
    .el-tree-node__expand-icon:not(.is-leaf)~.el-checkbox {
        display: none !important;
    }
    .el-tree-node__expand-icon {
        order: 3;
        margin-left: auto;
    }
    .el-tree-node__expand-icon.is-leaf {
        visibility: hidden;
    }
    .el-tree-node__expand-icon.expanded {
        transform: rotate(-180deg);
    }
}
.command-cascader {
    height: 40px;
@@ -204,6 +305,42 @@
                color: #fff !important;
                .el-date-range-picker__time-header {
                    .el-time-panel {
                        background: #1A1A2A !important;
                        border-radius: 0px 0px 8px 8px;
                        border: none !important;
                        // 将 time-picker-popper 的样式移到这里
                        .el-time-panel__header {
                            background: #161B2C !important;
                            color: #ffffff !important;
                            border-bottom: 1px solid rgba(71, 157, 255, 0.3) !important;
                        }
                        .el-time-panel__content {
                            .el-time-spinner__item {
                                &:hover {
                                    background: transparent !important;
                                }
                                &.active {
                                    color: #479dff !important;
                                    font-weight: bold;
                                }
                            }
                        }
                        .el-time-panel__footer {
                            .el-time-panel__btn {
                                color: #fff;
                            }
                            .el-time-panel__btn:first-child {
                                color: #86909C;
                            }
                        }
                    }
                    .el-input__wrapper {
                        box-shadow: none;
                        background: #2E2E48 !important;
@@ -243,7 +380,7 @@
                                .el-time-panel__btn {
                                    color: #fff;
                                }
                                .el-time-panel__btn:first-child {
                                    color: #86909C;
                                }
@@ -293,7 +430,7 @@
                        }
                        // td:hover,
                        // td.current:not(.disabled) {
                        // td.current:not(.disabled{
                        //     background: rgba(60, 121, 202) !important;
                        //     color: white !important;
                        // }
@@ -314,7 +451,7 @@
                        td.in-range div:hover,
                        &.is-week-mode .el-date-table__row.current div,
                        &.is-week-mode .el-date-table__row:hover div {
                            background-color: #284FE3 !important;
                            background-color: #4160D5 !important;
                        }
                    }
                }
@@ -444,6 +581,10 @@
        }
    }
    .el-select__wrapper.is-disabled .el-select__selected-item {
        color: #a8abb2;
    }
    .el-select {
        --el-select-border-color-hover: rgb(0, 162, 255) !important;
    }
@@ -458,6 +599,15 @@
    .el-input__wrapper {
        --el-input-text-color: #161B2C !important;
    }
    .el-select__selection.is-near {
        margin-left: 0;
        .el-tag {
            color: #ffffff;
            background: #161B2C;
        }
    }
}
@@ -708,7 +858,7 @@
            }
        }
    }
    .el-input {
        width: 160px;
    }
@@ -989,8 +1139,10 @@
        }
    }
    th.el-table__cell:not(.fixed-column),
    td.el-table__cell:not(.fixed-column) {
    // 注意:Element Plus 2.9.11 固定列类名为 el-table-fixed-column--left/right,
    // 老的 .fixed-column 已不存在,这里需一并排除,否则固定列会被刷成透明
    th.el-table__cell:not(.fixed-column):not(.el-table-fixed-column--left):not(.el-table-fixed-column--right),
    td.el-table__cell:not(.fixed-column):not(.el-table-fixed-column--left):not(.el-table-fixed-column--right) {
        background: transparent !important;
    }
@@ -1032,7 +1184,9 @@
        }
    }
    .fixed-column {
    .fixed-column,
    .el-table-fixed-column--left,
    .el-table-fixed-column--right {
        background-color: #1A1A2A !important;
    }
}
@@ -1106,6 +1260,10 @@
    }
}
.placeholder-ele {
    padding: 12px;
}
.command-page-view-dialog {
    margin: 0;
    padding: 20px;
@@ -1134,7 +1292,7 @@
            text-transform: none;
        }
        & > button {
        &>button {
            width: auto;
            height: auto;
            display: flex;
@@ -1171,7 +1329,7 @@
                    align-items: center;
                    .label {
                        width: 88px;
                        min-width: 88px;
                        font-family: Source Han Sans CN, Source Han Sans CN;
                        font-weight: 500;
                        font-size: 14px;
@@ -1234,7 +1392,7 @@
            .el-form-item {
                display: flex;
                align-items: center;
                align-items: flex-start;
                .el-form-item__label {
                    display: flex;
@@ -1243,6 +1401,7 @@
                    font-weight: 500;
                    font-size: 14px;
                    color: #D4D5D7;
                    height: 40px;
                    line-height: 40px;
                    text-align: right;
                    font-style: normal;
@@ -1296,6 +1455,10 @@
                        background: #2E2E48 !important;
                        border: none;
                        box-shadow: none;
                        &.is-disabled {
                            color: #a8abb2;
                        }
                    }
                    .command-date-picker {
@@ -1347,6 +1510,102 @@
                        }
                    }
                }
                .address-btn {
                    display: flex;
                    justify-content: flex-start;
                    padding: 0 8px;
                    width: 100%;
                }
            }
        }
        .el-tabs {
            background: transparent;
            border: none;
            .el-tabs__header {
                position: relative;
                background: transparent;
                border: none;
                &::after {
                    content: '';
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    width: 100%;
                    height: 1px;
                    background: #333355;
                }
                .el-tabs__item {
                    position: relative;
                    margin-left: 26px;
                    font-family: Source Code Pro, Source Code Pro;
                    font-weight: 400;
                    font-size: 14px;
                    color: #86909C;
                    text-align: center;
                    font-style: normal;
                    text-transform: none;
                    cursor: pointer;
                    &:first-child {
                        margin-left: 0;
                    }
                    &.is-active {
                        font-weight: normal;
                        color: #FFFFFF;
                    }
                    &::after {
                        content: '';
                        position: absolute;
                        left: 0;
                        bottom: 0;
                        width: 100%;
                        height: 0;
                    }
                    &.is-active::after {
                        height: 3px;
                        background: #284FE3;
                        box-shadow: 0px 3px 2px 0px rgba(15, 89, 255, 0.1), 0px 7px 5px 0px rgba(15, 89, 255, 0.15), 0px 13px 10px 0px rgba(15, 89, 255, 0.18), 0px 22px 18px 0px rgba(15, 89, 255, 0.21), 0px 42px 33px 0px rgba(15, 89, 255, 0.26), 0px 100px 80px 0px rgba(15, 89, 255, 0.36);
                        border-radius: 5px 5px 0px 0px;
                        z-index: 9;
                    }
                }
            }
            .el-tabs__content {
                background: transparent;
                border: none;
                height: 430px;
                overflow-y: auto;
                .el-tab-pane {
                    background: transparent;
                    border: none;
                    .el-tree {
                        background: transparent;
                        border: none;
                    }
                }
            }
            .el-tabs__nav {
                background: transparent;
                border: none;
                .el-tabs__item {
                    background: transparent;
                    border: none;
                }
            }
        }
    }
@@ -1390,7 +1649,13 @@
        color: #D4D5D7;
    }
    .el-message-box__container {
        display: flex;
        justify-content: center;
    }
    .el-message-box__btns {
        padding-top: 30px;
        display: flex;
        justify-content: center;
@@ -1503,7 +1768,7 @@
                    .detail-title {
                        line-height: 40px;
                        margin-bottom: 20px;
                        font-family: Source Han Sans CN, Source Han Sans CN;
                        font-weight: 500;
                        font-size: 16px;
@@ -1520,7 +1785,7 @@
                            align-items: center;
                            .label {
                                width: 96px;
                                min-width: 96px;
                                font-family: Source Han Sans CN, Source Han Sans CN;
                                font-weight: 500;
                                font-size: 14px;
@@ -1565,6 +1830,17 @@
                    flex-direction: column;
                    overflow-y: auto;
                    .detail-title {
                        margin-bottom: 20px;
                        font-family: Source Han Sans CN, Source Han Sans CN;
                        font-weight: 500;
                        font-size: 16px;
                        color: #FFFFFF;
                        text-align: left;
                        font-style: normal;
                        text-transform: none;
                    }
                    .el-row {
                        .el-col {
@@ -1693,7 +1969,7 @@
                                justify-content: flex-end;
                                padding-right: 12px;
                                width: 96px;
                                min-width: 96px;
                                font-family: Source Han Sans CN, Source Han Sans CN;
                                font-weight: 500;
@@ -1732,6 +2008,7 @@
                }
                .footer {
                    margin-top: 20px;
                    width: 100%;
                    display: flex;
                    align-items: center;