From e246c06c322a35e11f27328b7ccaf6aae0e33013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Thu, 21 Dec 2017 19:16:08 -0500 Subject: [PATCH] Do not silence outline of all elements, and add custom outline where possible - Tweak outlines - Consolidate focus shadows between inputs and buttons, apply custom focus to whole page (i.e. on "Join a channel" form), cleanup - Do not add custom outlines on checkboxes/radios as browsers are not doing this too well - Apply hover effect on all inputs, not just in `#windows` --- client/css/style.css | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index b478b93a..9b27764d 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -100,10 +100,6 @@ h3 { margin: 0; } -input { - outline: 0; -} - button { border: none; background: none; @@ -172,7 +168,7 @@ kbd { margin-bottom: 10px; padding: 9px 17px; text-transform: uppercase; - transition: background 0.2s, border-color 0.2s, color 0.2s; + transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s; word-spacing: 3px; cursor: pointer; /* This is useful for `