mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Timeslider accessibility and Bugfixes
This commit is contained in:
parent
0f0a6c73ac
commit
73073dcbc1
3 changed files with 18 additions and 2 deletions
|
@ -137,8 +137,21 @@ a img {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
}
|
}
|
||||||
.toolbar ul li a .buttontext {
|
.toolbar ul li a .buttontext {
|
||||||
color: #222;
|
color: #666;
|
||||||
font-size: 14px;
|
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 {
|
.toolbar ul li a.grouped-left {
|
||||||
border-radius: 3px 0 0 3px;
|
border-radius: 3px 0 0 3px;
|
||||||
|
|
|
@ -330,7 +330,6 @@ function loadBroadcastSliderJS(fireWhenAllScriptsAreLoaded)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (code == 32) playpause();
|
else if (code == 32) playpause();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$(window).resize(function()
|
$(window).resize(function()
|
||||||
|
|
|
@ -308,6 +308,10 @@ var padeditbar = (function()
|
||||||
var editbarPosition = 0;
|
var editbarPosition = 0;
|
||||||
|
|
||||||
function bodyKeyEvent(evt){
|
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
|
// If the event is Alt F9 or Escape & we're already in the editbar menu
|
||||||
// Send the users focus back to the pad
|
// Send the users focus back to the pad
|
||||||
if((evt.keyCode === 120 && evt.altKey) || evt.keyCode === 27){
|
if((evt.keyCode === 120 && evt.altKey) || evt.keyCode === 27){
|
||||||
|
|
Loading…
Reference in a new issue