Macro edition interface title theming+functionality. #7

The migration of the macro theming will come after.
This commit is contained in:
Arpad Csanyi
2016-03-14 09:37:38 +01:00
parent 68d566e233
commit 1797b50847
3 changed files with 13 additions and 3 deletions

6
app.js
View File

@@ -7,9 +7,13 @@ $(function() {
// ========================
// Keymap related settings.
// ========================
$('.keymap__name, .keymap__abbrev').on('mouseover', function() {
$('.keymap__name, .keymap__abbrev, .macro__name').on('mouseover', function() {
$(this).addClass('active');
}).on('mouseout', function() {
if (!$(this).is(':focus')) {
$(this).removeClass('active');
}
}).on('focusout', function() {
$(this).removeClass('active');
});

File diff suppressed because one or more lines are too long

View File

@@ -114,18 +114,22 @@ li {
margin-bottom: 1em;
}
.macro__name.active,
.keymap__name.active,
.keymap__abbrev.active {
box-shadow: 0 0 0px 1px #ccc, 0 0 5px 0px #ccc;
border-color: transparent;
}
.macro__name,
.keymap__name,
.keymap__abbrev {
border: none;
border-bottom: 2px dotted #999;
}
.macro__name,
.macro__name.active,
.keymap__name,
.keymap__name.active,
.keymap__abbrev,