tabledrag.pcss.css
Same filename in this branch
Same filename in other branches
- 9 core/themes/olivero/css/components/tabledrag.pcss.css
- 9 core/themes/claro/css/components/tabledrag.pcss.css
- 8.9.x core/themes/claro/css/components/tabledrag.pcss.css
- 11.x core/misc/dialog/off-canvas/css/tabledrag.pcss.css
- 11.x core/themes/olivero/css/components/tabledrag.pcss.css
- 11.x core/themes/claro/css/components/tabledrag.pcss.css
Styles for tabledrag.
File
-
core/
themes/ olivero/ css/ components/ tabledrag.pcss.css
View source
- /**
- * @file
- * Styles for tabledrag.
- */
-
- @import "../base/media-queries.pcss.css";
-
- .draggable:hover {
- background-color: var(--color--gray-100);
- }
-
- .draggable.drag {
- background-color: var(--color--gray-100);
- }
-
- .draggable.drag-previous {
- background-color: var(--color--gray-95);
- }
-
- .drag-previous a {
- color: var(--color-text-neutral-medium); /* Ensure proper contrast. */
- }
-
- a.tabledrag-handle,
- .touchevents a.tabledrag-handle {
- width: 36px;
- height: 36px;
- }
-
- .draggable a.tabledrag-handle {
- margin-inline-start: 0;
- }
-
- a.tabledrag-handle .handle {
- width: var(--sp2);
- height: var(--sp2);
- margin: 0;
- background-position: 50% 5px;
- }
-
- .touchevents a.tabledrag-handle .handle {
- height: var(--sp2);
- background-position: 50% 5px;
- }
-
- .touchevents .draggable td {
- padding-block: var(--sp0-5);
- padding-inline-start: 0;
- padding-inline-end: var(--sp0-5);
- }
-
- .touchevents .draggable .menu-item__link {
- padding: 0;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.