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/assets/css/components/page/integration/integration.scss

432 lines
9.9 KiB
SCSS
Raw Normal View History

2023-02-22 18:32:54 +08:00
.integration{
width: 100%;
height: 100%;
background-color: $--background-color-empty;
padding: 20px;
box-sizing: border-box;
overflow-y: auto;
.integration-title{
font-family: Roboto-Medium;
font-size: 16px;
color: $--color-text-primary;
letter-spacing: 0;
font-weight: 600;
line-height: 100%;
}
.integration-list{
display: flex;
flex-wrap: wrap;
margin-left: -16px;
.integration-item{
margin-top: 16px;
margin-left: 16px;
width: 260px;
height: 214px;
border: 1px solid $--border-color-light;
border-radius: 4px;
padding: 0 20px;
box-sizing: border-box;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
position: relative;
transition: all 0.2s;
&:hover{
border: 1px solid $--color-primary;
background: rgba(250, 144, 28, 0.02);
}
.integration-icon{
margin-top: 30px;
width: auto;
max-width: 100%;
2023-02-22 18:32:54 +08:00
height: 50px;
}
.integration-name{
margin-top: 15px;
font-family: Roboto-Medium;
font-size: 14px;
color: $--color-text-primary;
letter-spacing: 0;
font-weight: 600;
width: 100%;
text-align: center;
line-height: 16px;
word-break: break-all;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.integration-remark{
margin-top: 20px;
font-family: Roboto-Regular;
font-size: 12px;
color: $--color-text-secondary;
letter-spacing: 0;
line-height: 16px;
font-weight: 400;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
overflow: hidden;
}
.integration-internal{
padding: 0 8px;
border: 1px solid $--color-primary;
border-radius: 4px;
box-sizing: border-box;
height: 24px;
line-height: 24px;
text-align: center;
position: absolute;
right: 12px;
top: 12px;
color: $--color-primary;
font-size: 12px;
}
}
}
}
.integration-dialog{
&>.el-dialog{
width: 95%;
max-width: 1200px;
height: 90%;
max-height: 1024px;
transform: none;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto !important;
}
.el-dialog__header{
padding-top: 20px;
padding-bottom: 12px;
}
.el-dialog__body{
height: calc(100% - 32px);
display: flex;
flex-direction: column;
box-sizing: border-box;
padding: 0;
.integration-dialog-top{
display: flex;
align-items: center;
padding-bottom: 20px;
margin: 0 30px;
.integration-dialog-top-logo{
line-height: 0;
img{
width: 72px;
height: auto;
2023-02-22 18:32:54 +08:00
}
}
.integration-dialog-introduce{
width: calc(100% - 72px);
padding-left: 25px;
box-sizing: border-box;
.integration-name{
font-family: Roboto-Medium;
font-size: 16px;
color: $--color-text-primary;
letter-spacing: 0;
font-weight: 600;
line-height: 20px;
}
.integration-remark{
margin-top: 8px;
font-family: Roboto-Regular;
font-size: 14px;
color: $--color-text-secondary;
letter-spacing: 0;
line-height: 16px;
font-weight: 400;
}
}
}
.integration-dialog-content{
flex: 1;
overflow: hidden;
}
}
}
.integration-tabs{
width: 100%;
height: 100%;
.integration-tabs-nav{
margin:0 30px;
height: 42px;
box-sizing: border-box;
border-bottom: 1px solid $--border-color-light;
display: flex;
.integration-tabs-nav-item{
width: 120px;
text-align: center;
cursor: pointer;
font-family: Roboto-Regular;
font-size: 14px;
color: $--color-text-regular;
font-weight: 400;
line-height: 42px;
position: relative;
}
.integration-tabs-nav-item.active{
color: $--color-primary;
&::after{
position: absolute;
left: 0;
right: 0;
bottom: 0;
content: "";
display: block;
height: 2px;
background-color: $--color-primary;
}
}
}
.integration-tabs-content{
height: calc(100% - 42px);
.integration-tool{
height: 60px;
display: flex;
justify-content: space-between;
align-items: center;
2023-02-23 14:48:03 +08:00
box-sizing: border-box;
2023-02-22 18:32:54 +08:00
h3{
font-family: Roboto-Medium;
font-size: 14px;
color: $--color-text-primary;
font-weight: 600;
}
.nz-btn{
2023-02-23 14:48:03 +08:00
width: 80px;
2023-02-22 18:32:54 +08:00
height: 30px;
padding: 0 10px;
2023-02-23 14:48:03 +08:00
border-radius: 4px;
background-color: $--color-primary;
border: none !important;
2023-02-22 18:32:54 +08:00
i{
font-size: 16px;
}
span{
font-size: 14px;
}
2023-02-23 14:48:03 +08:00
&.no-choose{
cursor: default;
background: $--background-color-base;
color: $--web-ssh-color-text-disable;
pointer-events: none;
}
2023-02-22 18:32:54 +08:00
}
}
.integration-configuration{
box-sizing: border-box;
padding: 30px;
padding-right: 0;
2023-02-22 18:32:54 +08:00
height: 100%;
.integration-configuration-scroll{
box-sizing: border-box;
padding-right: 10px;
margin-right: 20px;
height: 100%;
overflow-y: auto;
}
2023-02-22 18:32:54 +08:00
.integration-configuration-title{
font-family: Roboto-Medium;
font-size: 14px;
color: $--color-text-primary;
line-height: 20px;
font-weight: 600;
margin-top: 10px;
}
.integration-configuration-msg{
font-family: Roboto-Regular;
font-size: 14px;
color: $--color-text-regular;
line-height: 20px;
font-weight: 400;
margin-top: 6px;
}
.integration-configuration-pre{
width: 100%;
overflow-y: auto;
box-sizing: border-box;
overflow-wrap: break-word;
word-break: break-word;
white-space: pre-wrap;
}
}
.integration-dashboard{
box-sizing: border-box;
padding: 20px;
padding-top: 0;
padding-bottom: 30px;
height: 100%;
.dashboard-container{
height: calc(100% - 60px);
.table-list{
height: 100%;
.no-data {
text-align: center;
position: absolute;
width: 100%;
top: 50%;
margin-top: -54px;
.no-data-div {
color: $--color-text-regular;
}
}
}
}
.right-box.right-box-dashboard-temp{
2023-02-22 18:32:54 +08:00
top: 0;
height: 100%;
z-index: 2001;
2023-02-22 18:32:54 +08:00
}
}
2023-02-23 14:48:03 +08:00
.integration-alert{
height: 100%;
box-sizing: border-box;
padding: 30px;
padding-top: 0;
.list-page{
height: calc(100% - 60px);
.nz-table-list{
padding: 0;
height: 100%;
.gutter{
position: unset;
}
}
}
}
.integration-metric{
height: 100%;
box-sizing: border-box;
padding: 30px;
padding-top: 20px;
.list-page{
height: 100%;
.nz-table-list{
padding: 0;
height: 100%;
.gutter{
position: unset;
}
}
}
}
2023-02-22 18:32:54 +08:00
}
}
.integration-dialog.integration-dialog-internal{
.integration-tabs-nav{
.integration-tabs-nav-item{
width: 168px;
}
}
.integration-manual,.integration-automatic{
padding: 30px;
padding-top: 15px;
padding-right: 10px;
margin-right: 20px;
box-sizing: border-box;
height: 100%;
overflow-y: auto;
.integration-install{
font-size: 16px;
color: $--color-text-primary;
font-weight: 600;
}
.install-step{
padding-top: 15px;
width: 100%;
display: flex;
.step-num{
width: 20px;
height: 20px;
box-sizing: border-box;
border: 1px solid $--border-color-light;
border-radius: 2px;
font-size: 12px;
text-align: center;
line-height: 20px;
color: $--color-text-primary;
margin-right: 12px;
}
.step-right{
flex: 1;
h4{
font-size: 14px;
line-height: 20px;
margin-bottom: 12px;
color: $--color-text-regular;
font-weight: normal;
}
p{
font-size: 14px;
line-height: 20px;
margin-bottom: 8px;
color: $--color-text-regular;
display: flex;
align-items: center;
&>.dot{
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
background: $--color-text-primary;
margin-right: 6px;
}
}
.talon-select{
color: $--color-text-regular;
display: flex;
align-items: center;
&>span{
margin-right: 8px;
}
.el-select{
width: 220px;
}
.v-selectpage{
width: 640px;
.sp-base.sp-input{
height: 32px;
}
.sp-icon-close{
display: none;
}
}
.nz-btn{
margin-left: 18px;
}
}
.command-box{
// width: 800px;
width: 100%;
line-height: 32px;
.el-input__inner{
color: $--color-text-primary;
border-color: $--border-color-light;
cursor: text;
}
.el-input__suffix{
.el-input__suffix-inner{
cursor: pointer;
i{
color: $--color-text-regular;
}
}
}
}
}
}
}
2023-02-22 18:32:54 +08:00
}