This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nezha-fronted/nezha-fronted/src/components/page/dashboard/overview/overview2.scss

250 lines
5.0 KiB
SCSS

.overview{
height: 100%;
}
.overview-right {
background-color: $content-right-background-color;
}
.overview-content-header{
display: flex;
padding-top: 6px;
}
.overview-content-header .header-title{
flex:13;
height: 35px;
line-height: 35px;
font-size: 1.5rem !important;
font-weight: 700;
margin-left: 15px;
}
.overview-content-header .header-tool{
flex: 2;
height: 35px;
}
.header-tool .tool-container{
display: flex;
text-align: center;
}
.tool-container .time{
flex: 4;
font-size: 1.2rem !important;
display: inline-block;
height: 35px;
line-height: 35px;
vertical-align: middle;
}
.tool-container .date{
flex: 4;
height: 35px;
}
.date .week{
font-size: 0.7rem;
line-height: 1.1rem;
}
.date .sys-date{
font-size: .75rem;
line-height: 0.5rem;
}
.tool-container .operation{
flex: 2;
display: inline-block;
line-height: 35px;
}
.operation .screen-icon{
font-size: 1.875rem !important;
cursor: pointer;
}
.overview-content{
height: calc(100% - 42px);
width: 100%;
}
.overview-content .content-row-box {
width: 100%;
display: flex;
justify-content: space-between;
align-content: flex-start;
}
.overview-content .content-row-box:first-of-type {
height: 16%;
}
.overview-content .content-row-box:nth-of-type(2) {
height: 45%;
}
.overview-content .content-row-box:nth-of-type(3) {
height: 39%;
}
.overview-content .content-row-box:nth-of-type(2) .content-col-box {
width: calc(50% - 10px);
}
.overview-content .content-row-box:nth-of-type(3) .content-col-box {
width: calc(33.33% - 10px);
}
.content-row-box .content-col-box{
margin: 5px;
display: inline-block;
background-color: white;
flex: 1;
border-radius: 5px;
border: 1px solid #edecec;
}
.content-col-title {
height: 1.6rem;
line-height: 1.6rem;
color: #777;
font-size: 1rem;
padding: 0 8px;
background-color: #efefef;
border-radius: 5px 5px 0 0;
display: flex;
justify-content: space-between;
}
.content-col-title .el-dropdown {
font-size: 0.85rem;
}
.content-col-title-tools {
display: flex;
font-size: 0.85rem;
}
.content-col-title-tool {
cursor: pointer;
padding-left: 7px;
border-left: 1px solid #dadada;
margin-left: 7px;
.el-cascader {
height: 100%;
line-height: 1.6rem;
.el-input__suffix i {
color: #606266;
}
.el-tag {
background-color: #efefef;
height: 100%;
line-height: 1.6rem;
margin: 0;
border: none;
padding-left: 2px;
font-size: 0.85rem;
color: #606266;
max-width: calc(100% - 25px);
}
.el-cascader__tags {
display: none;
}
.el-tag:last-of-type:not(first-of-type) {
padding-right: 0;
}
.el-input {
height: 100%;
line-height: 1.6rem;
i {
line-height: 1.6rem;
}
.el-input__inner {
height: 100% !important;
line-height: 1.6rem;
background-color: #efefef;
width: 150px;
padding-left: 10px;
border: none;
}
}
.el-input::after {
content: "Datacenter & Tag";
position: absolute;
left: 0;
top: 0;
}
}
}
.content-col-box .content-col-title .nz-dashboard-picker {
height: 100%;
}
.content-col-box .content-col-title .nz-dashboard-picker .el-icon-arrow-down {
width: unset !important;
}
.content-col-box .content-col-title .calendar-dropdown-title {
height: 100%;
line-height: unset;
border: none;
}
.dropdown-btn {
position: relative;
}
.dropdown-btn .el-popper {
top: 20px;
left: unset;
right: 0;
}
.dropdown-btn .el-popper::after {
content: '';
display: block;
width:0;
height:0;
overflow: hidden;
font-size: 0;
line-height: 0;
border: 5px;
border-style: dashed dashed solid dashed;
border-color: transparent transparent #fff transparent;
position: absolute;
left: 50%;
bottom: 0;
transform: translate(-50%, -54px);
}
.content-col-content {
display: flex;
align-items: center;
height: calc(100% - 1.6rem);
justify-content: center;
padding: 0 0.5rem;
border-radius: 0 0 6px 6px;
}
.content-row-box:nth-of-type(2) .content-col-box .content-col-content {
padding: 0.7rem;
height: calc(100% - 3rem);
}
.content-row-box:nth-of-type(2) .content-col-box:first-of-type .content-col-title {
padding-right: 0;
}
.content-row-box:first-of-type .content-col-box:last-of-type .content-col-content {
position: relative;
}
.content-row-box:first-of-type .content-col-box:last-of-type .content-col-content span {
position: absolute;
bottom: 5%;
right: 5%;
font-size: 0.7rem;
font-style: italic;
}
.content-col-content-num {
font-size: 3.2rem;
font-weight: bold;
color: #333;
}
.hide-div {
visibility: hidden;
}
.axis-tooltip {
display: none;
position: fixed;
transform: translate(-100%, -50%);
min-width: unset;
}
.axis-tooltip::after {
content: '';
display: block;
width:0;
height:0;
overflow: hidden;
font-size: 0;
line-height: 0;
border: 5px;
border-style: dashed dashed dashed solid;
border-color: transparent transparent transparent #fff ;
position: absolute;
right: 0;
top: 50%;
transform: translate(100%, -50%);
}