mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
fix(ui): unify close button icons and hover styling
This commit is contained in:
@@ -142,3 +142,27 @@
|
||||
border: 1px solid ButtonText;
|
||||
}
|
||||
}
|
||||
|
||||
.closeButton.closeButton {
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
cursor: default;
|
||||
transition: none;
|
||||
}
|
||||
.closeButton.closeButton:not(:disabled):hover,
|
||||
.closeButton.closeButton:not(:disabled):active {
|
||||
background: transparent;
|
||||
}
|
||||
.closeIdle,
|
||||
.closeHovered {
|
||||
grid-area: 1 / 1;
|
||||
}
|
||||
.closeHovered {
|
||||
visibility: hidden;
|
||||
}
|
||||
.closeButton:not(:disabled):hover .closeIdle {
|
||||
visibility: hidden;
|
||||
}
|
||||
.closeButton:not(:disabled):hover .closeHovered {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user