9187ae99d7
instead of using hardcoded pixel distance... affects eg. feedback dialog which was impossible to access in very small windows due to position outside window Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I2a85defcd2aabf1bdb8ec88d70b6e6a873dec75f
22 lines
582 B
CSS
22 lines
582 B
CSS
.iframe-dialog-wrap {
|
|
position: absolute;
|
|
z-index: 1106;
|
|
left: 50%;
|
|
top: 50%;
|
|
}
|
|
|
|
.iframe-dialog-content {
|
|
margin-left: -50%;
|
|
margin-top: -50%;
|
|
}
|
|
|
|
.iframe-dialog-modal {
|
|
height: 424px;
|
|
width: 448px;
|
|
border: 1px solid var(--color-border);
|
|
box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, 0.15), 0 2px 2px 0 rgba(0, 0, 0, 0.1);
|
|
-moz-box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, 0.15), 0 2px 2px 0 rgba(0, 0, 0, 0.1);
|
|
-webkit-box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, 0.15), 0 2px 2px 0 rgba(0, 0, 0, 0.1);
|
|
border-radius: var(--border-radius);
|
|
background: var(--color-background-lighter);
|
|
}
|