mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 08:30:58 -05:00
fix(msgbar): added support for keyboard focus
This commit is contained in:
parent
79550cb2ad
commit
4a58a4082b
1 changed files with 9 additions and 4 deletions
|
@ -42,12 +42,12 @@ const OverlayBar = styled.div`
|
|||
right: 0;
|
||||
top: -18px;
|
||||
z-index: 0;
|
||||
overflow: hidden;
|
||||
//overflow: hidden;
|
||||
transition: box-shadow 0.1s ease-out;
|
||||
|
||||
border-radius: 5px;
|
||||
background: var(--primary-header);
|
||||
//border: 1px solid var(--background);
|
||||
border: 1px solid var(--background);
|
||||
|
||||
&:hover {
|
||||
box-shadow: rgb(0 0 0 / 20%) 0px 2px 10px;
|
||||
|
@ -55,19 +55,24 @@ const OverlayBar = styled.div`
|
|||
`;
|
||||
|
||||
const Entry = styled.div`
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
cursor: pointer;
|
||||
transition: 0.2s ease background-color;
|
||||
border-radius: var(--border-radius);
|
||||
|
||||
&:hover {
|
||||
background: var(--secondary-header);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 2.5pt var(--accent);
|
||||
}
|
||||
|
||||
&:active {
|
||||
svg {
|
||||
transform: translateY(1px);
|
||||
|
|
Loading…
Reference in a new issue