gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 03/19: fix: remove red style when input is invalid


From: gnunet
Subject: [taler-wallet-core] 03/19: fix: remove red style when input is invalid
Date: Wed, 07 Dec 2022 20:08:31 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

commit bb0955d89c32471fb228326e96a721fcd346d0d1
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed Dec 7 09:06:42 2022 -0300

    fix: remove red style when input is invalid
---
 packages/demobank-ui/src/scss/bank.scss |  2 +-
 packages/demobank-ui/src/scss/pure.scss | 28 +++++++++++++++++-----------
 2 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/packages/demobank-ui/src/scss/bank.scss 
b/packages/demobank-ui/src/scss/bank.scss
index da3b89e46..dba2ee3d3 100644
--- a/packages/demobank-ui/src/scss/bank.scss
+++ b/packages/demobank-ui/src/scss/bank.scss
@@ -139,7 +139,7 @@ input {
  */
 #main .currency-indicator {
   color: black;
-  border-radius: 0px 4px 4px 0px;
+  border-radius: 4px 0px 0px 4px;
   position: relative;
 }
 
diff --git a/packages/demobank-ui/src/scss/pure.scss 
b/packages/demobank-ui/src/scss/pure.scss
index af98eb293..652d20edf 100644
--- a/packages/demobank-ui/src/scss/pure.scss
+++ b/packages/demobank-ui/src/scss/pure.scss
@@ -910,17 +910,23 @@ since IE8 won't execute CSS that contains a CSS3 selector.
   border-color: #ccc;
 }
 
-.pure-form input:focus:invalid,
-.pure-form textarea:focus:invalid,
-.pure-form select:focus:invalid {
-  color: #b94a48;
-  border-color: #e9322d;
-}
-.pure-form input[type="file"]:focus:invalid:focus,
-.pure-form input[type="radio"]:focus:invalid:focus,
-.pure-form input[type="checkbox"]:focus:invalid:focus {
-  outline-color: #e9322d;
-}
+/**
+ * Even if we add novalidate property
+ * in the form, the styles are applied for
+ * invalid elements so we need to remove this styles
+ *
+ */
+// .pure-form input:focus:invalid,
+// .pure-form textarea:focus:invalid,
+// .pure-form select:focus:invalid {
+//   color: #b94a48;
+//   border-color: #e9322d;
+// }
+// .pure-form input[type="file"]:focus:invalid:focus,
+// .pure-form input[type="radio"]:focus:invalid:focus,
+// .pure-form input[type="checkbox"]:focus:invalid:focus {
+//   outline-color: #e9322d;
+// }
 .pure-form select {
   /* Normalizes the height; padding is not sufficient. */
   height: 2.25em;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]