Skip to content

Commit

Permalink
No focus style for disabled buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Nov 14, 2012
1 parent eff95ad commit a89cef2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion skins/moono/editor_ie.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ This file contains styles to used by all versions of Internet Explorer only.
/* Base it on editor.css, overriding it with styles defined in this file. */
@import url("editor.css");

.cke_button_disabled
a.cke_button_disabled,

/* Those two are to overwrite the gradient filter since we cannot have both of them. */
a.cke_button_disabled:focus,
a.cke_button_disabled:active
{
filter: alpha(opacity = 30);
}
Expand Down
6 changes: 4 additions & 2 deletions skins/moono/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ a.cke_button
button cannot be used (grayed-out).
i.e. paste button remains disabled when there is nothing in the clipboard to
be pasted. */
.cke_button_disabled
.cke_button_disabled .cke_button_icon
{
opacity: 0.3;
}
Expand All @@ -195,7 +195,9 @@ a.cke_button_on:active

a.cke_button_off:hover,
a.cke_button_off:focus,
a.cke_button_off:active
a.cke_button_off:active,
a.cke_button_disabled:focus,
a.cke_button_disabled:active
{
-moz-box-shadow: 0 0 1px rgba(0,0,0,.3) inset;
-webkit-box-shadow: 0 0 1px rgba(0,0,0,.3) inset;
Expand Down

0 comments on commit a89cef2

Please sign in to comment.