<?php
class AdminajaxpopupController extends CubeIT_Controller_Admin_AdminajaxpopupController {
-
-}
+ public function init() {
+ parent::init();
-?>
+ $this->setPopupMaxWidth(1440);
+ $this->setPopupPadding(20);
+ $this->setVerticalMargin(20);
+ $this->setOverlayOpacity(0);
+ }
+}
class AjaxpopupController extends CubeIT_Controller_AjaxpopupController {
- public function quoteForm() {
- $this->setPopupMaxWidth(1440);
- $this->setPopupPadding(20);
- $this->setVerticalMargin(20);
- $this->setOverlayOpacity(0.5);
- return $this->view->quoteForm('requestQuotePopup'); // Different ID for popup form so it doesn't conflict with contact page form
- }
+ public function init() {
+ parent::init();
- public function contents($id = null, $locale = null) {
- $this->setPopupMaxWidth('1000'); // Increase default popup width to allow more room for admin lists
- return parent::contents($id, $locale);
- }
+ $this->setPopupMaxWidth(1440);
+ $this->setPopupPadding(20);
+ $this->setVerticalMargin(20);
+ $this->setOverlayOpacity(0);
+ }
+
+ public function quoteForm() {
+ return $this->view->quoteForm('requestQuotePopup'); // Different ID for popup form so it doesn't conflict with contact page form
+ }
}
\ No newline at end of file
}\r
});\r
\r
+ $("body").append($('#ajaxLoader'));\r
$("body").prepend($("#nav-icon"));\r
}
\ No newline at end of file
// -- transition times
@transition-time-buttons: 200ms;
+@transition-time-popin: 600ms;
//-- Break points
@s1280: ~"(min-width: 1280px)";
opacity: 0;\r
transition: opacity @transition-time-buttons;\r
\r
+ #mm-0, #h, .pagination {\r
+ transition: filter, -webkit-filter @transition-time-popin;\r
+ }\r
+\r
&.popupOpen {\r
- #mm-0, #h {\r
- filter: blur(5px);\r
+ #mm-0, #h, .pagination {\r
+ filter: blur(50px);\r
}\r
}\r
\r
}\r
}\r
\r
+.popupWindow .back {\r
+ box-shadow: none;\r
+}\r
+\r
main {\r
background-color: #fff;\r
max-width: @content-max-width;\r
@media @m768 {\r
padding-top: 80px;\r
}\r
+}\r
+\r
+#ajaxLoader {\r
+ cursor: wait;\r
+ .c {\r
+ visibility: hidden;\r
+ }\r
+}\r
+\r
+.popupLayer {\r
+ .popupWindow {\r
+ opacity: 0;\r
+ transition: opacity @transition-time-popin;\r
+ }\r
+\r
+ &.display {\r
+ .popupWindow {\r
+ opacity: 1;\r
+ }\r
+ }\r
}
\ No newline at end of file
@import "000-imports";\r
\r
header#h {\r
- transition: left 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;\r
+ transition: left 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease, filter, -webkit-filter @transition-time-popin;\r
\r
position: fixed;\r
top: 0px;\r