Commit a4313e44 authored by chenshouchao's avatar chenshouchao

feat: 滚动条样式修改

parent e6ff053e
...@@ -15,7 +15,7 @@ main::-webkit-scrollbar-track { ...@@ -15,7 +15,7 @@ main::-webkit-scrollbar-track {
div::-webkit-scrollbar-thumb, div::-webkit-scrollbar-thumb,
main::-webkit-scrollbar-thumb { main::-webkit-scrollbar-thumb {
background-color: #c2c6cc; background-color: rgba(138, 144, 153, 0.55);
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
...@@ -23,6 +23,13 @@ main::-webkit-scrollbar-thumb { ...@@ -23,6 +23,13 @@ main::-webkit-scrollbar-thumb {
width: 6px !important; width: 6px !important;
} }
div::-webkit-scrollbar-thumb:hover {
background-color: rgba(138, 144, 153, 0.8);
}
main::-webkit-scrollbar-thumb:hover {
background-color: rgba(138, 144, 153, 0.8);
}
body, body,
h1, h1,
h2, h2,
......
...@@ -87,7 +87,6 @@ const MyDialog: React.FunctionComponent<IDialogProps> = (props) => { ...@@ -87,7 +87,6 @@ const MyDialog: React.FunctionComponent<IDialogProps> = (props) => {
}; };
const Footer = useMemo(() => { const Footer = useMemo(() => {
console.log(okColor);
if (isHideFooter) return null; if (isHideFooter) return null;
return footerRender ? ( return footerRender ? (
footerRender() footerRender()
...@@ -98,7 +97,6 @@ const MyDialog: React.FunctionComponent<IDialogProps> = (props) => { ...@@ -98,7 +97,6 @@ const MyDialog: React.FunctionComponent<IDialogProps> = (props) => {
text={cancelText || "取消"} text={cancelText || "取消"}
onClick={onClose} onClick={onClose}
variant="outlined" variant="outlined"
// size="small"
color="secondary" color="secondary"
/> />
) : null} ) : null}
...@@ -107,7 +105,6 @@ const MyDialog: React.FunctionComponent<IDialogProps> = (props) => { ...@@ -107,7 +105,6 @@ const MyDialog: React.FunctionComponent<IDialogProps> = (props) => {
text={okText || "确定"} text={okText || "确定"}
onClick={onConfirm} onClick={onConfirm}
variant="contained" variant="contained"
// variant="outlined"
color={okColor} color={okColor}
disabled={disabledConfirm} disabled={disabledConfirm}
isLoadingButton={true} isLoadingButton={true}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment