Fixes: U4-8063 Content type editor: Keyboard shortcut overview should close on escape

This commit is contained in:
Mads Rasmussen
2016-02-23 15:09:27 +01:00
parent f024dba864
commit 26a8d23039
2 changed files with 19 additions and 4 deletions

View File

@@ -16,8 +16,23 @@
.umb-keyboard-shortcuts-overview__overlay-close {
position: absolute;
top: 10px;
right: 10px;
top: 20px;
right: 20px;
font-size: 25px;
border-radius: 20px;
width: 35px;
height: 35px;
display: flex;
justify-content: center;
align-items: center;
background-color: transparent;
line-height: 1em;
}
.umb-keyboard-shortcuts-overview__overlay-close:hover {
background-color: @blue;
color: #ffffff;
text-decoration: none;
}
.umb-keyboard-shortcuts-overview__overlay-content {

View File

@@ -19,8 +19,8 @@
<div class="umb-keyboard-shortcuts-overview__overlay" ng-if="shortcutOverlay">
<a href="" ng-click="toggleShortcutsOverlay()" data-hotkey="esc">
<i class="umb-keyboard-shortcuts-overview__overlay-close icon-delete"></i>
<a href="" class="umb-keyboard-shortcuts-overview__overlay-close" ng-click="toggleShortcutsOverlay()" data-hotkey="esc" hotkey-when-hidden="true">
<i class="icon-delete"></i>
</a>
<div class="umb-keyboard-shortcuts-overview__overlay-content">