mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Update _RoomSublist.scss
Alter border radius of RoomSublist buttons to reflect shape of other buttons in room list. Add background color on hover to RoomSublist buttons to provide more visual feedback.
This commit is contained in:
parent
712bdba09f
commit
b71bc88514
1 changed files with 8 additions and 1 deletions
|
@ -98,7 +98,7 @@ limitations under the License.
|
|||
position: relative;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 32px;
|
||||
border-radius: 8px;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
|
@ -114,6 +114,12 @@ limitations under the License.
|
|||
}
|
||||
}
|
||||
|
||||
.mx_RoomSublist_auxButton:hover,
|
||||
.mx_RoomSublist_menuButton:hover {
|
||||
background:$roomlist-button-bg-color;
|
||||
}
|
||||
|
||||
|
||||
// Hide the menu button by default
|
||||
.mx_RoomSublist_menuButton {
|
||||
visibility: hidden;
|
||||
|
@ -129,6 +135,7 @@ limitations under the License.
|
|||
mask-image: url('$(res)/img/element-icons/context-menu.svg');
|
||||
}
|
||||
|
||||
|
||||
.mx_RoomSublist_headerText {
|
||||
flex: 1;
|
||||
max-width: calc(100% - 16px); // 16px is the badge width
|
||||
|
|
Loading…
Reference in a new issue