You are here

yamlform.element.states.css in YAML Form 8

States element styles.

File

css/yamlform.element.states.css
View source
  1. /**
  2. * @file
  3. * States element styles.
  4. */
  5. .yamlform-states-table td {
  6. white-space: nowrap;
  7. }
  8. .yamlform-states-table--state {
  9. border-top: 2px solid #a6a6a6;
  10. }
  11. .yamlform-states-table--state:first-child {
  12. border-top: inherit;
  13. }
  14. .yamlform-states-table--state td select {
  15. width: inherit;
  16. max-width: inherit;
  17. }
  18. .yamlform-states-table--state td:first-child select,
  19. .yamlform-states-table--condition select,
  20. .yamlform-states-table--condition input[type="text"] {
  21. width: 100%;
  22. max-width: 100%;
  23. }
  24. .yamlform-states-table .image-button {
  25. margin: 0;
  26. }
  27. .yamlform-states-table th:last-child,
  28. .yamlform-states-table td:last-child {
  29. padding: 0 2px;
  30. vertical-align: middle;
  31. text-align: center !important;
  32. width: 60px !important;
  33. }
  34. .yamlform-states-table td:last-child input {
  35. margin: 0 2px;
  36. }
  37. .yamlform-states-table td:last-child input {
  38. opacity: 0.4;
  39. }
  40. .yamlform-states-table td:last-child input:hover,
  41. .yamlform-states-table td:last-child input:focus,
  42. .yamlform-states-table td:last-child input:active {
  43. opacity: 1;
  44. background: none;
  45. }
  46. /**
  47. * Hide AJAX throbber.
  48. */
  49. .form-type-yamlform-element-states .ajax-progress-throbber {
  50. display: none;
  51. }
  52. /**
  53. * Suppress table drag warnings.
  54. */
  55. .yamlform-states-table .tabledrag-changed-warning,
  56. .yamlform-states-table .tabledrag-changed {
  57. display: none !important;
  58. }