aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-03-05 17:37:05 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-03-07 13:17:37 +0100
commit4e6043fd6b8853a6ea20fab6d9f71e21f35f0825 (patch)
tree19886f01762dab4b4086757f2b242820bcbae74f /apps
parent955c2ee1a7d4936aa5fc4168cb1c8bff41f7ad8b (diff)
downloadnextcloud-server-4e6043fd6b8853a6ea20fab6d9f71e21f35f0825.tar.gz
nextcloud-server-4e6043fd6b8853a6ea20fab6d9f71e21f35f0825.zip
Fixed tooltip positionning & error display
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/css/files.scss5
-rw-r--r--apps/files/js/newfilemenu.js2
2 files changed, 4 insertions, 3 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index 3012ca171aa..f2d2e7d54f3 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -38,10 +38,11 @@
font-weight: normal;
}
-.newFileMenu .error, #fileList .error {
+.newFileMenu .error,
+.newFileMenu .error + .icon-confirm,
+#fileList .error {
color: $color-error;
border-color: $color-error;
- box-shadow: 0 0 6px #f8b9b7;
}
/* FILE TABLE */
diff --git a/apps/files/js/newfilemenu.js b/apps/files/js/newfilemenu.js
index 0b28e158fe0..e27ccd9771f 100644
--- a/apps/files/js/newfilemenu.js
+++ b/apps/files/js/newfilemenu.js
@@ -157,7 +157,7 @@
}
} catch (error) {
$input.attr('title', error);
- $input.tooltip({placement: 'right', trigger: 'manual'});
+ $input.tooltip({placement: 'right', trigger: 'manual', 'container': '.newFileMenu'});
$input.tooltip('fixTitle');
$input.tooltip('show');
$input.addClass('error');