Files
mediawiki-extensions-Univer…/resources/css/ext.uls.dialog.less
Fomafix 8652470ec4 Use position:fixed instead of position:absolute
This prevents a wrong position of the dialog when there is a different
scroll position like on an URL with fragment, for example
Special:Version?setlang=de#Installed_software

Change-Id: Ic10c6b13461a259d87fd43a718acdd1421193b6c
2019-12-23 13:50:28 +00:00

41 lines
692 B
Plaintext

@uls-dialog-width: 480px;
.uls-dialog {
position: fixed;
z-index: 500;
display: none;
background-color: #fff;
border: 1px solid #ccc;
border-color: rgba( 0, 0, 0, 0.2 );
box-shadow: 0 5px 10px rgba( 0, 0, 0, 0.2 );
background-clip: padding-box;
width: @uls-dialog-width;
top: 30%;
left: 50%;
margin-left: -( @uls-dialog-width / 2 );
margin-top: -40px;
padding: 16px;
@media screen and ( max-width: 599px ) {
width: 100%;
left: 0;
margin-left: 0;
box-sizing: border-box;
}
}
.uls-overlay {
height: 100vh;
width: 100vw;
background-color: #54595d;
opacity: 0.87;
display: none;
z-index: 300;
position: fixed;
top: 0;
}
.uls-no-overflow {
overflow: hidden;
}