From e74db803c28736366e4bf3f5cd811ab2936d85ce Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Sun, 6 Apr 2014 14:55:41 +0100 Subject: [PATCH] Issue #2195959 by LewisNyman: Tab-select renders grippie white on white. --- core/misc/icons/000000/move.png | 3 +++ core/misc/icons/000000/move.svg | 1 + core/modules/system/css/system.module.css | 12 ++++++++---- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 core/misc/icons/000000/move.png create mode 100644 core/misc/icons/000000/move.svg diff --git a/core/misc/icons/000000/move.png b/core/misc/icons/000000/move.png new file mode 100644 index 000000000000..ea07e186498a --- /dev/null +++ b/core/misc/icons/000000/move.png @@ -0,0 +1,3 @@ +‰PNG + +��� IHDR���������óÿa���jIDAT8Ëc` 1�â(M–æó@üJ«ù?9†8@¾ªù>”ï@ŒÍHü¨ûÑÀçì4`ó²Ÿ÷Caó²Š! hF,n š(dCȪ¤ª¥DŠóѹ�GñI°ÂqËž����IEND®B`‚ \ No newline at end of file diff --git a/core/misc/icons/000000/move.svg b/core/misc/icons/000000/move.svg new file mode 100644 index 000000000000..3bd9a41cd161 --- /dev/null +++ b/core/misc/icons/000000/move.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#000000" d="M14.904 7.753l-2.373-2.372c-.291-.292-.529-.193-.529.22v1.399h-3v-3h1.398c.414 0 .512-.239.221-.53l-2.371-2.372c-.137-.136-.36-.136-.497 0l-2.372 2.372c-.292.292-.193.53.22.53h1.399v3h-3v-1.369c0-.413-.239-.511-.53-.22l-2.372 2.372c-.136.136-.136.359 0 .494l2.372 2.372c.291.292.53.192.53-.219v-1.43h3v3h-1.4c-.413 0-.511.238-.22.529l2.374 2.373c.137.137.36.137.495 0l2.373-2.373c.29-.291.19-.529-.222-.529h-1.398v-3h3v1.4c0 .412.238.511.529.219l2.373-2.371c.137-.137.137-.359 0-.495z"/></svg> diff --git a/core/modules/system/css/system.module.css b/core/modules/system/css/system.module.css index 6c22b2c3cdcb..a74934fbc253 100644 --- a/core/modules/system/css/system.module.css +++ b/core/modules/system/css/system.module.css @@ -117,6 +117,14 @@ a.tabledrag-handle .handle { .no-svg a.tabledrag-handle .handle { background-image: url(../../../misc/icons/787878/move.png); } +a.tabledrag-handle:hover .handle, +a.tabledrag-handle:focus .handle { + background-image: url(../../../misc/icons/000000/move.svg); +} +.no-svg a.tabledrag-handle:hover .handle, +.no-svg a.tabledrag-handle:focus .handle { + background-image: url(../../../misc/icons/000000/move.png); +} .touch .draggable td { padding: 0 10px; } @@ -135,10 +143,6 @@ a.tabledrag-handle .handle { .touch .draggable.drag a.tabledrag-handle .handle { background-position: 50% -32px; } -.no-touch a.tabledrag-handle:hover .handle, -.no-touch a.tabledrag-handle:focus .handle { - background-position: 6px -11px; -} div.indentation { float: left; /* LTR */ height: 1.7em; -- GitLab