mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Final CSS tweaks for the hover and collapsed states
This commit is contained in:
parent
882d09bf85
commit
f3586a79c2
@ -38,7 +38,7 @@ limitations under the License.
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
padding-left: 15px;
|
padding-left: 11px;
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
color: rgba(69, 69, 69, 0.8);
|
color: rgba(69, 69, 69, 0.8);
|
||||||
}
|
}
|
||||||
@ -57,8 +57,12 @@ limitations under the License.
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.collapsed .mx_RoomTile {
|
||||||
|
height: 36px;
|
||||||
|
}
|
||||||
|
|
||||||
.collapsed .mx_RoomTile_badge {
|
.collapsed .mx_RoomTile_badge {
|
||||||
bottom: 40px;
|
top: -40px;
|
||||||
left: 30px;
|
left: 30px;
|
||||||
min-width: 12px;
|
min-width: 12px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
@ -87,19 +91,24 @@ style are the same, this style needs to be AFTER it to take effect when matched
|
|||||||
|
|
||||||
.mx_RoomTile_badge {
|
.mx_RoomTile_badge {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
min-width: 12px;
|
min-width: 14px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
position: relative;
|
position: relative;
|
||||||
right: 4px;
|
left: 8px;
|
||||||
top: 50%;
|
top: 2px;
|
||||||
border-radius: 18px;
|
border-radius: 18px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
padding-left: 5px;
|
padding-left: 4px;
|
||||||
padding-right: 5px;
|
padding-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_RoomTile_badge:hover {
|
||||||
|
letter-spacing: 0.1em;
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomTile_unreadNotify .mx_RoomTile_badge {
|
.mx_RoomTile_unreadNotify .mx_RoomTile_badge {
|
||||||
@ -110,8 +119,9 @@ style are the same, this style needs to be AFTER it to take effect when matched
|
|||||||
background-color: #ff0064;
|
background-color: #ff0064;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomTile_badge.mx_RoomTile_badge_no_unread {
|
.mx_RoomTile_badge_no_unread {
|
||||||
background-color: rgba(74, 73, 74, 0.2);
|
background-color: rgb(214, 214, 214);
|
||||||
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomTile_unread, .mx_RoomTile_highlight {
|
.mx_RoomTile_unread, .mx_RoomTile_highlight {
|
||||||
|
Loading…
Reference in New Issue
Block a user