Move styles from core to app
This commit is contained in:
parent
97f2c393c1
commit
dec7b2fa40
3 changed files with 13 additions and 12 deletions
12
apps/files_sharing/css/404.css
Normal file
12
apps/files_sharing/css/404.css
Normal file
|
@ -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;
|
||||
}
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue