You are here

tablefield.css in TableField 7.3

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

File

css/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. .table-no-headers input.tablefield-row-0 {
  28. font-weight: normal !important;
  29. }
  30. .form-tablefield input {
  31. background-color: transparent;
  32. width: 100%;
  33. }
  34. .form-tablefield table,
  35. .form-tablefield fieldset {
  36. margin: 0.5em 0;
  37. }
  38. /* To have an input value close to its unit for the field 'Maximum cell length'.*/
  39. .tablefield-form-align {
  40. text-align: right; /* LTR */
  41. }
  42. /* Styling headers on the tablefield widget. */
  43. .form-tablefield.tablefield-header-orientation-horizontal input.tablefield-row-0 {
  44. font-weight: bold;
  45. }
  46. .form-tablefield.tablefield-header-orientation-vertical td.col-0 input {
  47. font-weight: bold;
  48. }