From a098c6e1ec24c6e2d36b947e908402081e9b80bd Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Fri, 5 Apr 2013 09:08:49 -0700 Subject: [PATCH] Issue #1940208 by pameeela, mgifford, echoz: Fixed Contrast for add & remove shortcut links on overlay not sufficient for WCAG - Regression. --- core/modules/shortcut/shortcut.theme-rtl.css | 2 +- core/modules/shortcut/shortcut.theme.css | 1 - core/themes/seven/style-rtl.css | 7 ------- core/themes/seven/style.css | 12 ++++++++---- 4 files changed, 9 insertions(+), 13 deletions(-) diff --git a/core/modules/shortcut/shortcut.theme-rtl.css b/core/modules/shortcut/shortcut.theme-rtl.css index a0df7e89d88f..8a687d9e83d3 100644 --- a/core/modules/shortcut/shortcut.theme-rtl.css +++ b/core/modules/shortcut/shortcut.theme-rtl.css @@ -8,7 +8,7 @@ * Add/remove links. */ .add-or-remove-shortcuts .icon { - margin-left: 4px; + margin-left: 0; margin-right: 8px; } .add-shortcut a:focus .icon, diff --git a/core/modules/shortcut/shortcut.theme.css b/core/modules/shortcut/shortcut.theme.css index 6fca80a7dd50..04f7c9f3f506 100644 --- a/core/modules/shortcut/shortcut.theme.css +++ b/core/modules/shortcut/shortcut.theme.css @@ -34,7 +34,6 @@ background: transparent url(shortcut.png) no-repeat; height: 12px; margin-left: 8px; /* LTR */ - margin-right: 4px; overflow: hidden; text-indent: 12px; width: 12px; diff --git a/core/themes/seven/style-rtl.css b/core/themes/seven/style-rtl.css index 29fd211ef498..d9f60e476b2b 100644 --- a/core/themes/seven/style-rtl.css +++ b/core/themes/seven/style-rtl.css @@ -145,13 +145,6 @@ ol.task-list li.active { margin: -1.4em 0 0.3em 0; } -/* Shortcut theming */ -div.add-or-remove-shortcuts { - float: none; - padding-left: 0; - padding-right: 6px; -} - /* Recent content block */ #block-node-recent .more-link { padding: 0 0 5px 5px; diff --git a/core/themes/seven/style.css b/core/themes/seven/style.css index 48b686c31f31..abf975e09597 100644 --- a/core/themes/seven/style.css +++ b/core/themes/seven/style.css @@ -1033,10 +1033,14 @@ h1#overlay-title { } /* Shortcut theming */ -div.add-or-remove-shortcuts { - float: left; /* LTR */ - padding-top: 0; - padding-left: 6px; /* LTR */ +.add-or-remove-shortcuts a:focus span.text, +.add-or-remove-shortcuts a:hover span.text { + color: #fff; + background-color: #5f605b; + padding: 0 6px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; } /* Field UI */ -- GitLab