You are here

yamlform.element.multiple.css in YAML Form 8

Multiple element styles.

File

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