Merge branch 'accessible-emoji-picker' into 'develop'
Keyboard-accessible emoji picker See merge request soapbox-pub/soapbox-fe!634
This commit is contained in:
@ -94,6 +94,22 @@
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
}
|
||||
|
||||
.emoji-picker-expand {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:focus-within {
|
||||
.emoji-picker-expand {
|
||||
display: inline-flex;
|
||||
width: 0;
|
||||
overflow: hidden;
|
||||
|
||||
&:focus-within {
|
||||
width: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.detailed-status__wrapper {
|
||||
|
||||
@ -80,7 +80,8 @@
|
||||
transition: 0.1s;
|
||||
z-index: 999;
|
||||
|
||||
&--visible {
|
||||
&--visible,
|
||||
&--focused {
|
||||
opacity: 1;
|
||||
pointer-events: all;
|
||||
}
|
||||
@ -99,7 +100,8 @@
|
||||
transition: 0.1s;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
img {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
|
||||
@ -677,3 +677,22 @@ a.status-card.compact:hover {
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.status__action-bar,
|
||||
.detailed-status__action-bar {
|
||||
.emoji-picker-expand {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:focus-within {
|
||||
.emoji-picker-expand {
|
||||
display: inline-flex;
|
||||
width: 0;
|
||||
overflow: hidden;
|
||||
|
||||
&:focus-within {
|
||||
width: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user