mediawiki-extensions-WikiEd.../modules/jquery.wikiEditor.dialogs.less
Ed Sanders 546933e52b Allow dialogs to have their borders
There is quite low contranst between dialog
background and the overlay, so it makes sense
to just leave the border, which is consistent
with MWUI dialogs in OOUI.

Change-Id: I90ad752b91d15a25e8b36d43df44ac56df75cd9c
2018-04-02 22:11:13 +01:00

61 lines
1 KiB
Plaintext

/**
* CSS for WikiEditor Dialogs jQuery plugin
*/
.wikiEditor-toolbar-dialog {
.ui-dialog-content {
/* stylelint-disable declaration-no-important */
fieldset {
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
/* stylelint-enable declaration-no-important */
input[ type='text' ] {
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-webkit-box-sizing: border-box;
-khtml-box-sizing: border-box;
box-sizing: border-box;
}
input {
&[ type='radio' ],
&[ type='checkbox' ] {
margin-left: 0;
}
}
}
.ui-dialog-titlebar-close {
padding: 0;
}
}
/* Put suggestions (default z-index 99) on top of dialogs (z-index 1002) */
div.suggestions {
z-index: 1099;
}
body {
.wikiEditor-toolbar-dialog {
.ui-dialog-titlebar-close {
right: 0.9em;
}
}
}
.wikieditor-toolbar-field-wrapper {
padding: 0 0 25px 0;
}
.wikieditor-toolbar-floated-field-wrapper {
float: left;
margin-right: 2em;
}
.wikieditor-toolbar-dialog-hint {
color: #54595d;
}