-

+
+

{title}
);
diff --git a/react-ui/src/components/SubAreaTitle/index.tsx b/react-ui/src/components/SubAreaTitle/index.tsx
index cfdef539..a1d5e33e 100644
--- a/react-ui/src/components/SubAreaTitle/index.tsx
+++ b/react-ui/src/components/SubAreaTitle/index.tsx
@@ -4,17 +4,19 @@
* @Description: 分区标题
*/
+import classNames from 'classnames';
import './index.less';
type SubAreaTitleProps = {
title: string;
image: string;
style?: React.CSSProperties;
+ className?: string;
};
-function SubAreaTitle({ title, image, style }: SubAreaTitleProps) {
+function SubAreaTitle({ title, image, style, className }: SubAreaTitleProps) {
return (
-
+
{title}
diff --git a/react-ui/src/global.less b/react-ui/src/global.less
index 69161adc..d3ba6430 100644
--- a/react-ui/src/global.less
+++ b/react-ui/src/global.less
@@ -151,7 +151,7 @@ body {
height: 46px;
padding: 1px 11px;
}
-.ant-input-textarea-affix-wrapper.ant-input-affix-wrapper{
+.ant-input-textarea-affix-wrapper.ant-input-affix-wrapper {
padding: 0;
}
.ant-modal .ant-select-single {
@@ -160,15 +160,26 @@ body {
.ant-modal .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
line-height: 46px;
}
-.ant-menu-light.ant-menu-inline .ant-menu-item{
- color:#575757;
+.ant-menu-light.ant-menu-inline .ant-menu-item {
+ color: #575757;
}
.ant-modal .ant-modal-close-x {
width: 26px;
height: 26px;
- color: #272536;
- border: 2px solid #272536;
+ color: @text-color-secondary;
+ border: 2px solid @text-color-secondary;
border-radius: 50%;
+
+ &:hover {
+ color: #272536;
+ border: 2px solid #272536;
+ }
+}
+.ant-modal .ant-modal-close:hover {
+ background-color: transparent;
+}
+.ant-modal .ant-modal-close:active {
+ background-color: transparent;
}
.ant-modal-content {
margin-top: 50px;
@@ -188,9 +199,6 @@ body {
.ant-modal .ant-modal-content {
border-radius: 20px;
}
-.ant-modal .ant-modal-close:hover {
- background-color: transparent;
-}
.ant-modal .ant-modal-footer > .ant-btn + .ant-btn {
margin-left: 20px;
}
@@ -211,22 +219,18 @@ body {
border: 1px solid #e6e6e6;
}
-// ::-webkit-scrollbar-button {
-// background: #97a1bd;
-// }
::-webkit-scrollbar {
- width: 9px;
- border-radius: 2px;
+ width: 8px;
+ background: transparent;
}
::-webkit-scrollbar-thumb {
- // background-color: #9aa3bc!important;
- width: 7px;
- background: rgba(77, 87, 123, 0.5) !important;
+ width: 8px;
+ background: rgba(0, 0, 0, 0.5);
+ border-radius: 99px;
}
::-webkit-scrollbar-track {
- // background-color: #eaf1ff!important;
- width: 9px;
- background: rgba(22, 100, 255, 0.06) !important;
+ width: 8px;
+ background: transparent;
}
ul,
ol {