From da1d2fa72dbd1b6706dd328cd3ae1979d3953f52 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Mon, 18 Jun 2012 13:28:50 +0100 Subject: [PATCH] Give a button highlight whenever it is focused. issue #1774 --- resources/static/css/common.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/static/css/common.css b/resources/static/css/common.css index c12bdae41..3dded675d 100644 --- a/resources/static/css/common.css +++ b/resources/static/css/common.css @@ -176,6 +176,12 @@ button:focus, background-image: linear-gradient(top, #43a6e2, #277ac1); } +button:focus, +.button:focus { + box-shadow: 0 0 1px #fff, 0 0 1px 3px #49ADE3; + box-shadow: 0 0 1px rgba(255, 255, 255, 0.5), 0 0 1px 3px rgba(73, 173, 227, 0.6); +} + button:active, .button:active { background-color: #184a73; -- GitLab