Compare commits

...

2 Commits

  1. 245
      hx-op/src/App.vue

245
hx-op/src/App.vue

@ -22,159 +22,150 @@
}, },
}); });
</script> </script>
<style lang="less" scoped>
<!-- <style lang="less" scoped> :deep(.ns-content-main) {
:deep(.ns-content) { .ant-tabs-content {
// padding-top: 80px !important; height: 100%;
}
} }
#app { //
width: 100%; :deep(.ant-tree-node-content-wrapper) {
height: 100%; overflow: hidden;
min-width: 1000px; text-overflow: ellipsis;
text-wrap: nowrap;
} }
:deep(.ns-left-menu .firstMenuItem-selected .ant-menu-title-content) { :deep(.ant-tree-node-selected) {
background: unset !important; color: @primary-color !important;
} }
:deep(.ns-left-menu) {
.ant-menu-item-active, // ns-view-list-table
.ant-submenu-item-active { :deep(.ns-table-search) {
background: #ecf3ff !important; .ns-flexv2-form {
} .ns-operate {
.ant-menu-item-selected .ant-menu-title-content { text-align: left;
// color: #fff !important; margin-left: 0;
background: @primary-color; .ant-btn {
border-radius: 12px; margin: 0;
height: 40px; margin-right: 6px;
line-height: 40px; }
a {
color: @white !important;
} }
} }
.ns-form-body {
max-width: 1000px;
}
} }
:deep(.ant-menu-light.ant-menu-horizontal > .ant-menu-item:hover) { //
background: @primary-color; // .ns-list-table {
:deep(.ant-tabs) {
// // overflow: visible;
// box-shadow: @ns-content-box-shadow;
// border-radius: @ns-border-radius;
.ns-table-search {
border-top-left-radius: 0px !important;
border-top-right-radius: 0px !important;
}
.ns-table-main {
border-bottom-left-radius: 0px !important;
border-bottom-right-radius: 0px !important;
}
// .ant-tabs-tabpane-active > div {
// height: 100%;
// }
} }
// :deep(.ant-menu-inline .ant-menu-submenu-title) { // .ant-tabs .ns-table-main {
// color: rgba(255, 255, 255, 0.9) !important; // border-bottom-left-radius: 0px !important;
// border-bottom-right-radius: 0px !important;
// } // }
:deep(.ns-left-menu .ant-layout-sider-children .ant-menu-sub.ant-menu-inline) { // }
// position: relative;
// &::before { // icon(icon)
// display: flex; :deep(.anticon) {
// width: 2px; color: #8d96a3 !important;
// height: calc(100% - 40px);
// position: absolute;
// top: 20px;
// left: 20px;
// content: '';
// background-color: rgba(255, 255, 255, 0.2);
// }
} }
//*************************tab list */ :deep(.ant-menu-item-selected .ant-menu-item-only-child),
:deep(.tabListTable) { :deep(.ant-menu-submenu-selected .ant-menu-item-only-child),
.ns-table-title { :deep(.firstMenuItem-selected) {
text-align: left; .router-link-active > .anticon {
height: 46px; color: @white !important;
line-height: 46px;
font-size: 18px;
font-weight: bold;
user-select: text;
padding-left: 16px;
background: #fff;
width: calc(100% + 32px);
margin-left: -16px;
}
.tabs-list {
overflow: visible !important;
}
.ant-tabs-nav {
width: calc(100% + 32px);
margin-left: -16px !important;
background: #fff;
}
.ant-tabs-nav-wrap {
padding: 0 16px;
} }
} }
//********************* */ :deep(.ant-menu-item-active) {
:deep(.nsDetailView) { .anticon {
min-height: 100%; color: @primary-color !important;
height: 100%;
.ns-detail-content {
padding: 0px 24px;
border-top: 16px solid #e5ebf0;
}
.ant-descriptions-item-label {
color: rgba(0, 0, 0, 0.5);
font-family: PingFang SC;
font-size: 14px;
} }
.ant-descriptions-item-content { }
color: rgba(0, 0, 0, 0.95); :deep(.ant-menu-submenu-active),
font-family: PingFang SC; :deep(.ant-menu-submenu-open),
font-size: 14px; :deep(.ant-menu-item-selected) {
} .ant-menu-submenu-title {
.ant-descriptions-title { .anticon {
&::after { color: @primary-color !important;
content: '';
width: 75px;
height: 7px;
display: block;
background: linear-gradient(90deg, #537fff 0%, #fff 82.67%);
margin-left: 2px;
margin-top: -2px;
} }
} }
}
.ant-descriptions-row > th, @min-padding: 5px;
.ant-descriptions-row > td { :deep(.ns-left-menu-space):not(.ns-left-menu-space-collapsed) {
padding-bottom: 8px; .firstMenuItem-selected {
background-color: transparent !important;
} }
.ns-page-header { .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
margin-bottom: 0 !important; background-color: transparent;
padding-top: 7px !important; &::before {
padding-bottom: 7px !important; background-color: @primary-color;
width: calc(100% + 32px); opacity: 1;
margin-left: -16px; height: calc(100% - @min-padding*2);
.title { top: @min-padding;
cursor: pointer; border-radius: @ns-border-radius;
font-size: 18px !important;
} }
} }
.ant-descriptions-header { .ant-menu-item-active:not(.ant-menu-item-selected) {
margin: 16px 0 16px 0 !important; background-color: transparent !important;
position: relative;
.ant-descriptions-title { &::before {
line-height: 16px; content: '';
font-size: 16px; position: absolute;
width: 100%;
background-color: rgb(@primary-color, 0.1);
height: calc(100% - @min-padding*2);
top: @min-padding;
left: 0;
border-radius: @ns-border-radius;
z-index: 0;
} }
} }
}
:deep(.ns-detail .ant-descriptions-header .descriptions-title) { // .ant-menu-inline .ant-menu-item-selected::after {
&:after { // content: '';
content: ''; // position: absolute;
width: 75px; // top: 50%;
height: 7px; // right: -20px;
display: block; // transform: translateY(-50%);
background: linear-gradient(90deg, @primary-color 0%, #fff 82.67%); // width: 3px !important;
margin-left: 2px; // border-radius: 2px;
margin-top: -2px; // background-color: red;
// height: 30px;
// z-index: 2;
// border: none;
// }
.ant-menu-title-content {
z-index: 1;
} }
} }
:deep(.ant-descriptions-header .descriptions-title) {
&:after { :deep(.nsHeader_action) {
content: ''; .action {
width: 75px; font-size: 18px;
height: 7px; font-weight: bold;
display: block; letter-spacing: 0px;
background: linear-gradient(90deg, @primary-color 0%, #fff 82.67%); line-height: 24px;
margin-left: 2px; color: rgba(51, 51, 51, 1);
margin-top: -2px;
} }
} }
</style> --> </style>

Loading…
Cancel
Save