* {
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
}
body {
display: flex;
flex-direction: column;
background: #121e39;
}
/* .main {
width: 100%;
background-image: url('../img/top-background.png');
background-repeat: no-repeat;
background-size: cover;
} */
.nav {
display: flex;
justify-content: center;
padding-top: 10px;
}
.nav-title {
position: absolute;
text-align: center;
color: white;
font-size: 36px;
font-weight: bold;
}
.nav img {
width: 1920px;
overflow: hidden;
}
.main {
height: 55%;
}
.main-bottom {
height: 45%;
display: flex;
flex-direction: row;
}
.main-bottom .main-bottom-left, .main-bottom .main-bottom-right {
width: 100%;
display: flex;
flex: 1;
background-repeat: no-repeat;
background-size: cover;
}
/* .main-bottom .main-bottom-left {
background-image: url("../img/left-background.jpg");
}
.main-bottom .main-bottom-right {
background-image: url("../img/right-background.png");
} */
.main-content {
display: flex;
height: 84%;
margin-top: 5px;
}
.main-content-left, .main-content-right {
display: flex;
flex: 1;
flex-direction: column;
}
/* .main-content-right {
background-image: url("/public/data/img/sbg.png");
background-repeat: no-repeat;
background-size: 100% 100%;
} */
.main-content-center {
border: solid 1px #0a2c40;
padding: 5px;
flex: 2;
background-repeat: no-repeat;
background-size: 100%;
}
.personnel-ratio {
width: 100%;
height: 86%;
}
.personnel-ratio-type {
width: 50%;
height: 50%;
float: left;
}
.personnel-ratio-container {
height: 100%;
}
/*.personnel-ratio-type.patrol-record-data {*/
/*width: 60%;*/
/*height: 50%;*/
/*float: left;*/
/*}*/
.main-content-center-img {
width: 100%;
height: 95%;
}
.main-content-center-img img {
width: 100%;
height: 100%;
object-fit: cover;
}
.location-icon {
position: absolute;
top: 20%;
left: 40%;
}
.chart-title-img {
background: #0a3849;
height: 30px;
display: flex;
justify-content: space-between;
align-items: center;
}
.content {
width: 270px;
border-radius: 0 15px 0 0;
background: #082438;
margin-left: 8px;
}
.chart-title-img.content.position-left, .chart-title-img.content.position-right {
position: absolute;
top: 60px;
height: 25px;
}
.chart-title-img.content.position-left {
left: 10px;
}
.chart-title-img.content.position-right {
margin-left: 10px;
}
.icon-title {
color: #ffffff;
flex: 2;
display: inline-block;
font-size: 16px;
line-height: 30px;
padding-left: 5px;
}
.icon-title.first {
padding-left: 60px;
text-align: center;
font-size: 24px;
}
.icon-img {
float: right;
padding-right: 15px;
}
.data-statistics {
flex: 1;
border: 1px solid #0a2c40;
padding: 3px;
margin: 8px;
}
.container {
max-height: 175px;
}
.data-statistics.container {
height: 175px;
}
.hidden-danger, .complaint, .task, .patrol {
display: flex;
flex: 1;
flex-direction: column;
}
.type-title {
color: #ffffff;
display: inline-block;
position: relative;
left: -185px;
}
.title {
background: rgba(23,49,96,0.9);
display: flex;
justify-content: center;
/* width: 200px;
margin: 0 auto;
margin-top: 5px; */
}
.date-text {
color: #ffffff;
}
.active {
color: #00c6ff;
}
.orders-todo {
height: 89%;
background: rgba(23,49,96,0.9);
}
/*表格*/
.table {
color: #ffffff;
width: 100%;
}
th,td {
text-align: center;
/*font-size: 18px;*/
height: 29px;
}
.table thead tr{
background: rgba(8,36,56,0.58);
}
.table tbody tr:nth-child(odd){
border-collapse:separate;
border-spacing:0px 10px;
background: rgba(25,177,201,0.2);
}
.table tbody tr:nth-child(even){
background: rgba(8,36,56,0.58);
}
.table-project-name {
max-width: 90px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.patrol {
background-image: url("/public/data/img/xg_img.png");
background-repeat: no-repeat;
background-position: center;
}
.chart-title-img.data-display {
margin: 10px 8px -10px;
}
.icon {
width: 10px;
height: 10px;
border-radius: 5px;
}
.legend {
width: 30%;
}
.chart-title-img.data-display .icon-title{
flex:initial !important;
}
.icon-danger, .icon.icon-spread {
background: #2ca2fc;
}
.icon-todo,.icon.icon-ratio {
background: #ffcb1d;
}
.personnel-ratio.patrol-record {
margin-top: 10px;
}
.card-back-color {
background: rgba(23,49,96,0.9);
}