body { padding-top:70px !important; padding-bottom: 30px !important; } /* 导航部分 开始*/ .navbar { min-height: 40px !important; margin:0 auto; font-size: 14px; } .navbar .container{ max-width: 95vw; margin: 0 auto; } .navbar-inverse{ background-image: none; background-color: #1C2127; box-shadow: 0 1px 40px -8px #00000080; } .navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover { background-color: #1C2127; } .navbar .navbar-collapse:not([aria-expanded]) .navbar-nav .dropdown-toggle { margin-top: 18px; padding: 0 !important; } .navbar .navbar-toggle { margin-right:0 } .navbar .navbar-brand { font-size: 20px; text-align: center; padding:12px 0 0 0; margin-right:30px; } .navbar .node-cell-expand { word-break: break-all; } .navbar .node-cell-expand-label { /*margin-right: 5px;*/ } .navbar .dropdown:hover, .navbar .dropdown a{ cursor: pointer; } .navbar .dropdown .dropdown-toggle { padding-bottom: 10px; padding-top: 10px; } .navbar .navbar-nav { margin:0px -15px; } .navbar .navbar-nav > li > a { color:#f1f1f1; } .navbar-nav li a span{ margin-right: 4px; } .navbar .navbar-collapse{ max-height: 500px; } /* 导航部分 结束 */ /* toolbox 开始 */ .toolbox { position: fixed; bottom:20px; right: 12px; z-index: 999999; } .toolbox span{ display: block; width: 2.75rem; margin-bottom: 10px; } .toolbox i{ display: block; color: rgba(241,241,241,1); cursor: pointer; border-radius: 5px; font-size: 1.5rem; height: 2.75rem; width: 2.75rem; line-height: 2.75rem; text-align: center; } .toolbox .toggleView i.show-nogroup { font-size: 1.85rem; } .toolbox .setTheme i.setTheme-dark { font-size: 1.35rem; } .toolbox .setTheme i.setTheme-light { font-size: 1.45rem; } .toolbox .showGoTop i.goTop { font-size: 1.55rem; } /* toolbox 结束 */ /* 正文部分 开始 */ .content { padding: 20px; border-radius: 5px; margin-bottom: 20px; } .table { margin-bottom: 0; border-collapse: collapse; border-radius: 3px; } .table th, .table td { text-align: left; } tr.accordion-toggle{ cursor:pointer; } .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th { position: relative; border:none; line-height:20px; } .table > tbody > tr > td:before, .table > tbody > tr > th:before, .table > tfoot > tr > td:before, .table > tfoot > tr > th:before, .table > thead > tr > td:before, .table > thead > tr > th:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0.7px; } .table .node-group-tag th{ font-size: 18px; padding-bottom:15px; } .table .node-cell-os-text { text-transform: capitalize; } .progress { margin-bottom: 0; } .progress-bar { text-align: center !important; padding-left: 5px; } .expandRow > td { padding: 0 !important; border-top: 0 !important; } .accordian-body{ margin: 10px 0px 10px 18px; } .node-cell.center { text-align: center !important; } .node-cell.status .status-container { display: flex; align-items: center; justify-content: center; height: 20px } .node-cell.status .status-icon { width: 12px; height: 12px; border-radius: 50%; text-align: center; } .node-cell.os .icon.windows { margin-right: 0 !important; width: 14px; } .node-cell.location .flag { margin-right: 0 !important; } .node-cell.network { min-width: 100px; max-width: 100px; } .node-cell.traffic { min-width: 100px; } .node-cell.cpu, .node-cell.ram, .node-cell.hdd, .node-cell.memory { min-width: 50px; max-width: 50px; } .temp-detail { cursor: pointer; } /*加快Agent详情下拉展示速度*/ .collapsing{ -webkit-transition-property:height,visibility; -o-transition-property:height,visibility; transition-property:height,visibility; -webkit-transition-duration:.15s; -o-transition-duration:.15s; transition-duration:.15s; -webkit-transition-timing-function: linear; -o-transition-timing-function: linear; transition-timing-function: linear } /*正文结束*/ /* 服务页 正文*/ .service-status { } .service-status .service-status-th{ min-width:60px; } .service-status .service-name-th{ min-width:50px; } .service-status .service-averagelatency-th{ min-width:80px; } .service-status .service-30daysonline-th{ min-width:80px; } .service-status .delay-today { display: flex; align-items: center; justify-content: left; } .service-status .delay-today i { width: 12px; height: 12px; border-radius: 50%; text-align: center; background-color: grey; margin-right: 0.3em; } .service-day-status-icon { display: inline-block; width: 18px; height: 18px; margin-right: 4px; margin-bottom: -3.25px; border-radius: 3px; box-shadow: inset 0 2px 2px rgba(0, 0, 0, .1); } .service-status .tooltip-inner { max-width: 500px; } /* 服务页 正文结束 */ /* 服务器分布图 */ #mapChartBox{ z-index: 999999999; } .modal-content{ display: flex; flex-direction: column; pointer-events: auto; } .modal-dialog-centered{ margin: 0 auto; width: 1134px; max-width: 1134px; display: flex; align-items: center; /* 垂直居中 */ justify-content: center; /* 水平居中 */ min-height: calc(100%) /* 确保模态框占据整个视口高度 */ } .modal-header{ position: relative; } .modal-header i{ cursor: pointer; position: absolute; font-size: 2em; top: 13px; right: 13px; } footer{ padding-bottom: 2rem; } footer p{ text-align: center; font-size: 10px; } @media only screen and (max-width: 1200px) { .accordian-body{ margin: 5px 0px 5px 10px; } .table .node-group-tag th{ font-size:16px; padding-bottom:6px; } } @media only screen and (max-width: 767px) { body { font-size: 10px !important; padding-top:60px !important; } .content { padding: 0; margin-bottom: 10px; } .navbar .navbar-nav .open .dropdown-menu>li>a { color: #f1f1f1; } .navbar .navbar-nav .open .dropdown-menu { list-style-image: initial; background-color: #181a1b; border-color: rgba(140, 130, 115, 0.15); box-shadow: rgba(0, 0, 0, 0.18) 0px 6px 12px; } .table > tbody > tr > td:before, .table > tbody > tr > th:before, .table > tfoot > tr > td:before, .table > tfoot > tr > th:before, .table > thead > tr > td:before, .table > thead > tr > th:before { height: 0.5px; } .node-cell.os, .node-cell.uptime, .node-cell.traffic{ display: none; visibility: hidden; } .node-cell.location{ display: table-cell; visibility: visible; } .node-cell-os-text,.node-cell-location-text{ display: none; visibility: hidden; } .accordian-body{ margin: 5px 0px 5px 10px; } .table .node-group-tag th{ font-size:16px; padding-bottom:6px; } .service-status .service-status-th{ min-width:30px; } .service-status .delay-today{ margin-top:4px; justify-content: center; } .service-status .delay-today i{ margin-right:0px; } .service-status .delay-today-text{ display: none; visibility: hidden; } .service-status .service-averagelatency-th{ min-width:70px; } .service-status .service-30daysonline-th{ min-width:75px; } .toolbox { right: 18px; } .modal-dialog-centered{ width: 95%; } .modal-title{ line-height: 0.5; } .modal-header i{ top: 8px; right: 8px; } } @media only screen and (min-width: 768px) { .pl-md-unset { padding-left: unset !important; } }