Integrates and moves improved CSS for outline.

This commit is contained in:
zorkow 2015-09-01 19:34:50 +01:00
parent db2869a2d3
commit 7054f37677
2 changed files with 17 additions and 7 deletions

View File

@ -193,12 +193,6 @@
},
".MathJax_MenuClose:hover span": {
"background-color":"#CCC!important"
},
".MathJax:focus": {
display:"inline-block",
outline:"none",
border:"1px dotted",
margin:"-1px"
}
}
});

View File

@ -344,7 +344,23 @@
"#MathJax_Tooltip *": {
filter: "none", opacity:1, background:"transparent" // for IE
},
// Focus elements for keyboard tabbing.
".MathJax:focus": (
(MathJax.Hub.Browser.isSafari || MathJax.Hub.Browser.isChrome) ? {
display:"inline-block",
outline:"none",
margin:"-3px",
padding:"3px",
"-webkit-box-shadow": "0px 0px 5px #345, inset 0px 0px 5px #345",
"box-shadow": "0px 0px 5px #345, inset 0px 0px 5px #345"
} : {
display:"inline-block",
outline:"none",
border:"1px dotted",
margin:"-1px"
}),
//
// Used for testing web fonts against the default font used while
// web fonts are loading