帮助文档展示页面调整

This commit is contained in:
qsc 2023-07-13 20:48:08 +08:00
parent ea9341843b
commit 3e08ef1abd
4 changed files with 62 additions and 62 deletions

View File

@ -51,8 +51,8 @@
.tree {
:global {
.ant-tree-title {
display: flex;
flex: 1;
display: flex !important;
flex: 1 !important;
}
}
}
@ -73,12 +73,12 @@
:global {
.ant-layout-sider-children {
// height: calc(100% - 48px);
height: 100%;
overflow-y: auto;
height: 100% !important;
overflow-y: auto !important;
.ant-menu-inline {
border: none;
border: none !important;
}
}
}
@ -119,38 +119,38 @@
:global {
.ant-layout-sider-children{
.ant-menu-inline {
border-inline-end: 0px;
border-inline-end: 0px !important;
}
}
.ant-menu-submenu-title {
display: flex;
flex-direction: row-reverse;
margin-block: 0;
display: flex !important;
flex-direction: row-reverse !important;
margin-block: 0 !important;
}
.ant-menu-submenu-selected >.ant-menu-submenu-title {
color: #000
color: #000 !important;
}
.ant-menu-submenu-title:hover:not(.ant-menu-item-selected) {
background: #ffffff;
background: #ffffff !important;
}
.ant-menu-title-content:hover {
color: #999;
color: #999 !important;
}
.ant-menu-submenu-arrow {
position: unset;
position: unset !important;
}
.ant-menu-submenu-title > .ant-menu-submenu-arrow::before {
transform: rotate(135deg) translateX(2.5px);
transform: rotate(135deg) translateX(2.5px) !important;
}
.ant-menu-submenu-arrow::after {
transform: rotate(45deg) translatex(-2.5px);
transform: rotate(45deg) translatex(-2.5px) !important;
}
.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::before {
transform: rotate(225deg) translatex(2.5px);
transform: rotate(225deg) translatex(2.5px) !important;
}
.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::after {
transform: rotate(135deg) translatex(-2.5px);
transform: rotate(135deg) translatex(-2.5px) !important;
}
}
}

View File

@ -78,12 +78,12 @@
:global {
.ant-layout-sider-children {
// height: calc(100% - 48px);
height: 100%;
height: 100% !important;
overflow-y: auto;
.ant-menu-inline {
border: none;
border: none !important;
}
}
}
@ -101,41 +101,41 @@
:global {
.ant-layout-sider-children{
.ant-menu-inline {
border-inline-end: 0px;
border-inline-end: 0px !important;
}
}
.ant-menu-submenu-title {
display: flex;
flex-direction: row-reverse;
margin-block: 0;
display: flex !important;
flex-direction: row-reverse !important;
margin-block: 0 !important;
}
.ant-menu-title-content {
}
.ant-menu-submenu-selected >.ant-menu-submenu-title {
color: #000
color: #000 !important;
}
.ant-menu-submenu-title:hover:not(.ant-menu-item-selected) {
background: #ffffff;
background: #ffffff !important;
}
.ant-menu-title-content:hover {
color: #999;
color: #999 !important;
}
.ant-menu-submenu-arrow {
position: unset;
position: unset !important;
}
.ant-menu-submenu-title > .ant-menu-submenu-arrow::before {
transform: rotate(135deg) translateX(2.5px);
transform: rotate(135deg) translateX(2.5px) !important;
}
.ant-menu-submenu-arrow::after {
transform: rotate(45deg) translatex(-2.5px);
transform: rotate(45deg) translatex(-2.5px) !important;
}
.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::before {
transform: rotate(225deg) translatex(2.5px);
transform: rotate(225deg) translatex(2.5px) !important;
}
.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::after {
transform: rotate(135deg) translatex(-2.5px);
transform: rotate(135deg) translatex(-2.5px) !important;
}
}
}

View File

@ -51,8 +51,8 @@
.tree {
:global {
.ant-tree-title {
display: flex;
flex: 1;
display: flex !important;
flex: 1 !important;
}
}
}
@ -73,12 +73,12 @@
:global {
.ant-layout-sider-children {
// height: calc(100% - 48px);
height: 100%;
overflow-y: auto;
height: 100% !important;
overflow-y: auto !important;
.ant-menu-inline {
border: none;
border: none !important;
}
}
}
@ -119,38 +119,38 @@
:global {
.ant-layout-sider-children{
.ant-menu-inline {
border-inline-end: 0px;
border-inline-end: 0px !important;
}
}
.ant-menu-submenu-title {
display: flex;
flex-direction: row-reverse;
margin-block: 0;
display: flex !important;
flex-direction: row-reverse !important;
margin-block: 0 !important;
}
.ant-menu-submenu-selected >.ant-menu-submenu-title {
color: #000
color: #000 !important;
}
.ant-menu-submenu-title:hover:not(.ant-menu-item-selected) {
background: #ffffff;
background: #ffffff !important;
}
.ant-menu-title-content:hover {
color: #999;
color: #999 !important;
}
.ant-menu-submenu-arrow {
position: unset;
position: unset !important;
}
.ant-menu-submenu-title > .ant-menu-submenu-arrow::before {
transform: rotate(135deg) translateX(2.5px);
transform: rotate(135deg) translateX(2.5px) !important;
}
.ant-menu-submenu-arrow::after {
transform: rotate(45deg) translatex(-2.5px);
transform: rotate(45deg) translatex(-2.5px) !important;
}
.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::before {
transform: rotate(225deg) translatex(2.5px);
transform: rotate(225deg) translatex(2.5px) !important;
}
.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::after {
transform: rotate(135deg) translatex(-2.5px);
transform: rotate(135deg) translatex(-2.5px) !important;
}
}
}

View File

@ -78,12 +78,12 @@
:global {
.ant-layout-sider-children {
// height: calc(100% - 48px);
height: 100%;
height: 100% !important;
overflow-y: auto;
.ant-menu-inline {
border: none;
border: none !important;
}
}
}
@ -101,41 +101,41 @@
:global {
.ant-layout-sider-children{
.ant-menu-inline {
border-inline-end: 0px;
border-inline-end: 0px !important;
}
}
.ant-menu-submenu-title {
display: flex;
flex-direction: row-reverse;
margin-block: 0;
display: flex !important;
flex-direction: row-reverse !important;
margin-block: 0 !important;
}
.ant-menu-title-content {
}
.ant-menu-submenu-selected >.ant-menu-submenu-title {
color: #000
color: #000 !important;
}
.ant-menu-submenu-title:hover:not(.ant-menu-item-selected) {
background: #ffffff;
background: #ffffff !important;
}
.ant-menu-title-content:hover {
color: #999;
color: #999 !important;
}
.ant-menu-submenu-arrow {
position: unset;
position: unset !important;
}
.ant-menu-submenu-title > .ant-menu-submenu-arrow::before {
transform: rotate(135deg) translateX(2.5px);
transform: rotate(135deg) translateX(2.5px) !important;
}
.ant-menu-submenu-arrow::after {
transform: rotate(45deg) translatex(-2.5px);
transform: rotate(45deg) translatex(-2.5px) !important;
}
.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::before {
transform: rotate(225deg) translatex(2.5px);
transform: rotate(225deg) translatex(2.5px) !important;
}
.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::after {
transform: rotate(135deg) translatex(-2.5px);
transform: rotate(135deg) translatex(-2.5px) !important;
}
}
}