In response to regressions on .com, fix MEjs styles for screen reader text and overflow on the volume slider.

Props obenland.
See #30281.

Built from https://develop.svn.wordpress.org/trunk@30907


git-svn-id: http://core.svn.wordpress.org/trunk@30897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-12-16 15:13:24 +00:00
parent e328484e66
commit f492a8f7dc
1 changed files with 29 additions and 0 deletions

View File

@ -13,6 +13,10 @@
background: #222; background: #222;
} }
.mejs-controls a.mejs-horizontal-volume-slider {
display: table;
}
.mejs-controls .mejs-time-rail .mejs-time-loaded, .mejs-controls .mejs-time-rail .mejs-time-loaded,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
background: #fff; background: #fff;
@ -33,6 +37,31 @@
border-radius: 0; border-radius: 0;
} }
.mejs-controls .mejs-offscreen {
clip: rect(1px, 1px, 1px, 1px);
position: absolute;
}
.mejs-controls a:focus > .mejs-offscreen {
background-color: #f1f1f1;
border-radius: 3px;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto;
color: #21759b;
display: block;
font-size: 14px;
font-weight: bold;
height: auto;
line-height: normal;
padding: 15px 23px 14px;
position: absolute;
left: 0;
top: 15px;
text-decoration: none;
text-transform: none;
width: auto;
}
.mejs-overlay-loading { .mejs-overlay-loading {
background: transparent; background: transparent;
} }