Macro edition interface title theming+functionality. #7
The migration of the macro theming will come after.
This commit is contained in:
6
app.js
6
app.js
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user