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/config/agent.scss
2024-06-17 17:52:44 +08:00

147 lines
3.5 KiB
SCSS

.agent-dialog .agent-box{
padding:10px;
}
.agent-box >.right-box-form>.el-form-item.half-form-item{
width: 220px;
}
.agent-box >.right-box-form>.el-form-item.half-form-item:nth-child(odd){
width: 220px;
}
.agent-box .download-url{
margin-left: 12px !important;
}
.agent-box .download-url .url-copy i{
font-size: 20px;
}
.agent-box .download-url pre code {
border: 1px solid $--border-color-base;
border-radius: 0;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
line-height: 40px;
padding: 5px 20px 5px 5px;
white-space: nowrap;
background-color: $--background-color-base;
color: $--color-text-primary;
}
.agent-box .download-url code {
color: $--color-text-primary;
}
.download-url .el-input.is-disabled .el-input__inner{
background-color: $--background-color-base;;
border-color: $--border-color-light;
color: $--color-text-primary;
cursor: text;
}
.download-url .el-input__suffix {
position: absolute;
-webkit-transition: all .3s;
height: 100%;
color: $--color-text-primary;
text-align: center;
}
.collectors{
display: flex;
flex-direction: column;
background-color: $--background-color-empty;
&>.system-title {
font-family: Roboto-Medium;
font-size: 14px;
color: $--license-left-title-color;
letter-spacing: 0;
font-weight: 700;
font-style: italic;
margin-left: 0;
margin-bottom: 0px;
padding-left: 20px;
padding-top: 20px;
}
.list-page{
flex: 1;
}
.collectors-settingTable{
&.list-page{
height: unset;
flex: unset;
background: unset;
padding: 0;
padding-top: 20px;
.nz-table-list{
height: unset;
}
}
.el-table{
flex: unset;
td {
padding: 8px 0;
border-bottom: 1px solid $--border-color-light;
border-right: none !important;
}
tr {
background-color: $--table-row-background-color;
}
th {
border-color: $--border-color-light;
padding: 8px 0;
}
thead {
color: $--color-text-primary;
}
.cell{
padding: 0 20px !important;
}
.el-table__fixed-body-wrapper {
td:not(.is-hidden) {
border-left: 1px solid $--border-color-light;
}
}
.el-table__fixed-header-wrapper {
th:not(.is-hidden) {
border-left: 1px solid $--border-color-light;
}
th:last-of-type {
border-right: none !important;
}
}
.el-table--border:not(.chart-table)::after, .el-table--group:not(.chart-table)::after {
width: 0;
}
.table-operation-items {
display: flex;
justify-content: center;
.table-operation-edit {
background: $--background-color-2;
border: 1px solid $--border-color-base;
border-radius: 2px;
width: 30px;
height: 22px;
i {
font-size: 12px !important;
}
}
.table-operation-button {
border: none;
background-color: $--color-primary;
color: $--button-primary-color;
display: flex;
text-align: center;
line-height: 22px;
justify-content: center;
align-items: center;
height: 22px;
width: 30px;
padding: 0 5px 0 5px;
margin-right: 10px;
cursor: pointer;
i.nz-icon-beifen.nz-icon::before {
font-size: 12px;
}
}
}
}
}
}