You are here

field.css in Fences 7.2

Same filename and directory in other branches
  1. 7 field.css
/* Field display */
.inline-sibling,
.inline-sibling__wrapper .field-label {
  display: inline;
  margin-right: 10px;
}

  /*
   * The next element (and its first-child element, if the markup is nested)
   * needs to be inline.
   */
  .inline-sibling + *,
  .inline-sibling + * > :first-child,
  .inline-sibling + * > :first-child > :first-child,
  .inline-sibling__wrapper .field-label + *,
  .inline-sibling__wrapper .field-label + * > :first-child,
  .inline-sibling__wrapper .field-label + * > :first-child > :first-child {
    display: inline;
  }

/* Form display (from core's field.css) */
form .field-multiple-table {
  margin: 0;
}
form .field-multiple-table th.field-label {
  padding-left: 0; /*LTR*/
}
form .field-multiple-table td.field-multiple-drag {
  width: 30px;
  padding-right: 0; /*LTR*/
}
form .field-multiple-table td.field-multiple-drag a.tabledrag-handle {
  padding-right: .5em; /*LTR*/
}
form .field-add-more-submit {
  margin: .5em 0 0;
}

File

field.css
View source
  1. /* Field display */
  2. .inline-sibling,
  3. .inline-sibling__wrapper .field-label {
  4. display: inline;
  5. margin-right: 10px;
  6. }
  7. /*
  8. * The next element (and its first-child element, if the markup is nested)
  9. * needs to be inline.
  10. */
  11. .inline-sibling + *,
  12. .inline-sibling + * > :first-child,
  13. .inline-sibling + * > :first-child > :first-child,
  14. .inline-sibling__wrapper .field-label + *,
  15. .inline-sibling__wrapper .field-label + * > :first-child,
  16. .inline-sibling__wrapper .field-label + * > :first-child > :first-child {
  17. display: inline;
  18. }
  19. /* Form display (from core's field.css) */
  20. form .field-multiple-table {
  21. margin: 0;
  22. }
  23. form .field-multiple-table th.field-label {
  24. padding-left: 0; /*LTR*/
  25. }
  26. form .field-multiple-table td.field-multiple-drag {
  27. width: 30px;
  28. padding-right: 0; /*LTR*/
  29. }
  30. form .field-multiple-table td.field-multiple-drag a.tabledrag-handle {
  31. padding-right: .5em; /*LTR*/
  32. }
  33. form .field-add-more-submit {
  34. margin: .5em 0 0;
  35. }