You are here

etuf-side-by-side-business.css in Entity Translation Unified Form 8

@media screen and (min-width: 992px) {

  /* separators */
  .etuf-sbs-none {
    float: left;
    display: inline-block;
    width: 99%;
  }

  /* force fieldsets full width */
  body.etuf-sbs div.region-content fieldset.js-form-item {
    width: 99%;
  }
  /* but half-width for the fieldsets content */
  body.etuf-sbs div.region-content fieldset.js-form-item > div.fieldset-wrapper > div.js-form-item {
    float: left;
    width: 49%;
    margin-left: 5px;
  }

  /* force details full width */
  body.etuf-sbs div.region-content details.js-form-wrapper {
    width: 99%;
  }
  /* but helf-width for the details content */
  body.etuf-sbs div.region-content details.js-form-wrapper > div.details-wrapper > div.js-form-item {
    float: left;
    width: 49%;
    margin-left: 5px;
  }

  /* for the tab-part at the end which is a 'details' but not concerned */
  body.etuf-sbs div.region-content form.node-form > div.js-form-item.form-type-vertical-tabs {
    width: 99%;
  }

  /* standard elements */
  body.etuf-sbs div.region-content form.node-form > div.js-form-item {
    float: left;
    width: 49%;
    margin-left: 5px;
  }

  /* dunno why, without this I get strange behaviors from details */
  body.etuf-sbs details.js-form-wrapper {
    display: inline-block !important;
  }

}

File

css/etuf-side-by-side-business.css
View source
  1. @media screen and (min-width: 992px) {
  2. /* separators */
  3. .etuf-sbs-none {
  4. float: left;
  5. display: inline-block;
  6. width: 99%;
  7. }
  8. /* force fieldsets full width */
  9. body.etuf-sbs div.region-content fieldset.js-form-item {
  10. width: 99%;
  11. }
  12. /* but half-width for the fieldsets content */
  13. body.etuf-sbs div.region-content fieldset.js-form-item > div.fieldset-wrapper > div.js-form-item {
  14. float: left;
  15. width: 49%;
  16. margin-left: 5px;
  17. }
  18. /* force details full width */
  19. body.etuf-sbs div.region-content details.js-form-wrapper {
  20. width: 99%;
  21. }
  22. /* but helf-width for the details content */
  23. body.etuf-sbs div.region-content details.js-form-wrapper > div.details-wrapper > div.js-form-item {
  24. float: left;
  25. width: 49%;
  26. margin-left: 5px;
  27. }
  28. /* for the tab-part at the end which is a 'details' but not concerned */
  29. body.etuf-sbs div.region-content form.node-form > div.js-form-item.form-type-vertical-tabs {
  30. width: 99%;
  31. }
  32. /* standard elements */
  33. body.etuf-sbs div.region-content form.node-form > div.js-form-item {
  34. float: left;
  35. width: 49%;
  36. margin-left: 5px;
  37. }
  38. /* dunno why, without this I get strange behaviors from details */
  39. body.etuf-sbs details.js-form-wrapper {
  40. display: inline-block !important;
  41. }
  42. }