# HG changeset patch # User Steve Losh # Date 1276411108 14400 # Node ID 92e5e6c7159552630b1973be001fd2e7d7cf3809 # Parent 0d78b56ae9aa62ba270a7da8439558636c600a97 web: add focus css for buttons diff -r 0d78b56ae9aa -r 92e5e6c71595 review/static/style.css --- a/review/static/style.css Sun Jun 13 02:35:46 2010 -0400 +++ b/review/static/style.css Sun Jun 13 02:38:28 2010 -0400 @@ -87,6 +87,11 @@ margin-top: 1px; margin-bottom: -1px; } +body .header .remotes form a:focus { + box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); + -moz-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); + -webkit-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); +} body .header .remotes form a span { display: inline-block; padding: 0 6px; @@ -264,6 +269,11 @@ margin-top: 1px; margin-bottom: -1px; } +#changeset .content .activate a:focus { + box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); + -moz-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); + -webkit-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); +} #changeset .content .activate a span { display: inline-block; padding: 0 6px; @@ -306,6 +316,11 @@ margin-top: 1px; margin-bottom: -1px; } +#changeset .content a.submit:focus { + box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); + -moz-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); + -webkit-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); +} #changeset .content a.submit span { display: inline-block; padding: 0 6px; @@ -347,6 +362,11 @@ margin-top: 1px; margin-bottom: -1px; } +#changeset .content a.cancel:focus { + box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); + -moz-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); + -webkit-box-shadow: 0px 0px 3px rgba(100, 100, 200, 0.9); +} #changeset .content a.cancel span { display: inline-block; padding: 0 6px; diff -r 0d78b56ae9aa -r 92e5e6c71595 review/static/style.less --- a/review/static/style.less Sun Jun 13 02:35:46 2010 -0400 +++ b/review/static/style.less Sun Jun 13 02:38:28 2010 -0400 @@ -47,6 +47,9 @@ margin-top: 1px; margin-bottom: -1px; } + &:focus { + .box-shadow(0px, 0px, 3px, rgba(100,100,200,0.9)); + } } .button-span(@bgcolor: #ddd, @fcolor: #000000, @fsize: 14px, @lheight: 1.75) { display: inline-block;