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/common/bottomBox/bottomBox.scss

372 lines
8.5 KiB
SCSS

/* begin--二级顶部工具栏*/
.sub-top-tools {
display: flex;
height: 32px;
align-items: center;
justify-content: space-between;
border-top: 1px solid $--border-color-base;
border-bottom: 1px solid $--border-color-light;
margin: 0 -6px;
padding-right: 80px;
background-color: $--color-primary;
margin-bottom: 10px;
}
.sub-top-tools > div {
margin-top: 2px;
}
.sub-top-tools .top-tool-search {
width: 260px;
margin: -1px 0 0 0;
.select_input input {
background-color: $--background-color-empty;
}
}
.bottom-data-list .sub-container {
height: calc(100% - 50px);
background-color: $--background-color-base;
overflow-y: auto;
& > div {
background-color: $--background-color-empty;
}
.pagination-bottom {
bottom: 8px;
}
& > .nz-table-list {
height: 100%;
padding: 20px 20px 10px 20px !important;
box-sizing: border-box;
.table-list {
background-color: $--background-color-empty;
.list-width {
width: 100%;
padding: 0 10px 5px;
box-sizing: border-box;
overflow: hidden;
}
}
}
& > .bottom-panel {
padding: 15px 10px 0px 10px !important;
}
}
.sub-top-tools .top-tool-btn-txt .nz-icon {
display: inline-block;
font-size: 12px;
margin-right: 6px;
}
.sub-top-tool-right {
display: flex;
align-content: center;
}
.has-sub-popper {
color: $--color-danger;
}
.sub-box.detail-view-sub-box {
padding: 0 !important;
height: 100%;
.sub-list__tabs {
height: calc(100% - 12px) !important;
border: 1px solid $--border-color-light;
& > div {
height: 100%;
}
}
}
.sub-box.bottom-box {
height: 50%;
position: relative;
padding: 0;
.top-tools.top-tools--sub {
border-bottom: 1px solid $--border-color-light;
.top-tool-right {
margin-right: 10px;
.top-tool-search {
.el-input.el-input--mini.el-input--suffix {
height: 100%;
.el-input__inner {
height: 100%;
border-color: $--border-color-base;
}
.el-input__inner:focus {
border-color: $--asset-label-btn-border-color;
}
}
.el-input__suffix-inner {
color: $--color-text-regular;
font-size: 14px;
}
}
.nz-btn-group {
#endpoint-query-changetime,#recordRules-query-changetime:hover {
border: 1px solid $--asset-label-btn-border-color;
}
.nz-btn.nz-btn-size-normal.nz-btn-style-light.control-icon-unchecked:hover {
border: 1px solid $--asset-label-btn-border-color;
z-index: 2;
}
.nz-btn.nz-btn-size-normal.nz-btn-style-light.control-icon-unchecked,.nz-btn.nz-btn-size-normal.nz-btn-style-light.control-icon-checked {
margin-right: -1px;
}
.project-calendar.nz-input-group-middle {
border-left: 0;
border-right: 0;
border-top: 1px solid $--border-color-light;
border-bottom: 1px solid $--border-color-light;
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
.bottom-data-list {
.sub-container {
//padding: 10px;
}
}
}
.list-page {
.sub-box.bottom-box {
.nz-table-list .el-table--border {
.gutter {
position: fixed;
right: 31px;
height: 41px;
border-bottom: 1px solid $--border-color-light;
background-color: $--background-color-empty;
box-sizing: border-box;
}
}
}
}
#alertRuleTable.el-table--border .gutter {
right: 33px;
height: 40px;
background-color: $--table-header-background-color;
}
.sub-list {
height: calc(100% - 9px);
position: absolute;
width: 100%;
z-index: 1;
top: 9px;
.sub-list__tabs {
height: 100%;
background-color: $--background-color-empty;
& > div {
height: 100%;
background-color: $--background-color-base;
& > .nz-table-list {
height: calc(100% - 92px);
padding: 20px 20px 0;
}
}
.chart-list {
.nz-table-list {
box-sizing: border-box;
padding: 0;
height: 100%;
}
}
.scrape-endpoint {
.el-input-group__append {
background-color: $--background-color-empty;
padding: 0 10px;
border-color: $--border-color-light;
color: $--color-text-regular;
}
.el-input__inner {
border-color: $--border-color-light;
}
}
}
}
.main-and-sub-transition {
transition: 0.4s height;
}
.bottom-panel {
background-color: $--background-color-empty;
height: calc(100% - 30px);
}
.bottom-log {
padding: 15px;
height: 100%;
}
.bottom-common {
padding: 20px;
height: 100%;
box-sizing: border-box;
}
.chart-temp {
height: calc(100% - 20px);
overflow-y: auto;
}
.resize-modal {
width: calc(100% - 240px);
opacity: 0.6;
background-color: #f5f9ff;
border: 1px solid #a7d0f7;
box-sizing: border-box;
position: fixed;
cursor: ns-resize;
display: none;
z-index: 20;
vertical-align: bottom;
bottom: 0;
}
.bottom-box .sub-container {
height: calc(100% - 50px);
}
.bottom-box .sub-container .nz-table-list {
height: calc(100% - 20px);
.bottom-box__top .my-loading-box {
height: calc(100% + 20px) !important;
}
}
.asset-detail .sub-container .nz-table-list {
height: 100%;
}
.endpoint-tab-new .sub-container .nz-table-list {
height: 100%;
}
.endpoint-tab-new .bottom-data-list .nz-btn-group .nz-input-group-middle input {
border-right: 0 !important;
}
.endpoint-tab-new .bottom-data-list .nz-btn-group.nz-btn-group-size-normal.nz-btn-group-light {
border: 0 !important;
box-shadow: 0 0 0px 0px rgba(0, 0, 0, 0);
}
.recordRules-query .sub-container .nz-table-list {
height: 100%;
}
.recordRules-query .bottom-data-list .nz-btn-group .nz-input-group-middle input {
border-right: 0 !important;
}
.recordRules-query .bottom-data-list .nz-btn-group.nz-btn-group-size-normal.nz-btn-group-light {
border: 0 !important;
box-shadow: 0 0 0px 0px rgba(0, 0, 0, 0);
}
/* end--二级顶部工具栏*/
.log-no-data {
height: 300px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
color: $--color-text-secondary;
}
.symbol-select .el-input__inner {
padding-left: 8px;
}
// process network vsys comment 二级页面
#processBottomTab,
#networkBottomTab,
#vsysBottomTab {
.sub-container .nz-table-list {
height: 100%;
}
#assetProcessTable,
#assetNetworkTable,
#assetVsysTable {
height: calc(100% - 15px) !important;
}
}
// comments
#commentBottomTab {
.sub-container .nz-table-list {
height: 100%;
}
.textarea-box {
// border: 1px solid $--border-color-light;
background-color: $--background-color-empty;
.textarea-small.el-textarea {
height: 100% !important;
border: 1px solid $--border-color-light;
}
.textarea-big.el-textarea {
height: calc(100% - 40px) !important;
}
textarea.el-textarea__inner {
height: 100%;
border-color: transparent;
}
}
.comment-editor{
border: 1px solid $--border-color-light;
display: flex;
flex-direction: column;
.ql-toolbar.ql-snow{
border-top: unset !important;
border-left: unset !important;
border-right: unset !important;
}
.editor-core{
height: auto !important;
flex: 1;
overflow: hidden;
}
.ql-container.ql-snow {
border: unset !important
}
.text-too-long{
display: none;
}
.ql-editor.ql-blank::before{
font-style: normal;
color: $--color-text-placeholder;
}
}
#assetCommentTable {
height: calc(100% - 25px) !important;
.descriptions-info {
font-size: 14px;
font-family: Roboto-Regular;
color: $--color-text-regular;
.descriptions-name {
font-family: Roboto-Medium;
font-weight: 600;
margin-right: 5px;
line-height: 14px;
color: $--color-text-primary;
}
.descriptions-name-small {
margin-right: 10px;
color: $--color-text-secondary;
font-size: 14px;
line-height: 12px;
}
.descriptions-time {
margin-right: 20px;
color: $--color-text-secondary;
}
.descriptions-button {
display: none;
}
.descriptions-content {
line-height: 20px;
margin-top: 5px;
color: $--color-text-primary;
}
}
.descriptions-info:hover {
.descriptions-button {
display: inline-block;
}
}
}
}
//log 二级页面搜索框
#logBottomTab {
.search-icon-btn {
.el-icon-search {
color: $--color-text-regular;
}
}
}