Skip to content

Commit

Permalink
[WebUI] Better focus ring drawing.
Browse files Browse the repository at this point in the history
Ensure that focus rings do not change width when the currently focused
button becomes disabled (due to action triggered by button)

BUG=321928
R=estade@chromium.org

Review URL: https://codereview.chromium.org/149603004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249210 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
groby@chromium.org committed Feb 6, 2014
1 parent 620ff56 commit 3327e1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/webui/resources/css/widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ input[type='radio'] {
color: #444;
font: inherit;
margin: 0 1px 0 0;
outline: none;
text-shadow: 0 1px 0 rgb(240, 240, 240);
}

Expand Down Expand Up @@ -98,6 +99,7 @@ textarea {
/* Use min-height to accommodate addditional padding for touch as needed. */
min-height: 2em;
padding: 3px;
outline: none;
<if expr="is_win or is_macosx or is_ios">
/* For better alignment between adjacent buttons and inputs. */
padding-bottom: 4px;
Expand Down

0 comments on commit 3327e1c

Please sign in to comment.