283 lines
4.9 KiB
CSS
283 lines
4.9 KiB
CSS
.viewport {
|
|
/* 限定大小 */
|
|
min-width: 1024px;
|
|
max-width: 1920px;
|
|
min-height: 780px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
display: flex;
|
|
padding: 5rem 0.833rem 0;
|
|
line-height: 1.15;
|
|
background-color: #101129;
|
|
height: 100vh;
|
|
margin-bottom: -20px;
|
|
}
|
|
|
|
.column {
|
|
flex: 3;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* 边框 */
|
|
.panel {
|
|
box-sizing: border-box;
|
|
border: 2px solid red;
|
|
border-image: url(../images/border.png) 51 38 21 132;
|
|
border-width: 2.125rem 1.583rem 0.875rem 5.5rem;
|
|
position: relative;
|
|
margin-bottom: 0.833rem;
|
|
}
|
|
.panel .inner {
|
|
/* 装内容 */
|
|
/* height: 60px; */
|
|
position: absolute;
|
|
top: -2.125rem;
|
|
right: -1.583rem;
|
|
bottom: -0.875rem;
|
|
left: -5.5rem;
|
|
padding: 1rem 1.5rem;
|
|
}
|
|
.panel h3 {
|
|
font-size: 0.833rem;
|
|
color: #fff;
|
|
}
|
|
|
|
/* 总览标题 */
|
|
.brand {
|
|
background-image: url(../images/brand.png);
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
position: absolute;
|
|
top: 0.833rem;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
}
|
|
.brand .brand-title {
|
|
color: #ffffff;
|
|
font-size: 1.4rem;
|
|
font-weight: 600;
|
|
padding-top: 1rem;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
.brand .brand-desc {
|
|
color: #d9d9d9;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* 实时流量 */
|
|
.upfFlow {
|
|
/* min-height: 16rem; */
|
|
height: 40%;
|
|
}
|
|
.upfFlow .inner .chart {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin-top: 0rem;
|
|
}
|
|
|
|
/* 网络拓扑 */
|
|
.topology {
|
|
/* min-height: 27.8rem; */
|
|
height: 56.4%;
|
|
flex: 1;
|
|
}
|
|
.topology .inner h3 {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
}
|
|
.topology .inner h3 .normal {
|
|
color: #52c41a;
|
|
font-size: 1.1rem;
|
|
margin-right: 8px;
|
|
}
|
|
.topology .inner h3 .abnormal {
|
|
color: #f5222d;
|
|
font-size: 1.1rem;
|
|
}
|
|
.topology .inner .chart {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* 概览区域 */
|
|
.skim {
|
|
/* min-height: 7.78rem; */
|
|
height: 14.4%;
|
|
}
|
|
.skim .inner .data {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
height: 90%;
|
|
}
|
|
.skim .inner .data .item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: baseline;
|
|
width: 33%;
|
|
}
|
|
.skim .inner .data .item div {
|
|
font-size: 1.467rem;
|
|
color: #fff;
|
|
margin-bottom: 0;
|
|
display: flex;
|
|
align-items: baseline;
|
|
line-height: 2rem;
|
|
}
|
|
.skim .inner .data .item span {
|
|
color: #4c9bfd;
|
|
font-size: 0.833rem;
|
|
width: 100%;
|
|
position: relative;
|
|
line-height: 2rem;
|
|
white-space: nowrap;
|
|
text-align: start;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
.skim .inner .data .item span::before {
|
|
content: ' ';
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 0;
|
|
background-image: linear-gradient(to right, #fff, #fff0);
|
|
height: 1px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* 概览区域 衍生基站信息 */
|
|
.skim.base {
|
|
height: 12%;
|
|
}
|
|
|
|
.skim.base .inner .data {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
height: 75%;
|
|
}
|
|
.skim.base .inner .data .item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: baseline;
|
|
width: 50%;
|
|
}
|
|
|
|
/* 用户行为 */
|
|
.userActivity {
|
|
/* min-height: 35.8rem; */
|
|
height: 54.6%;
|
|
flex: 1;
|
|
}
|
|
.userActivity .inner .chart {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* 流量统计 */
|
|
.upfFlowTotal {
|
|
/* min-height: 7.5rem; */
|
|
height: 14.4%;
|
|
}
|
|
.upfFlowTotal .inner h3 {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.upfFlowTotal .inner h3 .filter {
|
|
display: flex;
|
|
}
|
|
.upfFlowTotal .inner h3 .filter span {
|
|
display: block;
|
|
height: 0.75rem;
|
|
line-height: 1;
|
|
padding: 0 0.75rem;
|
|
color: #1950c4;
|
|
font-size: 0.75rem;
|
|
border-right: 0.083rem solid #00f2f1;
|
|
cursor: pointer;
|
|
}
|
|
.upfFlowTotal .inner h3 .filter span:first-child {
|
|
padding-left: 0;
|
|
}
|
|
.upfFlowTotal .inner h3 .filter span:last-child {
|
|
border-right: none;
|
|
}
|
|
.upfFlowTotal .inner h3 .filter span.active {
|
|
color: #fff;
|
|
font-size: 0.833rem;
|
|
}
|
|
.upfFlowTotal .inner .chart {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin-top: 0.1rem;
|
|
}
|
|
.upfFlowTotal .inner .chart .data {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
height: 60%;
|
|
}
|
|
.upfFlowTotal .inner .chart .data .item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
}
|
|
.upfFlowTotal .inner .chart .data .item h4 {
|
|
font-size: 1.467rem;
|
|
color: #fff;
|
|
margin-bottom: 0;
|
|
}
|
|
.upfFlowTotal .inner .chart .data .item span {
|
|
color: #4c9bfd;
|
|
font-size: 0.867rem;
|
|
}
|
|
|
|
/* 资源情况 */
|
|
.resources {
|
|
/* min-height: 18rem; */
|
|
height: 34.4%;
|
|
}
|
|
.resources .inner .chart {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* 告警统计 */
|
|
.alarmType {
|
|
/* min-height: 25rem; */
|
|
height: 46%;
|
|
flex: 1;
|
|
}
|
|
.alarmType .inner .chart {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* 跳转鼠标悬浮 */
|
|
.toRouter:hover {
|
|
cursor: pointer;
|
|
color: #fff !important;
|
|
}
|
|
.toRouter:hover > *,
|
|
.toRouter:hover > * > * {
|
|
color: #fff !important;
|
|
}
|