mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-20 01:51:39 +00:00
Add a focus border for xbl checkboxes and radio buttons (bug 132885). r=ben, sr=blake, a=brendan.
This commit is contained in:
parent
bdda93d978
commit
9be0e997bb
@ -48,6 +48,13 @@ input[type="checkbox"]:hover:active {
|
||||
background-color: -moz-Dialog;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:focus {
|
||||
-moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
|
||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDHighlight;
|
||||
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDHighlight;
|
||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
|
||||
}
|
||||
|
||||
/* ..... disabled state ..... */
|
||||
|
||||
input[type="checkbox"][disabled="true"] {
|
||||
|
@ -65,6 +65,10 @@ input[type="radio"]:hover:active {
|
||||
background-color: -moz-Dialog;
|
||||
}
|
||||
|
||||
input[type="radio"]:focus > xul|*.input-radio-check-box2 {
|
||||
border: 1px solid ThreeDDarkShadow;
|
||||
}
|
||||
|
||||
/* ..... selected state ..... */
|
||||
|
||||
input[type="radio"]:checked > xul|*.input-radio-check-box2 {
|
||||
|
@ -48,6 +48,13 @@ input[type="checkbox"]:hover:active {
|
||||
background-color: -moz-Dialog;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:focus {
|
||||
-moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
|
||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDHighlight;
|
||||
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDHighlight;
|
||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
|
||||
}
|
||||
|
||||
/* ..... disabled state ..... */
|
||||
|
||||
input[type="checkbox"][disabled="true"] {
|
||||
|
@ -65,6 +65,10 @@ input[type="radio"]:hover:active {
|
||||
background-color: -moz-Dialog;
|
||||
}
|
||||
|
||||
input[type="radio"]:focus > xul|*.input-radio-check-box2 {
|
||||
border: 1px solid ThreeDDarkShadow;
|
||||
}
|
||||
|
||||
/* ..... selected state ..... */
|
||||
|
||||
input[type="radio"]:checked > xul|*.input-radio-check-box2 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user