Localisation updates from https://translatewiki.net.
[mediawiki.git] / resources / src / mediawiki.htmlform.codex.styles.less
blob7498987a8975aac90f037559b431494c99b3d0e0
1 @import 'mediawiki.skin.variables.less';
2 @import 'mediawiki.mixins.less';
4 .mw-htmlform-codex {
5         max-width: @size-4000;
7         // Next-sibling Checkboxes in a Field control.
8         .cdx-field__control > .mw-htmlform-field-HTMLCheckField + .mw-htmlform-field-HTMLCheckField {
9                 margin-top: @spacing-75;
10         }
12         // Allows fields to be visually indented to associate them with a checkbox or
13         // Radio that enables/disables them.
14         .cdx-field.mw-htmlform-checkradio-indent {
15                 margin-left: calc( @min-size-input-binary + @spacing-50 );
16         }
18         .mw-htmlform-select-or-other {
19                 > .cdx-select,
20                 > .cdx-text-input {
21                         display: inline-block;
22                         vertical-align: top;
23                 }
25                 .cdx-select {
26                         max-width: 20em;
27                         margin-right: @spacing-75;
28                 }
30                 .cdx-text-input {
31                         max-width: 29.5em;
32                 }
33         }
35         .mw-htmlform-select-and-other-field {
36                 .cdx-select:first-child {
37                         margin-bottom: @spacing-75;
38                 }
39         }
41         .mw-htmlform-submit-buttons {
42                 margin-top: @spacing-100;
43         }