Skip to content

Commit

Permalink
[Improve] dark theme mode minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfboys committed Sep 2, 2024
1 parent ff4f97b commit 705b7c1
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,6 @@
.ant-table-wrapper,
.ant-form {
border: none;
box-shadow: 0 1px 6px #000;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
@prefix-cls: ~'@{namespace}-layout-footer';
@normal-link-color: rgba(0, 0, 0, 0.45);
@hover-color: rgba(0, 0, 0, 0.85);
.@{prefix-cls} {
Expand Down Expand Up @@ -112,4 +111,43 @@
}
}
}
[data-theme='dark'] {
@normal-link-color: rgba(255, 255, 255, 0.45);
@hover-color: rgba(255, 255, 255, 0.85);
.@{prefix-cls} {
color: @normal-link-color;
text-align: center;
padding: 10px 50px;
&__links {
margin-bottom: 8px;
a {
color: @normal-link-color;
&:hover {
color: @hover-color;
cursor: pointer;
}
}
}
&__github {
margin: 0 30px;
&:hover {
color: @hover-color;
}
}
&__copyright {
color: @normal-link-color;
&:hover {
cursor: pointer;
color: @hover-color;
}
}
}
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
icon: 'ant-design:delete-outlined',
color: 'error',
tooltip: t('common.delText'),
ifShow: record.buildState !== BuildStateEnum.BUILDING,
auth: 'project:delete',
popConfirm: {
title: t('flink.project.operationTips.deleteProjectMessage'),
Expand Down

0 comments on commit 705b7c1

Please sign in to comment.