From f5bee0f9c14ec43cd2bc35a4e566930b36b8c863 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Tue, 7 Oct 2014 14:22:35 +0200 Subject: [PATCH] renamde form-control focus state class to .focus --- app/assets/stylesheets/zzz.css.erb | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index 220644930..bd2c5239d 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -474,7 +474,8 @@ textarea, } .form-control:focus, - .form-control.is-focused { + .form-control.focus, + .tokenfield.focus { border-color: hsl(200,71%,59%); box-shadow: 0 0 0 3px hsl(201,62%,90%); } @@ -486,13 +487,9 @@ textarea, margin-bottom: 28px; } - .tokenfield.focus { - box-shadow: none; - border-color: hsl(0,0%,90%); - } - .has-error .form-control, - .has-error .form-control:focus { + .has-error .form-control:focus, + .has-error .form-control.focus { box-shadow: none; border-color: red !important; }