You are here

tablefield.css in TableField 7.2

Same filename and directory in other branches
  1. 6 tablefield.css
  2. 7 tablefield.css

Styles for Table fields themselves and the form field as well.

File

tablefield.css
View source
  1. /**
  2. * @file
  3. * Styles for Table fields themselves and the form field as well.
  4. */
  5. .field-widget-tablefield .form-tablefield table,
  6. .form-tablefield table {
  7. width: 100%;
  8. }
  9. .field-widget-tablefield .form-tablefield table tr td,
  10. .form-tablefield table tr td {
  11. margin: 0;
  12. padding: 2px 0;
  13. text-align: center;
  14. }
  15. .form-tablefield table tr td.tablefield-row-count {
  16. color: #cccccc;
  17. vertical-align: middle;
  18. max-width: 20px;
  19. }
  20. .field-widget-tablefield .draggable a.tabledrag-handle {
  21. margin-left: 0;
  22. }
  23. .field-widget-tablefield .form-type-textfield {
  24. overflow: hidden;
  25. width: 98%;
  26. }
  27. .form-tablefield input.tablefield-row-0 {
  28. font-weight: bold;
  29. }
  30. .table-no-headers input.tablefield-row-0 {
  31. font-weight: normal!important;
  32. }
  33. .form-tablefield input {
  34. background-color: transparent;
  35. width: 100%;
  36. }
  37. .form-tablefield table,
  38. .form-tablefield fieldset {
  39. margin: 0.5em 0;
  40. }