mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 03:42:07 +08:00
styles:部分icon在hover的时候,需要有背景色
This commit is contained in:
@@ -32,6 +32,13 @@
|
||||
color: #74788d;
|
||||
cursor: pointer;
|
||||
}
|
||||
.refresh-icon{
|
||||
padding: 0 6px;
|
||||
border-radius: 50%;
|
||||
&:hover {
|
||||
background: rgba(33, 37, 41, 0.04);
|
||||
}
|
||||
}
|
||||
.right .search-input {
|
||||
width: 248px;
|
||||
margin-right: 8px;
|
||||
|
||||
@@ -7,7 +7,7 @@ import { Tag, Tooltip, Utils } from 'knowdesign';
|
||||
import api from '@src/api';
|
||||
import { QuestionCircleOutlined } from '@ant-design/icons';
|
||||
import { HealthStateEnum } from '../HealthState';
|
||||
|
||||
import './index.less';
|
||||
export default () => {
|
||||
const routeParams = useParams<{
|
||||
clusterId: string;
|
||||
@@ -87,7 +87,7 @@ export default () => {
|
||||
<div>
|
||||
<span style={{ display: 'inline-block', marginRight: '8px' }}>Similar Config</span>
|
||||
<Tooltip overlayClassName="rebalance-tooltip" title="所有Broker配置是否一致">
|
||||
<QuestionCircleOutlined />
|
||||
<span className='rebalance-tooltip-bg'><QuestionCircleOutlined /></span>
|
||||
</Tooltip>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -177,3 +177,13 @@
|
||||
border-radius: 6px;
|
||||
}
|
||||
}
|
||||
.rebalance-tooltip-bg {
|
||||
padding: 6px;
|
||||
margin-left: -6px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
&:hover {
|
||||
background: rgba(33, 37, 41, 0.04);
|
||||
}
|
||||
}
|
||||
@@ -37,8 +37,7 @@
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
padding: 6px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
.icon {
|
||||
@@ -46,7 +45,7 @@
|
||||
color: #74788d;
|
||||
}
|
||||
&:hover {
|
||||
background: #21252904;
|
||||
background: rgba(33, 37, 41, 0.04);
|
||||
.refresh-icon {
|
||||
color: #495057;
|
||||
}
|
||||
|
||||
@@ -308,10 +308,17 @@ li {
|
||||
align-items: center;
|
||||
}
|
||||
&-left {
|
||||
&-refresh{
|
||||
font-size: 20px;
|
||||
color: #74788d;
|
||||
cursor: pointer;
|
||||
&-refresh {
|
||||
font-size: 20px;
|
||||
color: #74788d;
|
||||
cursor: pointer;
|
||||
padding: 0px 6px;
|
||||
color: #74788d;
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
&:hover {
|
||||
background: rgba(33, 37, 41, 0.04);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,14 +35,19 @@
|
||||
}
|
||||
.edit-icon-box {
|
||||
position: relative;
|
||||
width: 20px;
|
||||
width: 24px;
|
||||
cursor: pointer;
|
||||
.edit-icon {
|
||||
position: absolute;
|
||||
bottom: 2px;
|
||||
margin-left: 4px;
|
||||
font-size: 16px;
|
||||
color: #74788d;
|
||||
position: absolute;
|
||||
bottom: -2px;
|
||||
padding: 3px;
|
||||
margin-left: 4px;
|
||||
font-size: 16px;
|
||||
color: #74788d;
|
||||
border-radius: 50%;
|
||||
&:hover {
|
||||
background: rgba(33, 37, 41, 0.04);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -205,9 +210,15 @@
|
||||
margin-bottom: 10px;
|
||||
|
||||
.icon {
|
||||
padding: 3px 3px 2px 3px;
|
||||
margin-left: 4px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
line-height: 12px;
|
||||
&:hover {
|
||||
background: rgba(33, 37, 41, 0.04);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user