<commit_before>/* -------------------------------------------------------------------------------------------------

Load this stylesheet after formtastic.css in your layouts to override the CSS to suit your needs.
This will allow you to update formtastic.css with new releases without clobbering your own changes.

For example, to make the inline hint paragraphs a little darker in color than the standard #666:

form.formtastic fieldset > ol > li p.inline-hints { color:#333; }

HINT:
The following style may be *conditionally* included for improved support on older versions of IE(<8)
form.formtastic fieldset ol li fieldset legend { margin-left: -6px;}

--------------------------------------------------------------------------------------------------*/

form.formtastic fieldset > ol {
  // Right-align labels
  > li.input .label {
    text-align: right;
    width: 23%;
    margin-right: 2%;
  }
  // Some padding on text inputs
  > li.stringish input {
    padding: 2px;
  }
  > li {
    &.string, &.password, &.numeric, &.email, &.url, &.phone, &.search {
      input {
        width: 70%;
      }
    }
  }
}

// Fieldset widths
form.formtastic {
  fieldset.buttons {
    padding-left: 27%;
  }
  fieldset > ol > li.input {
    &.boolean label {
      padding-left: 27%;
    }
  }
}

// Fix colour override
form.formtastic legend {
  color: inherit;
}<commit_msg>Override absolute positioning for legend.label > label for radio choices<commit_after>/* -------------------------------------------------------------------------------------------------

Load this stylesheet after formtastic.css in your layouts to override the CSS to suit your needs.
This will allow you to update formtastic.css with new releases without clobbering your own changes.

For example, to make the inline hint paragraphs a little darker in color than the standard #666:

form.formtastic fieldset > ol > li p.inline-hints { color:#333; }

HINT:
The following style may be *conditionally* included for improved support on older versions of IE(<8)
form.formtastic fieldset ol li fieldset legend { margin-left: -6px;}

--------------------------------------------------------------------------------------------------*/

form.formtastic fieldset > ol {
  // Right-align labels
  > li.input .label {
    text-align: right;
    width: 23%;
    margin-right: 2%;
  }
  // Some padding on text inputs
  > li.stringish input {
    padding: 2px;
  }
  > li {
    &.string, &.password, &.numeric, &.email, &.url, &.phone, &.search {
      input {
        width: 70%;
      }
    }
  }
}

// Fieldset widths
form.formtastic {
  fieldset.buttons {
    padding-left: 27%;
  }
  fieldset > ol > li.input {
    &.boolean label {
      padding-left: 27%;
    }
  }
}

// Fix colour override
form.formtastic legend {
  color: inherit;
}

// Override the legend's label on radio choices
form.formtastic .choices .label label {
  position: static;
}
{'fraction_non_alphanumeric': 0.22633744855967078, 'fraction_numerical': 0.012345679012345678, 'mean_word_length': 1.807507218479307, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7385285', 'n_tokens_mistral': 849, 'n_tokens_neox': 805, 'n_words': 285}