Focus and blur styling (via JS) for the install screen language selector. Props jorbin. See #28577

git-svn-id: https://develop.svn.wordpress.org/trunk@29020 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2014-07-08 00:29:47 +00:00
parent 40be2934d4
commit 02a22f7dd4
6 changed files with 54 additions and 3 deletions

View File

@@ -337,7 +337,6 @@ body.language-chooser {
height: 250px;
}
/* TODO:add focus style via JS */
.language-chooser fieldset.focus {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
@@ -355,9 +354,17 @@ body.language-chooser {
.language-chooser input:checked + label{
color:white;
background: #777;
}
.language-chooser .focus input:checked + label{
background: #0074A2;
}
.language-chooser label:hover {
background: #eee;
}
.language-chooser label{
display:block;
}
@@ -373,3 +380,5 @@ body.language-chooser {
clip: rect(0 0 0 0);
border: 0;
}
}