Mercurial > hg > cmmr2012-drupal-site
diff core/modules/shortcut/css/shortcut.theme.css @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/core/modules/shortcut/css/shortcut.theme.css Thu Feb 28 13:11:55 2019 +0000 +++ b/core/modules/shortcut/css/shortcut.theme.css Thu May 09 15:34:47 2019 +0100 @@ -7,8 +7,8 @@ * Toolbar. */ .toolbar .toolbar-tray-vertical .edit-shortcuts { + padding: 1em; text-align: right; /* LTR */ - padding: 1em; } [dir="rtl"] .toolbar .toolbar-tray-vertical .edit-shortcuts { text-align: left; @@ -28,35 +28,35 @@ margin-left: 0.3em; /* LTR */ } [dir="rtl"] .shortcut-action { + margin-right: 0.3em; margin-left: 0; - margin-right: 0.3em; } .shortcut-action__message { - background: #000; - background: rgba(0, 0, 0, 0.5); - border-radius: 5px; - padding: 0 5px; - color: #fff; display: inline-block; margin-left: 0.3em; /* LTR */ - opacity: 0; + padding: 0 5px; + -webkit-transition: all 200ms ease-out; + transition: all 200ms ease-out; -ms-transform: translateY(-12px); -webkit-transform: translateY(-12px); transform: translateY(-12px); - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; + opacity: 0; + color: #fff; + border-radius: 5px; + background: #000; + background: rgba(0, 0, 0, 0.5); -ms-backface-visibility: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; } [dir="rtl"] .shortcut-action__message { + margin-right: 0.3em; margin-left: 0; - margin-right: 0.3em; } .shortcut-action:hover .shortcut-action__message, .shortcut-action:focus .shortcut-action__message { - opacity: 1; -ms-transform: translateY(-2px); -webkit-transform: translateY(-2px); transform: translateY(-2px); + opacity: 1; }