mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Making cluster area hoverable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
90d4899ece
commit
a9c06da121
@ -42,7 +42,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cluster {
|
.cluster {
|
||||||
@apply flex items-center m-5;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 1.25rem;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:focus-visible {
|
||||||
|
background: var(--blue);
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: var(--sidebarLogoBackground);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.clusterName {
|
.clusterName {
|
||||||
|
|||||||
@ -206,7 +206,7 @@ export class Sidebar extends React.Component<Props> {
|
|||||||
const { metadata, spec } = this.clusterEntity;
|
const { metadata, spec } = this.clusterEntity;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.cluster}>
|
<div className={styles.cluster} tabIndex={0}>
|
||||||
<HotbarIcon
|
<HotbarIcon
|
||||||
uid={metadata.uid}
|
uid={metadata.uid}
|
||||||
title={metadata.name}
|
title={metadata.name}
|
||||||
@ -232,6 +232,7 @@ export class Sidebar extends React.Component<Props> {
|
|||||||
<div className={styles.clusterName}>
|
<div className={styles.clusterName}>
|
||||||
{metadata.name}
|
{metadata.name}
|
||||||
</div>
|
</div>
|
||||||
|
<Icon material="arrow_drop_down"/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user