From: Victor Dubiniuk Date: Mon, 29 Jul 2013 14:36:59 +0000 (+0300) Subject: Move styles from core to app X-Git-Tag: v6.0.0alpha2~382^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dec7b2fa40a7eeb0c0640a798e4c7443d1511bd5;p=nextcloud-server.git Move styles from core to app --- 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;