123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776 |
- @import "./public-style.scss";
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- html,
- body,
- #app {
- width: 100%;
- height: 100%;
- font-size: 14px;
- background: #f4f7f9;
- min-width: 1360px;
- }
- ul li {
- list-style: none;
- padding: 0px;
- margin: 0px;
- }
- body {
- font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", Microsoft YaHei, "Helvetica Neue", Helvetica,
- "Hiragino Sans GB", Arial, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- margin: 0;
- }
- .dmp-app {
- height: 100%;
- width: 100%;
- display: flex;
- flex-direction: row;
- }
- a {
- text-decoration: none;
- }
- .el-menu--collapse {
- width: 85px;
- }
- .el-table th {
- background-color: #f5f7fa !important;
- }
- .pagination {
- margin: 20px 0;
- text-align: right;
- }
- .el-button + .el-tooltip {
- margin-left: 10px;
- }
- //全局el-table设置
- .el-table {
- border: 1px solid #e0e1e3;
- }
- .el-table th {
- background: #ffffff !important;
- }
- .el-table .warning-row {
- background: #f8fcff;
- }
- .el-table tr:hover {
- background: #f5f7fa;
- }
- // 去掉表格单元格边框
- .customer-table th {
- border: none;
- }
- .customer-table td,
- .customer-table th.is-leaf {
- border: none;
- }
- // 表格最外边框
- .el-table--border,
- .el-table--group {
- border: none;
- }
- // 表格最外层边框-底部边框
- .el-table--border::after,
- .el-table--group::after {
- width: 0;
- }
- .customer-table::before {
- width: 0;
- }
- .customer-table .el-table__fixed-right::before,
- .el-table__fixed::before {
- width: 0;
- }
- .el-table__header .el-table-column--selection .cell .el-checkbox {
- margin-left: 5px;
- }
- .el-table-column--selection .cell {
- padding-left: 10px;
- }
- .site-tips {
- background: #303133;
- height: auto;
- max-width: 375px;
- position: absolute;
- top: -25px;
- left: 115px;
- box-shadow: 0px 4px 26px 0px rgba(206, 206, 206, 0.3);
- border-radius: 5px;
- color: #fff;
- padding: 12px 14px;
- z-index: 9999;
- transform: translate(-50%, -120%);
- word-break: break-all;
- &:after {
- content: " ";
- position: absolute;
- bottom: -(vw(9));
- left: 50%;
- margin-left: -(vw(10));
- width: 0;
- height: 0;
- border-left: vw(10) solid transparent;
- border-right: vw(10) solid transparent;
- border-top: vw(10) solid #303133;
- }
- strong {
- text-overflow: ellipsis;
- overflow: hidden;
- display: block;
- }
- }
- .text-tips {
- background: #ffffff;
- height: auto;
- width: auto;
- position: absolute;
- z-index: 9999;
- word-break: break-all;
- border: 1px solid #4ea0fa;
- font-size: 12px;
- padding: 4px 10px;
- border-radius: 4px;
- }
- .text-gray-tips {
- height: auto;
- width: auto;
- position: absolute;
- z-index: 9999;
- word-break: break-all;
- border: 1px solid #4ea0fa;
- font-size: 12px;
- padding: 4px 10px;
- background: #676b77;
- border: 1px solid rgba(78, 160, 250, 0.6);
- opacity: 0.6;
- border-radius: 4px;
- }
- .no-scrollbar::-webkit-scrollbar {
- display: none;
- }
- .foot {
- display: flex;
- justify-content: flex-end;
- .selectAll {
- display: none;
- }
- }
- .move-enter-active,
- .move-leave-active {
- transition: opacity 0.5s;
- }
- .move-enter,
- .move-leave {
- opacity: 0;
- }
- //消息通知样式
- .el-notification {
- width: 460px;
- padding: 15px 20px;
- .el-notification__group {
- margin: 0;
- }
- .el-notification__content {
- font-size: 14px;
- line-height: 14px;
- margin: 0 0 0 0;
- color: #606266;
- text-align: justify;
- }
- }
- .notice {
- display: flex;
- align-items: center;
- img {
- width: 40px;
- height: 40px;
- }
- .notice-content {
- box-sizing: border-box;
- font-family: Microsoft YaHei;
- font-weight: 400;
- margin-left: 15px;
- border-right: 1px solid #f6f6f6;
- .title {
- display: block;
- height: 14px;
- font-size: 14px;
- color: #212226;
- }
- .nowrap {
- display: inline-block;
- line-height: 20px;
- width: 300px;
- font-size: 12px;
- color: #424656;
- text-indent: -0.4em;
- padding-right: 8px;
- }
- }
- }
- .el-notification__closeBtn {
- position: absolute;
- top: 40%;
- right: 15px;
- cursor: pointer;
- color: #909399;
- font-size: 16px;
- }
- .notice_icon {
- .el-icon-close:before {
- content: "关闭";
- display: flex;
- align-items: center;
- justify-content: center;
- width: 55px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: $mainTextColor;
- }
- }
- // 地图
- // 去除地图默认样式
- // 去除边框
- .esri-view .esri-view-surface--inset-outline:focus::after {
- outline: auto 0px Highlight !important;
- outline: auto 0px -webkit-focus-ring-color !important;
- }
- // 去除+ -
- .esri-ui-top-left.esri-ui-corner {
- display: none;
- }
- .map-content-div {
- width: 100%;
- height: 100%;
- }
- .esri-ui-manual-container > .esri-component {
- display: none;
- }
- // 地图
- #viewDiv {
- width: 100%;
- height: 100%;
- }
- // 地图弹窗样式
- // 地图弹窗样式
- .pop-template-info {
- position: absolute;
- left: 100px;
- top: 50px;
- width: auto;
- height: auto;
- padding: 0px 20px 20px 20px;
- box-sizing: border-box;
- background: rgba(0, 0, 0, 0.5);
- border: 1px solid #2ddfff;
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
- // 滚动条去除样式
- .el-scrollbar {
- .el-scrollbar__wrap {
- overflow-x: hidden;
- }
- }
- .devicename {
- font-size: 18px;
- font-weight: bold;
- line-height: 24px;
- margin: 16px 0;
- color: #ffffff;
- align-items: center;
- width: 99%;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- .i-icon1 {
- width: 8px;
- height: 18px;
- background: #2ddfff;
- display: inline-block;
- }
- .i-icon2 {
- width: 1px;
- height: 18px;
- background: #2ddfff;
- opacity: 1;
- display: inline-block;
- margin-left: 3px;
- margin-right: 10px;
- }
- .warn {
- background: #fd2d72;
- }
- .offline {
- background: #afafaf;
- }
- }
- hr {
- height: 0px;
- border: none;
- border-top: 0.01rem solid #fffffc;
- opacity: 0.5;
- margin-bottom: 0.1rem;
- }
- .ul-scroller {
- height: 300px;
- li {
- display: flex;
- justify-content: space-between;
- line-height: 24px;
- padding-right: 10px;
- span {
- font-size: 16px;
- color: #ffffff;
- opacity: 0.8;
- }
- span:nth-child(1) {
- text-align-last: justify;
- padding-right: 40px;
- }
- span:nth-child(2) {
- opacity: 1;
- }
- .warn {
- color: #fd2d72;
- }
- }
- }
- }
- /*Upload*/
- .pure-button {
- width: 150px;
- height: 40px;
- line-height: 40px;
- text-align: center;
- color: #fff;
- border-radius: 3px;
- }
- .g-core-image-corp-container .info-aside {
- height: 45px;
- }
- .el-upload--text {
- background-color: #fff;
- border: 1px dashed #d9d9d9;
- border-radius: 6px;
- box-sizing: border-box;
- width: 360px;
- height: 180px;
- text-align: center;
- cursor: pointer;
- position: relative;
- overflow: hidden;
- }
- .el-upload--text .el-icon-upload {
- font-size: 67px;
- color: #97a8be;
- margin: 40px 0 16px;
- line-height: 50px;
- }
- .el-upload--text {
- color: #97a8be;
- font-size: 14px;
- text-align: center;
- }
- .el-upload--text em {
- font-style: normal;
- }
- //左右浮动
- .el-fl-left {
- float: left;
- }
- .el-fl-right {
- float: right;
- }
- // 搜索栏间隔
- .search {
- width: 100%;
- height: 60px;
- margin-bottom: 20px;
- background: #fff;
- padding: 15px 20px;
- box-sizing: border-box;
- border-radius: 6px;
- .search-btn,
- .search-input,
- .el-select,
- .el-date-editor {
- margin-right: 20px;
- }
- .search-label {
- margin-right: 10px;
- color: #3b4045;
- font-size: 14px;
- vertical-align: middle;
- display: inline-block;
- }
- .search-input {
- width: 240px;
- }
- .search-btn {
- height: 30px;
- background: $mainTextColor;
- border-radius: 4px;
- padding: 9px 8px;
- box-sizing: border-box;
- line-height: 10px;
- i {
- font-size: 14px;
- display: inline-block;
- vertical-align: middle;
- }
- }
- .el-date-editor {
- width: 400px;
- }
- .el-range-separator {
- padding: 0;
- }
- &:after {
- visibility: hidden;
- display: block;
- font-size: 0;
- content: " ";
- clear: both;
- height: 0;
- }
- }
- //左边菜单栏边框显示
- .el-menu {
- border: none !important;
- width: 220px;
- }
- .el-menu-item,
- .el-submenu.is-active .el-submenu__title,
- .el-submenu .el-menu-item,
- .el-submenu__title {
- height: 50px;
- line-height: 50px;
- padding: 0 10px;
- margin: 0 10px;
- background: #2c354a;
- border-radius: 32px 0px 0px 32px !important;
- color: $mainTextColor;
- }
- // 折叠菜单栏时出现箭头图标
- .el-menu--collapse {
- .el-submenu > .el-submenu__title > .el-submenu__icon-arrow {
- display: inline;
- }
- .el-submenu > .el-submenu__title > .el-submenu__icon-arrow:before {
- content: "\e791";
- color: #ffffff;
- }
- .el-submenu.is-active > .el-submenu__title > .el-submenu__icon-arrow:before {
- content: "\e791";
- color: $mainTextColor;
- }
- /*菜单关闭*/
- .el-submenu > .el-submenu__title .el-submenu__icon-arrow {
- -webkit-transform: rotateZ(0deg);
- -ms-transform: rotate(0deg);
- transform: rotateZ(0deg);
- position: absolute;
- right: 10px;
- }
- /*菜单展开*/
- .el-submenu.is-opened > .el-submenu__title .el-submenu__icon-arrow {
- -webkit-transform: rotateZ(90deg);
- -ms-transform: rotate(90deg);
- transform: rotateZ(90deg);
- }
- }
- .sidebar-el-menu .el-icon-arrow-down:before {
- content: "\e791";
- }
- /*菜单关闭*/
- .el-submenu > .el-submenu__title .el-submenu__icon-arrow {
- -webkit-transform: rotateZ(0deg);
- -ms-transform: rotate(0deg);
- transform: rotateZ(0deg);
- }
- /*菜单展开*/
- .el-submenu.is-opened > .el-submenu__title .el-submenu__icon-arrow {
- -webkit-transform: rotateZ(90deg);
- -ms-transform: rotate(90deg);
- transform: rotateZ(90deg);
- }
- // 按钮内图标据文字
- .el-select-dropdown-dark {
- border: none;
- background: linear-gradient(0deg, #343d55 0%, #3b455f 100%);
- box-shadow: 0px 20px 30px 0px rgba(8, 18, 40, 0.15);
- border-radius: 6px;
- .popper__arrow {
- display: none;
- }
- .el-select-dropdown__item {
- font-size: 14px;
- &.hover,
- &:hover {
- background: none;
- color: #ffffff;
- }
- }
- .el-select-dropdown__item.selected {
- color: #ffffff;
- }
- }
- // 弹出框
- .alert {
- background-color: rgba(0, 0, 0, 0.6);
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 1999;
- color: #3e3e3e;
- }
- .message-box {
- width: 400px;
- background: rgba(255, 255, 255, 1);
- border-radius: 6px;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- padding: 20px 20px 20px 34px;
- font-size: 16px;
- animation: alertdown 0.2s forwards;
- .row-1 {
- color: #424656;
- margin-bottom: 10px;
- padding-left: 24px;
- font-size: 14px;
- display: flex;
- align-items: center;
- word-break: break-all;
- position: relative;
- .dmp-icon-btn {
- color: #ff7171;
- font-size: 14px;
- width: 14px;
- height: 14px;
- background-size: 14px;
- margin-right: 10px;
- position: absolute;
- left: 0;
- top: 17px;
- }
- .dmp-icon-btn.icon-error {
- background-image: url("../img/icon_error.png");
- }
- .dmp-icon-btn.icon-warning {
- background-image: url("../img/icon-warning.png");
- }
- .dmp-icon-btn.icon-success {
- background-image: url("/static/imgs/icon-success.png");
- }
- .title {
- width: 273px;
- line-height: 18px;
- margin-top: 15px;
- }
- .close {
- position: absolute;
- top: 0;
- right: 0;
- display: inline-block;
- height: 10px;
- width: 10px;
- cursor: pointer;
- background: url("../../assets/img/icon-close-off.png") no-repeat center;
- background-size: 10px 10px;
- &:hover {
- background-image: url("../../assets/img/icon-close-on.png");
- }
- }
- }
- .row-2 {
- margin-left: 25px;
- font-size: 12px;
- color: #ff7171;
- margin-bottom: 30px;
- word-break: break-all;
- width: 273px;
- &.warning {
- color: #f7b500;
- }
- &.success {
- color: #424656;
- }
- }
- .row-3 {
- display: flex;
- justify-content: flex-end;
- .el-button {
- font-size: 12px !important;
- height: 32px;
- min-width: 60px;
- margin-left: 15px;
- }
- }
- &.up {
- animation: alertup 0.2s forwards;
- }
- }
- //通用表格样式
- .el-pagination.is-background .btn-next,
- .el-pagination.is-background .btn-prev,
- .el-pagination.is-background .el-pager li {
- width: 30px;
- height: 30px;
- background: #ffffff;
- border: 1px solid #d8d8d8;
- border-radius: 4px;
- color: #424656;
- font-weight: 400;
- }
- @font-face {
- font-family: "iconfont"; /* Project id 2167017 */
- src: url("//at.alicdn.com/t/font_2167017_wrd31fts4a.woff2?t=1623035434172") format("woff2"),
- url("//at.alicdn.com/t/font_2167017_wrd31fts4a.woff?t=1623035434172") format("woff"),
- url("//at.alicdn.com/t/font_2167017_wrd31fts4a.ttf?t=1623035434172") format("truetype");
- }
- /*@font-face {
- font-family: 'iconfont'; /* Project id 2251662
- src: url('//at.alicdn.com/t/font_2251662_qd6epht669f.woff2?t=1639643719416') format('woff2'),
- url('//at.alicdn.com/t/font_2251662_qd6epht669f.woff?t=1639643719416') format('woff'),
- url('//at.alicdn.com/t/font_2251662_qd6epht669f.ttf?t=1639643719416') format('truetype');
- }*/
- .zoniot_font {
- font-family: "zoniot_font" !important;
- color: $mainTextColor;
- font-size: 16px;
- line-height: 15px;
- font-style: normal;
- -webkit-font-smoothing: antialiased;
- -webkit-text-stroke-width: 0.2px;
- -moz-osx-font-smoothing: grayscale;
- cursor: pointer;
- &.red {
- color: red;
- }
- }
- .iconfont {
- font-family: "iconfont" !important;
- font-size: 14px;
- font-style: normal;
- -webkit-font-smoothing: antialiased;
- -webkit-text-stroke-width: 0.2px;
- -moz-osx-font-smoothing: grayscale;
- cursor: pointer;
- }
- @mixin searchTextBotton {
- color: $mainTextColor;
- font-size: 30px;
- }
- // table 操作字体颜色
- .zz-table .el-table {
- table {
- i.iconfont {
- color: $mainTextColor;
- }
- }
- }
- .search .search-icon {
- float: right;
- i.iconfont {
- margin-right: 20px;
- @include searchTextBotton;
- }
- i.zoniot_font {
- margin-right: 20px;
- line-height: inherit;
- @include searchTextBotton;
- }
- span.iconfont {
- margin-right: 20px;
- @include searchTextBotton;
- }
- i:last-child {
- margin-right: 0;
- }
- }
- .handle-box,
- .search,
- .camerabox {
- i.fr-fs-fc {
- @include searchTextBotton;
- }
- }
- // 异常页面
- div.box-40 {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- .title {
- text-align: center;
- margin-top: 40px;
- h2 {
- color: #424656;
- font-size: 24px;
- }
- .text-title {
- color: #aaadba;
- margin: 10px 0 20px 0;
- }
- }
- }
- .re-uplod-style .avatar-uploader .el-upload--text,
- .upload_div .el-upload--text {
- display: block;
- border: none;
- width: inherit;
- height: inherit;
- background-color: transparent;
- color: unset;
- font-size: unset;
- }
- .content {
- .content-right {
- width: calc(100% - 280px);
- float: right;
- }
- }
|