From cd146e075057bbaab376a6cf7e10854e44c222a2 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sat, 20 Sep 2014 19:02:50 +0200 Subject: [PATCH] Tweaked CSS rules related to vendor stylesheets --- TODO | 1 - public_html/css/forms.css | 13 ++++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index c872aa4a..d545cbdb 100644 --- a/TODO +++ b/TODO @@ -144,7 +144,6 @@ refactors: individual presenters to use PresenterManager miscellaneous: - - remove dotted borders from active buttons - add customizable favicon - add add customizable logo - add log engine and log everything that should be logged diff --git a/public_html/css/forms.css b/public_html/css/forms.css index 247dbcaa..c71af744 100644 --- a/public_html/css/forms.css +++ b/public_html/css/forms.css @@ -44,6 +44,10 @@ input[type=password] { width: 100%; box-sizing: border-box; } +/* remove chrome yellow background for inputs with autocompletion */ +input:-webkit-autofill { + -webkit-box-shadow: 0 0 0px 1000px #fafafa inset; +} button, input[type=button] { @@ -74,10 +78,17 @@ input[type=button]:not(:disabled):hover.highlight { background: #dfa; } -textarea:focus, input:focus { +button:focus, +textarea:focus, +input:focus { outline: none; } +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; +} .tag-input.focused, +button:focus, textarea:focus, input:not(.tag-real-input):focus { box-shadow: 0 0 0 1px #5da inset;