linting: Start enforcing a basic CSS class naming rule (with lots of opt-outs)
[lhc/web/wiklou.git] / resources / src / mediawiki.action / mediawiki.action.edit.styles.less
index dc6a366..fc806c6 100644 (file)
@@ -2,6 +2,8 @@
  * Styles for elements of the editing form.
  */
 
+/* stylelint-disable selector-class-pattern */
+
 /*
  * Add a bit of margin space between the preview and the toolbar.
  * This replaces the ugly <p><br /></p> we used to insert into the page source
        #wpSummaryWidget {
                display: block;
                margin-bottom: 1em;
-               max-width: none;
        }
 
        #wpSummaryLabel {
                margin: 0;
        }
 
+       #wpSummaryWidget,
+       #wpSummaryLabel .oo-ui-fieldLayout-header {
+               max-width: none;
+       }
+
        .editCheckboxes .oo-ui-fieldLayout {
                margin-right: 1em;
        }
        .editOptions {
                border-radius: 0 0 2px 2px;
        }
+
+       // Use buttonElement to include ButtonInputWidget and ButtonWidget
+       .editButtons .oo-ui-buttonElement,
+       .editHelp {
+               margin-top: 0.5em;
+       }
+
+       .cancelLink,
+       .editHelp {
+               display: inline-block;
+               vertical-align: middle;
+       }
+
+       /* T188737 */
+       .templatesUsed .mw-redirect {
+               font-style: italic;
+       }
 }