From 901dbfbc1ba23593952f67de12fdcfb438db9653 Mon Sep 17 00:00:00 2001 From: datagear Date: Thu, 25 Feb 2021 16:33:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=90=84=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E5=99=A8=E4=B8=AD=E8=BE=93=E5=85=A5=E6=A1=86focus=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/org/datagear/web/static/css/common.css | 6 ++++++ .../resources/org/datagear/web/static/theme/dark/common.css | 6 ++++++ .../org/datagear/web/static/theme/green/common.css | 6 ++++++ .../org/datagear/web/static/theme/light/common.css | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/datagear-web/src/main/resources/org/datagear/web/static/css/common.css b/datagear-web/src/main/resources/org/datagear/web/static/css/common.css index 4c7580bd..a3e72fd5 100644 --- a/datagear-web/src/main/resources/org/datagear/web/static/css/common.css +++ b/datagear-web/src/main/resources/org/datagear/web/static/css/common.css @@ -32,6 +32,12 @@ a.link:hover{ text-decoration: none; } +input:focus, +button:focus, +textarea:focus{ + outline: none; +} + .fill-parent{ position: absolute; top: 0px; diff --git a/datagear-web/src/main/resources/org/datagear/web/static/theme/dark/common.css b/datagear-web/src/main/resources/org/datagear/web/static/theme/dark/common.css index 2fc8542b..b1bbe1b7 100644 --- a/datagear-web/src/main/resources/org/datagear/web/static/theme/dark/common.css +++ b/datagear-web/src/main/resources/org/datagear/web/static/theme/dark/common.css @@ -22,6 +22,12 @@ a.link:hover{ color: #f58400; } +input:focus, +button:focus, +textarea:focus{ + box-shadow: 0px 0px 4px 0px #b3b3b3; +} + /*表单*/ form .form-content .form-item label.error{ color: red; diff --git a/datagear-web/src/main/resources/org/datagear/web/static/theme/green/common.css b/datagear-web/src/main/resources/org/datagear/web/static/theme/green/common.css index 7f0aeede..d9eeb1b1 100644 --- a/datagear-web/src/main/resources/org/datagear/web/static/theme/green/common.css +++ b/datagear-web/src/main/resources/org/datagear/web/static/theme/green/common.css @@ -22,6 +22,12 @@ a.link:hover{ color: #6ddb19; } +input:focus, +button:focus, +textarea:focus{ + box-shadow: 0px 0px 4px 0px #70ec13; +} + /*表单*/ form .form-content .form-item label.error{ color: red; diff --git a/datagear-web/src/main/resources/org/datagear/web/static/theme/light/common.css b/datagear-web/src/main/resources/org/datagear/web/static/theme/light/common.css index 26d5bb4c..4c884cbe 100644 --- a/datagear-web/src/main/resources/org/datagear/web/static/theme/light/common.css +++ b/datagear-web/src/main/resources/org/datagear/web/static/theme/light/common.css @@ -22,6 +22,12 @@ a.link:hover{ color: #003eff; } +input:focus, +button:focus, +textarea:focus{ + box-shadow: 0px 0px 4px 0px #b2b2b2; +} + /*表单*/ form .form-content .form-item label.error{ color: red;