修改退出登录样式

This commit is contained in:
whyour 2022-03-10 23:53:39 +08:00
parent 9f08245b6d
commit 1d536cdd53
2 changed files with 20 additions and 10 deletions

View File

@ -26,6 +26,7 @@
.monaco-editor:not(.rename-box) { .monaco-editor:not(.rename-box) {
height: calc(100vh - 128px) !important; height: calc(100vh - 128px) !important;
height: calc(100vh - var(--vh-offset, 0px) - 128px) !important; height: calc(100vh - var(--vh-offset, 0px) - 128px) !important;
.view-overlays .current-line { .view-overlays .current-line {
border-width: 0; border-width: 0;
} }
@ -33,6 +34,7 @@
.rename-box { .rename-box {
height: 0; height: 0;
.rename-input { .rename-input {
height: 0; height: 0;
padding: 0 !important; padding: 0 !important;
@ -43,6 +45,7 @@
.ant-pro-grid-content.wide { .ant-pro-grid-content.wide {
max-width: unset !important; max-width: unset !important;
overflow: auto; overflow: auto;
.ant-pro-page-container-children-content { .ant-pro-page-container-children-content {
overflow: auto; overflow: auto;
height: 100%; height: 100%;
@ -57,6 +60,7 @@
.ant-tooltip { .ant-tooltip {
max-width: 500px !important; max-width: 500px !important;
.ant-tooltip-inner { .ant-tooltip-inner {
word-break: break-all !important; word-break: break-all !important;
} }
@ -72,6 +76,7 @@
.log-select { .log-select {
width: 250px; width: 250px;
} }
.ant-page-header-heading-left { .ant-page-header-heading-left {
min-width: 100px; min-width: 100px;
} }
@ -81,6 +86,7 @@
.config-select { .config-select {
width: 250px; width: 250px;
} }
.ant-page-header-heading-left { .ant-page-header-heading-left {
min-width: 100px; min-width: 100px;
} }
@ -119,10 +125,13 @@
flex-direction: column; flex-direction: column;
height: calc(100vh - 48px); height: calc(100vh - 48px);
height: calc(100vh - var(--vh-offset, 0px) - 48px); height: calc(100vh - var(--vh-offset, 0px) - 48px);
.ant-pro-grid-content.wide { .ant-pro-grid-content.wide {
flex: 1; flex: 1;
.ant-pro-grid-content-children { .ant-pro-grid-content-children {
height: calc(100% - 36px); height: calc(100% - 36px);
> div, > div,
.log-container, .log-container,
.react-codemirror2, .react-codemirror2,
@ -197,6 +206,7 @@
.Resizer.disabled { .Resizer.disabled {
cursor: not-allowed; cursor: not-allowed;
} }
.Resizer.disabled:hover { .Resizer.disabled:hover {
border-color: transparent; border-color: transparent;
} }
@ -209,6 +219,7 @@
.inline-countdown.ant-statistic { .inline-countdown.ant-statistic {
display: inline-block; display: inline-block;
.ant-statistic-content { .ant-statistic-content {
font-size: 14px; font-size: 14px;
padding: 0 3px; padding: 0 3px;
@ -253,6 +264,7 @@
.ant-pro-basicLayout-content { .ant-pro-basicLayout-content {
margin: 18px; margin: 18px;
.ant-pro-page-container { .ant-pro-page-container {
margin: -18px -18px -18px; margin: -18px -18px -18px;
} }
@ -280,25 +292,23 @@
.side-menu-user-drop-menu { .side-menu-user-drop-menu {
position: relative; position: relative;
margin: 0;
padding: 4px 0;
text-align: left; text-align: left;
background-clip: padding-box;
outline: none; outline: none;
background-color: #fff; padding: 4px 0;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 4px; border-radius: 4px;
box-shadow: 0 6px 16px -8px rgb(0 0 0 / 8%), 0 9px 28px 0 rgb(0 0 0 / 5%), background-color: #373739;
0 12px 48px 16px rgb(0 0 0 / 3%); box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
.ant-dropdown-menu-item:hover { overflow: auto;
color: #1890ff;
}
} }
.ant-pro-sider-logo { .ant-pro-sider-logo {
padding: 16px 8px !important; padding: 16px 8px !important;
h1 { h1 {
margin-left: 5px !important; margin-left: 5px !important;
} }
img { img {
width: 32px !important; width: 32px !important;
border-radius: 52% !important; border-radius: 52% !important;

View File

@ -272,7 +272,7 @@ export default function (props: any) {
collapsed={collapsed} collapsed={collapsed}
rightContentRender={() => rightContentRender={() =>
ctx.isPhone && ( ctx.isPhone && (
<Dropdown overlay={menu} trigger={['click']}> <Dropdown overlay={menu} trigger={['click', 'hover']}>
<span className="side-menu-user-wrapper"> <span className="side-menu-user-wrapper">
<Avatar shape="square" size="small" icon={<UserOutlined />} /> <Avatar shape="square" size="small" icon={<UserOutlined />} />
<span style={{ marginLeft: 5 }}>admin</span> <span style={{ marginLeft: 5 }}>admin</span>