summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-27 22:02:32 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-28 09:29:08 +0200
commite744b029ff5cba007a11d031289b6768e3e5e9b9 (patch)
treeb83e47a2d8866e1428347246262faf45a4063e70 /core
parent02de67773c5ce1e38a90ce45b60ce249ed9a4042 (diff)
downloadnextcloud-server-e744b029ff5cba007a11d031289b6768e3e5e9b9.tar.gz
nextcloud-server-e744b029ff5cba007a11d031289b6768e3e5e9b9.zip
Fix invalid inline input confirm border
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/inputs.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss
index 1b9eae628b1..68d9b249cd3 100644
--- a/core/css/inputs.scss
+++ b/core/css/inputs.scss
@@ -248,6 +248,11 @@ input {
/* only show confirm borders if input is not focused */
&:not(:active):not(:hover):not(:focus){
+ &:invalid {
+ + .icon-confirm {
+ border-color: var(--color-error);
+ }
+ }
+ .icon-confirm {
&:active,
&:hover,
@@ -263,11 +268,6 @@ input {
&:active,
&:hover,
&:focus {
- &:invalid {
- + .icon-confirm {
- border-color: var(--color-error);
- }
- }
+ .icon-confirm {
border-color: var(--color-primary-element) !important;
border-left-color: transparent !important;