diff --git a/core/modules/shortcut/css/shortcut.theme.css b/core/modules/shortcut/css/shortcut.theme.css index e251f62..9984ae1 100644 --- a/core/modules/shortcut/css/shortcut.theme.css +++ b/core/modules/shortcut/css/shortcut.theme.css @@ -27,33 +27,3 @@ display: inline-block; margin-left: 0.3em; } -.add-or-remove-shortcuts .text { - background: #000000; - background: rgba(0, 0, 0, 0.5); - border-radius: 5px; - padding: 0 5px; - color: #ffffff; - display: inline-block; - margin-left: 0.3em; - opacity: 0; - -ms-transform: translateY(-12px); - -moz-transform: translateY(-12px); - -webkit-transform: translateY(-12px); - transform: translateY(-12px); - -webkit-transition: all 200ms ease-out; - -moz-transition: all 200ms ease-out; - transition: all 200ms ease-out; - -ms-backface-visibility: hidden; - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; -} -.add-or-remove-shortcuts a:hover .text, -.add-or-remove-shortcuts a:focus .text { - opacity: 1; - -o-transform: translateY(-2px); - -ms-transform: translateY(-2px); - -moz-transform: translateY(-2px); - -webkit-transform: translateY(-2px); - transform: translateY(-2px); -} diff --git a/core/modules/shortcut/shortcut.module b/core/modules/shortcut/shortcut.module index e433c82..89f8cb5 100644 --- a/core/modules/shortcut/shortcut.module +++ b/core/modules/shortcut/shortcut.module @@ -374,13 +374,13 @@ function shortcut_preprocess_page(&$variables) { $link_mode = isset($shortcut_id) ? "remove" : "add"; if ($link_mode == "add") { - $link_text = shortcut_set_switch_access() ? t('Add to %shortcut_set shortcuts', array('%shortcut_set' => $shortcut_set->label())) : t('Add to shortcuts'); + $link_text = shortcut_set_switch_access() ? t('Add to @shortcut_set shortcuts', array('@shortcut_set' => $shortcut_set->label())) : t('Add to shortcuts'); $route_name = 'shortcut.link_add_inline'; $route_parameters = array('shortcut_set' => $shortcut_set->id()); } else { $query['id'] = $shortcut_id; - $link_text = shortcut_set_switch_access() ? t('Remove from %shortcut_set shortcuts', array('%shortcut_set' => $shortcut_set->label())) : t('Remove from shortcuts'); + $link_text = shortcut_set_switch_access() ? t('Remove from @shortcut_set shortcuts', array('@shortcut_set' => $shortcut_set->label())) : t('Remove from shortcuts'); $route_name = 'shortcut.link_delete'; $route_parameters = array('shortcut' => $shortcut_id); } @@ -394,7 +394,7 @@ function shortcut_preprocess_page(&$variables) { ), '#prefix' => '