[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.
- [taler-wallet-core] branch master updated (0c19050ae -> 46835d515), gnunet, 2022/12/07
- [taler-wallet-core] 03/19: fix: remove red style when input is invalid,
gnunet <=
- [taler-wallet-core] 04/19: no-fix: move out useBackend hook, gnunet, 2022/12/07
- [taler-wallet-core] 02/19: no-fix: move pagestate provider to app component and move some common hooks to web-utils, gnunet, 2022/12/07
- [taler-wallet-core] 13/19: also listen for tab title change, gnunet, 2022/12/07
- [taler-wallet-core] 01/19: pretty, gnunet, 2022/12/07
- [taler-wallet-core] 05/19: fix: empty form should not allow the "send" button, gnunet, 2022/12/07
- [taler-wallet-core] 19/19: no-fix: user logger instead of console.log, gnunet, 2022/12/07
- [taler-wallet-core] 11/19: no-fix: removing unused showPublicHistories, gnunet, 2022/12/07
- [taler-wallet-core] 15/19: fix jsx config, gnunet, 2022/12/07
- [taler-wallet-core] 14/19: fix: updating the title is better that location.hash, gnunet, 2022/12/07
- [taler-wallet-core] 08/19: no-fix: move out routing, gnunet, 2022/12/07