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