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; 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 { .l-stat__col a:hover .l-stat__col-title {
color: #ff6701; color: #ff6701;
} }

View file

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