mediawiki-extensions-WikiEd.../modules/jquery.wikiEditor.dialogs.less
Derk-Jan Hartman a686b7f580 LinkDialog: use placeholder instead of fake values
Use proper placeholder attribute instead of faking it with a value.
This predated even jquery.placeholder and is no longer needed.
Also fixes a bug where it was checking with the API for the existence
of the placeholder value.

Bug: T133716
Change-Id: I290ec48f6b1d250da28efffd7ebdb6b681c0227e
2018-11-15 07:06:20 +00:00

58 lines
977 B
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;
}