tabledrag.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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: #f7f9fa;
  13. }
  14. .draggable.drag {
  15. background-color: #f1f4f7;
  16. }
  17. .draggable.drag-previous {
  18. background-color: #e7edf1;
  19. }
  20. .drag-previous a {
  21. color: #313637; /* Ensure proper contrast. */
  22. }
  23. a.tabledrag-handle,
  24. .touchevents a.tabledrag-handle {
  25. width: 2.25rem;
  26. height: 2.25rem;
  27. }
  28. [dir="ltr"] .draggable a.tabledrag-handle {
  29. margin-left: 0;
  30. }
  31. [dir="rtl"] .draggable a.tabledrag-handle {
  32. margin-right: 0;
  33. }
  34. a.tabledrag-handle .handle {
  35. width: 2.25rem;
  36. height: 2.25rem;
  37. margin: 0;
  38. background-position: 50% 5px;
  39. }
  40. .touchevents a.tabledrag-handle .handle {
  41. height: 2.25rem;
  42. background-position: 50% 5px;
  43. }
  44. [dir="ltr"] .touchevents .draggable td {
  45. padding-left: 0;
  46. }
  47. [dir="rtl"] .touchevents .draggable td {
  48. padding-right: 0;
  49. }
  50. [dir="ltr"] .touchevents .draggable td {
  51. padding-right: 0.5625rem;
  52. }
  53. [dir="rtl"] .touchevents .draggable td {
  54. padding-left: 0.5625rem;
  55. }
  56. .touchevents .draggable td {
  57. padding-top: 0.5625rem;
  58. padding-bottom: 0.5625rem;
  59. }
  60. .touchevents .draggable .menu-item__link {
  61. padding: 0;
  62. }