From d43be5c31e8517410d0fc36fde79ff9ec30f0a24 Mon Sep 17 00:00:00 2001 From: Dmitriy Corpsee Date: Sun, 17 Nov 2013 23:38:19 +0700 Subject: [PATCH 1/2] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BF=D0=BE=D0=B4=D1=81=D0=B2=D0=B5=D1=82?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=B4=D0=BB=D1=8F=20f-valid=20=D0=B8=20f-invali?= =?UTF-8?q?d=20=D1=84=D0=BE=D1=80=D0=BC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Исправлена подсветка для f-valid и f-invalid форм. --- less/f-forms.less | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/less/f-forms.less b/less/f-forms.less index 0f7948b..6102995 100644 --- a/less/f-forms.less +++ b/less/f-forms.less @@ -278,6 +278,11 @@ input[disabled] { input[type="text"], input[type="password"] { border-color: @color_green; + + &:focus, + &:active { + .box-shadow(0 0 5px rgba(133, 153, 0, .3)); + } } } .f-invalid { @@ -292,5 +297,10 @@ input[disabled] { input[type="text"], input[type="password"] { border-color: @color_red; + + &:focus, + &:active { + .box-shadow(0 0 5px rgba(220, 50, 47, .3)); + } } -} \ No newline at end of file +} From 740dda99e06fd39ebea39bdc6d71c0eb7ceb7dc1 Mon Sep 17 00:00:00 2001 From: Dmitriy Corpsee Date: Sun, 17 Nov 2013 23:44:11 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=BE=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D0=BD=20=D1=86=D0=B2=D0=B5=D1=82/=D0=BF=D1=80=D0=BE=D0=B7?= =?UTF-8?q?=D1=80=D0=B0=D1=87=D0=BD=D0=BE=D1=81=D1=82=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Подобран цвет/прозрачность --- less/f-forms.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/less/f-forms.less b/less/f-forms.less index 6102995..4735087 100644 --- a/less/f-forms.less +++ b/less/f-forms.less @@ -281,7 +281,7 @@ input[disabled] { &:focus, &:active { - .box-shadow(0 0 5px rgba(133, 153, 0, .3)); + .box-shadow(0 0 5px rgba(133, 153, 0, .5)); } } } @@ -300,7 +300,7 @@ input[disabled] { &:focus, &:active { - .box-shadow(0 0 5px rgba(220, 50, 47, .3)); + .box-shadow(0 0 5px rgba(220, 50, 47, .5)); } } }