off-canvas.tabledrag.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /**
  2. * @file
  3. * Table drag behavior for off-canvas dialog.
  4. *
  5. * @see tabledrag.js
  6. */
  7. #drupal-off-canvas .drag {
  8. cursor: move;
  9. }
  10. #drupal-off-canvas tr.region-title {
  11. font-weight: normal;
  12. }
  13. #drupal-off-canvas table .region-message {
  14. color: #fff;
  15. }
  16. #drupal-off-canvas table .region-populated {
  17. display: none;
  18. }
  19. #drupal-off-canvas .add-new .tabledrag-changed {
  20. display: none;
  21. }
  22. #drupal-off-canvas .draggable a.tabledrag-handle {
  23. float: left; /* LTR */
  24. overflow: hidden;
  25. min-width: 20px;
  26. height: auto;
  27. margin: 0 5px 0 0;
  28. padding: 0;
  29. cursor: move;
  30. text-decoration: none;
  31. background-image: none;
  32. }
  33. [dir="rtl"] #drupal-off-canvas .draggable a.tabledrag-handle {
  34. float: right;
  35. margin-right: 0;
  36. margin-left: 5px;
  37. }
  38. #drupal-off-canvas a.tabledrag-handle .handle {
  39. width: auto;
  40. height: auto;
  41. margin: 0;
  42. padding: 0;
  43. background-color: transparent;
  44. /* Use lighter drag icon against dark background. */
  45. background-image: url(../icons/bebebe/move.svg);
  46. background-repeat: no-repeat;
  47. background-position: center;
  48. }
  49. #drupal-off-canvas .draggable a.tabledrag-handle:hover .handle,
  50. #drupal-off-canvas .draggable a.tabledrag-handle:focus .handle {
  51. text-decoration: none;
  52. background-image: url(../icons/787878/move.svg);
  53. }
  54. #drupal-off-canvas tr td {
  55. transition: background 0.3s ease;
  56. }
  57. #drupal-off-canvas tr td abbr {
  58. margin-left: 5px; /* LTR */
  59. }
  60. [dir="rtl"] #drupal-off-canvas tr td abbr {
  61. margin-right: 5px;
  62. margin-left: 0;
  63. }
  64. #drupal-off-canvas tr:hover td {
  65. background: #222;
  66. }
  67. #drupal-off-canvas tr.drag td {
  68. background: #111;
  69. }
  70. #drupal-off-canvas tr.drag-previous td {
  71. background: #000;
  72. }
  73. #drupal-off-canvas tr.drag-previous:hover td {
  74. background: #222;
  75. }
  76. body div.tabledrag-changed-warning {
  77. margin-bottom: 0.5em;
  78. font-size: 14px;
  79. }
  80. #drupal-off-canvas .touchevents .draggable td {
  81. padding: 0 10px;
  82. }
  83. #drupal-off-canvas .touchevents .draggable .menu-item__link {
  84. display: inline-block;
  85. padding: 10px 0;
  86. }
  87. #drupal-off-canvas .touchevents a.tabledrag-handle {
  88. width: 40px;
  89. height: 44px;
  90. }
  91. #drupal-off-canvas .touchevents a.tabledrag-handle .handle {
  92. height: 21px;
  93. background-position: 40% 19px; /* LTR */
  94. }
  95. [dir="rtl"] #drupal-off-canvas .touch a.tabledrag-handle .handle {
  96. background-position: right 40% top 19px;
  97. }
  98. #drupal-off-canvas .touchevents .draggable.drag a.tabledrag-handle .handle {
  99. background-position: 50% -32px;
  100. }
  101. #drupal-off-canvas .tabledrag-toggle-weight-wrapper {
  102. padding-top: 10px;
  103. text-align: right; /* LTR */
  104. }
  105. [dir="rtl"] #drupal-off-canvas .tabledrag-toggle-weight-wrapper {
  106. text-align: left;
  107. }
  108. #drupal-off-canvas .indentation {
  109. float: left; /* LTR */
  110. width: auto;
  111. height: auto;
  112. margin: 0 3px 0 -10px; /* LTR */
  113. padding: 0 0 0 10px; /* LTR */
  114. }
  115. [dir="rtl"] #drupal-off-canvas .indentation {
  116. float: right;
  117. margin: 0 -10px 0 3px;
  118. padding: 0 10px 0 0;
  119. }