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

329 lines
7.2 KiB
SCSS

.tabs {
$blue: #2C72C6;
$grey: #353636;
height:calc(100% - 64px);
font-size:12px;
.tab-hide{
margin-top:40px;
}
.cn-chart__tabs {
height:100%;
.tab-pane {
height:100%;
.tab-table {
border: 1px solid #E2E5EC;
border-radius: 4px 4px 0 0;
padding: 1px;
.data-click:hover{
cursor: pointer;
}
}
.tab-table__average {
border: 1px solid #E2E5EC;
border-radius: 4px 4px 0 0;
padding: 1px;
.data-click:hover{
cursor: pointer;
}
.el-table__body {
height:100%;
}
}
.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-tabs__header {
margin-bottom: 3px;
width: calc(100% - 272px);
}
.el-tabs__nav-wrap::after {
height: 1px;
background-color: transparent ;
}
.el-tabs__nav.is-top {
.el-tabs__active-bar {
display: none;
}
.el-tabs__item {
margin: 0 20px 0 0;
padding:0px;
font-weight: 400;
color:$grey;
font-size:14px;
}
.el-tabs__item.is-top.is-active {
border-bottom: 2px solid $blue;
color:$blue;
height: 33px;
margin:0 20px 7px 0;
padding:0px;
font-weight:400;
}
}
.el-tabs__content {
height: calc(100% - 40px);
border:none;
.el-table__body-wrapper {
height: calc(100% - 30px) !important;
}
}
}
.cn-chart__tabs-hide-tab {
.el-tabs__content {
height: 100% !important;
}
}
.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;
}
}
}
.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;
}