You are here

inline_conditions.css in Inline Conditions 7

Inline conditions main stylesheet.

This file exposes the common style rules for the inline_conditions field widget and its child elements should be displayed.

File

css/inline_conditions.css
View source
  1. /**
  2. * @file
  3. * Inline conditions main stylesheet.
  4. *
  5. * This file exposes the common style rules for the inline_conditions field
  6. * widget and its child elements should be displayed.
  7. */
  8. /*
  9. Wrappers for select, checkbox, checkboxes and textfield elements are
  10. displayed inline.
  11. The #id selector is used to counter core's tr.odd .form-item styles.
  12. */
  13. #inline-conditions-inline_conditions .inline-conditions-settings-wrapper .form-wrapper,
  14. #inline-conditions-inline_conditions .inline-conditions-settings-wrapper .form-type-select,
  15. #inline-conditions-inline_conditions .inline-conditions-settings-wrapper .form-type-checkbox,
  16. #inline-conditions-inline_conditions .inline-conditions-settings-wrapper .form-type-checkboxes,
  17. #inline-conditions-inline_conditions .inline-conditions-settings-wrapper .form-type-textfield {
  18. display: inline-block;
  19. vertical-align: top;
  20. }
  21. /* Labels inside wrappers are displayed inline. */
  22. .inline-conditions-settings-wrapper .form-item label:not(.option) {
  23. display: inline;
  24. vertical-align: top;
  25. }
  26. /* Make bigger the logical operators to make them even more clear. */
  27. .inline-conditions-logic-operator {
  28. font-size: 1.2em;
  29. }
  30. /* Add vertical space to direct children of the settings wrapper. */
  31. .inline-conditions-settings-wrapper > .form-item {
  32. margin-top: 0.25em;
  33. margin-bottom: 0.25em;
  34. }
  35. /* Ensure alignment of controls in the cells. */
  36. #inline-conditions-inline_conditions th,
  37. #inline-conditions-inline_conditions td {
  38. vertical-align: top;
  39. }