min-height: 5em;
}
+/*
+ * 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
+ */
+#wikiPreview.ontop {
+ margin-bottom: 1em;
+}
+
/* Adjustments to edit form elements */
-.editCheckboxes {
+#editpage-copywarn {
+ font-size: 0.9em;
+}
+
+.mw-editform-ooui #wpSummaryWidget,
+.mw-editform-legacy #wpSummary {
+ display: block;
+ width: 80%;
margin-bottom: 1em;
}
-.editCheckboxes input:first-child {
- margin-left: 0;
+/* Adjustments to edit form elements (only when $wgOOUIEditPage is false) */
+.mw-editform-legacy .editCheckboxes {
+ margin-bottom: 1em;
}
-.cancelLink {
- margin-left: 0.5em;
+.mw-editform-legacy .editCheckboxes input:first-child {
+ margin-left: 0;
}
-#editpage-copywarn {
- font-size: 0.9em;
+.mw-editform-legacy .cancelLink {
+ margin-left: 0.5em;
}
-input#wpSummary {
- display: block;
+.mw-editform-legacy input#wpSummary {
background-color: #fff;
color: #000;
- width: 80%;
margin-top: 0;
- margin-bottom: 1em;
padding: 0.625em 0.546875em 0.546875em;
border: 1px solid #a2a9b1;
border-radius: 2px;
transition: border-color 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 ), box-shadow 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 );
}
-input#wpSummary:focus,
-input#wpSummary:active {
+.mw-editform-legacy input#wpSummary:focus,
+.mw-editform-legacy input#wpSummary:active {
outline: 0;
border-color: #36c;
box-shadow: inset 0 0 0 1px #36c;
}
-.editButtons input:first-child {
+.mw-editform-legacy .editButtons input:first-child {
margin-left: 0.1em;
}
-/*
- * 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
- */
-#wikiPreview.ontop {
- margin-bottom: 1em;
+/* Adjustments to edit form elements (only when $wgOOUIEditPage is true) */
+.mw-editform-ooui #editpage-copywarn {
+ line-height: 1.26;
+}
+
+.mw-editform-ooui #wpSummaryWidget {
+ max-width: none;
+}
+
+.mw-editform-ooui #wpSummaryLabel {
+ margin: 0;
+}
+
+.mw-editform-ooui .editCheckboxes .oo-ui-fieldLayout {
+ margin-right: 1em;
+}
+
+.mw-editform-ooui .editHelp {
+ margin-left: 0.5em;
+ vertical-align: middle;
+}
+
+.mw-editform-ooui .editHelp a {
+ font-weight: bold;
+}
+
+.mw-editform-ooui .editOptions {
+ border-radius: 0 0 2px 2px;
}