mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-12-18 11:01:36 +00:00
6175e2c519
Add a new ErrorLayout to display error messages along with an image. Bug: T303383 Change-Id: I1ec27a212b5ab67d3e805c0d7756432850de89ea
27 lines
434 B
Plaintext
27 lines
434 B
Plaintext
@import 'mediawiki.ui/variables.less';
|
|
|
|
.ext-WikiEditor-realtimepreview-ErrorLayout {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
background-color: @colorGray15;
|
|
height: 100%;
|
|
width: 100%;
|
|
text-align: center;
|
|
|
|
& > * {
|
|
max-width: 268px;
|
|
margin: 6px;
|
|
}
|
|
|
|
.oo-ui-buttonWidget {
|
|
margin-top: 18px;
|
|
}
|
|
}
|
|
|
|
.ext-WikiEditor-image-realtimepreview-error {
|
|
height: 103px;
|
|
width: 92px;
|
|
}
|