Merge pull request #397 from vector-im/z_indices

Sort out dialog z index so read receipts avatars are behind the dialog background
This commit is contained in:
Matthew Hodgson 2015-11-19 13:53:51 +00:00
commit f7127ab701

View File

@ -99,19 +99,9 @@ a:visited {
margin: 0 auto; margin: 0 auto;
} }
.mx_Dialog_background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
opacity: 0.2;
z-index: 4000;
}
.mx_Dialog_wrapper { .mx_Dialog_wrapper {
position: fixed; position: fixed;
z-index: 4000;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
@ -140,6 +130,16 @@ a:visited {
max-width: 80%; max-width: 80%;
} }
.mx_Dialog_background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
opacity: 0.2;
}
.mx_Dialog_lightbox .mx_Dialog_background { .mx_Dialog_lightbox .mx_Dialog_background {
opacity: 0.85; opacity: 0.85;
} }