tabledrag.css

Same filename in this branch
  1. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/tabledrag.css
  2. 11.x core/misc/dialog/off-canvas/css/tabledrag.css
  3. 11.x core/themes/claro/css/components/tabledrag.css
  4. 11.x core/themes/starterkit_theme/css/components/tabledrag.css
Same filename in other branches
  1. 9 core/profiles/demo_umami/themes/umami/css/classy/components/tabledrag.css
  2. 9 core/themes/olivero/css/components/tabledrag.css
  3. 9 core/themes/seven/css/classy/components/tabledrag.css
  4. 9 core/themes/claro/css/components/tabledrag.css
  5. 9 core/themes/bartik/css/classy/components/tabledrag.css
  6. 9 core/themes/starterkit_theme/css/components/tabledrag.css
  7. 9 core/themes/classy/css/components/tabledrag.css
  8. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/tabledrag.css
  9. 8.9.x core/themes/seven/css/classy/components/tabledrag.css
  10. 8.9.x core/themes/claro/css/components/tabledrag.css
  11. 8.9.x core/themes/bartik/css/classy/components/tabledrag.css
  12. 8.9.x core/themes/classy/css/components/tabledrag.css
  13. 10 core/profiles/demo_umami/themes/umami/css/classy/components/tabledrag.css
  14. 10 core/misc/dialog/off-canvas/css/tabledrag.css
  15. 10 core/themes/olivero/css/components/tabledrag.css
  16. 10 core/themes/claro/css/components/tabledrag.css
  17. 10 core/themes/starterkit_theme/css/components/tabledrag.css

Styles for tabledrag.

File

core/themes/olivero/css/components/tabledrag.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. * Styles for tabledrag.
  10. */
  11. .draggable:hover {
  12. background-color: var(--color--gray-100);
  13. }
  14. .draggable.drag {
  15. background-color: var(--color--gray-100);
  16. }
  17. .draggable.drag-previous {
  18. background-color: var(--color--gray-95);
  19. }
  20. .drag-previous a {
  21. color: var(--color-text-neutral-medium); /* Ensure proper contrast. */
  22. }
  23. a.tabledrag-handle,
  24. .touchevents a.tabledrag-handle {
  25. width: 2.25rem;
  26. height: 2.25rem;
  27. }
  28. .draggable a.tabledrag-handle {
  29. margin-inline-start: 0;
  30. }
  31. a.tabledrag-handle .handle {
  32. width: var(--sp2);
  33. height: var(--sp2);
  34. margin: 0;
  35. background-position: 50% 5px;
  36. }
  37. .touchevents a.tabledrag-handle .handle {
  38. height: var(--sp2);
  39. background-position: 50% 5px;
  40. }
  41. .touchevents .draggable td {
  42. padding-block: var(--sp0-5);
  43. padding-inline-start: 0;
  44. padding-inline-end: var(--sp0-5);
  45. }
  46. .touchevents .draggable .menu-item__link {
  47. padding: 0;
  48. }

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