<?php
-class ErrorController extends CubeIT_Controller_ErrorController
-{
+class ErrorController extends CubeIT_Controller_ErrorController {
+ public function e404Action() {
+
+ }
+
}
--- /dev/null
+<?php\r
+$this->headScript()->addScriptAndStyle('504-e404');\r
+$this->headerClass = "light noscrollanim";\r
+\r
+echo '<div id="error">';\r
+echo $this->markupDotclear($this->option('e404'));\r
+echo '</div>';
\ No newline at end of file
--- /dev/null
+registerLoader(load_e404, true);\r
+function load_e404() {\r
+ resize_e404();\r
+ $(window).on('fluidbookresize', resize_e404);\r
+}\r
+\r
+function resize_e404() {\r
+ var wh = getWindowHeight() / zoom;\r
+ $('#error').css('height', wh);\r
+\r
+ var c = $("#error .dotclear");\r
+ $(c).css({paddingTop: $("#h").height() + (wh - $("#h").height() - $(c).outerHeight()) / 2})\r
+}
\ No newline at end of file
--- /dev/null
+@import "000-imports";\r
+\r
+#error {\r
+ background-image: url("/images/error/404/background.jpg");\r
+ background-size: cover;\r
+ min-height: 100%;\r
+\r
+ .dotclear {\r
+ text-align: center;\r
+ color: #ffffff;\r
+ h1, p {\r
+ font-weight: 400;\r
+ font-family: @playfair;\r
+ padding:0 20px;\r
+ }\r
+\r
+ h1 {\r
+ font-size: 150px;\r
+\r
+ @media @m1024{\r
+ font-size: 100px;\r
+ }\r
+ @media @m640{\r
+ font-size: 50px;\r
+ }\r
+ }\r
+\r
+ p {\r
+ font-size: 25px;\r
+\r
+ @media @m1024{\r
+ font-size: 20px;\r
+ }\r
+\r
+ @media @m640{\r
+ font-size: 15px;\r
+ }\r
+ }\r
+\r
+ a {\r
+ .button();\r
+ .background-button-green();\r
+ .longarrow-button(16px, 40px, 18px);\r
+ color: #fff;\r
+ margin-top: 30px;\r
+ font-size: 12px;\r
+ }\r
+ }\r
+}
\ No newline at end of file