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
cyber-narrator-cn-ui/src/assets/css/components/views/charts2/networkOverviewTabs.scss

526 lines
12 KiB
SCSS

.tabs {
$blue: #046ECA;
$grey: #353636;
height:calc(100% - 64px);
font-size:12px;
.tab-hide{
margin-top:42px;
}
.cn-chart__tabs {
height:100%;
.tab-pane {
height:100%;
.title-search {
display:flex;
flex-direction:row;
align-items: center;
justify-content: flex-start;
width:100%;
height:36px;
.title-search__span {
margin-right:6px;
}
.tab-search-input {
width:100%;
.el-input__prefix {
i {
font-size:12px !important;
color:#575757;
}
}
.el-input__suffix {
i {
font-size:12px !important;
}
}
}
.tab-search-button{
align-items: center;
height: 24px;
justify-content: center;
line-height: 24px;
//padding: 0px 7px;
span {
margin-right: 7px;
}
}
&:hover {
cursor:pointer;
}
}
.title-unit {
display:flex;
flex-direction:column;
align-items: flex-start;
.unit__span {
color: #778391;
font-weight: 400;
}
}
.tab-table {
border: 1px solid #E2E5EC;
border-radius: 4px 4px 0 0;
padding: 1px;
.data-click:hover{
cursor: pointer;
}
.el-table__header {
width:100% !important;
}
.el-table__body {
width:100% !important;
}
}
.dns-in-ex {
display: flex;
align-items: center;
width: 100%;
justify-content: center;
.dns-percent-pic {
display: flex !important;
width: 100px;
height: 26px;
justify-content: center;
align-items: center;
.div-yellow {
height: 12px;
background: #e5a219;
border-left: none;
}
.div-green {
height: 12px;
background: #749f4d;
border-right: none;
}
}
.dns-percent{
display:flex;
align-items:center;
height:100%;
min-width:90px;
padding-left:10px;
justify-content: left;
}
}
.tab-table__average {
border: 1px solid #E2E5EC;
border-radius: 4px 4px 0 0;
padding: 1px;
.data-click:hover{
cursor: pointer;
}
.el-table__header {
width:100% !important;
}
.el-table__body {
height:100%;
width:100% !important;
}
}
.tab-table__no-bottom {
border-radius: 4px !important;
}
.data-total{
display: flex !important;
justify-content:center;
}
.data-value{
display: flex !important;
justify-content:right;
width:50%;
}
.data-trend{
display: flex;
width:50%;
}
.data-total-trend {
display: flex;
justify-content:left;
margin-left: 6px;
align-items: center;
margin-top: 2px;
border-radius: 10px;
font-weight:500;
padding:0px 9px;
span {
width: max-content;
}
}
.data-total-trend-black {
background-color: rgba(113,113,113,0.12);
color: #717171;
height: 20px;
}
.data-total-trend-green {
background-color: rgba(126,159,84,0.12);
height: 20px;
color:#7E9F54;
}
.data-total-trend-red {
background-color: rgba(226,97,84,0.12);
height: 20px;
color:#E26154;
.cn-icon-rise1{
color: #E44D3E;
}
}
.el-table--group::after,.el-table--border::after, .el-table::before {
height: 0px;
}
.el-table thead {
color: $grey;
}
.el-table__empty-text{
line-height:20px !important;
}
.el-table__header th .cell {
display:flex;
flex-direction:row;
justify-content: center;
align-items: flex-start;
line-height:18px;
.caret-wrapper {
margin-top:3px;
}
}
.el-table__header tr th:nth-of-type(1) .cell {
justify-content: flex-start;
}
.score-cell {
display: flex !important;
justify-content: center;
.data-score {
border-radius: 10px;
font-size: 12px;
color: #FFFFFF;
font-weight: 500;
height: 20px;
width: 34px;
line-height: 20px;
text-align: center;
}
.data-score-red {
background: #E26154;
}
.data-score-yellow {
background: #E5A219;
}
.data-score-green {
background: #749F4D;
}
}
}
.el-tabs__header {
margin-bottom: 10px;
width: calc(100% - 272px);
}
.el-tabs__nav-wrap::after {
height: 1px;
background-color: transparent ;
}
.el-tabs__nav.is-top {
height: 33px;
.el-tabs__active-bar {
background-color: $blue;
}
.el-tabs__item {
padding: 0 10px;
height: 33px;
color: $grey;
font-size: 14px;
&.el-tabs__item.is-top.is-active {
color:$blue;
}
&:nth-child(2) {
padding-left: 0;
}
}
}
.el-tabs__content {
height: calc(100% - 40px);
border:none;
.el-table__body-wrapper {
height: calc(100% - 45px) !important;
}
}
}
.cn-chart__tabs-hide-tab {
.el-tabs__content {
height: 100% !important;
}
.el-tabs__header {
display:none;
}
}
.tab-search {
position:absolute;
height:40px;
top:0px;
display:flex;
align-items: center;
right:0px;
.search-select {
color:#575757;
margin-right:10px;
span {
margin-right:3px;
}
.option__select.select-column {
margin-left:3px;
border-radius: 2px;
.el-input__inner {
width: 100px;
height:24px;
padding-left: 4px;
color: $blue;
font-weight:400;
}
.el-input__suffix {
display: flex;
.el-input__suffix-inner {
line-height: 24px;
.el-select__caret {
line-height: 24px;
width: 16px;
color: #575757;
}
}
}
}
.option-popper {
.el-select-dropdown__item.selected {
span{
color: $blue !important;
}
}
}
}
.search-customize-tab {
color:$blue;
height:24px;
padding:2px 11px;
.icon-gear{
color:#2C72C6;
width:12px;
height:12px;
margin-right:2px;
font-size: 12px;
}
}
.search-customize-tab:hover,.search-customize-tab__active {
cursor:pointer;
background: rgba(56,172,210,0.10);
box-shadow: 0 2px 4px 0 rgba(51,51,51,0.02);
border-radius: 2px;
}
.grid-content{
min-height: 36px;
}
}
}
.tab-search__popper{
top: -7px !important;
width:auto !important;
max-height:206px;
overflow:hidden;
padding: 0px !important;
background: #FFFFFF;
border:1px solid #C5C5C5 !important;
box-shadow: -1px 1px 10px -1px rgba(205,205,205,0.85)!important;
border-radius: 2px !important;
.search-input{
width:100%;
padding: 4px 4px 0px 4px;
.el-input__inner{
padding:0px 4px;
background: #FFFFFF;
border: 1px solid #C5C5C5;
box-shadow: -1px 1px 10px -1px rgba(205,205,205,0.85);
border-radius: 2px;
font-size: 12px;
/*color: rgba(87,87,87,0.60);*/
letter-spacing: 0;
font-weight: 400;
}
}
.el-row {
width: 100% !important;
}
.selected {
color: #0091ff;
font-weight: bold;
}
.el-popper {
max-height: 405px;
}
.select-dropdown {
max-height:172px;
width:100%;
margin: 1px 0px;
overflow:auto;
list-style: none;
padding:4px 0px;
box-sizing: border-box;
.select-dropdown__item:hover{
background-color: #F5F7FA !important;
}
.select-dropdown__item{
width:100%;
height:30px;
padding:0px 11px;
line-height:30px;
position: relative;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #666665;
display: list-item;
text-align: -webkit-match-parent;
box-sizing: border-box;
cursor: pointer;
font-size: 12px;
font-weight: 400;
}
}
}
.customize-tab__popper{
max-height:405px;/*calc(100% - 136px);*/
overflow:hidden;
padding: 0px !important;
background: #FFFFFF;
/*border: 1px solid #C5C5C5;*/
border:1px solid #C5C5C5 !important;
box-shadow: -1px 1px 10px -1px rgba(205,205,205,0.85)!important;
border-radius: 2px !important;
.el-popper {
max-height: 405px;
}
.el-tabs__header{
font-size: 12px;
color:green !important;
font-weight: 500;
margin: 0px ;
border-bottom: 1px solid #E2E5EC;
}
.el-tabs__content {
max-height: 358px !important;
margin:8px 0 6px 0;
}
.el-tabs__nav{
width:100%;
}
.el-tabs__nav-wrap {
margin-bottom: 0px !important;
}
.el-tabs__item{
width:50%;
text-align:center;
padding:0px;
height:30px;
line-height: 30px;
font-size: 12px;
color: #353636;
font-weight: 500;
}
.el-tabs--card > .el-tabs__header .el-tabs__item.is-active {
border-top: 3px solid #38ACD2;
}
.el-tabs--card > .el-tabs__header .el-tabs__item:first-child{
border-radius: 2.5px 0 0 0;
}
.el-tabs--card > .el-tabs__header .el-tabs__item:last-child{
border-radius: 0 2.5px 0 0 ;
border-left: 1px #E2E5EC solid !important;
}
.el-tabs--card > .el-tabs__header .el-tabs__item{
border-bottom: 0px ;
border-top: 3px solid white;
}
.el-tabs--card > .el-tabs__header .el-tabs__nav {
border:0px ;
}
.list {
list-style: none;
padding-inline-start: 0px !important;
/*height:375px;*/
max-height: 358px !important;
overflow:auto;
margin:0 0;
.drag-move {
transition: transform 0.3s;
}
.list-item:last-child {
margin-bottom: 6px;
}
.list-item {
width:100%;
color: #575757;
margin-bottom: 0px;
height: 24px;
line-height: 24px;
text-align: left;
font-weight:400;
font-size:12px;
.icon-drag{
cursor: move;
margin-left:6px;
margin-right:3px;
}
.el-checkbox__input.is-checked .el-checkbox__inner {
background-color: #38ACD2;
border-color: #38ACD2;
border-radius: 2px;
}
.el-checkbox__input .el-checkbox__inner {
background-color: #F2F7F9;
border: 1px solid rgba(0,0,0,0.15);
border-radius: 2px;
}
.el-checkbox__input.is-checked + .el-checkbox__label,.el-checkbox__input + .el-checkbox__label {
font-size: 12px;
color: #575757;
font-weight: 400;
}
}
}
/*top:0px !important;
right:200px !important;
transform: translateY(126px) !important;*/
}
.fixed-row {
display:flex;
justify-content: flex-start;
align-items: center;
background: white;
width: 100%;
height:40px;
border:solid 1px #E2E5EC;
padding-left:10px !important;
text-align: left;
border-radius:0 0 4px 4px;
color:#046eca;
.fixed-button {
display:flex;
justify-content: center;
padding:7px 10px;
align-items: center;
height: 30px;
}
.fixed-button:hover {
cursor:pointer;
background: #e6f4ff;
box-shadow: 0 2px 4px 0 rgba(51,51,51,0.02);
border-radius: 4px;
}
}
.btn-up{
margin-top:40px;
}