push
This commit is contained in:
111
nervui-smart-community-op/src/theme/color.less
Normal file
111
nervui-smart-community-op/src/theme/color.less
Normal file
@@ -0,0 +1,111 @@
|
||||
// 临时为豪恩部分页面内写死颜色的组件用的样式
|
||||
|
||||
// .link-btn {
|
||||
// color: @primary-color !important;
|
||||
// }
|
||||
|
||||
// .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
||||
// color: @primary-color !important;
|
||||
// }
|
||||
|
||||
// .ant-table-footer .ns-icon {
|
||||
// color: @primary-color !important;
|
||||
// }
|
||||
|
||||
.ant-tree {
|
||||
width: 100%;
|
||||
}
|
||||
.ant-tree .ant-tree-treenode {
|
||||
width: 100%;
|
||||
}
|
||||
//侧边导航
|
||||
// .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
||||
// background: rgb(229, 247, 249) !important;
|
||||
// }
|
||||
.ant-menu.ant-menu-dark .ant-menu-item-selected {
|
||||
color: #fff;
|
||||
background: rgba(0, 0, 0, 0.06) !important;
|
||||
}
|
||||
|
||||
.ant-menu-dark.ant-menu-horizontal > .ant-menu-item:hover {
|
||||
background: rgba(0, 0, 0, 0.06) !important;
|
||||
}
|
||||
.ant-tree .ant-tree-node-content-wrapper {
|
||||
transition: none !important;
|
||||
}
|
||||
// .ant-tree .ant-tree-node-content-wrapper:hover{
|
||||
// width: 100%;
|
||||
// background: #EDF0F3 !important;
|
||||
// }
|
||||
.ant-menu-dark.ant-menu-horizontal > .ant-menu-item,
|
||||
.ant-menu-dark.ant-menu-horizontal > .ant-menu-submenu {
|
||||
color: #ffffff;
|
||||
// background: #43BB79 !important;
|
||||
}
|
||||
|
||||
.home_header img {
|
||||
height: 48px !important;
|
||||
}
|
||||
|
||||
.logo .logoImg {
|
||||
max-height: 36px !important;
|
||||
}
|
||||
.lg_card {
|
||||
margin-right: 130px !important;
|
||||
}
|
||||
|
||||
@media print {
|
||||
html,
|
||||
body {
|
||||
overflow: unset !important;
|
||||
}
|
||||
#printLable img {
|
||||
display: inline-block !important;
|
||||
}
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #c6d2db !important;
|
||||
}
|
||||
|
||||
.ant-btn-primary:hover,
|
||||
.ant-btn-primary:focus {
|
||||
color: #ffff !important;
|
||||
}
|
||||
.ant-btn[disabled], .ant-btn[disabled]:hover, .ant-btn[disabled]:focus, .ant-btn[disabled]:active {
|
||||
color: rgba(0, 0, 0, 0.25) !important;
|
||||
}
|
||||
|
||||
//入住登记,弹窗选择床位价格组件样式调整
|
||||
.noWrapList{
|
||||
width: 502px;
|
||||
}
|
||||
|
||||
.select-btn,.isMe{
|
||||
background-color: @primary-color!important;
|
||||
}
|
||||
|
||||
.anticon-check-circle{
|
||||
color: @primary-color!important;
|
||||
}
|
||||
|
||||
|
||||
.ns-modeBase{
|
||||
.ant-modal-title{
|
||||
font-weight: bold;
|
||||
}
|
||||
.ant-modal-body{
|
||||
padding: 0;
|
||||
.ns-table .ns-table-main {
|
||||
padding: 0 16px;
|
||||
border-top: 16px solid #e5ebf0;
|
||||
}
|
||||
.ns-basic-modecontent{
|
||||
margin: 16px;
|
||||
border-top: none;
|
||||
border-right: 16px solid rgb(229, 235, 240);
|
||||
border-bottom: 16px solid rgb(229, 235, 240);
|
||||
border-left: 16px solid rgb(229, 235, 240);
|
||||
border-image: initial;
|
||||
}
|
||||
}
|
||||
}
|
||||
156
nervui-smart-community-op/src/theme/detail.less
Normal file
156
nervui-smart-community-op/src/theme/detail.less
Normal file
@@ -0,0 +1,156 @@
|
||||
.ns-view {
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
background: #e5ebf0;
|
||||
}
|
||||
.ns-detail-content {
|
||||
border-top: 16px solid #e5ebf0;
|
||||
padding: 16px 21px;
|
||||
background: #fff;
|
||||
height: calc(100% - 50px);
|
||||
}
|
||||
|
||||
:deep(.ant-skeleton-paragraph) {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
:deep(.ant-skeleton-paragraph li:nth-child(n)) {
|
||||
display: block;
|
||||
margin-right: 4%;
|
||||
margin-top: 16px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
:deep(.ant-skeleton-paragraph li:nth-child(3n + 3)) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
:deep(.ant-skeleton-content) {
|
||||
padding: 0 8px 10px 10px;
|
||||
}
|
||||
|
||||
:deep(.ant-descriptions-item-label) {
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
:deep(.ant-descriptions-item-label),
|
||||
:deep(.ant-descriptions-item-content) {
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
:deep(.ant-descriptions-view) {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
:deep(.ant-descriptions-item) {
|
||||
padding-right: 20px;
|
||||
|
||||
&:nth-child(2n) {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
&:nth-child(3n) {
|
||||
padding-left: 20px;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.descriptions-title {
|
||||
&:after {
|
||||
content: '';
|
||||
width: 75px;
|
||||
height: 7px;
|
||||
display: block;
|
||||
background: linear-gradient(90deg, #537fff 0%, #fff 82.67%);
|
||||
margin-left: 2px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
}
|
||||
|
||||
.ns-page-header {
|
||||
margin-bottom: 0 !important;
|
||||
padding-top: 7px !important;
|
||||
padding-bottom: 7px !important;
|
||||
width: calc(100% + 32px);
|
||||
margin-left: -16px;
|
||||
.title {
|
||||
cursor: pointer;
|
||||
font-size: 18px !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.text {
|
||||
margin-left: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ns-detail {
|
||||
border-bottom: 1px solid #ecedef;
|
||||
|
||||
&:last-child {
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
&:first-child {
|
||||
:deep(.ant-descriptions-header) {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
:deep(.ant-descriptions-header) {
|
||||
margin-top: 12px;
|
||||
margin-bottom: 12px;
|
||||
|
||||
.ant-descriptions-title {
|
||||
line-height: 16px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:deep(.ant-image) {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
|
||||
.ns-detail-html {
|
||||
:deep(table) {
|
||||
border-top: 1px solid #ffffff;
|
||||
border-left: 1px solid #ffffff;
|
||||
|
||||
:deep(p) {
|
||||
font-size: 12px;
|
||||
color: #898e91;
|
||||
}
|
||||
}
|
||||
|
||||
:deep(th) {
|
||||
border-right: 1px solid #ffffff;
|
||||
font-size: 13px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
font-weight: normal;
|
||||
background: #eff0f2;
|
||||
}
|
||||
|
||||
:deep(td) {
|
||||
border-top: 1px solid #ffffff;
|
||||
border-right: 1px solid #ffffff;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
font-size: 12px;
|
||||
color: #606060;
|
||||
text-align: center;
|
||||
|
||||
:deep(text) {
|
||||
border-bottom: 1px solid #ffffff;
|
||||
}
|
||||
|
||||
background: rgba(240, 242, 245, 0.5);
|
||||
}
|
||||
}
|
||||
72
nervui-smart-community-op/src/theme/form.less
Normal file
72
nervui-smart-community-op/src/theme/form.less
Normal file
@@ -0,0 +1,72 @@
|
||||
.ns-view {
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
background: #e5ebf0;
|
||||
}
|
||||
|
||||
.ns-page-header {
|
||||
margin-bottom: 0 !important;
|
||||
padding: 7px 16px !important;
|
||||
width: calc(100% + 32px);
|
||||
margin-left: -16px;
|
||||
|
||||
.title {
|
||||
cursor: pointer;
|
||||
font-size: 18px !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.text {
|
||||
margin-left: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:deep(.ant-spin-nested-loading) {
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
:deep(.ant-spin-container) {
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
:deep(.ant-divider) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ns-add-form {
|
||||
border-top: 16px solid #e5ebf0;
|
||||
padding: 16px 21px;
|
||||
background: #fff;
|
||||
height: calc(100% - 47px) !important;
|
||||
|
||||
.ns-form {
|
||||
|
||||
// 第一个子表单Title距离顶部为0
|
||||
:deep(.ns-form-item .ns-form-body .ns-child-form-title) {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
&:after {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
:deep(.ns-child-form-title) {
|
||||
&:after {
|
||||
content: '';
|
||||
width: 75px;
|
||||
height: 7px;
|
||||
display: block;
|
||||
background: linear-gradient(90deg, @primary-color 0%, #fff 82.67%);
|
||||
margin-left: 2px;
|
||||
margin-top: -7px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:deep(.ns-form.ns-vertical-form) {
|
||||
padding-top: 16px !important;
|
||||
}
|
||||
67
nervui-smart-community-op/src/theme/global.less
Normal file
67
nervui-smart-community-op/src/theme/global.less
Normal file
@@ -0,0 +1,67 @@
|
||||
@font-face {
|
||||
font-family: 'QuartzMS';
|
||||
src: url('/asset/font/QuartzMS.TTF') format('truetype');
|
||||
}
|
||||
|
||||
|
||||
|
||||
.ant-menu-dark.ant-menu-horizontal>.ant-menu-item,
|
||||
.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.ant-menu-dark .ant-menu-item,
|
||||
.ant-menu-dark .ant-menu-item-group-title,
|
||||
.ant-menu-dark .ant-menu-item>a,
|
||||
.ant-menu-dark .ant-menu-item>span>a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.ant-menu-inline .ant-menu-item,
|
||||
.ant-menu-inline .ant-menu-submenu-title {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.ns-basic-table .ant-btn:hover {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.ns-basic-table .ant-btn-link:hover {
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
.ns-richText-ZIndex {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.ant-input-number {
|
||||
width: 100%; //inputNumber组件宽度
|
||||
}
|
||||
|
||||
// 详情table样式
|
||||
.ns-detail-content {
|
||||
.ns-table .ns-table-main {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ant-spin-nested-loading,
|
||||
.ns-table,
|
||||
.ns-table .ns-table-content {
|
||||
min-height: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.ns-table-title {
|
||||
text-align: left;
|
||||
height: 46px;
|
||||
line-height: 46px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
user-select: text;
|
||||
padding-left: 16px;
|
||||
background: #fff;
|
||||
width: calc(100% + 32px);
|
||||
margin-left: -16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
28
nervui-smart-community-op/src/theme/listTableTitle.less
Normal file
28
nervui-smart-community-op/src/theme/listTableTitle.less
Normal file
@@ -0,0 +1,28 @@
|
||||
.ns-table-title {
|
||||
text-align: left;
|
||||
height: 46px;
|
||||
line-height: 46px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
user-select: text;
|
||||
padding-left: 16px;
|
||||
background: #fff;
|
||||
width: calc(100% + 32px);
|
||||
margin-left: -16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
:deep(.ant-tabs-nav) {
|
||||
margin-left: -16px !important;
|
||||
margin-bottom: 0;
|
||||
width: calc(100% + 32px);
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.tab-list {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.tab-operatorManage {
|
||||
background-color: #fff;
|
||||
}
|
||||
2
nervui-smart-community-op/src/theme/theme.scss
Normal file
2
nervui-smart-community-op/src/theme/theme.scss
Normal file
@@ -0,0 +1,2 @@
|
||||
@import "variable";
|
||||
@import "global";
|
||||
2
nervui-smart-community-op/src/theme/variable.less
Normal file
2
nervui-smart-community-op/src/theme/variable.less
Normal file
@@ -0,0 +1,2 @@
|
||||
@primary-color: #37abc4; // 全局主色
|
||||
@layout-header-hover:#0096c7
|
||||
0
nervui-smart-community-op/src/theme/variable.scss
Normal file
0
nervui-smart-community-op/src/theme/variable.scss
Normal file
Reference in New Issue
Block a user