FM style update

This commit is contained in:
Serghey Rodin 2015-10-13 14:24:23 +03:00
commit a379e01e5a
2 changed files with 13 additions and 3 deletions

View file

@ -808,6 +808,14 @@ input[type="checkbox"] {
border-bottom: 3px solid #ff6e42;
}
.l-stat__col.focus {
background-color: #ddd;
}
.l-stat__col.focus a {
border-bottom: 3px solid #AACC0D;
}
.l-stat__col a:hover .l-stat__col-title {
color: #ff6701;
}

View file

@ -151,14 +151,16 @@
}
);
shortcut.add("Ctrl+Backspace", function(){
if($('form#vstobjects button.cancel')[0]){
// shortcut.add("Ctrl+Backspace", function(){
shortcut.add("Backspace", function(){
console.log("read");
if($('form#vstobjects .button.cancel')[0]){
location.href=$('form#vstobjects input.cancel').attr('onclick').replace("location.href='", "").replace("'","");
}
}, {
'type': 'keydown',
'propagate': false,
'disable_in_input': false,
'disable_in_input': true,
'target': document
}
);