Browse Source

Moving required field indicator on grouped fields to group label

pull/1989/head
Matt Palmer 9 years ago
parent
commit
16c9f89f79
1 changed files with 7 additions and 5 deletions
  1. 12
      src/definitions/collections/form.less

12
src/definitions/collections/form.less

@ -559,22 +559,24 @@
Required Field Required Field
---------------------*/ ---------------------*/
.ui.form .required.fields > .field > label:after,
.ui.form .required.fields:not(.grouped) > .field > label:after,
.ui.form .required.fields.grouped > label:after,
.ui.form .required.field > label:after, .ui.form .required.field > label:after,
.ui.form .required.fields > .field > .checkbox:after,
.ui.form .required.fields:not(.grouped) > .field > .checkbox:after,
.ui.form .required.field > .checkbox:after { .ui.form .required.field > .checkbox:after {
margin: @requiredMargin; margin: @requiredMargin;
content: @requiredContent; content: @requiredContent;
color: @requiredColor; color: @requiredColor;
} }
.ui.form .required.fields > .field > label:after,
.ui.form .required.fields:not(.grouped) > .field > label:after,
.ui.form .required.fields.grouped > label:after,
.ui.form .required.field > label:after { .ui.form .required.field > label:after {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
} }
.ui.form .required.fields > .field > .checkbox:after,
.ui.form .required.fields:not(.grouped) > .field > .checkbox:after,
.ui.form .required.field > .checkbox:after { .ui.form .required.field > .checkbox:after {
position: absolute; position: absolute;
top: 0%; top: 0%;
@ -891,4 +893,4 @@
font-size: @huge; font-size: @huge;
} }
.loadUIOverrides();
.loadUIOverrides();
Loading…
Cancel
Save