table.css

Same filename in this branch
  1. 10 core/themes/olivero/css/components/table.css
  2. 10 core/modules/ckeditor5/css/table.css
Same filename in other branches
  1. 9 core/themes/olivero/css/components/table.css
  2. 9 core/themes/bartik/css/components/table.css
  3. 8.9.x core/themes/bartik/css/components/table.css
  4. 11.x core/misc/dialog/off-canvas/css/table.css
  5. 11.x core/themes/olivero/css/components/table.css
  6. 11.x core/modules/ckeditor5/css/table.css

Styling for tables in the off-canvas dialog.

@internal

File

core/misc/dialog/off-canvas/css/table.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Styling for tables in the off-canvas dialog.
  10. *
  11. * @internal
  12. */
  13. #drupal-off-canvas-wrapper {
  14. --off-canvas-table-cell-padding: 2px;
  15. --off-canvas-first-cell-padding-start: calc(var(--off-canvas-padding) / 2);
  16. }
  17. #drupal-off-canvas-wrapper table {
  18. width: calc(100% + 2 * var(--off-canvas-padding));
  19. margin: var(--off-canvas-vertical-spacing-unit) calc(-1 * var(--off-canvas-padding));
  20. }
  21. #drupal-off-canvas-wrapper tr {
  22. border-bottom: 1px solid var(--off-canvas-border-color);
  23. }
  24. #drupal-off-canvas-wrapper td,
  25. #drupal-off-canvas-wrapper th {
  26. padding: var(--off-canvas-table-cell-padding);
  27. text-align: start;
  28. vertical-align: middle;
  29. }
  30. #drupal-off-canvas-wrapper td:first-child,
  31. #drupal-off-canvas-wrapper th:first-child {
  32. padding-inline-start: var(--off-canvas-first-cell-padding-start);
  33. }
  34. #drupal-off-canvas-wrapper td:not(:last-child) td,
  35. #drupal-off-canvas-wrapper th:not(:last-child) td {
  36. border-bottom: solid 1px var(--off-canvas-border-color);
  37. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.