mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix close button styling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
529ed20e04
commit
b80a62e29f
@ -20,25 +20,27 @@
|
||||
*/
|
||||
|
||||
.SettingsCloseButton {
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
cursor: pointer;
|
||||
border: 2px solid var(--textColorDimmed);
|
||||
border-radius: 50%;
|
||||
.closeIcon {
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
cursor: pointer;
|
||||
border: 2px solid var(--textColorDimmed);
|
||||
border-radius: 50%;
|
||||
|
||||
&:hover {
|
||||
background-color: #72767d25;
|
||||
}
|
||||
&:hover {
|
||||
background-color: #72767d25;
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
&:active {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
.Icon {
|
||||
color: var(--textColorAccent);
|
||||
opacity: 0.6;
|
||||
.Icon {
|
||||
color: var(--textColorAccent);
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
|
||||
.escLabel {
|
||||
|
||||
@ -29,8 +29,8 @@ interface Props extends HTMLAttributes<HTMLDivElement> {
|
||||
|
||||
export function CloseButton(props: Props) {
|
||||
return (
|
||||
<div {...props}>
|
||||
<div className="SettingsCloseButton" role="button" aria-label="Close">
|
||||
<div className="SettingsCloseButton" {...props}>
|
||||
<div className="closeIcon" role="button" aria-label="Close">
|
||||
<Icon material="close" />
|
||||
</div>
|
||||
<div className="escLabel" aria-hidden="true">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user