about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-07 18:45:44 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-07 18:45:44 +0100
commita39a92bd22b89f09b9f208b767e2a674aaa05777 (patch)
tree8aa4a5985a4b9206cb7a5f1dc58f9d775d464c7e /app
parentbec47e40f51b9f4688a85ff80df3aaca359a7f0b (diff)
Fix #135 - More prominent focus style for inputs
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/forms.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/assets/stylesheets/forms.scss b/app/assets/stylesheets/forms.scss
index fc670a130..ad2e30b61 100644
--- a/app/assets/stylesheets/forms.scss
+++ b/app/assets/stylesheets/forms.scss
@@ -52,9 +52,11 @@ code {
 
   input[type=text], input[type=email], input[type=password], textarea {
     background: transparent;
+    box-sizing: border-box;
     border: 0;
     border-bottom: 2px solid #9baec8;
-    padding: 7px 0;
+    border-radius: 2px 2px 0 0;
+    padding: 7px 4px;
     font-size: 16px;
     color: #fff;
     display: block;
@@ -76,6 +78,7 @@ code {
 
     &:active, &:focus {
       border-bottom-color: #2b90d9;
+      background: rgba(0, 0, 0, 0.1);
     }
   }