tabledrag.css in Drupal 10
Same filename in this branch
- 10 core/themes/starterkit_theme/css/components/tabledrag.css
- 10 core/themes/classy/css/components/tabledrag.css
- 10 core/themes/claro/css/components/tabledrag.css
- 10 core/themes/olivero/css/components/tabledrag.css
- 10 core/themes/seven/css/classy/components/tabledrag.css
- 10 core/themes/bartik/css/classy/components/tabledrag.css
- 10 core/profiles/demo_umami/themes/umami/css/classy/components/tabledrag.css
Same filename and directory in other branches
Styles for tabledrag.
File
core/themes/olivero/css/components/tabledrag.cssView source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Styles for tabledrag.
- */
-
- /*
- * Media query breakpoints.
- * Processed by postcss/postcss-custom-media.
- */
-
- /* Navigation related breakpoints */
-
- /* Grid related breakpoints */
-
- /* Grid shifts from 6 to 14 columns. */
-
- /* Width of the entire grid maxes out. */
-
- .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: 2.25rem;
- height: 2.25rem;
- }
-
- [dir="ltr"] .draggable a.tabledrag-handle {
- margin-left: 0;
- }
-
- [dir="rtl"] .draggable a.tabledrag-handle {
- margin-right: 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;
- }
-
- [dir="ltr"] .touchevents .draggable td {
- padding-left: 0;
- }
-
- [dir="rtl"] .touchevents .draggable td {
- padding-right: 0;
- }
-
- [dir="ltr"] .touchevents .draggable td {
- padding-right: var(--sp0-5);
- }
-
- [dir="rtl"] .touchevents .draggable td {
- padding-left: var(--sp0-5);
- }
-
- .touchevents .draggable td {
- padding-top: var(--sp0-5);
- padding-bottom: var(--sp0-5);
- }
-
- .touchevents .draggable .menu-item__link {
- padding: 0;
- }