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. background-image: none;
  24. margin: 0 5px 0 0;
  25. height: auto;
  26. min-width: 20px;
  27. padding: 0;
  28. overflow: hidden;
  29. float: left; /* LTR */
  30. text-decoration: none;
  31. cursor: move;
  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. /* Use lighter drag icon against dark background. */
  40. background-color: transparent;
  41. background-image: url(../icons/bebebe/move.svg);
  42. background-repeat: no-repeat;
  43. background-position: center;
  44. height: auto;
  45. margin: 0;
  46. padding: 0;
  47. width: auto;
  48. }
  49. #drupal-off-canvas .draggable a.tabledrag-handle:hover .handle,
  50. #drupal-off-canvas .draggable a.tabledrag-handle:focus .handle {
  51. background-image: url(../icons/787878/move.svg);
  52. text-decoration: none;
  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-left: 0;
  62. margin-right: 5px;
  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. height: 44px;
  89. width: 40px;
  90. }
  91. #drupal-off-canvas .touchevents a.tabledrag-handle .handle {
  92. background-position: 40% 19px; /* LTR */
  93. height: 21px;
  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. height: auto;
  111. margin: 0 3px 0 -10px; /* LTR */
  112. padding: 0 0 0 10px; /* LTR */
  113. width: auto;
  114. }
  115. [dir="rtl"] #drupal-off-canvas .indentation {
  116. float: right;
  117. margin: 0 -10px 0 3px;
  118. padding: 0 10px 0 0;
  119. }