Timeslider accessibility and Bugfixes

This commit is contained in:
John McLear 2015-03-31 14:47:00 +01:00
parent 0f0a6c73ac
commit 73073dcbc1
3 changed files with 18 additions and 2 deletions

View File

@ -137,8 +137,21 @@ a img {
top: 1px;
}
.toolbar ul li a .buttontext {
color: #222;
color: #666;
font-size: 14px;
border:none;
background:none;
margin-top:1px;
color:#666;
}
.buttontext::-moz-focus-inner {
padding: 0;
border: 0;
}
.buttontext:focus{
border: 1px solid #666;
}
}
.toolbar ul li a.grouped-left {
border-radius: 3px 0 0 3px;

View File

@ -330,7 +330,6 @@ function loadBroadcastSliderJS(fireWhenAllScriptsAreLoaded)
}
}
else if (code == 32) playpause();
});
$(window).resize(function()

View File

@ -308,6 +308,10 @@ var padeditbar = (function()
var editbarPosition = 0;
function bodyKeyEvent(evt){
// Check we're on a pad and not on the timeslider
// Or some other window I haven't thought about!
if(typeof pad === 'undefined') return false;
// If the event is Alt F9 or Escape & we're already in the editbar menu
// Send the users focus back to the pad
if((evt.keyCode === 120 && evt.altKey) || evt.keyCode === 27){