You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/03/06 09:30:09 UTC

[royale-asjs] branch develop updated: jewel-css: remove focus blue ring that shows when a control is disabled and gets tabindex=-1

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 5f59814  jewel-css: remove focus blue ring that shows when a control is disabled and gets tabindex=-1
5f59814 is described below

commit 5f59814a8d3d45cb2528508a5ee63003abb6931f
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Mar 6 10:29:59 2020 +0100

    jewel-css: remove focus blue ring that shows when a control is disabled and gets tabindex=-1
---
 frameworks/projects/Jewel/src/main/resources/defaults.css | 4 ++++
 frameworks/projects/Jewel/src/main/sass/_global.sass      | 8 ++------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/resources/defaults.css b/frameworks/projects/Jewel/src/main/resources/defaults.css
index 117e980..9f3e42f 100644
--- a/frameworks/projects/Jewel/src/main/resources/defaults.css
+++ b/frameworks/projects/Jewel/src/main/resources/defaults.css
@@ -28,6 +28,10 @@ html, body {
   border: 0;
 }
 
+input:focus, textarea:focus, select:focus, div:focus, label:focus {
+  outline: none;
+}
+
 select::-ms-expand {
   display: none;
 }
diff --git a/frameworks/projects/Jewel/src/main/sass/_global.sass b/frameworks/projects/Jewel/src/main/sass/_global.sass
index 0ddfa5a..0a8a2f3 100644
--- a/frameworks/projects/Jewel/src/main/sass/_global.sass
+++ b/frameworks/projects/Jewel/src/main/sass/_global.sass
@@ -32,12 +32,8 @@ html, body
 ::-moz-focus-inner, ::-moz-focus-outer
 	border: 0
 
-// \:focus
-// 	outline: 0
-
-// \:disabled
-// 	pointer-events: none
-	
+input:focus, textarea:focus, select:focus, div:focus, label:focus
+	outline: none
 
 select::-ms-expand
 	display: none