summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_sharing/css/404.css12
-rw-r--r--apps/files_sharing/public.php1
-rw-r--r--core/css/styles.css12
3 files changed, 13 insertions, 12 deletions
diff --git a/apps/files_sharing/css/404.css b/apps/files_sharing/css/404.css
new file mode 100644
index 00000000000..e35e1a5808c
--- /dev/null
+++ b/apps/files_sharing/css/404.css
@@ -0,0 +1,12 @@
+
+#body-login .error-broken-link{
+ text-align:left;color:#fff;
+}
+
+#body-login .error-broken-link ul{
+ margin:10px 0 10px 0;
+}
+
+#body-login .error-broken-link ul li{
+ list-style: disc;list-style-position:inside;
+}
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 6878109f7b9..741ab145384 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -239,6 +239,7 @@ $errorTemplate = new OCP\Template('files_sharing', 'part.404', '');
$errorContent = $errorTemplate->fetchPage();
header('HTTP/1.0 404 Not Found');
+OCP\Util::addStyle('files_sharing', '404');
$tmpl = new OCP\Template('', '404', 'guest');
$tmpl->assign('content', $errorContent);
$tmpl->printPage();
diff --git a/core/css/styles.css b/core/css/styles.css
index 1e2ce3862a3..0dd66fb5b7c 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -304,18 +304,6 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; }
#body-login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; }
#body-login .success { background:#d7fed7; border:1px solid #0f0; width: 35%; margin: 30px auto; padding:1em; text-align: center;}
-#body-login .error-broken-link{
- text-align:left;
-}
-
-#body-login .error-broken-link ul{
- margin:10px 0 10px 0;
-}
-
-#body-login .error-broken-link ul li{
- list-style: disc;list-style-position:inside;
-}
-
/* Show password toggle */
#show, #dbpassword {
position: absolute;