diff options
Diffstat (limited to 'layout/style/res/forms.css')
-rw-r--r-- | layout/style/res/forms.css | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layout/style/res/forms.css b/layout/style/res/forms.css index 281b75d769..db75151d48 100644 --- a/layout/style/res/forms.css +++ b/layout/style/res/forms.css @@ -593,11 +593,15 @@ input[type="checkbox"]:disabled:hover:active { cursor: inherit; } +% On Mac, the native theme takes care of this. +% See nsNativeThemeCocoa::ThemeDrawsFocusForWidget. +%ifndef XP_MACOSX input[type="checkbox"]:-moz-focusring, input[type="radio"]:-moz-focusring { /* Don't specify the outline-color, we should always use initial value. */ outline: 1px dotted; } +%endif input[type="checkbox"]:hover:active, input[type="radio"]:hover:active { @@ -719,10 +723,12 @@ input[type="color"]:-moz-system-metric(color-picker-available):active:hover, input[type="reset"]:active:hover, input[type="button"]:active:hover, input[type="submit"]:active:hover { +%ifndef XP_MACOSX padding-block-start: 0px; padding-inline-end: 5px; padding-block-end: 0px; padding-inline-start: 7px; +%endif border-style: inset; background-color: ButtonFace; } |