diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..1090bb1 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,8 @@ +{ + "permissions": { + "allow": [ + "Bash(php:*)", + "Bash(python:*)" + ] + } +} diff --git a/admin/ajax.php b/admin/ajax.php index c4ef4c9..91bde26 100644 --- a/admin/ajax.php +++ b/admin/ajax.php @@ -12,12 +12,17 @@ function __autoload_my_classes( $classname ) } if ( file_exists( $f ) ) require_once( $f ); + else + { + $f = '../autoload/' . implode( '/' , $q ) . '/' . $c . '.php'; + if ( file_exists( $f ) ) + require_once( $f ); + } } spl_autoload_register( '__autoload_my_classes' ); require_once '../config.php'; require_once '../libraries/medoo/medoo.php'; -require_once '../libraries/grid/config.php'; date_default_timezone_set('Europe/Warsaw'); session_start(); @@ -31,9 +36,6 @@ $mdb = new medoo( [ 'charset' => 'utf8' ] ); -require_once 'ajax/pages.php'; -require_once 'ajax/articles.php'; require_once 'ajax/shop-category.php'; require_once 'ajax/users.php'; -require_once 'ajax/shop.php'; -?> \ No newline at end of file +?> diff --git a/admin/ajax/shop-category.php b/admin/ajax/shop-category.php index df6f00e..7fce9fd 100644 --- a/admin/ajax/shop-category.php +++ b/admin/ajax/shop-category.php @@ -1,11 +1,13 @@ 'error', 'msg' => 'Podczas zapisywania kolejności wyświetlania produktów wystąpił błąd. Proszę spróbować ponownie.' ]; - - if ( \admin\factory\ShopCategory::save_product_order( \S::get( 'category_id' ), \S::get( 'products' ) ) ) + + $categoryRepository = new \Domain\Category\CategoryRepository( $mdb ); + + if ( $categoryRepository->saveProductOrder( \Shared\Helpers\Helpers::get( 'category_id' ), \Shared\Helpers\Helpers::get( 'products' ) ) ) $response = [ 'status' => 'ok' ]; echo json_encode( $response ); diff --git a/admin/ajax/shop.php b/admin/ajax/shop.php index 899f611..48af10e 100644 --- a/admin/ajax/shop.php +++ b/admin/ajax/shop.php @@ -16,8 +16,10 @@ if ( $a == 'cookie_categories' ) if ( $a == 'save_categories_order' ) { $response = [ 'status' => 'error', 'msg' => 'Podczas zapisywania kolejności kategorii wystąpił błąd. Proszę spróbować ponownie.' ]; - - if ( \admin\factory\ShopCategory::save_categories_order( \S::get( 'categories' ) ) ) + + $categoryRepository = new \Domain\Category\CategoryRepository( $mdb ); + + if ( $categoryRepository->saveCategoriesOrder( \S::get( 'categories' ) ) ) $response = [ 'status' => 'ok' ]; echo json_encode( $response ); diff --git a/admin/ajax/users.php b/admin/ajax/users.php index 7ab9339..eacf900 100644 --- a/admin/ajax/users.php +++ b/admin/ajax/users.php @@ -1,9 +1,11 @@ checkLogin( (string)\Shared\Helpers\Helpers::get( 'login' ), (int)\Shared\Helpers\Helpers::get( 'user_id' ) ); echo json_encode( $response ); exit; -} \ No newline at end of file +} diff --git a/admin/index.php b/admin/index.php index ffd542c..2a228cb 100644 --- a/admin/index.php +++ b/admin/index.php @@ -17,14 +17,20 @@ function __autoload_my_classes( $classname ) $q = explode( '\\', $classname ); $c = array_pop( $q ); $f = '../autoload/' . implode( '/', $q ) . '/class.' . $c . '.php'; + if ( file_exists( $f ) ) require_once( $f ); + else + { + $f = '../autoload/' . implode( '/', $q ) . '/' . $c . '.php'; + if ( file_exists( $f ) ) + require_once( $f ); + } } spl_autoload_register( '__autoload_my_classes' ); require_once '../config.php'; require_once '../libraries/medoo/medoo.php'; -require_once '../libraries/grid/config.php'; require_once '../libraries/rb.php'; require_once '../libraries/phpmailer/class.phpmailer.php'; require_once '../libraries/phpmailer/class.smtp.php'; @@ -38,7 +44,7 @@ define( 'REDBEAN_MODEL_PREFIX', '' ); date_default_timezone_set( 'Europe/Warsaw' ); -$settings = \front\factory\Settings::settings_details(); +$settings = ( new \Domain\Settings\SettingsRepository( $mdb ) )->allSettings(); if ( file_exists( 'config.php' ) ) include 'config.php'; @@ -59,16 +65,18 @@ if ( $_SESSION['ip'] !== $_SERVER['REMOTE_ADDR'] ) exit; } -if ( !$lang_id = \S::get_session( 'current-lang' ) ) +$langRepo = new \Domain\Languages\LanguagesRepository( $mdb ); + +if ( !$lang_id = \Shared\Helpers\Helpers::get_session( 'current-lang' ) ) { - $lang_id = \front\factory\Languages::default_language(); - \S::set_session( 'current-lang', $lang_id ); + $lang_id = $langRepo->defaultLanguage(); + \Shared\Helpers\Helpers::set_session( 'current-lang', $lang_id ); } -if ( !$lang = \S::get_session( 'lang-' . $lang_id ) ) +if ( !$lang = \Shared\Helpers\Helpers::get_session( 'lang-' . $lang_id ) ) { - $lang = \front\factory\Languages::lang_translations( $lang_id ); - \S::set_session( 'lang-' . $lang_id, $lang ); + $lang = $langRepo->translations( $lang_id ); + \Shared\Helpers\Helpers::set_session( 'lang-' . $lang_id, $lang ); } $mdb = new medoo( [ @@ -80,21 +88,22 @@ $mdb = new medoo( [ 'charset' => 'utf8' ] ); -$user = \S::get_session( 'user', true ); +$user = \Shared\Helpers\Helpers::get_session( 'user', true ); -\admin\Site::update(); -\admin\Site::special_actions(); +\admin\App::update(); +\admin\App::special_actions(); $domain = preg_replace( '/^www\./', '', $_SERVER['SERVER_NAME'] ); $cookie_name = 'admin_remember_' . str_replace( '.', '-', $domain ); if ( isset( $_COOKIE[$cookie_name] ) && !isset( $_SESSION['user'] ) ) { + $users = new \Domain\User\UserRepository($mdb); $payload = base64_decode($_COOKIE[$cookie_name]); if ($payload !== false && strpos($payload, '.') !== false) { list($json, $sig) = explode('.', $payload, 2); - $expected_sig = hash_hmac('sha256', $json, \admin\Site::APP_SECRET_KEY); + $expected_sig = hash_hmac('sha256', $json, \admin\App::APP_SECRET_KEY); if (hash_equals($expected_sig, $sig)) { @@ -107,7 +116,7 @@ if ( isset( $_COOKIE[$cookie_name] ) && !isset( $_SESSION['user'] ) ) $user_data = $mdb->get('pp_users', '*', ['AND' => ['login' => $data['login'], 'status' => 1]]); if ($user_data) { - \S::set_session('user', \admin\factory\Users::details($data['login'])); + \Shared\Helpers\Helpers::set_session('user', $users->details($data['login'])); $redirect = $_SERVER['REQUEST_URI'] ?: '/admin/articles/view_list/'; header('Location: ' . $redirect); exit; @@ -127,5 +136,5 @@ if ( isset( $_COOKIE[$cookie_name] ) && !isset( $_SESSION['user'] ) ) ]); } -echo \admin\view\Page::show(); -?> \ No newline at end of file +echo \admin\App::render(); +?> diff --git a/admin/layout/style-css/style.css b/admin/layout/style-css/style.css index eff90a7..4ce4e9c 100644 --- a/admin/layout/style-css/style.css +++ b/admin/layout/style-css/style.css @@ -1 +1 @@ -body{font-size:13px}.form-group::after{content:"";display:block;clear:both}.table .text-bold{font-weight:600}.table .text-center input{margin:auto}.baselinker-delete-linking,.apilo-delete-linking{display:flex;gap:5px;align-items:center;justify-content:center;margin-top:10px;cursor:pointer}tr.status-0 .order-status{color:#5664d2}tr.status-1 .order-status{color:#468639}tr.status-2 .order-status,tr.status-3 .order-status{color:#ff3d60}tr.status-4 .order-status{color:#fcb92c}tr.status-5 .order-status{color:#f7abb0}tr.status-6 .order-status,tr.status-8 .order-status{color:#bfbfbf}tr.status-7 .order-status{color:#95c11f}body{font-family:"Open Sans",sans-serif;color:#2a3042}body a:hover{text-decoration:none}body input:-webkit-autofill,body input:-webkit-autofill:hover,body input:-webkit-autofill:focus textarea:-webkit-autofill,body textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,body select:-webkit-autofill,body select:-webkit-autofill:hover,body select:-webkit-autofill:focus{-webkit-box-shadow:0 0 0px 1000px #fff inset !important}#main{height:100vh}#main .container-fluid{height:100%}#main .container-fluid .row{height:100%}#main .container-fluid .row .unlogged-panel{display:flex;align-items:center;justify-content:center;background:#fff}#main .container-fluid .row .unlogged-panel .login-panel{width:80%}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .login-shoppro{text-align:center;font-size:26px;color:#4aa3ff}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .title{text-align:center;font-size:22px;line-height:24px;font-weight:600;margin-top:50px;margin-bottom:10px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .subtitle{text-align:center;font-size:12px;line-height:20px;font-weight:300;color:#74788d}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal{margin-top:50px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-login{position:relative}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-login:before{position:absolute;content:"Login";color:#74788d;font-size:14px;line-height:21px;top:5px;left:50px;z-index:801}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-password{position:relative}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-password:before{position:absolute;content:"Hasło";color:#74788d;font-size:14px;line-height:21px;top:5px;left:50px;z-index:801}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group input{height:60px;background:rgba(0,0,0,0);padding-top:30px;padding-bottom:10px;padding-left:50px;margin-left:-52px;border:1px solid #dedfe0;box-shadow:none}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .form-control{border:1px solid #dedfe0}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .input-group-text{background:rgba(0,0,0,0);border:none}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .icon{padding-left:20px;padding-right:20px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .icon i{z-index:800}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .sumbit{text-align:center}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .sumbit .btn{background-color:#4aa3ff;color:#fff;border-radius:4px;font-size:14px;line-height:21px;font-weight:400;padding:10px 30px;margin-top:50px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .copyright{text-align:center;font-size:14px;line-height:21px;font-weight:400;color:#74788d;margin-top:100px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .copyright a{color:#74788d}#main .container-fluid .row .unlogged-bg{background:url("/admin/layout/images/bg-unlogged.png") no-repeat right;background-size:cover;display:flex}@media(max-width: 575px){#main .container-fluid .row .unlogged-bg{display:none}}#main .home{position:fixed;z-index:999;color:#fff;top:30px;right:30px}#main .home img{width:30px}@media(max-width: 575px){#main .home img{filter:invert(100%)}}.admin-page{background-color:#f8f8fb}.admin-page .menu{z-index:900;padding:0 25px;background-color:#2a3042;height:100%;position:fixed;top:0;left:0;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none;overflow-y:scroll;overflow-x:hidden;color:#8691b2}.admin-page .menu.visible{display:block}@media(max-width: 575px){.admin-page .menu.visible{width:100vw}}@media(max-width: 991px){.admin-page .menu{display:none}}.admin-page .menu::-webkit-scrollbar{display:none;width:0;height:0}.admin-page .menu .logo{width:100%;color:#fff;background-color:#2a3042;text-align:center;padding:20px 0;font-size:24px;font-weight:400}.admin-page .menu .logo span{font-size:11px;color:#8691b2}.admin-page .menu .logo a{font-size:11px;padding:5px 20px;border-radius:.25rem;display:inline-block;margin-top:10px;transition:ease .3s;text-transform:uppercase;font-weight:700;color:#2a3042;background-color:#fff;border:1px solid #fff}.admin-page .menu .logo a:hover{color:#8691b2;background-color:#2a3042;border:1px solid #8691b2}.admin-page .menu .menu-content .title{text-transform:uppercase;color:#8691b2;font-size:12px;font-weight:700;margin-bottom:10px}.admin-page .menu .menu-content ul{list-style-type:none;padding-inline-start:0px}.admin-page .menu .menu-content ul li a{color:#8691b2;font-size:13px;font-weight:400;line-height:27px;padding:4px 0px;display:block}.admin-page .menu .menu-content ul li a:hover{color:#fff}.admin-page .menu .menu-content ul li a:hover img{filter:brightness(200%)}.admin-page .menu .menu-content ul li a img,.admin-page .menu .menu-content ul li a i{margin-right:20px;width:20px;text-align:center}.preview{width:100%;background:#2a3042;text-align:center;position:sticky;bottom:0;z-index:1020}@media(max-width: 575px){.preview{text-align:left}}.preview:hover a{color:#fff;width:100%;height:100%}.preview:hover img{filter:brightness(200%)}.preview a{text-transform:uppercase;padding:20px 0;color:#8691b2;font-size:12px;font-weight:700;margin-bottom:10px;display:inline-block;margin-bottom:0}.preview a img{margin-top:-4px}.site-content{background-color:#fff;margin-left:244px}.site-content.with-menu{width:100%}@media(min-width: 576px){.site-content.with-menu{width:calc(100% - 243px);margin-left:243px}}@media(max-width: 991px){.site-content{margin-left:0}}.site-content .top-user{text-align:right;background-color:#fff;padding-top:10px;padding-bottom:10px;text-align:right}.site-content .dropdown{position:relative;display:inline-block;color:#2a3042;font-size:15px}.site-content .dropdown img{margin-left:10px}.site-content .dropdown:hover .dropdown-content{display:block}.site-content .dropdown .dropdown-content{display:none;transition:ease .3s;position:absolute;background-color:#fff;box-shadow:7px 7px 15px 5px rgba(0,0,0,.05);padding:12px 16px;z-index:1;right:0;font-size:14px}.site-content .dropdown .dropdown-content a{font-size:14px;line-height:15px;font-weight:400;color:#2a3042;display:block;padding:5px 0;white-space:nowrap}.site-content .dropdown .dropdown-content a span{margin-right:10px}.site-content .dashboard-page{padding-top:10px;padding-bottom:10px;background-color:#f3f4f7}.site-content .dashboard-page .dashboard-content{border-radius:.25rem;margin-bottom:15px;background:#fff;margin:10px 0;padding:15px;box-shadow:7px 7px 15px 5px rgba(0,0,0,.05)}.site-content .dashboard-page .dashboard-content .dashboard-title{text-transform:uppercase;font-weight:800;margin-bottom:15px}.site-content .dashboard-page .dashboard-content table{white-space:nowrap;font-size:13px}.site-content .dashboard-page .dashboard-content table.dashboard-products tbody tr td:nth-child(2){max-width:300px;text-overflow:ellipsis;overflow:hidden}.site-content .dashboard-page .dashboard-content table.dashboard-products tbody tr td.text-right{display:table-cell;text-align:right}.site-content .dashboard-page .dashboard-content table a{color:#8691b2;transition:.15s ease;font-weight:800}.site-content .dashboard-page .dashboard-content table a:hover{color:#2a3042}.site-content .dashboard-page .dashboard-content table img{height:50px}.site-content .dashboard-page .dashboard-content table thead{background-color:#f3f4f7}.site-content .dashboard-page .dashboard-content table thead th{vertical-align:middle;border-bottom:none;border-top:none}.site-content .dashboard-page .dashboard-content table tbody td{vertical-align:middle}.site-content .dashboard-page .dashboard-content .table-hover tbody tr:hover{background-color:#f3f4f7}.alert .fa{margin-right:10px}.btn-default,.btn-success,.btn-danger,.btn-info,.btn-system,.btn-dark,.btn-primary{color:#fff;padding:.47rem .75rem;font-size:13px;line-height:1.5;font-weight:300;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(max-width: 575px){.btn-default,.btn-success,.btn-danger,.btn-info,.btn-system,.btn-dark,.btn-primary{font-size:12px}}.btn-default:hover,.btn-success:hover,.btn-danger:hover,.btn-info:hover,.btn-system:hover,.btn-dark:hover,.btn-primary:hover{color:#fff}.btn-default .fa,.btn-success .fa,.btn-danger .fa,.btn-info .fa,.btn-system .fa,.btn-dark .fa,.btn-primary .fa{margin-right:8px}.btn-default#g-columns-list-close .fa,.btn-success#g-columns-list-close .fa,.btn-danger#g-columns-list-close .fa,.btn-info#g-columns-list-close .fa,.btn-system#g-columns-list-close .fa,.btn-dark#g-columns-list-close .fa,.btn-primary#g-columns-list-close .fa{margin-right:0px}.btn-default.article_image_delete .fa,.btn-success.article_image_delete .fa,.btn-danger.article_image_delete .fa,.btn-info.article_image_delete .fa,.btn-system.article_image_delete .fa,.btn-dark.article_image_delete .fa,.btn-primary.article_image_delete .fa{margin-right:0}.btn-default#g-select-columns .fa,.btn-success#g-select-columns .fa,.btn-danger#g-select-columns .fa,.btn-info#g-select-columns .fa,.btn-system#g-select-columns .fa,.btn-dark#g-select-columns .fa,.btn-primary#g-select-columns .fa{margin-right:0px}.btn-default.btn-value-remove,.btn-success.btn-value-remove,.btn-danger.btn-value-remove,.btn-info.btn-value-remove,.btn-system.btn-value-remove,.btn-dark.btn-value-remove,.btn-primary.btn-value-remove{margin-left:15px}.btn-default.btn-value-remove .fa-trash-o,.btn-success.btn-value-remove .fa-trash-o,.btn-danger.btn-value-remove .fa-trash-o,.btn-info.btn-value-remove .fa-trash-o,.btn-system.btn-value-remove .fa-trash-o,.btn-dark.btn-value-remove .fa-trash-o,.btn-primary.btn-value-remove .fa-trash-o{margin-right:0px}.btn-default.btn-delete-permutation,.btn-success.btn-delete-permutation,.btn-danger.btn-delete-permutation,.btn-info.btn-delete-permutation,.btn-system.btn-delete-permutation,.btn-dark.btn-delete-permutation,.btn-primary.btn-delete-permutation{text-align:center;color:#fff}.btn-default.btn-delete-permutation i,.btn-success.btn-delete-permutation i,.btn-danger.btn-delete-permutation i,.btn-info.btn-delete-permutation i,.btn-system.btn-delete-permutation i,.btn-dark.btn-delete-permutation i,.btn-primary.btn-delete-permutation i{margin:0}.btn-default.fa-link,.btn-success.fa-link,.btn-danger.fa-link,.btn-info.fa-link,.btn-system.fa-link,.btn-dark.fa-link,.btn-primary.fa-link{height:35px}.btn-default{color:#000}.attribute-value-add{margin-top:16px}.btn-success{background-color:#1cbb8c;border-color:#1cbb8c}.btn-success:hover{background-color:#179a73;border-color:#179a73}.btn-danger{background-color:#ff3d60;border-color:#ff3d60}.btn-danger:hover{background-color:#ff1741;border-color:#ff1741}.btn-info{background-color:#5664d2;border-color:#5664d2}.btn-info:hover{background-color:#3848ca;border-color:#3848ca}.btn-primary{background-color:#939dba;border-color:#939dba}.btn-primary:hover{background-color:#8691b2;border-color:#8691b2}.btn-system{background-color:#fcb92c;border-color:#fcb92c}.btn-system:hover{background-color:#fbac06;border-color:#fbac06}@media(min-width: 768px){#fg-values-edit #settings-tabs .resp-tabs-container .resp-tab-content{padding-bottom:0}}#fg-values-edit #settings-tabs .resp-tabs-container .resp-tab-content #languages-main .btn-value-add{margin-bottom:15px}#fg-values-edit #settings-tabs .resp-tabs-container .default-value{margin-bottom:1rem}#g-list td a i{color:#2a3042 !important}#g-list input.product-price,#g-list input.product-price-promo{width:100%}#g-columns-list{font-size:13px;font-weight:400;border:1px solid #f3f4f7 !important;border-radius:.25rem}#g-columns-list ul li{border-bottom:1px solid #f3f4f7 !important;height:auto !important;min-height:30px;display:flex;align-items:center}#g-results{font-size:13px;margin-top:10px}#g-results #g-list{color:#2a3042}#g-results #g-list>thead:nth-child(1)>tr:nth-child(1){background-color:#f3f4f7}#g-results #g-list th{vertical-align:middle}#g-results table{color:#2a3042}#g-results table thead tr th{border:none}#g-results table tbody tr{background-color:#fff}#g-results table tbody tr:hover{background-color:#f3f4f7}#g-results table tbody tr td{border-color:#f3f4f7}#g-results table tbody tr td a{transition:.15s ease}#g-results table tbody tr td a:hover{text-decoration:none;color:#2a3042}#g-results .g-search-select,#g-results #g-row-limit{text-align:center}#g-results .form-control{border-color:#8691b2;color:#2a3042;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:13px}#g-results .form-control:focus{box-shadow:none}.table-striped tbody tr:nth-of-type(2n+1){background-color:#fff}.table-bordered th,.table-bordered td{border-right:none;border-left:none}.text-right{display:flex;align-items:center;justify-content:flex-end}@media(max-width: 575px){.text-right.text-centred-xs{justify-content:center}}.text-right #g-row-limit{width:auto;margin:0 10px}@media(max-width: 575px){.text-centred-xs{justify-content:center}}@media(min-width: 768px){.pull-left-sm{display:flex;align-items:center;justify-content:flex-start}}.pagination{display:flex;align-items:center;justify-content:flex-end;margin:0;gap:10px}.pagination span{font-weight:900}.flags{padding-left:20px}.flags img{width:14px;margin-top:-8px}.fa-star{color:#1cbb8c;margin-right:5px}.text-danger{color:#ff3d60 !important}ol.sortable,ol.sortable ol{margin:0 0 0 25px;padding:0;list-style-type:none}ol.sortable{margin:0}ol.sortable,ol.sortable *,ol.sortable *:after,ol.sortable *:before{box-sizing:content-box}.sortable li{margin:0;padding:0}.sortable li div.content{color:#2a3042;cursor:move;height:45px;line-height:45px;margin:0;padding:0 10px;border-bottom:1px solid #e1e1e1;height:100%}.sortable li div.content .text-danger{margin-right:10px}@media(max-width: 575px){.sortable li div.content .text-danger{margin-top:16px;vertical-align:top;margin-right:5px}}#fg-pages-list .sortable li div.content{color:#2a3042;cursor:move;height:45px;line-height:45px;margin:0;padding:0 10px;border-bottom:1px solid #e1e1e1;height:100%}@media(min-width: 576px){#fg-pages-list .sortable li div.content{display:flex;align-items:center}}#fg-pages-list .sortable li div.content .text-danger{margin-right:10px}@media(max-width: 575px){#fg-pages-list .sortable li div.content .text-danger{margin-top:16px;vertical-align:top;margin-right:5px}}#fg-pages-list .sortable li div.content b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(min-width: 576px){#fg-pages-list .sortable li div.content b{display:block}}@media(max-width: 575px){#fg-pages-list .sortable li div.content b{display:inline-block;width:calc(100% - 70px)}}@media(min-width: 1200px){#fg-pages-list .sortable li div.content b{width:calc(100% - 670px)}}@media(min-width: 992px)and (max-width: 1199px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}@media(min-width: 768px)and (max-width: 991px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}@media(min-width: 576px)and (max-width: 767px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}#fg-pages-list .sortable li div.content .menu-box-title{display:flex;align-items:center;justify-content:flex-start}@media(max-width: 575px){#fg-pages-list .sortable li div.content .menu-box-title .disclose,#fg-pages-list .sortable li div.content .menu-box-title .text-danger{margin-top:0}}@media(max-width: 575px){#fg-pages-list .sortable li div.content .menu-box-title{width:100%}}@media(min-width: 1200px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 670px)}}@media(min-width: 992px)and (max-width: 1199px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(min-width: 768px)and (max-width: 991px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(min-width: 576px)and (max-width: 767px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(max-width: 575px){#fg-pages-list .sortable li.sort-leaf .content b{display:inline-block;width:calc(100% - 52px)}}#fg-product-edit .sortable li div.content b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 62px)}.sortable li.sort-branch div{color:#2a3042}.sort-leaf .disclose{content:"- ";text-indent:-3000px;background-image:url("/libraries/jquery-nested-sortable/skin-vista/icons.gif");background-position:-16px -64px;background-repeat:no-repeat;display:inline-block;height:16px;vertical-align:top;width:16px;margin:16px 5px 0 1px}@media(min-width: 576px){.sort-leaf .disclose{margin:0px 5px 0 1px}}li.sort-collapsed.sort-hover div{border-color:#999}.disclose{cursor:pointer;width:20px;display:none;text-align:center}.sortable li.sort-collapsed>ol{display:none}.sortable li.sort-branch>div .disclose{display:block;float:left;margin-right:15px}.sortable li.sort-collapsed>div .disclose>span:before{display:inline-block;font-family:FontAwesome;font-size:10px;content:"";height:25px;width:25px;line-height:25px;border-radius:13px;background:rgba(134,145,178,.1);color:#8691b2;border:1px solid #8691b2;transition:.15s ease}.sortable li.sort-collapsed>div .disclose:hover>span:before,.sortable li.sort-expanded>div .disclose:hover>span:before{background:#8691b2;color:#fff}.sortable li.sort-expanded>div .disclose>span:before{display:inline-block;font-family:FontAwesome;font-size:10px;content:"";height:25px;width:25px;line-height:25px;border-radius:13px;background:rgba(134,145,178,.1);color:#8691b2;border:1px solid #8691b2;transition:.15s ease}.menu_sortable .btn-group{display:none;transition:.15s ease}.menu_sortable div:hover .btn-group{display:block;margin-top:-1px}.menu_sortable div:hover .btn-group.pull-right{float:none;margin-bottom:20px;margin-left:20px}@media(min-width: 576px){.menu_sortable div:hover .btn-group.pull-right{float:right;margin-bottom:0;margin-left:0;display:flex;justify-content:space-between;align-items:center}}@media(min-width: 1200px){.menu_sortable div:hover .btn-group.pull-right{width:668px}}@media(min-width: 992px)and (max-width: 1199px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(min-width: 768px)and (max-width: 991px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(min-width: 576px)and (max-width: 767px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(max-width: 1199px){.menu_sortable div:hover .btn-group .btn.btn-sm .fa{margin-right:0}}@media(max-width: 1199px){.menu_sortable div:hover .btn-group .hidden-xs{display:none}}.resp-vtabs li.resp-tab-active{position:relative;z-index:1;margin-right:-1px;padding:10px 15px;margin-bottom:0;border-top:none;border:none;border-left:none;border-right:none;border-right:2px solid #8691b2;background-color:#f3f4f7}.resp-tab-active{color:#8691b2}.htabs li.resp-tab-active{border-right:none;color:#2a3042;background-color:#8691b2;border-radius:.25rem;color:#fff}.htabs li.resp-tab-active .fa-star{color:#fff}.resp-vtabs>.resp-tabs-container{border:none;min-height:274px}#fg-order-details .details .order-history div{font-size:13px}#fg-order-details .details i.fa-copy{font-size:16px;cursor:pointer;margin-left:5px;margin-right:10px}#fg-order-details .details b a{color:#8691b2;transition:ease .3s}#fg-order-details .details b a:hover{color:#2a3042}#fg-order-details .details .order-status{margin-bottom:5px}#fg-order-details .resend_order_confirmation_email{margin-top:25px}.date-range-icon{display:flex;align-items:center}.date-range-icon .fa-calendar:before{margin-left:10px;margin-right:10px;height:100%}.input-group .btn{border-radius:0 3px 3px 0;display:flex;align-items:center}input[type=checkbox]{position:relative;width:40px;height:20px;-webkit-appearance:none;background:#ced4da;outline:none;border-radius:10px;box-shadow:inset 0 0 5px rgba(0,0,0,.2)}input:checked[type=checkbox]{background:#8691b2}input[type=checkbox]:before{content:"";position:absolute;width:20px;height:20px;border-radius:10px;top:0;left:0;background:#fff;transform:scale(1.1);box-shadow:0 2px 5px rgba(0,0,0,.2);transition:.5s}input:checked[type=checkbox]:before{left:20px}#images-uploader,#files-uploader{clear:both}#images-uploader,#images-uploader *,#files-uploader,#files-uploader *{box-sizing:content-box !important}#images-list{margin:0;padding:0 5px;display:grid;grid-template-columns:repeat(auto-fit, minmax(150px, 200px))}#images-list li{background:#fff;text-align:center;display:block;height:165px;margin:5px 5px 10px 5px;vertical-align:middle;position:relative}#images-list li.sortable-chosen{box-shadow:-1px 1px 6px rgba(0,0,0,.75)}#images-list li .article-image{height:100%;width:100%;-o-object-fit:cover;object-fit:cover}#images-list li .image-alt{padding:5px;height:30px;font-size:13px}#images-list li .article_image_delete{border:0;padding:13px;position:absolute;top:0;right:0}#images-list li .article_image_delete i{font-size:18px}#images-list li .image-alt{position:absolute;bottom:10px;border:0;background:#2a3042;text-align:center;color:#fff}#images-list li .image-alt::-moz-placeholder{color:#fff}#images-list li .image-alt::placeholder{color:#fff}#images-list li:hover .article-image-edit,#images-list li.pending .article-image-edit{display:block}.article-image-edit{background:hsla(0,0%,100%,.8);position:absolute;height:100%;width:150px;cursor:pointer;line-height:168px;display:none}.article-image-edit i{font-size:28px;color:#c00}.article-image-edit img{height:50px;position:relative;top:12px}#files-list{list-style-type:none;margin:0;padding:0}#files-list li{float:left;margin:5px 7px}#files-list li .article_file_delete{border-color:rgba(0,0,0,.05)}#fg-order-details .details .row{margin-bottom:15px}.cke_chrome{background:#fff !important}.cke_bottom,.cke_top{background:#fff !important}.plupload_filelist_header,.plupload_filelist_footer{background:#dbdee8 !important}.plupload_scroll .plupload_filelist{background:rgba(0,0,0,0) !important}.icheckbox_minimal-blue{background-position:0 0 !important}.icheckbox_minimal-blue:hover{background-position:0 0 !important}.icheckbox_minimal-blue.checked{background-position:-40px 0 !important}.icheckbox_minimal-blue.checked:hover{background-position:-40px 0 !important}#fg-product-edit .form-group,#fg-promotion-edit .form-group,#fg-article-edit .form-group,#fg-values-edit .form-group{width:100%}#fg-product-edit .form-group .list,#fg-promotion-edit .form-group .list,#fg-article-edit .form-group .list,#fg-values-edit .form-group .list{margin-bottom:5px}#fg-product-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-promotion-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-article-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-values-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content{display:flex;justify-content:flex-start;align-items:center}#fg-product-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-promotion-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-article-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-values-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox{margin-right:5px}#fg-product-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-promotion-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-article-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-values-edit #settings-tabs .settings-tabs .form-group #products_related{max-width:100%;overflow:overlay}#fg-g-edit .sortable .sort-leaf .content,#fg-layout-edit .sortable .sort-leaf .content{display:flex;align-items:center}@media(max-width: 575px){#fg-g-edit .sortable .sort-leaf .content,#fg-layout-edit .sortable .sort-leaf .content{align-items:flex-start}}@media(max-width: 575px){#fg-g-edit .sortable .sort-leaf .content .icheckbox_minimal-blue,#fg-layout-edit .sortable .sort-leaf .content .icheckbox_minimal-blue{margin-top:16px;margin-right:5px}}#files-uploader_container .plupload .plupload_content .plupload_filelist_footer,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer{height:auto}@media(max-width: 575px){#files-uploader_container .plupload .plupload_content .plupload_filelist_footer,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer{display:flex;align-items:center}}#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_status,#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_size,#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_progress,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_status,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_size,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_progress{width:40px}.selectize-control .selectize-input .item a.remove{margin:1px}.progress-box{position:absolute;top:0px;width:100%;height:100%;z-index:200;background:#fff;padding:0px;margin-left:-15px}.progress-box.hidden{display:none}.progress{margin:15px;height:35px;transform:translateY(-100%);position:relative;top:30%;background-color:#333}.version{position:relative;top:5%}.version h3 p{display:inline-block}.version h3{text-align:center}#fg-order-details .details table{margin-top:30px}#fg-order-details .details table .order-product-details .custom-fields{font-size:11px}#fg-order-details .details table .order-product-details .custom-fields b{font-weight:600}#fg-order-details .details table .order-product-details .atributes{font-size:11px}#fg-order-details .details table .order-product-details .atributes b{font-weight:600}.table{white-space:nowrap;font-size:13px}.table .tab-center{text-align:center}.table .product-image{float:left;width:75px;height:75px;margin-right:10px}.table .product-image img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.table .tab-right{text-align:right}.table a{color:#4aa3ff;transition:.15s ease;font-weight:500}.table a:hover{color:#2a3042}.table thead{background-color:#f3f4f7}.table thead th{vertical-align:middle;border-bottom:none;border-top:none}.table tbody td{vertical-align:middle}.table tbody td.product-image{width:100px;padding:0}.table tbody td.product-image img{width:100%}#table-products .product-categories{display:block;width:100%;text-wrap:wrap}#table-products .product-name{display:flex;justify-content:space-between}#table-products .product-name .duplicate-product{margin-left:15px}#table-products .duplicate-product{float:right;font-size:13px}#table-products .btn-success{color:#fff !important}#table-products .btn-success.btn-create-product{margin-top:5px}.inpost-map-container{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);z-index:1000;padding:100px;display:none;transition:all .5s ease}@media(max-width: 767px){.inpost-map-container{padding:15px}}.inpost-map-container #inpost-map{background:#fff}.inpost-map-container .inpost-hide{margin:15px auto;float:right;color:#fff !important;text-transform:uppercase;transition:all .5s ease;font-weight:600}.sales-grid{text-align:center}.sales-grid td{padding:2px 4px;width:12.5%}.mobile-menu-btn{position:fixed;right:10px;bottom:10px;z-index:9999;height:50px;width:50px;color:#fff;background:#2a3042;line-height:50px;text-align:center;font-size:25px;cursor:pointer;border-radius:50%;display:none}@media(max-width: 991px){.mobile-menu-btn{display:block}}@media(max-width: 575px){.mobile-menu-btn.active{background:#fff;color:#2a3042}}@media(max-width: 575px){.hidden-xs{display:none}}.dashboard-page #table-products>.row>#g-menu,.dashboard-page .g-container>.row>#g-menu{margin-bottom:10px}@media(max-width: 767px){.dashboard-page #table-products>.row>.col-md-3>.pull-right,.dashboard-page .g-container>.row>.col-md-3>.pull-right{float:left}}@media(max-width: 767px){.dashboard-page #table-products>.row>.col-md-3>.pull-right #g-columns-list,.dashboard-page .g-container>.row>.col-md-3>.pull-right #g-columns-list{right:auto;left:15px}}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group .input-group #dates{max-width:200px}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group .input-group .date-range-icon{border-top:1px solid #ced4da;border-right:1px solid #ced4da;border-bottom:1px solid #ced4da;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group select#template{max-width:233px}@media(max-width: 767px){.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container{padding:0}}.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container h2 i{margin-right:10px}.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container .resp-tab-content{padding:10px}@media(max-width: 767px){.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container .resp-tab-content{padding:10px}}.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-lg-4 .row .buttons .order_status_change_email,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-lg-4 .row .buttons .order_status_change,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-xl-4 .row .buttons .order_status_change_email,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-xl-4 .row .buttons .order_status_change{margin-bottom:10px}.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .input-group span.input-group-addon{border-top-left-radius:0;border-bottom-left-radius:0}@media(max-width: 575px){.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-md-6 .col-sm-6:last-child .form-control{margin-top:15px}}.status_select #order-status{max-width:280px}.combination-attribute{border:1px solid #ced4da}.combination-attribute .title{padding:5px 10px;font-weight:600}.combination-attribute .values{padding:5px 10px;list-style-type:none}@media(max-width: 768px){.panel .panel-heading .btn-send-order-to-apilo{float:none !important}}.panel .panel-heading.with-buttons{display:flex;align-items:center;justify-content:space-between}.nav.nav-tabs-right{justify-content:flex-end}.input-group-addon{display:flex;align-items:center;justify-content:center;min-width:65px}select.input-sm{line-height:20px}.form-control{font-size:14px}.baselinker-product-search,.apilo-product-search{cursor:pointer}.baselinker-found-products{margin-top:10px}.baselinker-found-products p{margin-bottom:0}.baselinker-found-products button{margin-top:5px}.dashboard-summary{display:flex;flex-wrap:wrap;gap:20px}.dashboard-summary .panel{max-width:300px;width:100%}.custom-labels{display:flex;flex-wrap:wrap;gap:5px}.custom-labels input{max-width:150px;border:1px solid #dfdfdf !important;padding:0 5px;font-size:12px !important}.custom-labels input::-moz-placeholder{color:#dfdfdf;font-style:italic}.custom-labels input::placeholder{color:#dfdfdf;font-style:italic}input.form-control[type=text],select.form-control{height:35px;font-size:13px}textarea.form-control{font-size:13px}.order-details .paid-status{margin-top:10px}.order-details .paid-status a{font-weight:300}.order-details .paid-status .panel-body span{display:inline-flex;height:30px;width:30px;background:#2a3042;color:#fff;align-items:center;justify-content:center;border-radius:50%}.order-details .paid-status .panel-body span.danger{background:#ff1741}.product-xml-data{display:grid;grid-template-columns:1fr;gap:10px}@media(min-width: 768px){.product-xml-data{grid-template-columns:1fr 1fr}}@media(min-width: 992px){.product-xml-data{grid-template-columns:1fr 1fr 1fr}}@media(min-width: 1200px){.product-xml-data{grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr}}.product-xml-data input::-moz-placeholder{font-style:italic;opacity:.5}.product-xml-data input::placeholder{font-style:italic;opacity:.5}.product-xml-data .custom_label_0_container,.product-xml-data .custom_label_1_container,.product-xml-data .custom_label_2_container,.product-xml-data .custom_label_3_container,.product-xml-data .custom_label_4_container{position:relative}.product-xml-data .custom_label_0_container .custom_label_0_suggestions,.product-xml-data .custom_label_0_container .custom_label_1_suggestions,.product-xml-data .custom_label_0_container .custom_label_2_suggestions,.product-xml-data .custom_label_0_container .custom_label_3_suggestions,.product-xml-data .custom_label_0_container .custom_label_4_suggestions,.product-xml-data .custom_label_1_container .custom_label_0_suggestions,.product-xml-data .custom_label_1_container .custom_label_1_suggestions,.product-xml-data .custom_label_1_container .custom_label_2_suggestions,.product-xml-data .custom_label_1_container .custom_label_3_suggestions,.product-xml-data .custom_label_1_container .custom_label_4_suggestions,.product-xml-data .custom_label_2_container .custom_label_0_suggestions,.product-xml-data .custom_label_2_container .custom_label_1_suggestions,.product-xml-data .custom_label_2_container .custom_label_2_suggestions,.product-xml-data .custom_label_2_container .custom_label_3_suggestions,.product-xml-data .custom_label_2_container .custom_label_4_suggestions,.product-xml-data .custom_label_3_container .custom_label_0_suggestions,.product-xml-data .custom_label_3_container .custom_label_1_suggestions,.product-xml-data .custom_label_3_container .custom_label_2_suggestions,.product-xml-data .custom_label_3_container .custom_label_3_suggestions,.product-xml-data .custom_label_3_container .custom_label_4_suggestions,.product-xml-data .custom_label_4_container .custom_label_0_suggestions,.product-xml-data .custom_label_4_container .custom_label_1_suggestions,.product-xml-data .custom_label_4_container .custom_label_2_suggestions,.product-xml-data .custom_label_4_container .custom_label_3_suggestions,.product-xml-data .custom_label_4_container .custom_label_4_suggestions{position:absolute;top:101%;left:0;border:1px solid #1cbb8c;width:100%;display:none;z-index:99}.product-xml-data .custom_label_0_container .custom_label_0_suggestions div,.product-xml-data .custom_label_0_container .custom_label_1_suggestions div,.product-xml-data .custom_label_0_container .custom_label_2_suggestions div,.product-xml-data .custom_label_0_container .custom_label_3_suggestions div,.product-xml-data .custom_label_0_container .custom_label_4_suggestions div,.product-xml-data .custom_label_1_container .custom_label_0_suggestions div,.product-xml-data .custom_label_1_container .custom_label_1_suggestions div,.product-xml-data .custom_label_1_container .custom_label_2_suggestions div,.product-xml-data .custom_label_1_container .custom_label_3_suggestions div,.product-xml-data .custom_label_1_container .custom_label_4_suggestions div,.product-xml-data .custom_label_2_container .custom_label_0_suggestions div,.product-xml-data .custom_label_2_container .custom_label_1_suggestions div,.product-xml-data .custom_label_2_container .custom_label_2_suggestions div,.product-xml-data .custom_label_2_container .custom_label_3_suggestions div,.product-xml-data .custom_label_2_container .custom_label_4_suggestions div,.product-xml-data .custom_label_3_container .custom_label_0_suggestions div,.product-xml-data .custom_label_3_container .custom_label_1_suggestions div,.product-xml-data .custom_label_3_container .custom_label_2_suggestions div,.product-xml-data .custom_label_3_container .custom_label_3_suggestions div,.product-xml-data .custom_label_3_container .custom_label_4_suggestions div,.product-xml-data .custom_label_4_container .custom_label_0_suggestions div,.product-xml-data .custom_label_4_container .custom_label_1_suggestions div,.product-xml-data .custom_label_4_container .custom_label_2_suggestions div,.product-xml-data .custom_label_4_container .custom_label_3_suggestions div,.product-xml-data .custom_label_4_container .custom_label_4_suggestions div{padding:5px;cursor:pointer;background:#1cbb8c;color:#fff;border-bottom:1px solid #1cbb8c}.product-xml-data .custom_label_0_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_4_suggestions div:last-child{border-bottom:none}.jconfirm-title{line-height:1.25 !important}.site-title{font-size:18px;font-weight:600;margin:5px 0 10px 5px}.site-subtitle{font-size:13px;margin:0 0 10px 5px}#g-list{margin-bottom:15px !important}.pagination input[type=number]{border:1px solid #ddd;height:31px;width:50px;text-align:center}.input-group-addon{width:auto}.input-group-addon label{display:flex;align-items:center;gap:5px}.additional_fields input[type=text]{height:40px}#integrationsDropdownBtn{width:50px;text-align:center}.dropdown-menu-right a{font-size:14px}/*# sourceMappingURL=style.css.map */ \ No newline at end of file +body{font-size:13px}.form-group::after{content:"";display:block;clear:both}.table .text-bold{font-weight:600}.table .text-center input{margin:auto}.baselinker-delete-linking,.apilo-delete-linking{display:flex;gap:5px;align-items:center;justify-content:center;margin-top:10px;cursor:pointer}tr.status-0 .order-status{color:#5664d2}tr.status-1 .order-status{color:#468639}tr.status-2 .order-status,tr.status-3 .order-status{color:#ff3d60}tr.status-4 .order-status{color:#fcb92c}tr.status-5 .order-status{color:#f7abb0}tr.status-6 .order-status,tr.status-8 .order-status{color:#bfbfbf}tr.status-7 .order-status{color:#95c11f}body{font-family:"Open Sans",sans-serif;color:#2a3042}body a:hover{text-decoration:none}body input:-webkit-autofill,body input:-webkit-autofill:hover,body input:-webkit-autofill:focus textarea:-webkit-autofill,body textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,body select:-webkit-autofill,body select:-webkit-autofill:hover,body select:-webkit-autofill:focus{-webkit-box-shadow:0 0 0px 1000px #fff inset !important}#main{height:100vh}#main .container-fluid{height:100%}#main .container-fluid .row{height:100%}#main .container-fluid .row .unlogged-panel{display:flex;align-items:center;justify-content:center;background:#fff}#main .container-fluid .row .unlogged-panel .login-panel{width:80%}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .login-shoppro{text-align:center;font-size:26px;color:#4aa3ff}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .title{text-align:center;font-size:22px;line-height:24px;font-weight:600;margin-top:50px;margin-bottom:10px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .subtitle{text-align:center;font-size:12px;line-height:20px;font-weight:300;color:#74788d}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal{margin-top:50px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-login{position:relative}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-login:before{position:absolute;content:"Login";color:#74788d;font-size:14px;line-height:21px;top:5px;left:50px;z-index:801}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-password{position:relative}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-password:before{position:absolute;content:"Hasło";color:#74788d;font-size:14px;line-height:21px;top:5px;left:50px;z-index:801}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group input{height:60px;background:rgba(0,0,0,0);padding-top:30px;padding-bottom:10px;padding-left:50px;margin-left:-52px;border:1px solid #dedfe0;box-shadow:none}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .form-control{border:1px solid #dedfe0}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .input-group-text{background:rgba(0,0,0,0);border:none}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .icon{padding-left:20px;padding-right:20px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .icon i{z-index:800}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .sumbit{text-align:center}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .sumbit .btn{background-color:#4aa3ff;color:#fff;border-radius:4px;font-size:14px;line-height:21px;font-weight:400;padding:10px 30px;margin-top:50px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .copyright{text-align:center;font-size:14px;line-height:21px;font-weight:400;color:#74788d;margin-top:100px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .copyright a{color:#74788d}#main .container-fluid .row .unlogged-bg{background:url("/admin/layout/images/bg-unlogged.png") no-repeat right;background-size:cover;display:flex}@media(max-width: 575px){#main .container-fluid .row .unlogged-bg{display:none}}#main .home{position:fixed;z-index:999;color:#fff;top:30px;right:30px}#main .home img{width:30px}@media(max-width: 575px){#main .home img{filter:invert(100%)}}.admin-page{background-color:#f8f8fb}.admin-page .menu{z-index:900;padding:0 25px;background-color:#2a3042;height:100%;position:fixed;top:0;left:0;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none;overflow-y:scroll;overflow-x:hidden;color:#8691b2}.admin-page .menu.visible{display:block}@media(max-width: 575px){.admin-page .menu.visible{width:100vw}}@media(max-width: 991px){.admin-page .menu{display:none}}.admin-page .menu::-webkit-scrollbar{display:none;width:0;height:0}.admin-page .menu .logo{width:100%;color:#fff;background-color:#2a3042;text-align:center;padding:20px 0;font-size:24px;font-weight:400}.admin-page .menu .logo span{font-size:11px;color:#8691b2}.admin-page .menu .logo a{font-size:11px;padding:5px 20px;border-radius:.25rem;display:inline-block;margin-top:10px;transition:ease .3s;text-transform:uppercase;font-weight:700;color:#2a3042;background-color:#fff;border:1px solid #fff}.admin-page .menu .logo a:hover{color:#8691b2;background-color:#2a3042;border:1px solid #8691b2}.admin-page .menu .menu-content .title{text-transform:uppercase;color:#8691b2;font-size:12px;font-weight:700;margin-bottom:10px}.admin-page .menu .menu-content ul{list-style-type:none;padding-inline-start:0px}.admin-page .menu .menu-content ul li a{color:#8691b2;font-size:13px;font-weight:400;line-height:27px;padding:4px 0px;display:block}.admin-page .menu .menu-content ul li a:hover{color:#fff}.admin-page .menu .menu-content ul li a:hover img{filter:brightness(200%)}.admin-page .menu .menu-content ul li a img,.admin-page .menu .menu-content ul li a i{margin-right:20px;width:20px;text-align:center}.preview{width:100%;background:#2a3042;text-align:center;position:sticky;bottom:0;z-index:1020}@media(max-width: 575px){.preview{text-align:left}}.preview:hover a{color:#fff;width:100%;height:100%}.preview:hover img{filter:brightness(200%)}.preview a{text-transform:uppercase;padding:20px 0;color:#8691b2;font-size:12px;font-weight:700;margin-bottom:10px;display:inline-block;margin-bottom:0}.preview a img{margin-top:-4px}.site-content{background-color:#fff;margin-left:244px}.site-content.with-menu{width:100%}@media(min-width: 576px){.site-content.with-menu{width:calc(100% - 243px);margin-left:243px}}@media(max-width: 991px){.site-content{margin-left:0}}.site-content .top-user{text-align:right;background-color:#fff;padding-top:10px;padding-bottom:10px;text-align:right}.site-content .dropdown{position:relative;display:inline-block;color:#2a3042;font-size:15px}.site-content .dropdown img{margin-left:10px}.site-content .dropdown:hover .dropdown-content{display:block}.site-content .dropdown .dropdown-content{display:none;transition:ease .3s;position:absolute;background-color:#fff;box-shadow:7px 7px 15px 5px rgba(0,0,0,.05);padding:12px 16px;z-index:1;right:0;font-size:14px}.site-content .dropdown .dropdown-content a{font-size:14px;line-height:15px;font-weight:400;color:#2a3042;display:block;padding:5px 0;white-space:nowrap}.site-content .dropdown .dropdown-content a span{margin-right:10px}.site-content .dashboard-page{padding-top:10px;padding-bottom:10px;background-color:#f3f4f7}.site-content .dashboard-page .dashboard-content{border-radius:.25rem;margin-bottom:15px;background:#fff;margin:10px 0;padding:15px;box-shadow:7px 7px 15px 5px rgba(0,0,0,.05)}.site-content .dashboard-page .dashboard-content .dashboard-title{text-transform:uppercase;font-weight:800;margin-bottom:15px}.site-content .dashboard-page .dashboard-content table{white-space:nowrap;font-size:13px}.site-content .dashboard-page .dashboard-content table.dashboard-products tbody tr td:nth-child(2){max-width:300px;text-overflow:ellipsis;overflow:hidden}.site-content .dashboard-page .dashboard-content table.dashboard-products tbody tr td.text-right{display:table-cell;text-align:right}.site-content .dashboard-page .dashboard-content table a{color:#8691b2;transition:.15s ease;font-weight:800}.site-content .dashboard-page .dashboard-content table a:hover{color:#2a3042}.site-content .dashboard-page .dashboard-content table img{height:50px}.site-content .dashboard-page .dashboard-content table thead{background-color:#f3f4f7}.site-content .dashboard-page .dashboard-content table thead th{vertical-align:middle;border-bottom:none;border-top:none}.site-content .dashboard-page .dashboard-content table tbody td{vertical-align:middle}.site-content .dashboard-page .dashboard-content .table-hover tbody tr:hover{background-color:#f3f4f7}.alert .fa{margin-right:10px}.btn-default,.btn-success,.btn-danger,.btn-info,.btn-system,.btn-dark,.btn-primary{color:#fff;padding:.47rem .75rem;font-size:13px;line-height:1.5;font-weight:300;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(max-width: 575px){.btn-default,.btn-success,.btn-danger,.btn-info,.btn-system,.btn-dark,.btn-primary{font-size:12px}}.btn-default:hover,.btn-success:hover,.btn-danger:hover,.btn-info:hover,.btn-system:hover,.btn-dark:hover,.btn-primary:hover{color:#fff}.btn-default .fa,.btn-success .fa,.btn-danger .fa,.btn-info .fa,.btn-system .fa,.btn-dark .fa,.btn-primary .fa{margin-right:8px}.btn-default#g-columns-list-close .fa,.btn-success#g-columns-list-close .fa,.btn-danger#g-columns-list-close .fa,.btn-info#g-columns-list-close .fa,.btn-system#g-columns-list-close .fa,.btn-dark#g-columns-list-close .fa,.btn-primary#g-columns-list-close .fa{margin-right:0px}.btn-default.article_image_delete .fa,.btn-success.article_image_delete .fa,.btn-danger.article_image_delete .fa,.btn-info.article_image_delete .fa,.btn-system.article_image_delete .fa,.btn-dark.article_image_delete .fa,.btn-primary.article_image_delete .fa{margin-right:0}.btn-default#g-select-columns .fa,.btn-success#g-select-columns .fa,.btn-danger#g-select-columns .fa,.btn-info#g-select-columns .fa,.btn-system#g-select-columns .fa,.btn-dark#g-select-columns .fa,.btn-primary#g-select-columns .fa{margin-right:0px}.btn-default.btn-value-remove,.btn-success.btn-value-remove,.btn-danger.btn-value-remove,.btn-info.btn-value-remove,.btn-system.btn-value-remove,.btn-dark.btn-value-remove,.btn-primary.btn-value-remove{margin-left:15px}.btn-default.btn-value-remove .fa-trash-o,.btn-success.btn-value-remove .fa-trash-o,.btn-danger.btn-value-remove .fa-trash-o,.btn-info.btn-value-remove .fa-trash-o,.btn-system.btn-value-remove .fa-trash-o,.btn-dark.btn-value-remove .fa-trash-o,.btn-primary.btn-value-remove .fa-trash-o{margin-right:0px}.btn-default.btn-delete-permutation,.btn-success.btn-delete-permutation,.btn-danger.btn-delete-permutation,.btn-info.btn-delete-permutation,.btn-system.btn-delete-permutation,.btn-dark.btn-delete-permutation,.btn-primary.btn-delete-permutation{text-align:center;color:#fff}.btn-default.btn-delete-permutation i,.btn-success.btn-delete-permutation i,.btn-danger.btn-delete-permutation i,.btn-info.btn-delete-permutation i,.btn-system.btn-delete-permutation i,.btn-dark.btn-delete-permutation i,.btn-primary.btn-delete-permutation i{margin:0}.btn-default.fa-link,.btn-success.fa-link,.btn-danger.fa-link,.btn-info.fa-link,.btn-system.fa-link,.btn-dark.fa-link,.btn-primary.fa-link{height:35px}.btn-default{color:#000}.attribute-value-add{margin-top:16px}.btn-success{background-color:#1cbb8c;border-color:#1cbb8c}.btn-success:hover{background-color:#179a73;border-color:#179a73}.btn-danger{background-color:#ff3d60;border-color:#ff3d60}.btn-danger:hover{background-color:#ff1741;border-color:#ff1741}.btn-info{background-color:#5664d2;border-color:#5664d2}.btn-info:hover{background-color:#3848ca;border-color:#3848ca}.btn-primary{background-color:#939dba;border-color:#939dba}.btn-primary:hover{background-color:#8691b2;border-color:#8691b2}.btn-system{background-color:#fcb92c;border-color:#fcb92c}.btn-system:hover{background-color:#fbac06;border-color:#fbac06}@media(min-width: 768px){#fg-values-edit #settings-tabs .resp-tabs-container .resp-tab-content{padding-bottom:0}}#fg-values-edit #settings-tabs .resp-tabs-container .resp-tab-content #languages-main .btn-value-add{margin-bottom:15px}#fg-values-edit #settings-tabs .resp-tabs-container .default-value{margin-bottom:1rem}#g-list td a i{color:#2a3042 !important}#g-list input.product-price,#g-list input.product-price-promo{width:100%}#g-columns-list{font-size:13px;font-weight:400;border:1px solid #f3f4f7 !important;border-radius:.25rem}#g-columns-list ul li{border-bottom:1px solid #f3f4f7 !important;height:auto !important;min-height:30px;display:flex;align-items:center}#g-results{font-size:13px;margin-top:10px}#g-results #g-list{color:#2a3042}#g-results #g-list>thead:nth-child(1)>tr:nth-child(1){background-color:#f3f4f7}#g-results #g-list th{vertical-align:middle}#g-results table{color:#2a3042}#g-results table thead tr th{border:none}#g-results table tbody tr{background-color:#fff}#g-results table tbody tr:hover{background-color:#f3f4f7}#g-results table tbody tr td{border-color:#f3f4f7}#g-results table tbody tr td a:not(.btn){transition:.15s ease}#g-results table tbody tr td a:not(.btn):hover{text-decoration:none;color:#2a3042}#g-results .g-search-select,#g-results #g-row-limit{text-align:center}#g-results .form-control{border-color:#8691b2;color:#2a3042;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:13px}#g-results .form-control:focus{box-shadow:none}.table-striped tbody tr:nth-of-type(2n+1){background-color:#fff}.table-bordered th,.table-bordered td{border-right:none;border-left:none}.text-right{display:flex;align-items:center;justify-content:flex-end}@media(max-width: 575px){.text-right.text-centred-xs{justify-content:center}}.text-right #g-row-limit{width:auto;margin:0 10px}@media(max-width: 575px){.text-centred-xs{justify-content:center}}@media(min-width: 768px){.pull-left-sm{display:flex;align-items:center;justify-content:flex-start}}.pagination{display:flex;align-items:center;justify-content:flex-end;margin:0;gap:10px}.pagination span{font-weight:900}.flags{padding-left:20px}.flags img{width:14px;margin-top:-8px}.fa-star{color:#1cbb8c;margin-right:5px}.text-danger{color:#ff3d60 !important}ol.sortable,ol.sortable ol{margin:0 0 0 25px;padding:0;list-style-type:none}ol.sortable{margin:0}ol.sortable,ol.sortable *,ol.sortable *:after,ol.sortable *:before{box-sizing:content-box}.sortable li{margin:0;padding:0}.sortable li div.content{color:#2a3042;cursor:move;height:45px;line-height:45px;margin:0;padding:0 10px;border-bottom:1px solid #e1e1e1;height:100%}.sortable li div.content .text-danger{margin-right:10px}@media(max-width: 575px){.sortable li div.content .text-danger{margin-top:16px;vertical-align:top;margin-right:5px}}#fg-pages-list .sortable li div.content{color:#2a3042;cursor:move;height:45px;line-height:45px;margin:0;padding:0 10px;border-bottom:1px solid #e1e1e1;height:100%}@media(min-width: 576px){#fg-pages-list .sortable li div.content{display:flex;align-items:center}}#fg-pages-list .sortable li div.content .text-danger{margin-right:10px}@media(max-width: 575px){#fg-pages-list .sortable li div.content .text-danger{margin-top:16px;vertical-align:top;margin-right:5px}}#fg-pages-list .sortable li div.content b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(min-width: 576px){#fg-pages-list .sortable li div.content b{display:block}}@media(max-width: 575px){#fg-pages-list .sortable li div.content b{display:inline-block;width:calc(100% - 70px)}}@media(min-width: 1200px){#fg-pages-list .sortable li div.content b{width:calc(100% - 670px)}}@media(min-width: 992px)and (max-width: 1199px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}@media(min-width: 768px)and (max-width: 991px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}@media(min-width: 576px)and (max-width: 767px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}#fg-pages-list .sortable li div.content .menu-box-title{display:flex;align-items:center;justify-content:flex-start}@media(max-width: 575px){#fg-pages-list .sortable li div.content .menu-box-title .disclose,#fg-pages-list .sortable li div.content .menu-box-title .text-danger{margin-top:0}}@media(max-width: 575px){#fg-pages-list .sortable li div.content .menu-box-title{width:100%}}@media(min-width: 1200px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 670px)}}@media(min-width: 992px)and (max-width: 1199px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(min-width: 768px)and (max-width: 991px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(min-width: 576px)and (max-width: 767px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(max-width: 575px){#fg-pages-list .sortable li.sort-leaf .content b{display:inline-block;width:calc(100% - 52px)}}#fg-product-edit .sortable li div.content b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 62px)}.sortable li.sort-branch div{color:#2a3042}.sort-leaf .disclose{content:"- ";text-indent:-3000px;background-image:url("/libraries/jquery-nested-sortable/skin-vista/icons.gif");background-position:-16px -64px;background-repeat:no-repeat;display:inline-block;height:16px;vertical-align:top;width:16px;margin:16px 5px 0 1px}@media(min-width: 576px){.sort-leaf .disclose{margin:0px 5px 0 1px}}li.sort-collapsed.sort-hover div{border-color:#999}.disclose{cursor:pointer;width:20px;display:none;text-align:center}.sortable li.sort-collapsed>ol{display:none}.sortable li.sort-branch>div .disclose{display:block;float:left;margin-right:15px}.sortable li.sort-collapsed>div .disclose>span:before{display:inline-block;font-family:FontAwesome;font-size:10px;content:"";height:25px;width:25px;line-height:25px;border-radius:13px;background:rgba(134,145,178,.1);color:#8691b2;border:1px solid #8691b2;transition:.15s ease}.sortable li.sort-collapsed>div .disclose:hover>span:before,.sortable li.sort-expanded>div .disclose:hover>span:before{background:#8691b2;color:#fff}.sortable li.sort-expanded>div .disclose>span:before{display:inline-block;font-family:FontAwesome;font-size:10px;content:"";height:25px;width:25px;line-height:25px;border-radius:13px;background:rgba(134,145,178,.1);color:#8691b2;border:1px solid #8691b2;transition:.15s ease}.menu_sortable .btn-group{display:none;transition:.15s ease}.menu_sortable div:hover .btn-group{display:block;margin-top:-1px}.menu_sortable div:hover .btn-group.pull-right{float:none;margin-bottom:20px;margin-left:20px}@media(min-width: 576px){.menu_sortable div:hover .btn-group.pull-right{float:right;margin-bottom:0;margin-left:0;display:flex;justify-content:space-between;align-items:center}}@media(min-width: 1200px){.menu_sortable div:hover .btn-group.pull-right{width:668px}}@media(min-width: 992px)and (max-width: 1199px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(min-width: 768px)and (max-width: 991px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(min-width: 576px)and (max-width: 767px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(max-width: 1199px){.menu_sortable div:hover .btn-group .btn.btn-sm .fa{margin-right:0}}@media(max-width: 1199px){.menu_sortable div:hover .btn-group .hidden-xs{display:none}}.resp-vtabs li.resp-tab-active{position:relative;z-index:1;margin-right:-1px;padding:10px 15px;margin-bottom:0;border-top:none;border:none;border-left:none;border-right:none;border-right:2px solid #8691b2;background-color:#f3f4f7}.resp-tab-active{color:#8691b2}.htabs li.resp-tab-active{border-right:none;color:#2a3042;background-color:#8691b2;border-radius:.25rem;color:#fff}.htabs li.resp-tab-active .fa-star{color:#fff}.resp-vtabs>.resp-tabs-container{border:none;min-height:274px}#fg-order-details .details .order-history div{font-size:13px}#fg-order-details .details i.fa-copy{font-size:16px;cursor:pointer;margin-left:5px;margin-right:10px}#fg-order-details .details b a{color:#8691b2;transition:ease .3s}#fg-order-details .details b a:hover{color:#2a3042}#fg-order-details .details .order-status{margin-bottom:5px}#fg-order-details .resend_order_confirmation_email{margin-top:25px}.date-range-icon{display:flex;align-items:center}.date-range-icon .fa-calendar:before{margin-left:10px;margin-right:10px;height:100%}.input-group .btn{border-radius:0 3px 3px 0;display:flex;align-items:center}input[type=checkbox]{position:relative;width:40px;height:20px;-webkit-appearance:none;background:#ced4da;outline:none;border-radius:10px;box-shadow:inset 0 0 5px rgba(0,0,0,.2)}input:checked[type=checkbox]{background:#8691b2}input[type=checkbox]:before{content:"";position:absolute;width:20px;height:20px;border-radius:10px;top:0;left:0;background:#fff;transform:scale(1.1);box-shadow:0 2px 5px rgba(0,0,0,.2);transition:.5s}input:checked[type=checkbox]:before{left:20px}#images-uploader,#files-uploader{clear:both}#images-uploader,#images-uploader *,#files-uploader,#files-uploader *{box-sizing:content-box !important}#images-list{margin:0;padding:0 5px;display:grid;grid-template-columns:repeat(auto-fit, minmax(150px, 200px))}#images-list li{background:#fff;text-align:center;display:block;height:165px;margin:5px 5px 10px 5px;vertical-align:middle;position:relative}#images-list li.sortable-chosen{box-shadow:-1px 1px 6px rgba(0,0,0,.75)}#images-list li .article-image{height:100%;width:100%;-o-object-fit:cover;object-fit:cover}#images-list li .image-alt{padding:5px;height:30px;font-size:13px}#images-list li .article_image_delete{border:0;padding:13px;position:absolute;top:0;right:0}#images-list li .article_image_delete i{font-size:18px}#images-list li .image-alt{position:absolute;bottom:10px;border:0;background:#2a3042;text-align:center;color:#fff}#images-list li .image-alt::-moz-placeholder{color:#fff}#images-list li .image-alt::placeholder{color:#fff}#images-list li:hover .article-image-edit,#images-list li.pending .article-image-edit{display:block}.article-image-edit{background:hsla(0,0%,100%,.8);position:absolute;height:100%;width:150px;cursor:pointer;line-height:168px;display:none}.article-image-edit i{font-size:28px;color:#c00}.article-image-edit img{height:50px;position:relative;top:12px}#files-list{list-style-type:none;margin:0;padding:0}#files-list li{float:left;margin:5px 7px}#files-list li .article_file_delete{border-color:rgba(0,0,0,.05)}#fg-order-details .details .row{margin-bottom:15px}.cke_chrome{background:#fff !important}.cke_bottom,.cke_top{background:#fff !important}.plupload_filelist_header,.plupload_filelist_footer{background:#dbdee8 !important}.plupload_scroll .plupload_filelist{background:rgba(0,0,0,0) !important}.icheckbox_minimal-blue{background-position:0 0 !important}.icheckbox_minimal-blue:hover{background-position:0 0 !important}.icheckbox_minimal-blue.checked{background-position:-40px 0 !important}.icheckbox_minimal-blue.checked:hover{background-position:-40px 0 !important}#fg-product-edit .form-group,#fg-promotion-edit .form-group,#fg-article-edit .form-group,#fg-values-edit .form-group{width:100%}#fg-product-edit .form-group .list,#fg-promotion-edit .form-group .list,#fg-article-edit .form-group .list,#fg-values-edit .form-group .list{margin-bottom:5px}#fg-product-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-promotion-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-article-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-values-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content{display:flex;justify-content:flex-start;align-items:center}#fg-product-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-promotion-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-article-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-values-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox{margin-right:5px}#fg-product-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-promotion-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-article-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-values-edit #settings-tabs .settings-tabs .form-group #products_related{max-width:100%;overflow:overlay}#fg-g-edit .sortable .sort-leaf .content,#fg-layout-edit .sortable .sort-leaf .content{display:flex;align-items:center}@media(max-width: 575px){#fg-g-edit .sortable .sort-leaf .content,#fg-layout-edit .sortable .sort-leaf .content{align-items:flex-start}}@media(max-width: 575px){#fg-g-edit .sortable .sort-leaf .content .icheckbox_minimal-blue,#fg-layout-edit .sortable .sort-leaf .content .icheckbox_minimal-blue{margin-top:16px;margin-right:5px}}#files-uploader_container .plupload .plupload_content .plupload_filelist_footer,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer{height:auto}@media(max-width: 575px){#files-uploader_container .plupload .plupload_content .plupload_filelist_footer,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer{display:flex;align-items:center}}#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_status,#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_size,#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_progress,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_status,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_size,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_progress{width:40px}.selectize-control .selectize-input .item a.remove{margin:1px}.progress-box{position:absolute;top:0px;width:100%;height:100%;z-index:200;background:#fff;padding:0px;margin-left:-15px}.progress-box.hidden{display:none}.progress{margin:15px;height:35px;transform:translateY(-100%);position:relative;top:30%;background-color:#333}.version{position:relative;top:5%}.version h3 p{display:inline-block}.version h3{text-align:center}#fg-order-details .details table{margin-top:30px}#fg-order-details .details table .order-product-details .custom-fields{font-size:11px}#fg-order-details .details table .order-product-details .custom-fields b{font-weight:600}#fg-order-details .details table .order-product-details .atributes{font-size:11px}#fg-order-details .details table .order-product-details .atributes b{font-weight:600}.table{white-space:nowrap;font-size:13px}.table .tab-center{text-align:center}.table .product-image{float:left;width:75px;height:75px;margin-right:10px}.table .product-image img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.table .tab-right{text-align:right}.table a:not(.btn){color:#4aa3ff;transition:.15s ease;font-weight:500}.table a:not(.btn):hover{color:#2a3042}.table a.btn{color:#fff}.table a.btn:hover,.table a.btn:focus{color:#fff}.table a.btn-default{color:#000}.table a.btn-default:hover,.table a.btn-default:focus{color:#000}.table thead{background-color:#f3f4f7}.table thead th{vertical-align:middle;border-bottom:none;border-top:none}.table tbody td{vertical-align:middle}.table tbody td.product-image{width:100px;padding:0}.table tbody td.product-image img{width:100%}#table-products .product-categories{display:block;width:100%;text-wrap:wrap}#table-products .product-name{display:flex;justify-content:space-between}#table-products .product-name .duplicate-product{margin-left:15px}#table-products .duplicate-product{float:right;font-size:13px}#table-products .btn-success{color:#fff !important}#table-products .btn-success.btn-create-product{margin-top:5px}.inpost-map-container{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);z-index:1000;padding:100px;display:none;transition:all .5s ease}@media(max-width: 767px){.inpost-map-container{padding:15px}}.inpost-map-container #inpost-map{background:#fff}.inpost-map-container .inpost-hide{margin:15px auto;float:right;color:#fff !important;text-transform:uppercase;transition:all .5s ease;font-weight:600}.sales-grid{text-align:center}.sales-grid td{padding:2px 4px;width:12.5%}.mobile-menu-btn{position:fixed;right:10px;bottom:10px;z-index:9999;height:50px;width:50px;color:#fff;background:#2a3042;line-height:50px;text-align:center;font-size:25px;cursor:pointer;border-radius:50%;display:none}@media(max-width: 991px){.mobile-menu-btn{display:block}}@media(max-width: 575px){.mobile-menu-btn.active{background:#fff;color:#2a3042}}@media(max-width: 575px){.hidden-xs{display:none}}.dashboard-page #table-products>.row>#g-menu,.dashboard-page .g-container>.row>#g-menu{margin-bottom:10px}@media(max-width: 767px){.dashboard-page #table-products>.row>.col-md-3>.pull-right,.dashboard-page .g-container>.row>.col-md-3>.pull-right{float:left}}@media(max-width: 767px){.dashboard-page #table-products>.row>.col-md-3>.pull-right #g-columns-list,.dashboard-page .g-container>.row>.col-md-3>.pull-right #g-columns-list{right:auto;left:15px}}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group .input-group #dates{max-width:200px}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group .input-group .date-range-icon{border-top:1px solid #ced4da;border-right:1px solid #ced4da;border-bottom:1px solid #ced4da;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group select#template{max-width:233px}@media(max-width: 767px){.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container{padding:0}}.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container h2 i{margin-right:10px}.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container .resp-tab-content{padding:10px}@media(max-width: 767px){.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container .resp-tab-content{padding:10px}}.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-lg-4 .row .buttons .order_status_change_email,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-lg-4 .row .buttons .order_status_change,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-xl-4 .row .buttons .order_status_change_email,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-xl-4 .row .buttons .order_status_change{margin-bottom:10px}.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .input-group span.input-group-addon{border-top-left-radius:0;border-bottom-left-radius:0}@media(max-width: 575px){.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-md-6 .col-sm-6:last-child .form-control{margin-top:15px}}.status_select #order-status{max-width:280px}.combination-attribute{border:1px solid #ced4da}.combination-attribute .title{padding:5px 10px;font-weight:600}.combination-attribute .values{padding:5px 10px;list-style-type:none}@media(max-width: 768px){.panel .panel-heading .btn-send-order-to-apilo{float:none !important}}.panel .panel-heading.with-buttons{display:flex;align-items:center;justify-content:space-between}.nav.nav-tabs-right{justify-content:flex-end}.input-group-addon{display:flex;align-items:center;justify-content:center;min-width:65px}select.input-sm{line-height:20px}.form-control{font-size:14px}.baselinker-product-search,.apilo-product-search{cursor:pointer}.baselinker-found-products{margin-top:10px}.baselinker-found-products p{margin-bottom:0}.baselinker-found-products button{margin-top:5px}.dashboard-summary{display:flex;flex-wrap:wrap;gap:20px}.dashboard-summary .panel{max-width:300px;width:100%}.custom-labels{display:flex;flex-wrap:wrap;gap:5px}.custom-labels input{max-width:150px;border:1px solid #dfdfdf !important;padding:0 5px;font-size:12px !important}.custom-labels input::-moz-placeholder{color:#dfdfdf;font-style:italic}.custom-labels input::placeholder{color:#dfdfdf;font-style:italic}input.form-control[type=text],select.form-control{height:35px;font-size:13px}textarea.form-control{font-size:13px}.order-details .paid-status{margin-top:10px}.order-details .paid-status a{font-weight:300}.order-details .paid-status .panel-body span{display:inline-flex;height:30px;width:30px;background:#2a3042;color:#fff;align-items:center;justify-content:center;border-radius:50%}.order-details .paid-status .panel-body span.danger{background:#ff1741}.product-xml-data{display:grid;grid-template-columns:1fr;gap:10px}@media(min-width: 768px){.product-xml-data{grid-template-columns:1fr 1fr}}@media(min-width: 992px){.product-xml-data{grid-template-columns:1fr 1fr 1fr}}@media(min-width: 1200px){.product-xml-data{grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr}}.product-xml-data input::-moz-placeholder{font-style:italic;opacity:.5}.product-xml-data input::placeholder{font-style:italic;opacity:.5}.product-xml-data .custom_label_0_container,.product-xml-data .custom_label_1_container,.product-xml-data .custom_label_2_container,.product-xml-data .custom_label_3_container,.product-xml-data .custom_label_4_container{position:relative}.product-xml-data .custom_label_0_container .custom_label_0_suggestions,.product-xml-data .custom_label_0_container .custom_label_1_suggestions,.product-xml-data .custom_label_0_container .custom_label_2_suggestions,.product-xml-data .custom_label_0_container .custom_label_3_suggestions,.product-xml-data .custom_label_0_container .custom_label_4_suggestions,.product-xml-data .custom_label_1_container .custom_label_0_suggestions,.product-xml-data .custom_label_1_container .custom_label_1_suggestions,.product-xml-data .custom_label_1_container .custom_label_2_suggestions,.product-xml-data .custom_label_1_container .custom_label_3_suggestions,.product-xml-data .custom_label_1_container .custom_label_4_suggestions,.product-xml-data .custom_label_2_container .custom_label_0_suggestions,.product-xml-data .custom_label_2_container .custom_label_1_suggestions,.product-xml-data .custom_label_2_container .custom_label_2_suggestions,.product-xml-data .custom_label_2_container .custom_label_3_suggestions,.product-xml-data .custom_label_2_container .custom_label_4_suggestions,.product-xml-data .custom_label_3_container .custom_label_0_suggestions,.product-xml-data .custom_label_3_container .custom_label_1_suggestions,.product-xml-data .custom_label_3_container .custom_label_2_suggestions,.product-xml-data .custom_label_3_container .custom_label_3_suggestions,.product-xml-data .custom_label_3_container .custom_label_4_suggestions,.product-xml-data .custom_label_4_container .custom_label_0_suggestions,.product-xml-data .custom_label_4_container .custom_label_1_suggestions,.product-xml-data .custom_label_4_container .custom_label_2_suggestions,.product-xml-data .custom_label_4_container .custom_label_3_suggestions,.product-xml-data .custom_label_4_container .custom_label_4_suggestions{position:absolute;top:101%;left:0;border:1px solid #1cbb8c;width:100%;display:none;z-index:99}.product-xml-data .custom_label_0_container .custom_label_0_suggestions div,.product-xml-data .custom_label_0_container .custom_label_1_suggestions div,.product-xml-data .custom_label_0_container .custom_label_2_suggestions div,.product-xml-data .custom_label_0_container .custom_label_3_suggestions div,.product-xml-data .custom_label_0_container .custom_label_4_suggestions div,.product-xml-data .custom_label_1_container .custom_label_0_suggestions div,.product-xml-data .custom_label_1_container .custom_label_1_suggestions div,.product-xml-data .custom_label_1_container .custom_label_2_suggestions div,.product-xml-data .custom_label_1_container .custom_label_3_suggestions div,.product-xml-data .custom_label_1_container .custom_label_4_suggestions div,.product-xml-data .custom_label_2_container .custom_label_0_suggestions div,.product-xml-data .custom_label_2_container .custom_label_1_suggestions div,.product-xml-data .custom_label_2_container .custom_label_2_suggestions div,.product-xml-data .custom_label_2_container .custom_label_3_suggestions div,.product-xml-data .custom_label_2_container .custom_label_4_suggestions div,.product-xml-data .custom_label_3_container .custom_label_0_suggestions div,.product-xml-data .custom_label_3_container .custom_label_1_suggestions div,.product-xml-data .custom_label_3_container .custom_label_2_suggestions div,.product-xml-data .custom_label_3_container .custom_label_3_suggestions div,.product-xml-data .custom_label_3_container .custom_label_4_suggestions div,.product-xml-data .custom_label_4_container .custom_label_0_suggestions div,.product-xml-data .custom_label_4_container .custom_label_1_suggestions div,.product-xml-data .custom_label_4_container .custom_label_2_suggestions div,.product-xml-data .custom_label_4_container .custom_label_3_suggestions div,.product-xml-data .custom_label_4_container .custom_label_4_suggestions div{padding:5px;cursor:pointer;background:#1cbb8c;color:#fff;border-bottom:1px solid #1cbb8c}.product-xml-data .custom_label_0_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_4_suggestions div:last-child{border-bottom:none}.jconfirm-title{line-height:1.25 !important}.site-title{font-size:18px;font-weight:600;margin:5px 0 10px 5px}.site-subtitle{font-size:13px;margin:0 0 10px 5px}#g-list{margin-bottom:15px !important}.pagination input[type=number]{border:1px solid #ddd;height:31px;width:50px;text-align:center}.input-group-addon{width:auto}.input-group-addon label{display:flex;align-items:center;gap:5px}.additional_fields input[type=text]{height:40px}#integrationsDropdownBtn{width:50px;text-align:center}.dropdown-menu-right a{font-size:14px}/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/admin/layout/style-css/style.css.map b/admin/layout/style-css/style.css.map index 212905a..6df3247 100644 --- a/admin/layout/style-css/style.css.map +++ b/admin/layout/style-css/style.css.map @@ -1 +1 @@ -{"version":3,"sources":["style.css","..\\style-scss\\style.scss","..\\style-scss\\_mixins.scss"],"names":[],"mappings":"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","file":"style.css","sourcesContent":["body{font-size:13px}.form-group::after{content:\"\";display:block;clear:both}.table .text-bold{font-weight:600}.table .text-center input{margin:auto}.baselinker-delete-linking,.apilo-delete-linking{display:flex;gap:5px;align-items:center;justify-content:center;margin-top:10px;cursor:pointer}tr.status-0 .order-status{color:#5664d2}tr.status-1 .order-status{color:#468639}tr.status-2 .order-status,tr.status-3 .order-status{color:#ff3d60}tr.status-4 .order-status{color:#fcb92c}tr.status-5 .order-status{color:#f7abb0}tr.status-6 .order-status,tr.status-8 .order-status{color:#bfbfbf}tr.status-7 .order-status{color:#95c11f}body{font-family:\"Open Sans\",sans-serif;color:#2a3042}body a:hover{text-decoration:none}body input:-webkit-autofill,body input:-webkit-autofill:hover,body input:-webkit-autofill:focus textarea:-webkit-autofill,body textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,body select:-webkit-autofill,body select:-webkit-autofill:hover,body select:-webkit-autofill:focus{-webkit-box-shadow:0 0 0px 1000px #fff inset !important}#main{height:100vh}#main .container-fluid{height:100%}#main .container-fluid .row{height:100%}#main .container-fluid .row .unlogged-panel{display:flex;align-items:center;justify-content:center;background:#fff}#main .container-fluid .row .unlogged-panel .login-panel{width:80%}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .login-shoppro{text-align:center;font-size:26px;color:#4aa3ff}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .title{text-align:center;font-size:22px;line-height:24px;font-weight:600;margin-top:50px;margin-bottom:10px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .subtitle{text-align:center;font-size:12px;line-height:20px;font-weight:300;color:#74788d}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal{margin-top:50px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-login{position:relative}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-login:before{position:absolute;content:\"Login\";color:#74788d;font-size:14px;line-height:21px;top:5px;left:50px;z-index:801}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-password{position:relative}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-password:before{position:absolute;content:\"Hasło\";color:#74788d;font-size:14px;line-height:21px;top:5px;left:50px;z-index:801}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group input{height:60px;background:rgba(0,0,0,0);padding-top:30px;padding-bottom:10px;padding-left:50px;margin-left:-52px;border:1px solid #dedfe0;box-shadow:none}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .form-control{border:1px solid #dedfe0}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .input-group-text{background:rgba(0,0,0,0);border:none}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .icon{padding-left:20px;padding-right:20px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .icon i{z-index:800}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .sumbit{text-align:center}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .sumbit .btn{background-color:#4aa3ff;color:#fff;border-radius:4px;font-size:14px;line-height:21px;font-weight:400;padding:10px 30px;margin-top:50px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .copyright{text-align:center;font-size:14px;line-height:21px;font-weight:400;color:#74788d;margin-top:100px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .copyright a{color:#74788d}#main .container-fluid .row .unlogged-bg{background:url(\"/admin/layout/images/bg-unlogged.png\") no-repeat right;background-size:cover;display:flex}@media(max-width: 575px){#main .container-fluid .row .unlogged-bg{display:none}}#main .home{position:fixed;z-index:999;color:#fff;top:30px;right:30px}#main .home img{width:30px}@media(max-width: 575px){#main .home img{filter:invert(100%)}}.admin-page{background-color:#f8f8fb}.admin-page .menu{z-index:900;padding:0 25px;background-color:#2a3042;height:100%;position:fixed;top:0;left:0;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none;overflow-y:scroll;overflow-x:hidden;color:#8691b2}.admin-page .menu.visible{display:block}@media(max-width: 575px){.admin-page .menu.visible{width:100vw}}@media(max-width: 991px){.admin-page .menu{display:none}}.admin-page .menu::-webkit-scrollbar{display:none;width:0;height:0}.admin-page .menu .logo{width:100%;color:#fff;background-color:#2a3042;text-align:center;padding:20px 0;font-size:24px;font-weight:400}.admin-page .menu .logo span{font-size:11px;color:#8691b2}.admin-page .menu .logo a{font-size:11px;padding:5px 20px;border-radius:.25rem;display:inline-block;margin-top:10px;transition:ease .3s;text-transform:uppercase;font-weight:700;color:#2a3042;background-color:#fff;border:1px solid #fff}.admin-page .menu .logo a:hover{color:#8691b2;background-color:#2a3042;border:1px solid #8691b2}.admin-page .menu .menu-content .title{text-transform:uppercase;color:#8691b2;font-size:12px;font-weight:700;margin-bottom:10px}.admin-page .menu .menu-content ul{list-style-type:none;padding-inline-start:0px}.admin-page .menu .menu-content ul li a{color:#8691b2;font-size:13px;font-weight:400;line-height:27px;padding:4px 0px;display:block}.admin-page .menu .menu-content ul li a:hover{color:#fff}.admin-page .menu .menu-content ul li a:hover img{filter:brightness(200%)}.admin-page .menu .menu-content ul li a img,.admin-page .menu .menu-content ul li a i{margin-right:20px;width:20px;text-align:center}.preview{width:100%;background:#2a3042;text-align:center;position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media(max-width: 575px){.preview{text-align:left}}.preview:hover a{color:#fff;width:100%;height:100%}.preview:hover img{filter:brightness(200%)}.preview a{text-transform:uppercase;padding:20px 0;color:#8691b2;font-size:12px;font-weight:700;margin-bottom:10px;display:inline-block;margin-bottom:0}.preview a img{margin-top:-4px}.site-content{background-color:#fff;margin-left:244px}.site-content.with-menu{width:100%}@media(min-width: 576px){.site-content.with-menu{width:calc(100% - 243px);margin-left:243px}}@media(max-width: 991px){.site-content{margin-left:0}}.site-content .top-user{text-align:right;background-color:#fff;padding-top:10px;padding-bottom:10px;text-align:right}.site-content .dropdown{position:relative;display:inline-block;color:#2a3042;font-size:15px}.site-content .dropdown img{margin-left:10px}.site-content .dropdown:hover .dropdown-content{display:block}.site-content .dropdown .dropdown-content{display:none;transition:ease .3s;position:absolute;background-color:#fff;box-shadow:7px 7px 15px 5px rgba(0,0,0,.05);padding:12px 16px;z-index:1;right:0;font-size:14px}.site-content .dropdown .dropdown-content a{font-size:14px;line-height:15px;font-weight:400;color:#2a3042;display:block;padding:5px 0;white-space:nowrap}.site-content .dropdown .dropdown-content a span{margin-right:10px}.site-content .dashboard-page{padding-top:10px;padding-bottom:10px;background-color:#f3f4f7}.site-content .dashboard-page .dashboard-content{border-radius:.25rem;margin-bottom:15px;background:#fff;margin:10px 0;padding:15px;box-shadow:7px 7px 15px 5px rgba(0,0,0,.05)}.site-content .dashboard-page .dashboard-content .dashboard-title{text-transform:uppercase;font-weight:800;margin-bottom:15px}.site-content .dashboard-page .dashboard-content table{white-space:nowrap;font-size:13px}.site-content .dashboard-page .dashboard-content table.dashboard-products tbody tr td:nth-child(2){max-width:300px;text-overflow:ellipsis;overflow:hidden}.site-content .dashboard-page .dashboard-content table.dashboard-products tbody tr td.text-right{display:table-cell;text-align:right}.site-content .dashboard-page .dashboard-content table a{color:#8691b2;transition:.15s ease;font-weight:800}.site-content .dashboard-page .dashboard-content table a:hover{color:#2a3042}.site-content .dashboard-page .dashboard-content table img{height:50px}.site-content .dashboard-page .dashboard-content table thead{background-color:#f3f4f7}.site-content .dashboard-page .dashboard-content table thead th{vertical-align:middle;border-bottom:none;border-top:none}.site-content .dashboard-page .dashboard-content table tbody td{vertical-align:middle}.site-content .dashboard-page .dashboard-content .table-hover tbody tr:hover{background-color:#f3f4f7}.alert .fa{margin-right:10px}.btn-default,.btn-success,.btn-danger,.btn-info,.btn-system,.btn-dark,.btn-primary{color:#fff;padding:.47rem .75rem;font-size:13px;line-height:1.5;font-weight:300;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(max-width: 575px){.btn-default,.btn-success,.btn-danger,.btn-info,.btn-system,.btn-dark,.btn-primary{font-size:12px}}.btn-default:hover,.btn-success:hover,.btn-danger:hover,.btn-info:hover,.btn-system:hover,.btn-dark:hover,.btn-primary:hover{color:#fff}.btn-default .fa,.btn-success .fa,.btn-danger .fa,.btn-info .fa,.btn-system .fa,.btn-dark .fa,.btn-primary .fa{margin-right:8px}.btn-default#g-columns-list-close .fa,.btn-success#g-columns-list-close .fa,.btn-danger#g-columns-list-close .fa,.btn-info#g-columns-list-close .fa,.btn-system#g-columns-list-close .fa,.btn-dark#g-columns-list-close .fa,.btn-primary#g-columns-list-close .fa{margin-right:0px}.btn-default.article_image_delete .fa,.btn-success.article_image_delete .fa,.btn-danger.article_image_delete .fa,.btn-info.article_image_delete .fa,.btn-system.article_image_delete .fa,.btn-dark.article_image_delete .fa,.btn-primary.article_image_delete .fa{margin-right:0}.btn-default#g-select-columns .fa,.btn-success#g-select-columns .fa,.btn-danger#g-select-columns .fa,.btn-info#g-select-columns .fa,.btn-system#g-select-columns .fa,.btn-dark#g-select-columns .fa,.btn-primary#g-select-columns .fa{margin-right:0px}.btn-default.btn-value-remove,.btn-success.btn-value-remove,.btn-danger.btn-value-remove,.btn-info.btn-value-remove,.btn-system.btn-value-remove,.btn-dark.btn-value-remove,.btn-primary.btn-value-remove{margin-left:15px}.btn-default.btn-value-remove .fa-trash-o,.btn-success.btn-value-remove .fa-trash-o,.btn-danger.btn-value-remove .fa-trash-o,.btn-info.btn-value-remove .fa-trash-o,.btn-system.btn-value-remove .fa-trash-o,.btn-dark.btn-value-remove .fa-trash-o,.btn-primary.btn-value-remove .fa-trash-o{margin-right:0px}.btn-default.btn-delete-permutation,.btn-success.btn-delete-permutation,.btn-danger.btn-delete-permutation,.btn-info.btn-delete-permutation,.btn-system.btn-delete-permutation,.btn-dark.btn-delete-permutation,.btn-primary.btn-delete-permutation{text-align:center;color:#fff}.btn-default.btn-delete-permutation i,.btn-success.btn-delete-permutation i,.btn-danger.btn-delete-permutation i,.btn-info.btn-delete-permutation i,.btn-system.btn-delete-permutation i,.btn-dark.btn-delete-permutation i,.btn-primary.btn-delete-permutation i{margin:0}.btn-default.fa-link,.btn-success.fa-link,.btn-danger.fa-link,.btn-info.fa-link,.btn-system.fa-link,.btn-dark.fa-link,.btn-primary.fa-link{height:35px}.btn-default{color:#000}.attribute-value-add{margin-top:16px}.btn-success{background-color:#1cbb8c;border-color:#1cbb8c}.btn-success:hover{background-color:#179a73;border-color:#179a73}.btn-danger{background-color:#ff3d60;border-color:#ff3d60}.btn-danger:hover{background-color:#ff1741;border-color:#ff1741}.btn-info{background-color:#5664d2;border-color:#5664d2}.btn-info:hover{background-color:#3848ca;border-color:#3848ca}.btn-primary{background-color:#939dba;border-color:#939dba}.btn-primary:hover{background-color:#8691b2;border-color:#8691b2}.btn-system{background-color:#fcb92c;border-color:#fcb92c}.btn-system:hover{background-color:#fbac06;border-color:#fbac06}@media(min-width: 768px){#fg-values-edit #settings-tabs .resp-tabs-container .resp-tab-content{padding-bottom:0}}#fg-values-edit #settings-tabs .resp-tabs-container .resp-tab-content #languages-main .btn-value-add{margin-bottom:15px}#fg-values-edit #settings-tabs .resp-tabs-container .default-value{margin-bottom:1rem}#g-list td a i{color:#2a3042 !important}#g-list input.product-price,#g-list input.product-price-promo{width:100%}#g-columns-list{font-size:13px;font-weight:400;border:1px solid #f3f4f7 !important;border-radius:.25rem}#g-columns-list ul li{border-bottom:1px solid #f3f4f7 !important;height:auto !important;min-height:30px;display:flex;align-items:center}#g-results{font-size:13px;margin-top:10px}#g-results #g-list{color:#2a3042}#g-results #g-list>thead:nth-child(1)>tr:nth-child(1){background-color:#f3f4f7}#g-results #g-list th{vertical-align:middle}#g-results table{color:#2a3042}#g-results table thead tr th{border:none}#g-results table tbody tr{background-color:#fff}#g-results table tbody tr:hover{background-color:#f3f4f7}#g-results table tbody tr td{border-color:#f3f4f7}#g-results table tbody tr td a{transition:.15s ease}#g-results table tbody tr td a:hover{text-decoration:none;color:#2a3042}#g-results .g-search-select,#g-results #g-row-limit{text-align:center}#g-results .form-control{border-color:#8691b2;color:#2a3042;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:13px}#g-results .form-control:focus{box-shadow:none}.table-striped tbody tr:nth-of-type(2n+1){background-color:#fff}.table-bordered th,.table-bordered td{border-right:none;border-left:none}.text-right{display:flex;align-items:center;justify-content:flex-end}@media(max-width: 575px){.text-right.text-centred-xs{justify-content:center}}.text-right #g-row-limit{width:auto;margin:0 10px}@media(max-width: 575px){.text-centred-xs{justify-content:center}}@media(min-width: 768px){.pull-left-sm{display:flex;align-items:center;justify-content:flex-start}}.pagination{display:flex;align-items:center;justify-content:flex-end;margin:0;gap:10px}.pagination span{font-weight:900}.flags{padding-left:20px}.flags img{width:14px;margin-top:-8px}.fa-star{color:#1cbb8c;margin-right:5px}.text-danger{color:#ff3d60 !important}ol.sortable,ol.sortable ol{margin:0 0 0 25px;padding:0;list-style-type:none}ol.sortable{margin:0}ol.sortable,ol.sortable *,ol.sortable *:after,ol.sortable *:before{box-sizing:content-box}.sortable li{margin:0;padding:0}.sortable li div.content{color:#2a3042;cursor:move;height:45px;line-height:45px;margin:0;padding:0 10px;border-bottom:1px solid #e1e1e1;height:100%}.sortable li div.content .text-danger{margin-right:10px}@media(max-width: 575px){.sortable li div.content .text-danger{margin-top:16px;vertical-align:top;margin-right:5px}}#fg-pages-list .sortable li div.content{color:#2a3042;cursor:move;height:45px;line-height:45px;margin:0;padding:0 10px;border-bottom:1px solid #e1e1e1;height:100%}@media(min-width: 576px){#fg-pages-list .sortable li div.content{display:flex;align-items:center}}#fg-pages-list .sortable li div.content .text-danger{margin-right:10px}@media(max-width: 575px){#fg-pages-list .sortable li div.content .text-danger{margin-top:16px;vertical-align:top;margin-right:5px}}#fg-pages-list .sortable li div.content b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(min-width: 576px){#fg-pages-list .sortable li div.content b{display:block}}@media(max-width: 575px){#fg-pages-list .sortable li div.content b{display:inline-block;width:calc(100% - 70px)}}@media(min-width: 1200px){#fg-pages-list .sortable li div.content b{width:calc(100% - 670px)}}@media(min-width: 992px)and (max-width: 1199px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}@media(min-width: 768px)and (max-width: 991px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}@media(min-width: 576px)and (max-width: 767px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}#fg-pages-list .sortable li div.content .menu-box-title{display:flex;align-items:center;justify-content:flex-start}@media(max-width: 575px){#fg-pages-list .sortable li div.content .menu-box-title .disclose,#fg-pages-list .sortable li div.content .menu-box-title .text-danger{margin-top:0}}@media(max-width: 575px){#fg-pages-list .sortable li div.content .menu-box-title{width:100%}}@media(min-width: 1200px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 670px)}}@media(min-width: 992px)and (max-width: 1199px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(min-width: 768px)and (max-width: 991px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(min-width: 576px)and (max-width: 767px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(max-width: 575px){#fg-pages-list .sortable li.sort-leaf .content b{display:inline-block;width:calc(100% - 52px)}}#fg-product-edit .sortable li div.content b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 62px)}.sortable li.sort-branch div{color:#2a3042}.sort-leaf .disclose{content:\"- \";text-indent:-3000px;background-image:url(\"/libraries/jquery-nested-sortable/skin-vista/icons.gif\");background-position:-16px -64px;background-repeat:no-repeat;display:inline-block;height:16px;vertical-align:top;width:16px;margin:16px 5px 0 1px}@media(min-width: 576px){.sort-leaf .disclose{margin:0px 5px 0 1px}}li.sort-collapsed.sort-hover div{border-color:#999}.disclose{cursor:pointer;width:20px;display:none;text-align:center}.sortable li.sort-collapsed>ol{display:none}.sortable li.sort-branch>div .disclose{display:block;float:left;margin-right:15px}.sortable li.sort-collapsed>div .disclose>span:before{display:inline-block;font-family:FontAwesome;font-size:10px;content:\"\";height:25px;width:25px;line-height:25px;border-radius:13px;background:rgba(134,145,178,.1);color:#8691b2;border:1px solid #8691b2;transition:.15s ease}.sortable li.sort-collapsed>div .disclose:hover>span:before,.sortable li.sort-expanded>div .disclose:hover>span:before{background:#8691b2;color:#fff}.sortable li.sort-expanded>div .disclose>span:before{display:inline-block;font-family:FontAwesome;font-size:10px;content:\"\";height:25px;width:25px;line-height:25px;border-radius:13px;background:rgba(134,145,178,.1);color:#8691b2;border:1px solid #8691b2;transition:.15s ease}.menu_sortable .btn-group{display:none;transition:.15s ease}.menu_sortable div:hover .btn-group{display:block;margin-top:-1px}.menu_sortable div:hover .btn-group.pull-right{float:none;margin-bottom:20px;margin-left:20px}@media(min-width: 576px){.menu_sortable div:hover .btn-group.pull-right{float:right;margin-bottom:0;margin-left:0;display:flex;justify-content:space-between;align-items:center}}@media(min-width: 1200px){.menu_sortable div:hover .btn-group.pull-right{width:668px}}@media(min-width: 992px)and (max-width: 1199px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(min-width: 768px)and (max-width: 991px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(min-width: 576px)and (max-width: 767px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(max-width: 1199px){.menu_sortable div:hover .btn-group .btn.btn-sm .fa{margin-right:0}}@media(max-width: 1199px){.menu_sortable div:hover .btn-group .hidden-xs{display:none}}.resp-vtabs li.resp-tab-active{position:relative;z-index:1;margin-right:-1px;padding:10px 15px;margin-bottom:0;border-top:none;border:none;border-left:none;border-right:none;border-right:2px solid #8691b2;background-color:#f3f4f7}.resp-tab-active{color:#8691b2}.htabs li.resp-tab-active{border-right:none;color:#2a3042;background-color:#8691b2;border-radius:.25rem;color:#fff}.htabs li.resp-tab-active .fa-star{color:#fff}.resp-vtabs>.resp-tabs-container{border:none;min-height:274px}#fg-order-details .details .order-history div{font-size:13px}#fg-order-details .details i.fa-copy{font-size:16px;cursor:pointer;margin-left:5px;margin-right:10px}#fg-order-details .details b a{color:#8691b2;transition:ease .3s}#fg-order-details .details b a:hover{color:#2a3042}#fg-order-details .details .order-status{margin-bottom:5px}#fg-order-details .resend_order_confirmation_email{margin-top:25px}.date-range-icon{display:flex;align-items:center}.date-range-icon .fa-calendar:before{margin-left:10px;margin-right:10px;height:100%}.input-group .btn{border-radius:0 3px 3px 0;display:flex;align-items:center}input[type=checkbox]{position:relative;width:40px;height:20px;-webkit-appearance:none;background:#ced4da;outline:none;border-radius:10px;box-shadow:inset 0 0 5px rgba(0,0,0,.2)}input:checked[type=checkbox]{background:#8691b2}input[type=checkbox]:before{content:\"\";position:absolute;width:20px;height:20px;border-radius:10px;top:0;left:0;background:#fff;transform:scale(1.1);box-shadow:0 2px 5px rgba(0,0,0,.2);transition:.5s}input:checked[type=checkbox]:before{left:20px}#images-uploader,#files-uploader{clear:both}#images-uploader,#images-uploader *,#files-uploader,#files-uploader *{box-sizing:content-box !important}#images-list{margin:0;padding:0 5px;display:grid;grid-template-columns:repeat(auto-fit, minmax(150px, 200px))}#images-list li{background:#fff;text-align:center;display:block;height:165px;margin:5px 5px 10px 5px;vertical-align:middle;position:relative}#images-list li.sortable-chosen{-webkit-box-shadow:-1px 1px 6px rgba(0,0,0,.75);-moz-box-shadow:-1px 1px 6px rgba(0,0,0,.75);box-shadow:-1px 1px 6px rgba(0,0,0,.75)}#images-list li .article-image{height:100%;width:100%;object-fit:cover}#images-list li .image-alt{padding:5px;height:30px;font-size:13px}#images-list li .article_image_delete{border:0;padding:13px;position:absolute;top:0;right:0}#images-list li .article_image_delete i{font-size:18px}#images-list li .image-alt{position:absolute;bottom:10px;border:0;background:#2a3042;text-align:center;color:#fff}#images-list li .image-alt::placeholder{color:#fff}#images-list li:hover .article-image-edit,#images-list li.pending .article-image-edit{display:block}.article-image-edit{background:hsla(0,0%,100%,.8);position:absolute;height:100%;width:150px;cursor:pointer;line-height:168px;display:none}.article-image-edit i{font-size:28px;color:#c00}.article-image-edit img{height:50px;position:relative;top:12px}#files-list{list-style-type:none;margin:0;padding:0}#files-list li{float:left;margin:5px 7px}#files-list li .article_file_delete{border-color:rgba(0,0,0,.05)}#fg-order-details .details .row{margin-bottom:15px}.cke_chrome{background:#fff !important}.cke_bottom,.cke_top{background:#fff !important}.plupload_filelist_header,.plupload_filelist_footer{background:#dbdee8 !important}.plupload_scroll .plupload_filelist{background:rgba(0,0,0,0) !important}.icheckbox_minimal-blue{background-position:0 0 !important}.icheckbox_minimal-blue:hover{background-position:0 0 !important}.icheckbox_minimal-blue.checked{background-position:-40px 0 !important}.icheckbox_minimal-blue.checked:hover{background-position:-40px 0 !important}#fg-product-edit .form-group,#fg-promotion-edit .form-group,#fg-article-edit .form-group,#fg-values-edit .form-group{width:100%}#fg-product-edit .form-group .list,#fg-promotion-edit .form-group .list,#fg-article-edit .form-group .list,#fg-values-edit .form-group .list{margin-bottom:5px}#fg-product-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-promotion-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-article-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-values-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content{display:flex;justify-content:flex-start;align-items:center}#fg-product-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-promotion-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-article-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-values-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox{margin-right:5px}#fg-product-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-promotion-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-article-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-values-edit #settings-tabs .settings-tabs .form-group #products_related{max-width:100%;overflow:overlay}#fg-g-edit .sortable .sort-leaf .content,#fg-layout-edit .sortable .sort-leaf .content{display:flex;align-items:center}@media(max-width: 575px){#fg-g-edit .sortable .sort-leaf .content,#fg-layout-edit .sortable .sort-leaf .content{align-items:flex-start}}@media(max-width: 575px){#fg-g-edit .sortable .sort-leaf .content .icheckbox_minimal-blue,#fg-layout-edit .sortable .sort-leaf .content .icheckbox_minimal-blue{margin-top:16px;margin-right:5px}}#files-uploader_container .plupload .plupload_content .plupload_filelist_footer,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer{height:auto}@media(max-width: 575px){#files-uploader_container .plupload .plupload_content .plupload_filelist_footer,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer{display:flex;align-items:center}}#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_status,#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_size,#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_progress,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_status,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_size,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_progress{width:40px}.selectize-control .selectize-input .item a.remove{margin:1px}.progress-box{position:absolute;top:0px;width:100%;height:100%;z-index:200;background:#fff;padding:0px;margin-left:-15px}.progress-box.hidden{display:none}.progress{margin:15px;height:35px;transform:translateY(-100%);position:relative;top:30%;background-color:#333}.version{position:relative;top:5%}.version h3 p{display:inline-block}.version h3{text-align:center}#fg-order-details .details table{margin-top:30px}#fg-order-details .details table .order-product-details .custom-fields{font-size:11px}#fg-order-details .details table .order-product-details .custom-fields b{font-weight:600}#fg-order-details .details table .order-product-details .atributes{font-size:11px}#fg-order-details .details table .order-product-details .atributes b{font-weight:600}.table{white-space:nowrap;font-size:13px}.table .tab-center{text-align:center}.table .product-image{float:left;width:75px;height:75px;margin-right:10px}.table .product-image img{width:100%;height:100%;object-fit:contain}.table .tab-right{text-align:right}.table a{color:#4aa3ff;transition:.15s ease;font-weight:500}.table a:hover{color:#2a3042}.table thead{background-color:#f3f4f7}.table thead th{vertical-align:middle;border-bottom:none;border-top:none}.table tbody td{vertical-align:middle}.table tbody td.product-image{width:100px;padding:0}.table tbody td.product-image img{width:100%}#table-products .product-categories{display:block;width:100%;text-wrap:wrap}#table-products .product-name{display:flex;justify-content:space-between}#table-products .product-name .duplicate-product{margin-left:15px}#table-products .duplicate-product{float:right;font-size:13px}#table-products .btn-success{color:#fff !important}#table-products .btn-success.btn-create-product{margin-top:5px}.inpost-map-container{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);z-index:1000;padding:100px;display:none;-webkit-transition:all .5s ease;transition:all .5s ease}@media(max-width: 767px){.inpost-map-container{padding:15px}}.inpost-map-container #inpost-map{background:#fff}.inpost-map-container .inpost-hide{margin:15px auto;float:right;color:#fff !important;text-transform:uppercase;-webkit-transition:all .5s ease;transition:all .5s ease;font-weight:600}.sales-grid{text-align:center}.sales-grid td{padding:2px 4px;width:12.5%}.mobile-menu-btn{position:fixed;right:10px;bottom:10px;z-index:9999;height:50px;width:50px;color:#fff;background:#2a3042;line-height:50px;text-align:center;font-size:25px;cursor:pointer;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:none}@media(max-width: 991px){.mobile-menu-btn{display:block}}@media(max-width: 575px){.mobile-menu-btn.active{background:#fff;color:#2a3042}}@media(max-width: 575px){.hidden-xs{display:none}}.dashboard-page #table-products>.row>#g-menu,.dashboard-page .g-container>.row>#g-menu{margin-bottom:10px}@media(max-width: 767px){.dashboard-page #table-products>.row>.col-md-3>.pull-right,.dashboard-page .g-container>.row>.col-md-3>.pull-right{float:left}}@media(max-width: 767px){.dashboard-page #table-products>.row>.col-md-3>.pull-right #g-columns-list,.dashboard-page .g-container>.row>.col-md-3>.pull-right #g-columns-list{right:auto;left:15px}}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group .input-group #dates{max-width:200px}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group .input-group .date-range-icon{border-top:1px solid #ced4da;border-right:1px solid #ced4da;border-bottom:1px solid #ced4da;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group select#template{max-width:233px}@media(max-width: 767px){.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container{padding:0}}.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container h2 i{margin-right:10px}.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container .resp-tab-content{padding:10px}@media(max-width: 767px){.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container .resp-tab-content{padding:10px}}.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-lg-4 .row .buttons .order_status_change_email,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-lg-4 .row .buttons .order_status_change,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-xl-4 .row .buttons .order_status_change_email,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-xl-4 .row .buttons .order_status_change{margin-bottom:10px}.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .input-group span.input-group-addon{border-top-left-radius:0;border-bottom-left-radius:0}@media(max-width: 575px){.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-md-6 .col-sm-6:last-child .form-control{margin-top:15px}}.status_select #order-status{max-width:280px}.combination-attribute{border:1px solid #ced4da}.combination-attribute .title{padding:5px 10px;font-weight:600}.combination-attribute .values{padding:5px 10px;list-style-type:none}@media(max-width: 768px){.panel .panel-heading .btn-send-order-to-apilo{float:none !important}}.panel .panel-heading.with-buttons{display:flex;align-items:center;justify-content:space-between}.nav.nav-tabs-right{justify-content:flex-end}.input-group-addon{display:flex;align-items:center;justify-content:center;min-width:65px}select.input-sm{line-height:20px}.form-control{font-size:14px}.baselinker-product-search,.apilo-product-search{cursor:pointer}.baselinker-found-products{margin-top:10px}.baselinker-found-products p{margin-bottom:0}.baselinker-found-products button{margin-top:5px}.dashboard-summary{display:flex;flex-wrap:wrap;gap:20px}.dashboard-summary .panel{max-width:300px;width:100%}.custom-labels{display:flex;flex-wrap:wrap;gap:5px}.custom-labels input{max-width:150px;border:1px solid #dfdfdf !important;padding:0 5px;font-size:12px !important}.custom-labels input::placeholder{color:#dfdfdf;font-style:italic}input.form-control[type=text],select.form-control{height:35px;font-size:13px}textarea.form-control{font-size:13px}.order-details .paid-status{margin-top:10px}.order-details .paid-status a{font-weight:300}.order-details .paid-status .panel-body span{display:inline-flex;height:30px;width:30px;background:#2a3042;color:#fff;align-items:center;justify-content:center;border-radius:50%}.order-details .paid-status .panel-body span.danger{background:#ff1741}.product-xml-data{display:grid;grid-template-columns:1fr;gap:10px}@media(min-width: 768px){.product-xml-data{grid-template-columns:1fr 1fr}}@media(min-width: 992px){.product-xml-data{grid-template-columns:1fr 1fr 1fr}}@media(min-width: 1200px){.product-xml-data{grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr}}.product-xml-data input::placeholder{font-style:italic;opacity:.5}.product-xml-data .custom_label_0_container,.product-xml-data .custom_label_1_container,.product-xml-data .custom_label_2_container,.product-xml-data .custom_label_3_container,.product-xml-data .custom_label_4_container{position:relative}.product-xml-data .custom_label_0_container .custom_label_0_suggestions,.product-xml-data .custom_label_0_container .custom_label_1_suggestions,.product-xml-data .custom_label_0_container .custom_label_2_suggestions,.product-xml-data .custom_label_0_container .custom_label_3_suggestions,.product-xml-data .custom_label_0_container .custom_label_4_suggestions,.product-xml-data .custom_label_1_container .custom_label_0_suggestions,.product-xml-data .custom_label_1_container .custom_label_1_suggestions,.product-xml-data .custom_label_1_container .custom_label_2_suggestions,.product-xml-data .custom_label_1_container .custom_label_3_suggestions,.product-xml-data .custom_label_1_container .custom_label_4_suggestions,.product-xml-data .custom_label_2_container .custom_label_0_suggestions,.product-xml-data .custom_label_2_container .custom_label_1_suggestions,.product-xml-data .custom_label_2_container .custom_label_2_suggestions,.product-xml-data .custom_label_2_container .custom_label_3_suggestions,.product-xml-data .custom_label_2_container .custom_label_4_suggestions,.product-xml-data .custom_label_3_container .custom_label_0_suggestions,.product-xml-data .custom_label_3_container .custom_label_1_suggestions,.product-xml-data .custom_label_3_container .custom_label_2_suggestions,.product-xml-data .custom_label_3_container .custom_label_3_suggestions,.product-xml-data .custom_label_3_container .custom_label_4_suggestions,.product-xml-data .custom_label_4_container .custom_label_0_suggestions,.product-xml-data .custom_label_4_container .custom_label_1_suggestions,.product-xml-data .custom_label_4_container .custom_label_2_suggestions,.product-xml-data .custom_label_4_container .custom_label_3_suggestions,.product-xml-data .custom_label_4_container .custom_label_4_suggestions{position:absolute;top:101%;left:0;border:1px solid #1cbb8c;width:100%;display:none;z-index:99}.product-xml-data .custom_label_0_container .custom_label_0_suggestions div,.product-xml-data .custom_label_0_container .custom_label_1_suggestions div,.product-xml-data .custom_label_0_container .custom_label_2_suggestions div,.product-xml-data .custom_label_0_container .custom_label_3_suggestions div,.product-xml-data .custom_label_0_container .custom_label_4_suggestions div,.product-xml-data .custom_label_1_container .custom_label_0_suggestions div,.product-xml-data .custom_label_1_container .custom_label_1_suggestions div,.product-xml-data .custom_label_1_container .custom_label_2_suggestions div,.product-xml-data .custom_label_1_container .custom_label_3_suggestions div,.product-xml-data .custom_label_1_container .custom_label_4_suggestions div,.product-xml-data .custom_label_2_container .custom_label_0_suggestions div,.product-xml-data .custom_label_2_container .custom_label_1_suggestions div,.product-xml-data .custom_label_2_container .custom_label_2_suggestions div,.product-xml-data .custom_label_2_container .custom_label_3_suggestions div,.product-xml-data .custom_label_2_container .custom_label_4_suggestions div,.product-xml-data .custom_label_3_container .custom_label_0_suggestions div,.product-xml-data .custom_label_3_container .custom_label_1_suggestions div,.product-xml-data .custom_label_3_container .custom_label_2_suggestions div,.product-xml-data .custom_label_3_container .custom_label_3_suggestions div,.product-xml-data .custom_label_3_container .custom_label_4_suggestions div,.product-xml-data .custom_label_4_container .custom_label_0_suggestions div,.product-xml-data .custom_label_4_container .custom_label_1_suggestions div,.product-xml-data .custom_label_4_container .custom_label_2_suggestions div,.product-xml-data .custom_label_4_container .custom_label_3_suggestions div,.product-xml-data .custom_label_4_container .custom_label_4_suggestions div{padding:5px;cursor:pointer;background:#1cbb8c;color:#fff;border-bottom:1px solid #1cbb8c}.product-xml-data .custom_label_0_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_4_suggestions div:last-child{border-bottom:none}.jconfirm-title{line-height:1.25 !important}.site-title{font-size:18px;font-weight:600;margin:5px 0 10px 5px}.site-subtitle{font-size:13px;margin:0 0 10px 5px}#g-list{margin-bottom:15px !important}.pagination input[type=number]{border:1px solid #ddd;height:31px;width:50px;text-align:center}.input-group-addon{width:auto}.input-group-addon label{display:flex;align-items:center;gap:5px}.additional_fields input[type=text]{height:40px}#integrationsDropdownBtn{width:50px;text-align:center}.dropdown-menu-right a{font-size:14px}","// out: ../style-css/style.css, compress: true, sourceMap: true\r\n@import \"_mixins\";\r\n$cGray: #74788d;\r\n$cGrayLight: #ced4da;\r\n$cGrayBg: #f8f8fb;\r\n$cBlue: #4aa3ff;\r\n$cMenuBg: #2a3042;\r\n$cMenuText: #8691b2;\r\n$cFilemenagerBg: #dbdee8;\r\n$cHoverBackground: #f3f4f7;\r\n$cGreenBtn: #1cbb8c;\r\n$cGreenBtnHover: #179a73;\r\n$cRedBtn: #ff3d60;\r\n$cRedBtnHover: #ff1741;\r\n$cVioletBtn: #5664d2;\r\n$cVioletBtnHover: #3848ca;\r\n$cInfoBtn: #939dba;\r\n$cInfoBtnHover: #8691b2;\r\n$cYellowBtn: #fcb92c;\r\n$cYellowBtnHover: #fbac06;\r\n$font1: 'Open Sans',\r\nsans-serif;\r\n\r\nbody {\r\n font-size: 13px;\r\n}\r\n\r\n.form-group {\r\n &::after {\r\n content: '';\r\n display: block;\r\n clear: both;\r\n }\r\n}\r\n\r\n.table {\r\n .text-bold {\r\n font-weight: 600;\r\n }\r\n\r\n .text-center {\r\n input {\r\n margin: auto;\r\n }\r\n }\r\n}\r\n\r\n.baselinker-delete-linking,\r\n.apilo-delete-linking {\r\n display: flex;\r\n gap: 5px;\r\n align-items: center;\r\n justify-content: center;\r\n margin-top: 10px;\r\n cursor: pointer;\r\n}\r\n\r\n// statusy zamówień\r\ntr.status-0 {\r\n .order-status {\r\n color: $cVioletBtn;\r\n }\r\n}\r\n\r\ntr.status-1 {\r\n .order-status {\r\n color: #468639;\r\n }\r\n}\r\n\r\ntr.status-2,\r\ntr.status-3 {\r\n .order-status {\r\n color: $cRedBtn;\r\n }\r\n}\r\n\r\ntr.status-4 {\r\n .order-status {\r\n color: $cYellowBtn;\r\n }\r\n}\r\n\r\n// zamówienie wysłane\r\ntr.status-5 {\r\n .order-status {\r\n color: #f7abb0;\r\n }\r\n}\r\n\r\n// zamówienie zrealizowane\r\ntr.status-6,\r\ntr.status-8 {\r\n .order-status {\r\n color: #bfbfbf;\r\n }\r\n}\r\n\r\ntr.status-7 {\r\n .order-status {\r\n color: #95c11f;\r\n }\r\n}\r\n\r\nbody {\r\n font-family: $font1;\r\n color: $cMenuBg;\r\n\r\n a {\r\n &:hover {\r\n text-decoration: none;\r\n }\r\n }\r\n\r\n input:-webkit-autofill,\r\n input:-webkit-autofill:hover,\r\n input:-webkit-autofill:focus textarea:-webkit-autofill,\r\n textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,\r\n select:-webkit-autofill,\r\n select:-webkit-autofill:hover,\r\n select:-webkit-autofill:focus {\r\n -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;\r\n }\r\n}\r\n\r\n#main {\r\n height: 100vh;\r\n\r\n .container-fluid {\r\n height: 100%;\r\n\r\n .row {\r\n height: 100%;\r\n\r\n .unlogged-panel {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background: #fff;\r\n\r\n .login-panel {\r\n width: 80%;\r\n\r\n .login-panel-content {\r\n .login-shoppro {\r\n text-align: center;\r\n font-size: 26px;\r\n color: $cBlue;\r\n }\r\n\r\n .title {\r\n text-align: center;\r\n font-size: 22px;\r\n line-height: 24px;\r\n font-weight: 600;\r\n margin-top: 50px;\r\n margin-bottom: 10px;\r\n }\r\n\r\n .subtitle {\r\n text-align: center;\r\n font-size: 12px;\r\n line-height: 20px;\r\n font-weight: 300;\r\n color: $cGray;\r\n }\r\n\r\n .form-horizontal {\r\n margin-top: 50px;\r\n\r\n .form-group {\r\n .input-login {\r\n position: relative;\r\n\r\n &:before {\r\n position: absolute;\r\n content: 'Login';\r\n color: $cGray;\r\n font-size: 14px;\r\n line-height: 21px;\r\n top: 5px;\r\n left: 50px;\r\n z-index: 801;\r\n }\r\n }\r\n\r\n .input-password {\r\n position: relative;\r\n\r\n &:before {\r\n position: absolute;\r\n content: 'Hasło';\r\n color: $cGray;\r\n font-size: 14px;\r\n line-height: 21px;\r\n top: 5px;\r\n left: 50px;\r\n z-index: 801;\r\n }\r\n }\r\n\r\n .input-group {\r\n input {\r\n height: 60px;\r\n background: transparent;\r\n padding-top: 30px;\r\n padding-bottom: 10px;\r\n padding-left: 50px;\r\n margin-left: -52px;\r\n border: 1px solid #dedfe0;\r\n box-shadow: none;\r\n }\r\n\r\n .form-control {\r\n border: 1px solid #dedfe0;\r\n }\r\n\r\n .input-group-prepend {\r\n .input-group-text {\r\n background: transparent;\r\n border: none;\r\n }\r\n\r\n .icon {\r\n padding-left: 20px;\r\n padding-right: 20px;\r\n\r\n i {\r\n z-index: 800;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n .sumbit {\r\n text-align: center;\r\n\r\n .btn {\r\n background-color: $cBlue;\r\n color: #fff;\r\n border-radius: 4px;\r\n font-size: 14px;\r\n line-height: 21px;\r\n font-weight: 400;\r\n padding: 10px 30px;\r\n margin-top: 50px;\r\n }\r\n }\r\n }\r\n\r\n .copyright {\r\n text-align: center;\r\n font-size: 14px;\r\n line-height: 21px;\r\n font-weight: 400;\r\n color: $cGray;\r\n margin-top: 100px;\r\n\r\n a {\r\n color: $cGray;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n .unlogged-bg {\r\n background: url('/admin/layout/images/bg-unlogged.png') no-repeat right;\r\n background-size: cover;\r\n display: flex;\r\n\r\n @include respond-below(xs) {\r\n display: none;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .home {\r\n position: fixed;\r\n z-index: 999;\r\n color: #fff;\r\n top: 30px;\r\n right: 30px;\r\n\r\n img {\r\n width: 30px;\r\n\r\n @include respond-below(xs) {\r\n filter: invert(100%);\r\n }\r\n }\r\n }\r\n}\r\n\r\n.admin-page {\r\n background-color: $cGrayBg;\r\n\r\n .menu {\r\n &.visible {\r\n display: block;\r\n\r\n @include respond-below(xs) {\r\n width: 100vw;\r\n\r\n }\r\n }\r\n\r\n @include respond-below(md) {\r\n display: none;\r\n }\r\n\r\n z-index: 900;\r\n padding: 0 25px;\r\n background-color: $cMenuBg;\r\n height: 100%;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n overflow: scroll;\r\n\r\n &::-webkit-scrollbar {\r\n display: none;\r\n /* Chrome Safari */\r\n width: 0;\r\n height: 0;\r\n }\r\n\r\n scrollbar-width: none;\r\n /* Firefox */\r\n -ms-overflow-style: none;\r\n /* IE 10+ */\r\n overflow-y:scroll;\r\n overflow-x:hidden;\r\n color: $cMenuText;\r\n\r\n .logo {\r\n width: 100%;\r\n color: #fff;\r\n background-color: $cMenuBg;\r\n text-align: center;\r\n padding: 20px 0;\r\n font-size: 24px;\r\n font-weight: 400;\r\n\r\n span {\r\n font-size: 11px;\r\n color: $cMenuText;\r\n }\r\n\r\n a {\r\n font-size: 11px;\r\n padding: 5px 20px;\r\n border-radius: .25rem;\r\n display: inline-block;\r\n margin-top: 10px;\r\n transition: ease 0.3s;\r\n text-transform: uppercase;\r\n font-weight: 700;\r\n color: $cMenuBg;\r\n background-color: #fff;\r\n border: 1px solid #fff;\r\n\r\n &:hover {\r\n color: $cMenuText;\r\n background-color: $cMenuBg;\r\n border: 1px solid $cMenuText;\r\n }\r\n }\r\n }\r\n\r\n .menu-content {\r\n .title {\r\n text-transform: uppercase;\r\n color: $cMenuText;\r\n font-size: 12px;\r\n font-weight: 700;\r\n margin-bottom: 10px;\r\n }\r\n\r\n ul {\r\n list-style-type: none;\r\n padding-inline-start: 0px;\r\n\r\n li {\r\n a {\r\n color: $cMenuText;\r\n font-size: 13px;\r\n font-weight: 400;\r\n line-height: 27px;\r\n padding: 4px 0px;\r\n display: block;\r\n\r\n &:hover {\r\n color: #fff;\r\n\r\n img {\r\n filter: brightness(200%);\r\n }\r\n }\r\n\r\n img,\r\n i {\r\n margin-right: 20px;\r\n width: 20px;\r\n text-align: center;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.preview {\r\n width: 100%;\r\n background: $cMenuBg;\r\n text-align: center;\r\n position: -webkit-sticky;\r\n position: sticky;\r\n bottom: 0;\r\n z-index: 1020;\r\n\r\n @include respond-below(xs) {\r\n text-align: left;\r\n }\r\n\r\n &:hover {\r\n a {\r\n color: #fff;\r\n width: 100%;\r\n height: 100%;\r\n }\r\n\r\n img {\r\n filter: brightness(200%);\r\n }\r\n }\r\n\r\n a {\r\n text-transform: uppercase;\r\n padding: 20px 0;\r\n color: $cMenuText;\r\n font-size: 12px;\r\n font-weight: 700;\r\n margin-bottom: 10px;\r\n display: inline-block;\r\n margin-bottom: 0;\r\n\r\n img {\r\n margin-top: -4px;\r\n }\r\n }\r\n}\r\n\r\n.site-content {\r\n\r\n &.with-menu {\r\n width: 100%;\r\n\r\n @include respond-above(xs) {\r\n width: calc(100% - 243px);\r\n\r\n margin-left: 243px;\r\n }\r\n }\r\n\r\n @include respond-below(md) {\r\n margin-left: 0;\r\n }\r\n\r\n background-color: #fff;\r\n margin-left: 244px;\r\n\r\n .top-user {\r\n text-align: right;\r\n background-color: #fff;\r\n padding-top: 10px;\r\n padding-bottom: 10px;\r\n text-align: right;\r\n }\r\n\r\n .dropdown {\r\n position: relative;\r\n display: inline-block;\r\n color: $cMenuBg;\r\n font-size: 15px;\r\n\r\n img {\r\n margin-left: 10px;\r\n }\r\n\r\n &:hover {\r\n .dropdown-content {\r\n display: block;\r\n }\r\n }\r\n\r\n .dropdown-content {\r\n display: none;\r\n transition: ease 0.3s;\r\n position: absolute;\r\n background-color: #fff;\r\n box-shadow: 7px 7px 15px 5px rgba(0, 0, 0, 0.05);\r\n padding: 12px 16px;\r\n z-index: 1;\r\n right: 0;\r\n font-size: 14px;\r\n\r\n a {\r\n font-size: 14px;\r\n line-height: 15px;\r\n font-weight: 400;\r\n color: $cMenuBg;\r\n display: block;\r\n padding: 5px 0;\r\n white-space: nowrap;\r\n\r\n span {\r\n margin-right: 10px;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .dashboard-page {\r\n padding-top: 10px;\r\n padding-bottom: 10px;\r\n background-color: $cHoverBackground;\r\n\r\n\r\n\r\n .dashboard-content {\r\n border-radius: .25rem;\r\n margin-bottom: 15px;\r\n background: #fff;\r\n margin: 10px 0;\r\n padding: 15px;\r\n box-shadow: 7px 7px 15px 5px rgba(0, 0, 0, 0.05);\r\n\r\n .dashboard-title {\r\n text-transform: uppercase;\r\n font-weight: 800;\r\n margin-bottom: 15px;\r\n }\r\n\r\n table {\r\n white-space: nowrap;\r\n font-size: 13px;\r\n\r\n &.dashboard-products {\r\n tbody {\r\n tr {\r\n td:nth-child(2) {\r\n max-width: 300px;\r\n text-overflow: ellipsis;\r\n overflow: hidden;\r\n }\r\n\r\n td.text-right {\r\n display: table-cell;\r\n text-align: right;\r\n }\r\n }\r\n }\r\n }\r\n\r\n a {\r\n color: $cMenuText;\r\n transition: .15s ease;\r\n font-weight: 800;\r\n\r\n &:hover {\r\n color: $cMenuBg;\r\n }\r\n }\r\n\r\n img {\r\n height: 50px;\r\n }\r\n\r\n thead {\r\n background-color: $cHoverBackground;\r\n\r\n th {\r\n vertical-align: middle;\r\n border-bottom: none;\r\n border-top: none;\r\n }\r\n }\r\n\r\n tbody {\r\n td {\r\n vertical-align: middle;\r\n }\r\n }\r\n }\r\n\r\n .table-hover tbody tr:hover {\r\n background-color: $cHoverBackground;\r\n }\r\n }\r\n }\r\n}\r\n\r\n.alert {\r\n .fa {\r\n margin-right: 10px;\r\n }\r\n}\r\n\r\n.btn-default,\r\n.btn-success,\r\n.btn-danger,\r\n.btn-info,\r\n.btn-system,\r\n.btn-dark,\r\n.btn-primary {\r\n color: #fff;\r\n padding: .47rem .75rem;\r\n font-size: 13px;\r\n line-height: 1.5;\r\n font-weight: 300;\r\n border-radius: .25rem;\r\n transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n\r\n @include respond-below(xs) {\r\n font-size: 12px;\r\n }\r\n\r\n &:hover {\r\n color: #fff;\r\n }\r\n\r\n .fa {\r\n margin-right: 8px;\r\n }\r\n\r\n &#g-columns-list-close {\r\n .fa {\r\n margin-right: 0px;\r\n }\r\n }\r\n\r\n &.article_image_delete {\r\n .fa {\r\n margin-right: 0;\r\n }\r\n }\r\n\r\n &#g-select-columns {\r\n .fa {\r\n margin-right: 0px;\r\n }\r\n }\r\n\r\n &.btn-value-remove {\r\n margin-left: 15px;\r\n\r\n .fa-trash-o {\r\n margin-right: 0px;\r\n }\r\n }\r\n\r\n &.btn-delete-permutation {\r\n text-align: center;\r\n color: #FFF;\r\n\r\n i {\r\n margin: 0;\r\n }\r\n }\r\n\r\n &.fa-link {\r\n height: 35px;\r\n }\r\n}\r\n\r\n.btn-default {\r\n color: #000;\r\n}\r\n\r\n.attribute-value-add {\r\n margin-top: 16px;\r\n}\r\n\r\n.btn-success {\r\n background-color: $cGreenBtn;\r\n border-color: $cGreenBtn;\r\n\r\n &:hover {\r\n background-color: $cGreenBtnHover;\r\n border-color: $cGreenBtnHover;\r\n }\r\n}\r\n\r\n.btn-danger {\r\n background-color: $cRedBtn;\r\n border-color: $cRedBtn;\r\n\r\n &:hover {\r\n background-color: $cRedBtnHover;\r\n border-color: $cRedBtnHover;\r\n }\r\n}\r\n\r\n.btn-info {\r\n background-color: $cVioletBtn;\r\n border-color: $cVioletBtn;\r\n\r\n &:hover {\r\n background-color: $cVioletBtnHover;\r\n border-color: $cVioletBtnHover;\r\n }\r\n}\r\n\r\n.btn-primary {\r\n background-color: $cInfoBtn;\r\n border-color: $cInfoBtn;\r\n\r\n &:hover {\r\n background-color: $cInfoBtnHover;\r\n border-color: $cInfoBtnHover;\r\n }\r\n}\r\n\r\n.btn-system {\r\n background-color: $cYellowBtn;\r\n border-color: $cYellowBtn;\r\n\r\n &:hover {\r\n background-color: $cYellowBtnHover;\r\n border-color: $cYellowBtnHover;\r\n }\r\n}\r\n\r\n#fg-values-edit {\r\n #settings-tabs {\r\n .resp-tabs-container {\r\n\r\n .resp-tab-content {\r\n @include respond-above(sm) {\r\n padding-bottom: 0;\r\n }\r\n\r\n #languages-main {\r\n .btn-value-add {\r\n margin-bottom: 15px;\r\n }\r\n }\r\n }\r\n\r\n .default-value {\r\n margin-bottom: 1rem;\r\n }\r\n }\r\n }\r\n}\r\n\r\n#g-list td a i {\r\n color: $cMenuBg !important;\r\n}\r\n\r\n#g-list {\r\n\r\n input.product-price,\r\n input.product-price-promo {\r\n width: 100%;\r\n }\r\n}\r\n\r\n#g-columns-list {\r\n font-size: 13px;\r\n font-weight: 400;\r\n border: 1px solid $cHoverBackground !important;\r\n border-radius: 0.25rem;\r\n\r\n ul {\r\n li {\r\n border-bottom: 1px solid $cHoverBackground !important;\r\n height: auto !important;\r\n min-height: 30px;\r\n display: flex;\r\n align-items: center;\r\n }\r\n }\r\n}\r\n\r\n#g-results {\r\n font-size: 13px;\r\n margin-top: 10px;\r\n\r\n #g-list {\r\n color: $cMenuBg;\r\n\r\n >thead:nth-child(1) {\r\n >tr:nth-child(1) {\r\n background-color: $cHoverBackground;\r\n }\r\n }\r\n\r\n th {\r\n vertical-align: middle;\r\n }\r\n }\r\n\r\n table {\r\n color: $cMenuBg;\r\n\r\n thead {\r\n tr {\r\n th {\r\n border: none;\r\n }\r\n }\r\n }\r\n\r\n tbody {\r\n tr {\r\n background-color: #fff;\r\n\r\n &:hover {\r\n background-color: $cHoverBackground;\r\n }\r\n\r\n td {\r\n border-color: $cHoverBackground;\r\n\r\n a {\r\n transition: .15s ease;\r\n\r\n &:hover {\r\n text-decoration: none;\r\n color: $cMenuBg;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n .g-search-select,\r\n #g-row-limit {\r\n text-align: center;\r\n }\r\n\r\n .form-control {\r\n border-color: $cMenuText;\r\n color: $cMenuBg;\r\n -webkit-appearance: none;\r\n -moz-appearance: none;\r\n appearance: none;\r\n font-size: 13px;\r\n\r\n &:focus {\r\n box-shadow: none;\r\n }\r\n }\r\n}\r\n\r\n.table-striped tbody tr:nth-of-type(2n+1) {\r\n background-color: #fff;\r\n}\r\n\r\n.table-bordered th,\r\n.table-bordered td {\r\n border-right: none;\r\n border-left: none;\r\n}\r\n\r\n.text-right {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n\r\n &.text-centred-xs {\r\n @include respond-below(xs) {\r\n justify-content: center;\r\n }\r\n }\r\n\r\n #g-row-limit {\r\n width: auto;\r\n margin: 0 10px;\r\n }\r\n\r\n\r\n}\r\n\r\n.text-centred-xs {\r\n @include respond-below(xs) {\r\n justify-content: center;\r\n }\r\n}\r\n\r\n.pull-left-sm {\r\n @include respond-above(sm) {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-start;\r\n }\r\n\r\n}\r\n\r\n\r\n.pagination {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n margin: 0;\r\n gap: 10px;\r\n\r\n span {\r\n font-weight: 900;\r\n }\r\n}\r\n\r\n.flags {\r\n padding-left: 20px;\r\n\r\n img {\r\n width: 14px;\r\n margin-top: -8px;\r\n }\r\n}\r\n\r\n.fa-star {\r\n color: $cGreenBtn;\r\n margin-right: 5px;\r\n}\r\n\r\n.text-danger {\r\n color: $cRedBtn !important;\r\n}\r\n\r\nol.sortable,\r\nol.sortable ol {\r\n margin: 0 0 0 25px;\r\n padding: 0;\r\n list-style-type: none;\r\n}\r\n\r\nol.sortable {\r\n margin: 0;\r\n}\r\n\r\nol.sortable,\r\nol.sortable *,\r\nol.sortable *:after,\r\nol.sortable *:before {\r\n box-sizing: content-box;\r\n}\r\n\r\n.sortable li {\r\n margin: 0;\r\n padding: 0;\r\n}\r\n\r\n.sortable li div.content {\r\n color: $cMenuBg;\r\n cursor: move;\r\n height: 45px;\r\n line-height: 45px;\r\n margin: 0;\r\n padding: 0 10px;\r\n border-bottom: 1px solid #e1e1e1;\r\n height: 100%;\r\n\r\n .text-danger {\r\n margin-right: 10px;\r\n\r\n @include respond-below(xs) {\r\n margin-top: 16px;\r\n vertical-align: top;\r\n margin-right: 5px;\r\n }\r\n }\r\n\r\n}\r\n\r\n#fg-pages-list {\r\n .sortable {\r\n li {\r\n div {\r\n\r\n &.content {\r\n color: $cMenuBg;\r\n cursor: move;\r\n height: 45px;\r\n line-height: 45px;\r\n margin: 0;\r\n padding: 0 10px;\r\n border-bottom: 1px solid #e1e1e1;\r\n height: 100%;\r\n\r\n @include respond-above(xs) {\r\n display: flex;\r\n align-items: center;\r\n }\r\n\r\n .text-danger {\r\n margin-right: 10px;\r\n\r\n @include respond-below(xs) {\r\n margin-top: 16px;\r\n vertical-align: top;\r\n margin-right: 5px;\r\n }\r\n }\r\n\r\n b {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n\r\n @include respond-above(xs) {\r\n display: block;\r\n }\r\n\r\n @include respond-below(xs) {\r\n display: inline-block;\r\n width: calc(100% - 70px);\r\n }\r\n\r\n @include respond-above(lg) {\r\n width: calc(100% - 670px);\r\n }\r\n\r\n @include respond-between(md, lg) {\r\n width: calc(100% - 222px);\r\n }\r\n\r\n @include respond-between(sm, md) {\r\n width: calc(100% - 222px);\r\n }\r\n\r\n @include respond-between(xs, sm) {\r\n width: calc(100% - 222px);\r\n }\r\n }\r\n\r\n .menu-box-title {\r\n\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-start;\r\n\r\n .disclose,\r\n .text-danger {\r\n @include respond-below(xs) {\r\n\r\n margin-top: 0;\r\n }\r\n }\r\n\r\n @include respond-below(xs) {\r\n\r\n width: 100%;\r\n }\r\n\r\n @include respond-above(lg) {\r\n width: calc(100% - 670px);\r\n }\r\n\r\n @include respond-between(md, lg) {\r\n width: calc(100% - 222px);\r\n }\r\n\r\n @include respond-between(sm, md) {\r\n width: calc(100% - 222px);\r\n }\r\n\r\n @include respond-between(xs, sm) {\r\n width: calc(100% - 222px);\r\n }\r\n\r\n }\r\n }\r\n }\r\n\r\n &.sort-leaf {\r\n .content {\r\n b {\r\n @include respond-below(xs) {\r\n display: inline-block;\r\n width: calc(100% - 52px);\r\n }\r\n\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n#fg-product-edit {\r\n .sortable {\r\n li {\r\n div {\r\n &.content {\r\n\r\n b {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n width: calc(100% - 62px);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.sortable li.sort-branch div {\r\n color: $cMenuBg;\r\n}\r\n\r\n.sort-leaf .disclose {\r\n content: '- ';\r\n text-indent: -3000px;\r\n background-image: url('/libraries/jquery-nested-sortable/skin-vista/icons.gif');\r\n background-position: -16px -64px;\r\n background-repeat: no-repeat;\r\n display: inline-block;\r\n height: 16px;\r\n vertical-align: top;\r\n width: 16px;\r\n margin: 16px 5px 0 1px;\r\n\r\n @include respond-above(xs) {\r\n margin: 0px 5px 0 1px;\r\n }\r\n}\r\n\r\nli.sort-collapsed.sort-hover div {\r\n border-color: #999999;\r\n}\r\n\r\n.disclose {\r\n cursor: pointer;\r\n width: 20px;\r\n display: none;\r\n text-align: center;\r\n}\r\n\r\n.sortable li.sort-collapsed>ol {\r\n display: none;\r\n}\r\n\r\n.sortable li.sort-branch>div .disclose {\r\n display: block;\r\n float: left;\r\n margin-right: 15px;\r\n}\r\n\r\n.sortable li.sort-collapsed>div .disclose>span:before {\r\n display: inline-block;\r\n font-family: FontAwesome;\r\n font-size: 10px;\r\n content: '\\f054';\r\n height: 25px;\r\n width: 25px;\r\n line-height: 25px;\r\n border-radius: 13px;\r\n background: rgba(134, 145, 178, .1);\r\n color: $cMenuText;\r\n border: 1px solid $cMenuText;\r\n transition: .15s ease;\r\n}\r\n\r\n.sortable li.sort-collapsed>div .disclose:hover>span:before,\r\n.sortable li.sort-expanded>div .disclose:hover>span:before {\r\n background: $cMenuText;\r\n color: #FFF;\r\n}\r\n\r\n.sortable li.sort-expanded>div .disclose>span:before {\r\n display: inline-block;\r\n font-family: FontAwesome;\r\n font-size: 10px;\r\n content: '\\f078';\r\n height: 25px;\r\n width: 25px;\r\n line-height: 25px;\r\n border-radius: 13px;\r\n background: rgba(134, 145, 178, .1);\r\n color: $cMenuText;\r\n border: 1px solid $cMenuText;\r\n transition: .15s ease;\r\n}\r\n\r\n.menu_sortable .btn-group {\r\n display: none;\r\n transition: .15s ease;\r\n}\r\n\r\n.menu_sortable div {\r\n &:hover {\r\n .btn-group {\r\n display: block;\r\n margin-top: -1px;\r\n\r\n &.pull-right {\r\n float: none;\r\n margin-bottom: 20px;\r\n margin-left: 20px;\r\n\r\n @include respond-above(xs) {\r\n float: right;\r\n margin-bottom: 0;\r\n margin-left: 0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n\r\n }\r\n\r\n @include respond-above(lg) {\r\n width: 668px;\r\n }\r\n\r\n @include respond-between(md, lg) {\r\n width: 222px;\r\n }\r\n\r\n @include respond-between(sm, md) {\r\n width: 222px;\r\n }\r\n\r\n @include respond-between(xs, sm) {\r\n width: 222px;\r\n }\r\n\r\n\r\n\r\n\r\n\r\n }\r\n\r\n .btn {\r\n &.btn-sm {\r\n @include respond-below(lg) {\r\n\r\n .fa {\r\n margin-right: 0;\r\n }\r\n\r\n }\r\n }\r\n }\r\n\r\n .hidden-xs {\r\n @include respond-below(lg) {\r\n display: none;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.resp-vtabs li.resp-tab-active {\r\n position: relative;\r\n z-index: 1;\r\n margin-right: -1px;\r\n padding: 10px 15px;\r\n margin-bottom: 0;\r\n border-top: none;\r\n border: none;\r\n border-left: none;\r\n border-right: none;\r\n border-right: 2px solid $cMenuText;\r\n background-color: $cHoverBackground;\r\n}\r\n\r\n.resp-tab-active {\r\n color: $cMenuText;\r\n}\r\n\r\n.htabs {\r\n li.resp-tab-active {\r\n border-right: none;\r\n color: $cMenuBg;\r\n background-color: $cMenuText;\r\n border-radius: .25rem;\r\n color: #fff;\r\n\r\n .fa-star {\r\n color: #fff;\r\n }\r\n }\r\n}\r\n\r\n.resp-vtabs>.resp-tabs-container {\r\n border: none;\r\n min-height: 274px;\r\n}\r\n\r\n#fg-order-details {\r\n .details {\r\n .order-history {\r\n div {\r\n font-size: 13px;\r\n }\r\n }\r\n\r\n i.fa-copy {\r\n font-size: 16px;\r\n cursor: pointer;\r\n margin-left: 5px;\r\n margin-right: 10px;\r\n }\r\n\r\n b {\r\n a {\r\n color: $cMenuText;\r\n transition: ease 0.3s;\r\n\r\n &:hover {\r\n color: $cMenuBg;\r\n }\r\n }\r\n }\r\n\r\n .order-status {\r\n margin-bottom: 5px;\r\n }\r\n }\r\n\r\n .resend_order_confirmation_email {\r\n margin-top: 25px;\r\n }\r\n}\r\n\r\n.date-range-icon {\r\n display: flex;\r\n align-items: center;\r\n\r\n .fa-calendar:before {\r\n margin-left: 10px;\r\n margin-right: 10px;\r\n height: 100%;\r\n }\r\n}\r\n\r\n.input-group {\r\n .btn {\r\n border-radius: 0 3px 3px 0;\r\n display: flex;\r\n align-items: center;\r\n }\r\n}\r\n\r\ninput[type=\"checkbox\"] {\r\n position: relative;\r\n width: 40px;\r\n height: 20px;\r\n -webkit-appearance: none;\r\n background: $cGrayLight;\r\n outline: none;\r\n border-radius: 10px;\r\n box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);\r\n}\r\n\r\ninput:checked[type=\"checkbox\"] {\r\n background: $cMenuText;\r\n}\r\n\r\ninput[type=\"checkbox\"]:before {\r\n content: '';\r\n position: absolute;\r\n width: 20px;\r\n height: 20px;\r\n border-radius: 10px;\r\n top: 0;\r\n left: 0;\r\n background: #fff;\r\n transform: scale(1.1);\r\n box-shadow: 0 2px 5px rgba(0, 0, 0, .2);\r\n transition: .5s;\r\n}\r\n\r\ninput:checked[type=\"checkbox\"]:before {\r\n left: 20px;\r\n}\r\n\r\n#images-uploader,\r\n#files-uploader {\r\n clear: both;\r\n}\r\n\r\n#images-uploader,\r\n#images-uploader *,\r\n#files-uploader,\r\n#files-uploader * {\r\n box-sizing: content-box !important;\r\n}\r\n\r\n#images-list {\r\n margin: 0;\r\n padding: 0 5px;\r\n display: grid;\r\n grid-template-columns: repeat(auto-fit, minmax(150px, 200px));\r\n ;\r\n}\r\n\r\n#images-list li {\r\n background: #FFF;\r\n text-align: center;\r\n display: block;\r\n height: 165px;\r\n margin: 5px 5px 10px 5px;\r\n vertical-align: middle;\r\n position: relative;\r\n}\r\n\r\n#images-list li.sortable-chosen {\r\n -webkit-box-shadow: -1px 1px 6px rgba(0, 0, 0, .75);\r\n -moz-box-shadow: -1px 1px 6px rgba(0, 0, 0, .75);\r\n box-shadow: -1px 1px 6px rgba(0, 0, 0, .75);\r\n}\r\n\r\n#images-list li .article-image {\r\n height: 100%;\r\n width: 100%;\r\n object-fit: cover;\r\n}\r\n\r\n#images-list li .image-alt {\r\n padding: 5px;\r\n height: 30px;\r\n font-size: 13px;\r\n}\r\n\r\n#images-list li .article_image_delete {\r\n border: 0;\r\n padding: 13px;\r\n position: absolute;\r\n top: 0;\r\n right: 0;\r\n}\r\n\r\n#images-list li .article_image_delete i {\r\n font-size: 18px;\r\n}\r\n\r\n#images-list li .image-alt {\r\n position: absolute;\r\n bottom: 10px;\r\n border: 0;\r\n background: $cMenuBg;\r\n text-align: center;\r\n color: #FFF;\r\n}\r\n\r\n#images-list li .image-alt::placeholder {\r\n color: #FFF;\r\n}\r\n\r\n#images-list li:hover .article-image-edit,\r\n#images-list li.pending .article-image-edit {\r\n display: block;\r\n}\r\n\r\n.article-image-edit {\r\n background: rgba(255, 255, 255, .8);\r\n position: absolute;\r\n height: 100%;\r\n width: 150px;\r\n cursor: pointer;\r\n line-height: 168px;\r\n display: none;\r\n}\r\n\r\n.article-image-edit i {\r\n font-size: 28px;\r\n color: #cc0000;\r\n}\r\n\r\n.article-image-edit img {\r\n height: 50px;\r\n position: relative;\r\n top: 12px;\r\n}\r\n\r\n#files-list {\r\n list-style-type: none;\r\n margin: 0;\r\n padding: 0;\r\n}\r\n\r\n#files-list li {\r\n float: left;\r\n margin: 5px 7px;\r\n}\r\n\r\n#files-list li .article_file_delete {\r\n border-color: rgba(0, 0, 0, 0.05);\r\n}\r\n\r\n#fg-order-details {\r\n .details {\r\n .row {\r\n margin-bottom: 15px;\r\n }\r\n }\r\n}\r\n\r\n.cke_chrome {\r\n background: #fff !important;\r\n}\r\n\r\n.cke_bottom,\r\n.cke_top {\r\n background: #fff !important;\r\n}\r\n\r\n.plupload_filelist_header,\r\n.plupload_filelist_footer {\r\n background: $cFilemenagerBg !important;\r\n}\r\n\r\n.plupload_scroll .plupload_filelist {\r\n background: transparent !important;\r\n}\r\n\r\n.icheckbox_minimal-blue {\r\n background-position: 0 0 !important;\r\n\r\n &:hover {\r\n background-position: 0 0 !important;\r\n }\r\n}\r\n\r\n.icheckbox_minimal-blue.checked {\r\n background-position: -40px 0 !important;\r\n\r\n &:hover {\r\n background-position: -40px 0 !important;\r\n }\r\n}\r\n\r\n#fg-product-edit,\r\n#fg-promotion-edit,\r\n#fg-article-edit,\r\n#fg-values-edit {\r\n .form-group {\r\n width: 100%;\r\n\r\n .list {\r\n margin-bottom: 5px;\r\n }\r\n }\r\n\r\n #settings-tabs {\r\n .settings-tabs {\r\n .form-group {\r\n .menu_sortable {\r\n .sortable {\r\n .content {\r\n display: flex;\r\n justify-content: flex-start;\r\n align-items: center;\r\n\r\n .g-checkbox {\r\n margin-right: 5px;\r\n }\r\n }\r\n }\r\n }\r\n\r\n #products_related {\r\n max-width: 100%;\r\n overflow: overlay;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n#fg-g-edit,\r\n#fg-layout-edit {\r\n .sortable {\r\n .sort-leaf {\r\n .content {\r\n display: flex;\r\n align-items: center;\r\n\r\n @include respond-below(xs) {\r\n align-items: flex-start;\r\n }\r\n\r\n .icheckbox_minimal-blue {\r\n @include respond-below(xs) {\r\n margin-top: 16px;\r\n margin-right: 5px;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n#files-uploader_container,\r\n#images-uploader_container {\r\n\r\n .plupload {\r\n .plupload_content {\r\n .plupload_filelist_footer {\r\n @include respond-below(xs) {\r\n display: flex;\r\n align-items: center;\r\n }\r\n\r\n height: auto;\r\n\r\n .plupload_file_status,\r\n .plupload_file_size,\r\n .plupload_progress {\r\n width: 40px;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.selectize-control {\r\n .selectize-input {\r\n .item {\r\n a {\r\n &.remove {\r\n margin: 1px;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.progress-box {\r\n position: absolute;\r\n top: 0px;\r\n width: 100%;\r\n height: 100%;\r\n z-index: 200;\r\n background: #fff;\r\n padding: 0px;\r\n margin-left: -15px;\r\n\r\n &.hidden {\r\n display: none;\r\n }\r\n}\r\n\r\n.progress {\r\n margin: 15px;\r\n height: 35px;\r\n transform: translateY(-100%);\r\n position: relative;\r\n top: 30%;\r\n background-color: #333;\r\n}\r\n\r\n.version {\r\n position: relative;\r\n top: 5%;\r\n}\r\n\r\n.version h3 p {\r\n display: inline-block;\r\n}\r\n\r\n.version h3 {\r\n text-align: center;\r\n\r\n}\r\n\r\n#fg-order-details {\r\n .details {\r\n table {\r\n margin-top: 30px;\r\n\r\n .order-product-details {\r\n .custom-fields {\r\n font-size: 11px;\r\n\r\n b {\r\n font-weight: 600;\r\n }\r\n }\r\n\r\n .atributes {\r\n font-size: 11px;\r\n\r\n b {\r\n font-weight: 600;\r\n }\r\n }\r\n\r\n }\r\n }\r\n }\r\n}\r\n\r\n.table {\r\n white-space: nowrap;\r\n font-size: 13px;\r\n\r\n .tab-center {\r\n text-align: center;\r\n }\r\n\r\n .product-image {\r\n float: left;\r\n width: 75px;\r\n height: 75px;\r\n margin-right: 10px;\r\n\r\n img {\r\n width: 100%;\r\n height: 100%;\r\n object-fit: contain;\r\n }\r\n }\r\n\r\n .tab-right {\r\n text-align: right;\r\n }\r\n\r\n a {\r\n color: $cBlue;\r\n transition: .15s ease;\r\n font-weight: 500;\r\n\r\n &:hover {\r\n color: $cMenuBg;\r\n }\r\n }\r\n\r\n thead {\r\n background-color: $cHoverBackground;\r\n\r\n th {\r\n vertical-align: middle;\r\n border-bottom: none;\r\n border-top: none;\r\n }\r\n }\r\n\r\n tbody {\r\n\r\n td {\r\n vertical-align: middle;\r\n\r\n &.product-image {\r\n\r\n width: 100px;\r\n padding: 0;\r\n\r\n img {\r\n width: 100%;\r\n }\r\n }\r\n\r\n }\r\n }\r\n}\r\n\r\n#table-products {\r\n .product-categories {\r\n display: block;\r\n width: 100%;\r\n text-wrap: wrap;\r\n }\r\n\r\n .product-name {\r\n display: flex;\r\n justify-content: space-between;\r\n\r\n .duplicate-product {\r\n margin-left: 15px;\r\n }\r\n }\r\n\r\n .duplicate-product {\r\n float: right;\r\n font-size: 13px;\r\n }\r\n\r\n .btn-success {\r\n color: #FFF !important;\r\n\r\n &.btn-create-product {\r\n margin-top: 5px;\r\n }\r\n }\r\n}\r\n\r\n.inpost-map-container {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n background: rgba(0, 0, 0, .75);\r\n z-index: 1000;\r\n padding: 100px;\r\n display: none;\r\n @include transition;\r\n\r\n @include respond-below(sm) {\r\n padding: 15px;\r\n }\r\n\r\n #inpost-map {\r\n background: #FFF;\r\n }\r\n\r\n .inpost-hide {\r\n margin: 15px auto;\r\n float: right;\r\n color: #FFF !important;\r\n text-transform: uppercase;\r\n @include transition;\r\n font-weight: 600;\r\n }\r\n}\r\n\r\n.sales-grid {\r\n text-align: center;\r\n\r\n td {\r\n padding: 2px 4px;\r\n width: calc(100% / 8);\r\n }\r\n}\r\n\r\n.mobile-menu-btn {\r\n position: fixed;\r\n right: 10px;\r\n bottom: 10px;\r\n z-index: 9999;\r\n height: 50px;\r\n width: 50px;\r\n color: #FFF;\r\n background: $cMenuBg;\r\n line-height: 50px;\r\n text-align: center;\r\n font-size: 25px;\r\n cursor: pointer;\r\n -webkit-border-radius: 50%;\r\n -moz-border-radius: 50%;\r\n border-radius: 50%;\r\n display: none;\r\n\r\n @include respond-below(md) {\r\n display: block;\r\n }\r\n\r\n &.active {\r\n @include respond-below(xs) {\r\n background: #fff;\r\n color: $cMenuBg;\r\n }\r\n }\r\n\r\n}\r\n\r\n.hidden-xs {\r\n @include respond-below(xs) {\r\n display: none;\r\n }\r\n}\r\n\r\n.dashboard-page {\r\n\r\n #table-products,\r\n .g-container {\r\n >.row {\r\n >#g-menu {\r\n margin-bottom: 10px;\r\n }\r\n\r\n >.col-md-3 {\r\n\r\n >.pull-right {\r\n @include respond-below(sm) {\r\n float: left;\r\n\r\n }\r\n\r\n #g-columns-list {\r\n @include respond-below(sm) {\r\n right: auto;\r\n left: 15px;\r\n }\r\n }\r\n }\r\n\r\n }\r\n }\r\n }\r\n\r\n\r\n .g-container {\r\n .panel-info {\r\n .panel-body {\r\n #fg-newsletter-prepare {\r\n .form-group {\r\n .input-group {\r\n #dates {\r\n max-width: 200px;\r\n }\r\n\r\n .date-range-icon {\r\n\r\n border-top: 1px solid #ced4da;\r\n border-right: 1px solid #ced4da;\r\n border-bottom: 1px solid #ced4da;\r\n border-top-right-radius: 0.25rem;\r\n border-bottom-right-radius: 0.25rem;\r\n }\r\n }\r\n\r\n select {\r\n &#template {\r\n max-width: 233px;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .resp-vtabs {\r\n .resp-tabs-container {\r\n @include respond-below(sm) {\r\n padding: 0;\r\n }\r\n\r\n h2 {\r\n i {\r\n margin-right: 10px;\r\n }\r\n }\r\n\r\n .resp-tab-content {\r\n padding: 10px;\r\n\r\n @include respond-below(sm) {\r\n padding: 10px;\r\n }\r\n\r\n }\r\n }\r\n }\r\n\r\n #fg-order-details {\r\n .details {\r\n .row {\r\n\r\n .col-lg-4,\r\n .col-xl-4 {\r\n .row {\r\n .buttons {\r\n\r\n .order_status_change_email,\r\n .order_status_change {\r\n\r\n margin-bottom: 10px;\r\n\r\n\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n .input-group {\r\n span {\r\n &.input-group-addon {\r\n border-top-left-radius: 0;\r\n border-bottom-left-radius: 0;\r\n\r\n }\r\n }\r\n }\r\n\r\n .row {\r\n .col-md-6 {\r\n\r\n\r\n .col-sm-6:last-child {\r\n .form-control {\r\n @include respond-below(xs) {\r\n margin-top: 15px;\r\n }\r\n\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n}\r\n\r\n.status_select {\r\n #order-status {\r\n max-width: 280px;\r\n }\r\n}\r\n\r\n.combination-attribute {\r\n border: 1px solid $cGrayLight;\r\n\r\n .title {\r\n padding: 5px 10px;\r\n font-weight: 600;\r\n }\r\n\r\n .values {\r\n padding: 5px 10px;\r\n list-style-type: none;\r\n }\r\n}\r\n\r\n.panel {\r\n .panel-heading {\r\n .btn-send-order-to-apilo {\r\n @media (max-width: 768px) {\r\n float: none !important;\r\n }\r\n }\r\n\r\n &.with-buttons {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n }\r\n }\r\n}\r\n\r\n.nav {\r\n &.nav-tabs-right {\r\n justify-content: flex-end;\r\n }\r\n}\r\n\r\n.input-group-addon {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n min-width: 65px;\r\n}\r\n\r\nselect.input-sm {\r\n line-height: 20px;\r\n}\r\n\r\n.form-control {\r\n font-size: 14px;\r\n}\r\n\r\n.baselinker-product-search,\r\n.apilo-product-search {\r\n cursor: pointer;\r\n}\r\n\r\n.baselinker-found-products {\r\n margin-top: 10px;\r\n\r\n p {\r\n margin-bottom: 0;\r\n }\r\n\r\n button {\r\n margin-top: 5px;\r\n }\r\n}\r\n\r\n.dashboard-summary {\r\n display: flex;\r\n flex-wrap: wrap;\r\n gap: 20px;\r\n\r\n .panel {\r\n max-width: 300px;\r\n width: 100%;\r\n }\r\n}\r\n\r\n.custom-labels {\r\n display: flex;\r\n flex-wrap: wrap;\r\n gap: 5px;\r\n\r\n input {\r\n max-width: 150px;\r\n border: 1px solid #dfdfdf !important;\r\n padding: 0 5px;\r\n font-size: 12px !important;\r\n\r\n &::placeholder {\r\n color: #dfdfdf;\r\n font-style: italic;\r\n }\r\n }\r\n}\r\n\r\ninput.form-control[type=\"text\"],\r\nselect.form-control {\r\n height: 35px;\r\n font-size: 13px;\r\n}\r\n\r\ntextarea.form-control {\r\n font-size: 13px;\r\n}\r\n\r\n.order-details {\r\n .paid-status {\r\n margin-top: 10px;\r\n\r\n a {\r\n font-weight: 300;\r\n }\r\n\r\n .panel-body {\r\n span {\r\n display: inline-flex;\r\n height: 30px;\r\n width: 30px;\r\n background: $cMenuBg;\r\n color: #FFF;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 50%;\r\n\r\n &.danger {\r\n background: $cRedBtnHover;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.product-xml-data {\r\n display: grid;\r\n grid-template-columns: 1fr;\r\n gap: 10px;\r\n\r\n @include respond-above(sm) {\r\n grid-template-columns: 1fr 1fr;\r\n }\r\n\r\n @include respond-above(md) {\r\n grid-template-columns: 1fr 1fr 1fr;\r\n }\r\n\r\n @include respond-above(lg) {\r\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;\r\n }\r\n\r\n input::placeholder {\r\n font-style: italic;\r\n opacity: .5;\r\n }\r\n\r\n .custom_label_0_container,\r\n .custom_label_1_container,\r\n .custom_label_2_container,\r\n .custom_label_3_container,\r\n .custom_label_4_container {\r\n position: relative;\r\n\r\n .custom_label_0_suggestions,\r\n .custom_label_1_suggestions,\r\n .custom_label_2_suggestions,\r\n .custom_label_3_suggestions,\r\n .custom_label_4_suggestions {\r\n position: absolute;\r\n top: 101%;\r\n left: 0;\r\n border: 1px solid #1cbb8c;\r\n width: 100%;\r\n display: none;\r\n z-index: 99;\r\n\r\n div {\r\n padding: 5px;\r\n cursor: pointer;\r\n background: #1cbb8c;\r\n color: #FFF;\r\n border-bottom: 1px solid #1cbb8c;\r\n\r\n &:last-child {\r\n border-bottom: none;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.jconfirm-title {\r\n line-height: 1.25 !important;\r\n}\r\n\r\n.site-title {\r\n font-size: 18px;\r\n font-weight: 600;\r\n margin: 5px 0 10px 5px;\r\n}\r\n\r\n.site-subtitle {\r\n font-size: 13px;\r\n margin: 0 0 10px 5px;\r\n}\r\n\r\n#g-list {\r\n margin-bottom: 15px !important;\r\n}\r\n\r\n.pagination {\r\n input[type=\"number\"] {\r\n border: 1px solid #dddddd;\r\n height: 31px;\r\n width: 50px;\r\n text-align: center;\r\n }\r\n}\r\n\r\n.input-group-addon {\r\n width: auto;\r\n\r\n label {\r\n display: flex;\r\n align-items: center;\r\n gap: 5px;\r\n }\r\n}\r\n\r\n.additional_fields {\r\n input[type=\"text\"] {\r\n height: 40px;\r\n }\r\n}\r\n\r\n#integrationsDropdownBtn {\r\n width: 50px;\r\n text-align: center;\r\n}\r\n\r\n.dropdown-menu-right {\r\n a {\r\n font-size: 14px;\r\n }\r\n}","$breakpoints: (xs: 576px,\r\n sm: 768px,\r\n md: 992px,\r\n lg: 1200px);\r\n\r\n@mixin respond-above($breakpoint) {\r\n @if map-has-key($breakpoints, $breakpoint) {\r\n $breakpoint-value: map-get($breakpoints, $breakpoint);\r\n\r\n @media (min-width: $breakpoint-value) {\r\n @content;\r\n }\r\n }\r\n\r\n @else {\r\n @warn 'Invalid breakpoint: #{$breakpoint}.';\r\n }\r\n}\r\n\r\n@mixin respond-below($breakpoint) {\r\n @if map-has-key($breakpoints, $breakpoint) {\r\n $breakpoint-value: map-get($breakpoints, $breakpoint);\r\n\r\n @media (max-width: ($breakpoint-value - 1)) {\r\n @content;\r\n }\r\n }\r\n\r\n @else {\r\n @warn 'Invalid breakpoint: #{$breakpoint}.';\r\n }\r\n}\r\n\r\n@mixin respond-between($lower, $upper) {\r\n @if map-has-key($breakpoints, $lower) and map-has-key($breakpoints, $upper) {\r\n $lower-breakpoint: map-get($breakpoints, $lower);\r\n $upper-breakpoint: map-get($breakpoints, $upper);\r\n\r\n @media (min-width: $lower-breakpoint) and (max-width: ($upper-breakpoint - 1)) {\r\n @content;\r\n }\r\n }\r\n\r\n @else {\r\n @if (map-has-key($breakpoints, $lower)==false) {\r\n @warn 'Your lower breakpoint was invalid: #{$lower}.';\r\n }\r\n\r\n @if (map-has-key($breakpoints, $upper)==false) {\r\n @warn 'Your upper breakpoint was invalid: #{$upper}.';\r\n }\r\n }\r\n}\r\n\r\n@mixin border-radius($px: 0) {\r\n -webkit-border-radius: $px;\r\n -moz-border-radius: $px;\r\n border-radius: $px;\r\n}\r\n\r\n@mixin box-shadow($value) {\r\n -webkit-box-shadow: $value;\r\n -moz-box-shadow: $value;\r\n box-shadow: $value;\r\n}\r\n\r\n@mixin transition($element: all, $time: .5s, $option: ease) {\r\n -webkit-transition: $element $time $option;\r\n transition: $element $time $option;\r\n}\r\n\r\n@mixin opacity($value) {\r\n $IEValue: $value*100;\r\n opacity: $value;\r\n -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=\"+$IEValue+\")\";\r\n filter: alpha(opacity=$IEValue);\r\n}\r\n\r\n@mixin flexbox() {\r\n display: -webkit-box;\r\n display: -moz-box;\r\n display: -ms-flexbox;\r\n display: -webkit-flex;\r\n display: flex;\r\n}\r\n\r\n@mixin flex($values) {\r\n -webkit-box-flex: $values;\r\n -moz-box-flex: $values;\r\n -webkit-flex: $values;\r\n -ms-flex: $values;\r\n flex: $values;\r\n}\r\n\r\n@mixin flex-direction($direction) {\r\n -webkit-flex-direction: $direction;\r\n -moz-flex-direction: $direction;\r\n -ms-flex-direction: $direction;\r\n flex-direction: $direction;\r\n}\r\n\r\n@mixin flex-wrap($wrap) {\r\n -webkit-flex-wrap: $wrap;\r\n -moz-flex-wrap: $wrap;\r\n -ms-flex-wrap: $wrap;\r\n flex-wrap: $wrap;\r\n}\r\n\r\n@mixin flex-flow($flow) {\r\n -webkit-flex-flow: $flow;\r\n -moz-flex-flow: $flow;\r\n -ms-flex-flow: $flow;\r\n flex-flow: $flow;\r\n}\r\n\r\n@mixin order($val) {\r\n -webkit-box-ordinal-group: $val;\r\n -moz-box-ordinal-group: $val;\r\n -ms-flex-order: $val;\r\n -webkit-order: $val;\r\n order: $val;\r\n}\r\n\r\n@mixin flex-grow($grow) {\r\n -webkit-flex-grow: $grow;\r\n -moz-flex-grow: $grow;\r\n -ms-flex-grow: $grow;\r\n flex-grow: $grow;\r\n}\r\n\r\n@mixin flex-shrink($shrink) {\r\n -webkit-flex-shrink: $shrink;\r\n -moz-flex-shrink: $shrink;\r\n -ms-flex-shrink: $shrink;\r\n flex-shrink: $shrink;\r\n}\r\n\r\n@mixin flex-basis($width) {\r\n -webkit-flex-basis: $width;\r\n -moz-flex-basis: $width;\r\n -ms-flex-basis: $width;\r\n flex-basis: $width;\r\n}\r\n\r\n@mixin justify-content($justify) {\r\n -webkit-justify-content: $justify;\r\n -moz-justify-content: $justify;\r\n -ms-justify-content: $justify;\r\n justify-content: $justify;\r\n -ms-flex-pack: $justify;\r\n}\r\n\r\n@mixin align-content($align) {\r\n -webkit-align-content: $align;\r\n -moz-align-content: $align;\r\n -ms-align-content: $align;\r\n align-content: $align;\r\n}\r\n\r\n@mixin align-items($align) {\r\n -webkit-align-items: $align;\r\n -moz-align-items: $align;\r\n -ms-align-items: $align;\r\n align-items: $align;\r\n}\r\n\r\n@mixin align-self($align) {\r\n -webkit-align-self: $align;\r\n -moz-align-self: $align;\r\n -ms-align-self: $align;\r\n align-self: $align;\r\n}"]} \ No newline at end of file +{"version":3,"sources":["style.css","..\\style-scss\\style.scss","..\\style-scss\\_mixins.scss"],"names":[],"mappings":"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","file":"style.css","sourcesContent":["body{font-size:13px}.form-group::after{content:\"\";display:block;clear:both}.table .text-bold{font-weight:600}.table .text-center input{margin:auto}.baselinker-delete-linking,.apilo-delete-linking{display:flex;gap:5px;align-items:center;justify-content:center;margin-top:10px;cursor:pointer}tr.status-0 .order-status{color:#5664d2}tr.status-1 .order-status{color:#468639}tr.status-2 .order-status,tr.status-3 .order-status{color:#ff3d60}tr.status-4 .order-status{color:#fcb92c}tr.status-5 .order-status{color:#f7abb0}tr.status-6 .order-status,tr.status-8 .order-status{color:#bfbfbf}tr.status-7 .order-status{color:#95c11f}body{font-family:\"Open Sans\",sans-serif;color:#2a3042}body a:hover{text-decoration:none}body input:-webkit-autofill,body input:-webkit-autofill:hover,body input:-webkit-autofill:focus textarea:-webkit-autofill,body textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,body select:-webkit-autofill,body select:-webkit-autofill:hover,body select:-webkit-autofill:focus{-webkit-box-shadow:0 0 0px 1000px #fff inset !important}#main{height:100vh}#main .container-fluid{height:100%}#main .container-fluid .row{height:100%}#main .container-fluid .row .unlogged-panel{display:flex;align-items:center;justify-content:center;background:#fff}#main .container-fluid .row .unlogged-panel .login-panel{width:80%}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .login-shoppro{text-align:center;font-size:26px;color:#4aa3ff}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .title{text-align:center;font-size:22px;line-height:24px;font-weight:600;margin-top:50px;margin-bottom:10px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .subtitle{text-align:center;font-size:12px;line-height:20px;font-weight:300;color:#74788d}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal{margin-top:50px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-login{position:relative}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-login:before{position:absolute;content:\"Login\";color:#74788d;font-size:14px;line-height:21px;top:5px;left:50px;z-index:801}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-password{position:relative}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-password:before{position:absolute;content:\"Hasło\";color:#74788d;font-size:14px;line-height:21px;top:5px;left:50px;z-index:801}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group input{height:60px;background:rgba(0,0,0,0);padding-top:30px;padding-bottom:10px;padding-left:50px;margin-left:-52px;border:1px solid #dedfe0;box-shadow:none}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .form-control{border:1px solid #dedfe0}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .input-group-text{background:rgba(0,0,0,0);border:none}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .icon{padding-left:20px;padding-right:20px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .form-group .input-group .input-group-prepend .icon i{z-index:800}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .sumbit{text-align:center}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .form-horizontal .sumbit .btn{background-color:#4aa3ff;color:#fff;border-radius:4px;font-size:14px;line-height:21px;font-weight:400;padding:10px 30px;margin-top:50px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .copyright{text-align:center;font-size:14px;line-height:21px;font-weight:400;color:#74788d;margin-top:100px}#main .container-fluid .row .unlogged-panel .login-panel .login-panel-content .copyright a{color:#74788d}#main .container-fluid .row .unlogged-bg{background:url(\"/admin/layout/images/bg-unlogged.png\") no-repeat right;background-size:cover;display:flex}@media(max-width: 575px){#main .container-fluid .row .unlogged-bg{display:none}}#main .home{position:fixed;z-index:999;color:#fff;top:30px;right:30px}#main .home img{width:30px}@media(max-width: 575px){#main .home img{filter:invert(100%)}}.admin-page{background-color:#f8f8fb}.admin-page .menu{z-index:900;padding:0 25px;background-color:#2a3042;height:100%;position:fixed;top:0;left:0;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none;overflow-y:scroll;overflow-x:hidden;color:#8691b2}.admin-page .menu.visible{display:block}@media(max-width: 575px){.admin-page .menu.visible{width:100vw}}@media(max-width: 991px){.admin-page .menu{display:none}}.admin-page .menu::-webkit-scrollbar{display:none;width:0;height:0}.admin-page .menu .logo{width:100%;color:#fff;background-color:#2a3042;text-align:center;padding:20px 0;font-size:24px;font-weight:400}.admin-page .menu .logo span{font-size:11px;color:#8691b2}.admin-page .menu .logo a{font-size:11px;padding:5px 20px;border-radius:.25rem;display:inline-block;margin-top:10px;transition:ease .3s;text-transform:uppercase;font-weight:700;color:#2a3042;background-color:#fff;border:1px solid #fff}.admin-page .menu .logo a:hover{color:#8691b2;background-color:#2a3042;border:1px solid #8691b2}.admin-page .menu .menu-content .title{text-transform:uppercase;color:#8691b2;font-size:12px;font-weight:700;margin-bottom:10px}.admin-page .menu .menu-content ul{list-style-type:none;padding-inline-start:0px}.admin-page .menu .menu-content ul li a{color:#8691b2;font-size:13px;font-weight:400;line-height:27px;padding:4px 0px;display:block}.admin-page .menu .menu-content ul li a:hover{color:#fff}.admin-page .menu .menu-content ul li a:hover img{filter:brightness(200%)}.admin-page .menu .menu-content ul li a img,.admin-page .menu .menu-content ul li a i{margin-right:20px;width:20px;text-align:center}.preview{width:100%;background:#2a3042;text-align:center;position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media(max-width: 575px){.preview{text-align:left}}.preview:hover a{color:#fff;width:100%;height:100%}.preview:hover img{filter:brightness(200%)}.preview a{text-transform:uppercase;padding:20px 0;color:#8691b2;font-size:12px;font-weight:700;margin-bottom:10px;display:inline-block;margin-bottom:0}.preview a img{margin-top:-4px}.site-content{background-color:#fff;margin-left:244px}.site-content.with-menu{width:100%}@media(min-width: 576px){.site-content.with-menu{width:calc(100% - 243px);margin-left:243px}}@media(max-width: 991px){.site-content{margin-left:0}}.site-content .top-user{text-align:right;background-color:#fff;padding-top:10px;padding-bottom:10px;text-align:right}.site-content .dropdown{position:relative;display:inline-block;color:#2a3042;font-size:15px}.site-content .dropdown img{margin-left:10px}.site-content .dropdown:hover .dropdown-content{display:block}.site-content .dropdown .dropdown-content{display:none;transition:ease .3s;position:absolute;background-color:#fff;box-shadow:7px 7px 15px 5px rgba(0,0,0,.05);padding:12px 16px;z-index:1;right:0;font-size:14px}.site-content .dropdown .dropdown-content a{font-size:14px;line-height:15px;font-weight:400;color:#2a3042;display:block;padding:5px 0;white-space:nowrap}.site-content .dropdown .dropdown-content a span{margin-right:10px}.site-content .dashboard-page{padding-top:10px;padding-bottom:10px;background-color:#f3f4f7}.site-content .dashboard-page .dashboard-content{border-radius:.25rem;margin-bottom:15px;background:#fff;margin:10px 0;padding:15px;box-shadow:7px 7px 15px 5px rgba(0,0,0,.05)}.site-content .dashboard-page .dashboard-content .dashboard-title{text-transform:uppercase;font-weight:800;margin-bottom:15px}.site-content .dashboard-page .dashboard-content table{white-space:nowrap;font-size:13px}.site-content .dashboard-page .dashboard-content table.dashboard-products tbody tr td:nth-child(2){max-width:300px;text-overflow:ellipsis;overflow:hidden}.site-content .dashboard-page .dashboard-content table.dashboard-products tbody tr td.text-right{display:table-cell;text-align:right}.site-content .dashboard-page .dashboard-content table a{color:#8691b2;transition:.15s ease;font-weight:800}.site-content .dashboard-page .dashboard-content table a:hover{color:#2a3042}.site-content .dashboard-page .dashboard-content table img{height:50px}.site-content .dashboard-page .dashboard-content table thead{background-color:#f3f4f7}.site-content .dashboard-page .dashboard-content table thead th{vertical-align:middle;border-bottom:none;border-top:none}.site-content .dashboard-page .dashboard-content table tbody td{vertical-align:middle}.site-content .dashboard-page .dashboard-content .table-hover tbody tr:hover{background-color:#f3f4f7}.alert .fa{margin-right:10px}.btn-default,.btn-success,.btn-danger,.btn-info,.btn-system,.btn-dark,.btn-primary{color:#fff;padding:.47rem .75rem;font-size:13px;line-height:1.5;font-weight:300;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(max-width: 575px){.btn-default,.btn-success,.btn-danger,.btn-info,.btn-system,.btn-dark,.btn-primary{font-size:12px}}.btn-default:hover,.btn-success:hover,.btn-danger:hover,.btn-info:hover,.btn-system:hover,.btn-dark:hover,.btn-primary:hover{color:#fff}.btn-default .fa,.btn-success .fa,.btn-danger .fa,.btn-info .fa,.btn-system .fa,.btn-dark .fa,.btn-primary .fa{margin-right:8px}.btn-default#g-columns-list-close .fa,.btn-success#g-columns-list-close .fa,.btn-danger#g-columns-list-close .fa,.btn-info#g-columns-list-close .fa,.btn-system#g-columns-list-close .fa,.btn-dark#g-columns-list-close .fa,.btn-primary#g-columns-list-close .fa{margin-right:0px}.btn-default.article_image_delete .fa,.btn-success.article_image_delete .fa,.btn-danger.article_image_delete .fa,.btn-info.article_image_delete .fa,.btn-system.article_image_delete .fa,.btn-dark.article_image_delete .fa,.btn-primary.article_image_delete .fa{margin-right:0}.btn-default#g-select-columns .fa,.btn-success#g-select-columns .fa,.btn-danger#g-select-columns .fa,.btn-info#g-select-columns .fa,.btn-system#g-select-columns .fa,.btn-dark#g-select-columns .fa,.btn-primary#g-select-columns .fa{margin-right:0px}.btn-default.btn-value-remove,.btn-success.btn-value-remove,.btn-danger.btn-value-remove,.btn-info.btn-value-remove,.btn-system.btn-value-remove,.btn-dark.btn-value-remove,.btn-primary.btn-value-remove{margin-left:15px}.btn-default.btn-value-remove .fa-trash-o,.btn-success.btn-value-remove .fa-trash-o,.btn-danger.btn-value-remove .fa-trash-o,.btn-info.btn-value-remove .fa-trash-o,.btn-system.btn-value-remove .fa-trash-o,.btn-dark.btn-value-remove .fa-trash-o,.btn-primary.btn-value-remove .fa-trash-o{margin-right:0px}.btn-default.btn-delete-permutation,.btn-success.btn-delete-permutation,.btn-danger.btn-delete-permutation,.btn-info.btn-delete-permutation,.btn-system.btn-delete-permutation,.btn-dark.btn-delete-permutation,.btn-primary.btn-delete-permutation{text-align:center;color:#fff}.btn-default.btn-delete-permutation i,.btn-success.btn-delete-permutation i,.btn-danger.btn-delete-permutation i,.btn-info.btn-delete-permutation i,.btn-system.btn-delete-permutation i,.btn-dark.btn-delete-permutation i,.btn-primary.btn-delete-permutation i{margin:0}.btn-default.fa-link,.btn-success.fa-link,.btn-danger.fa-link,.btn-info.fa-link,.btn-system.fa-link,.btn-dark.fa-link,.btn-primary.fa-link{height:35px}.btn-default{color:#000}.attribute-value-add{margin-top:16px}.btn-success{background-color:#1cbb8c;border-color:#1cbb8c}.btn-success:hover{background-color:#179a73;border-color:#179a73}.btn-danger{background-color:#ff3d60;border-color:#ff3d60}.btn-danger:hover{background-color:#ff1741;border-color:#ff1741}.btn-info{background-color:#5664d2;border-color:#5664d2}.btn-info:hover{background-color:#3848ca;border-color:#3848ca}.btn-primary{background-color:#939dba;border-color:#939dba}.btn-primary:hover{background-color:#8691b2;border-color:#8691b2}.btn-system{background-color:#fcb92c;border-color:#fcb92c}.btn-system:hover{background-color:#fbac06;border-color:#fbac06}@media(min-width: 768px){#fg-values-edit #settings-tabs .resp-tabs-container .resp-tab-content{padding-bottom:0}}#fg-values-edit #settings-tabs .resp-tabs-container .resp-tab-content #languages-main .btn-value-add{margin-bottom:15px}#fg-values-edit #settings-tabs .resp-tabs-container .default-value{margin-bottom:1rem}#g-list td a i{color:#2a3042 !important}#g-list input.product-price,#g-list input.product-price-promo{width:100%}#g-columns-list{font-size:13px;font-weight:400;border:1px solid #f3f4f7 !important;border-radius:.25rem}#g-columns-list ul li{border-bottom:1px solid #f3f4f7 !important;height:auto !important;min-height:30px;display:flex;align-items:center}#g-results{font-size:13px;margin-top:10px}#g-results #g-list{color:#2a3042}#g-results #g-list>thead:nth-child(1)>tr:nth-child(1){background-color:#f3f4f7}#g-results #g-list th{vertical-align:middle}#g-results table{color:#2a3042}#g-results table thead tr th{border:none}#g-results table tbody tr{background-color:#fff}#g-results table tbody tr:hover{background-color:#f3f4f7}#g-results table tbody tr td{border-color:#f3f4f7}#g-results table tbody tr td a:not(.btn){transition:.15s ease}#g-results table tbody tr td a:not(.btn):hover{text-decoration:none;color:#2a3042}#g-results .g-search-select,#g-results #g-row-limit{text-align:center}#g-results .form-control{border-color:#8691b2;color:#2a3042;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:13px}#g-results .form-control:focus{box-shadow:none}.table-striped tbody tr:nth-of-type(2n+1){background-color:#fff}.table-bordered th,.table-bordered td{border-right:none;border-left:none}.text-right{display:flex;align-items:center;justify-content:flex-end}@media(max-width: 575px){.text-right.text-centred-xs{justify-content:center}}.text-right #g-row-limit{width:auto;margin:0 10px}@media(max-width: 575px){.text-centred-xs{justify-content:center}}@media(min-width: 768px){.pull-left-sm{display:flex;align-items:center;justify-content:flex-start}}.pagination{display:flex;align-items:center;justify-content:flex-end;margin:0;gap:10px}.pagination span{font-weight:900}.flags{padding-left:20px}.flags img{width:14px;margin-top:-8px}.fa-star{color:#1cbb8c;margin-right:5px}.text-danger{color:#ff3d60 !important}ol.sortable,ol.sortable ol{margin:0 0 0 25px;padding:0;list-style-type:none}ol.sortable{margin:0}ol.sortable,ol.sortable *,ol.sortable *:after,ol.sortable *:before{box-sizing:content-box}.sortable li{margin:0;padding:0}.sortable li div.content{color:#2a3042;cursor:move;height:45px;line-height:45px;margin:0;padding:0 10px;border-bottom:1px solid #e1e1e1;height:100%}.sortable li div.content .text-danger{margin-right:10px}@media(max-width: 575px){.sortable li div.content .text-danger{margin-top:16px;vertical-align:top;margin-right:5px}}#fg-pages-list .sortable li div.content{color:#2a3042;cursor:move;height:45px;line-height:45px;margin:0;padding:0 10px;border-bottom:1px solid #e1e1e1;height:100%}@media(min-width: 576px){#fg-pages-list .sortable li div.content{display:flex;align-items:center}}#fg-pages-list .sortable li div.content .text-danger{margin-right:10px}@media(max-width: 575px){#fg-pages-list .sortable li div.content .text-danger{margin-top:16px;vertical-align:top;margin-right:5px}}#fg-pages-list .sortable li div.content b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(min-width: 576px){#fg-pages-list .sortable li div.content b{display:block}}@media(max-width: 575px){#fg-pages-list .sortable li div.content b{display:inline-block;width:calc(100% - 70px)}}@media(min-width: 1200px){#fg-pages-list .sortable li div.content b{width:calc(100% - 670px)}}@media(min-width: 992px)and (max-width: 1199px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}@media(min-width: 768px)and (max-width: 991px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}@media(min-width: 576px)and (max-width: 767px){#fg-pages-list .sortable li div.content b{width:calc(100% - 222px)}}#fg-pages-list .sortable li div.content .menu-box-title{display:flex;align-items:center;justify-content:flex-start}@media(max-width: 575px){#fg-pages-list .sortable li div.content .menu-box-title .disclose,#fg-pages-list .sortable li div.content .menu-box-title .text-danger{margin-top:0}}@media(max-width: 575px){#fg-pages-list .sortable li div.content .menu-box-title{width:100%}}@media(min-width: 1200px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 670px)}}@media(min-width: 992px)and (max-width: 1199px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(min-width: 768px)and (max-width: 991px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(min-width: 576px)and (max-width: 767px){#fg-pages-list .sortable li div.content .menu-box-title{width:calc(100% - 222px)}}@media(max-width: 575px){#fg-pages-list .sortable li.sort-leaf .content b{display:inline-block;width:calc(100% - 52px)}}#fg-product-edit .sortable li div.content b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 62px)}.sortable li.sort-branch div{color:#2a3042}.sort-leaf .disclose{content:\"- \";text-indent:-3000px;background-image:url(\"/libraries/jquery-nested-sortable/skin-vista/icons.gif\");background-position:-16px -64px;background-repeat:no-repeat;display:inline-block;height:16px;vertical-align:top;width:16px;margin:16px 5px 0 1px}@media(min-width: 576px){.sort-leaf .disclose{margin:0px 5px 0 1px}}li.sort-collapsed.sort-hover div{border-color:#999}.disclose{cursor:pointer;width:20px;display:none;text-align:center}.sortable li.sort-collapsed>ol{display:none}.sortable li.sort-branch>div .disclose{display:block;float:left;margin-right:15px}.sortable li.sort-collapsed>div .disclose>span:before{display:inline-block;font-family:FontAwesome;font-size:10px;content:\"\";height:25px;width:25px;line-height:25px;border-radius:13px;background:rgba(134,145,178,.1);color:#8691b2;border:1px solid #8691b2;transition:.15s ease}.sortable li.sort-collapsed>div .disclose:hover>span:before,.sortable li.sort-expanded>div .disclose:hover>span:before{background:#8691b2;color:#fff}.sortable li.sort-expanded>div .disclose>span:before{display:inline-block;font-family:FontAwesome;font-size:10px;content:\"\";height:25px;width:25px;line-height:25px;border-radius:13px;background:rgba(134,145,178,.1);color:#8691b2;border:1px solid #8691b2;transition:.15s ease}.menu_sortable .btn-group{display:none;transition:.15s ease}.menu_sortable div:hover .btn-group{display:block;margin-top:-1px}.menu_sortable div:hover .btn-group.pull-right{float:none;margin-bottom:20px;margin-left:20px}@media(min-width: 576px){.menu_sortable div:hover .btn-group.pull-right{float:right;margin-bottom:0;margin-left:0;display:flex;justify-content:space-between;align-items:center}}@media(min-width: 1200px){.menu_sortable div:hover .btn-group.pull-right{width:668px}}@media(min-width: 992px)and (max-width: 1199px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(min-width: 768px)and (max-width: 991px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(min-width: 576px)and (max-width: 767px){.menu_sortable div:hover .btn-group.pull-right{width:222px}}@media(max-width: 1199px){.menu_sortable div:hover .btn-group .btn.btn-sm .fa{margin-right:0}}@media(max-width: 1199px){.menu_sortable div:hover .btn-group .hidden-xs{display:none}}.resp-vtabs li.resp-tab-active{position:relative;z-index:1;margin-right:-1px;padding:10px 15px;margin-bottom:0;border-top:none;border:none;border-left:none;border-right:none;border-right:2px solid #8691b2;background-color:#f3f4f7}.resp-tab-active{color:#8691b2}.htabs li.resp-tab-active{border-right:none;color:#2a3042;background-color:#8691b2;border-radius:.25rem;color:#fff}.htabs li.resp-tab-active .fa-star{color:#fff}.resp-vtabs>.resp-tabs-container{border:none;min-height:274px}#fg-order-details .details .order-history div{font-size:13px}#fg-order-details .details i.fa-copy{font-size:16px;cursor:pointer;margin-left:5px;margin-right:10px}#fg-order-details .details b a{color:#8691b2;transition:ease .3s}#fg-order-details .details b a:hover{color:#2a3042}#fg-order-details .details .order-status{margin-bottom:5px}#fg-order-details .resend_order_confirmation_email{margin-top:25px}.date-range-icon{display:flex;align-items:center}.date-range-icon .fa-calendar:before{margin-left:10px;margin-right:10px;height:100%}.input-group .btn{border-radius:0 3px 3px 0;display:flex;align-items:center}input[type=checkbox]{position:relative;width:40px;height:20px;-webkit-appearance:none;background:#ced4da;outline:none;border-radius:10px;box-shadow:inset 0 0 5px rgba(0,0,0,.2)}input:checked[type=checkbox]{background:#8691b2}input[type=checkbox]:before{content:\"\";position:absolute;width:20px;height:20px;border-radius:10px;top:0;left:0;background:#fff;transform:scale(1.1);box-shadow:0 2px 5px rgba(0,0,0,.2);transition:.5s}input:checked[type=checkbox]:before{left:20px}#images-uploader,#files-uploader{clear:both}#images-uploader,#images-uploader *,#files-uploader,#files-uploader *{box-sizing:content-box !important}#images-list{margin:0;padding:0 5px;display:grid;grid-template-columns:repeat(auto-fit, minmax(150px, 200px))}#images-list li{background:#fff;text-align:center;display:block;height:165px;margin:5px 5px 10px 5px;vertical-align:middle;position:relative}#images-list li.sortable-chosen{-webkit-box-shadow:-1px 1px 6px rgba(0,0,0,.75);-moz-box-shadow:-1px 1px 6px rgba(0,0,0,.75);box-shadow:-1px 1px 6px rgba(0,0,0,.75)}#images-list li .article-image{height:100%;width:100%;object-fit:cover}#images-list li .image-alt{padding:5px;height:30px;font-size:13px}#images-list li .article_image_delete{border:0;padding:13px;position:absolute;top:0;right:0}#images-list li .article_image_delete i{font-size:18px}#images-list li .image-alt{position:absolute;bottom:10px;border:0;background:#2a3042;text-align:center;color:#fff}#images-list li .image-alt::placeholder{color:#fff}#images-list li:hover .article-image-edit,#images-list li.pending .article-image-edit{display:block}.article-image-edit{background:hsla(0,0%,100%,.8);position:absolute;height:100%;width:150px;cursor:pointer;line-height:168px;display:none}.article-image-edit i{font-size:28px;color:#c00}.article-image-edit img{height:50px;position:relative;top:12px}#files-list{list-style-type:none;margin:0;padding:0}#files-list li{float:left;margin:5px 7px}#files-list li .article_file_delete{border-color:rgba(0,0,0,.05)}#fg-order-details .details .row{margin-bottom:15px}.cke_chrome{background:#fff !important}.cke_bottom,.cke_top{background:#fff !important}.plupload_filelist_header,.plupload_filelist_footer{background:#dbdee8 !important}.plupload_scroll .plupload_filelist{background:rgba(0,0,0,0) !important}.icheckbox_minimal-blue{background-position:0 0 !important}.icheckbox_minimal-blue:hover{background-position:0 0 !important}.icheckbox_minimal-blue.checked{background-position:-40px 0 !important}.icheckbox_minimal-blue.checked:hover{background-position:-40px 0 !important}#fg-product-edit .form-group,#fg-promotion-edit .form-group,#fg-article-edit .form-group,#fg-values-edit .form-group{width:100%}#fg-product-edit .form-group .list,#fg-promotion-edit .form-group .list,#fg-article-edit .form-group .list,#fg-values-edit .form-group .list{margin-bottom:5px}#fg-product-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-promotion-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-article-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content,#fg-values-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content{display:flex;justify-content:flex-start;align-items:center}#fg-product-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-promotion-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-article-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox,#fg-values-edit #settings-tabs .settings-tabs .form-group .menu_sortable .sortable .content .g-checkbox{margin-right:5px}#fg-product-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-promotion-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-article-edit #settings-tabs .settings-tabs .form-group #products_related,#fg-values-edit #settings-tabs .settings-tabs .form-group #products_related{max-width:100%;overflow:overlay}#fg-g-edit .sortable .sort-leaf .content,#fg-layout-edit .sortable .sort-leaf .content{display:flex;align-items:center}@media(max-width: 575px){#fg-g-edit .sortable .sort-leaf .content,#fg-layout-edit .sortable .sort-leaf .content{align-items:flex-start}}@media(max-width: 575px){#fg-g-edit .sortable .sort-leaf .content .icheckbox_minimal-blue,#fg-layout-edit .sortable .sort-leaf .content .icheckbox_minimal-blue{margin-top:16px;margin-right:5px}}#files-uploader_container .plupload .plupload_content .plupload_filelist_footer,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer{height:auto}@media(max-width: 575px){#files-uploader_container .plupload .plupload_content .plupload_filelist_footer,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer{display:flex;align-items:center}}#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_status,#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_size,#files-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_progress,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_status,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_file_size,#images-uploader_container .plupload .plupload_content .plupload_filelist_footer .plupload_progress{width:40px}.selectize-control .selectize-input .item a.remove{margin:1px}.progress-box{position:absolute;top:0px;width:100%;height:100%;z-index:200;background:#fff;padding:0px;margin-left:-15px}.progress-box.hidden{display:none}.progress{margin:15px;height:35px;transform:translateY(-100%);position:relative;top:30%;background-color:#333}.version{position:relative;top:5%}.version h3 p{display:inline-block}.version h3{text-align:center}#fg-order-details .details table{margin-top:30px}#fg-order-details .details table .order-product-details .custom-fields{font-size:11px}#fg-order-details .details table .order-product-details .custom-fields b{font-weight:600}#fg-order-details .details table .order-product-details .atributes{font-size:11px}#fg-order-details .details table .order-product-details .atributes b{font-weight:600}.table{white-space:nowrap;font-size:13px}.table .tab-center{text-align:center}.table .product-image{float:left;width:75px;height:75px;margin-right:10px}.table .product-image img{width:100%;height:100%;object-fit:contain}.table .tab-right{text-align:right}.table a:not(.btn){color:#4aa3ff;transition:.15s ease;font-weight:500}.table a:not(.btn):hover{color:#2a3042}.table a.btn{color:#fff}.table a.btn:hover,.table a.btn:focus{color:#fff}.table a.btn-default{color:#000}.table a.btn-default:hover,.table a.btn-default:focus{color:#000}.table thead{background-color:#f3f4f7}.table thead th{vertical-align:middle;border-bottom:none;border-top:none}.table tbody td{vertical-align:middle}.table tbody td.product-image{width:100px;padding:0}.table tbody td.product-image img{width:100%}#table-products .product-categories{display:block;width:100%;text-wrap:wrap}#table-products .product-name{display:flex;justify-content:space-between}#table-products .product-name .duplicate-product{margin-left:15px}#table-products .duplicate-product{float:right;font-size:13px}#table-products .btn-success{color:#fff !important}#table-products .btn-success.btn-create-product{margin-top:5px}.inpost-map-container{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);z-index:1000;padding:100px;display:none;-webkit-transition:all .5s ease;transition:all .5s ease}@media(max-width: 767px){.inpost-map-container{padding:15px}}.inpost-map-container #inpost-map{background:#fff}.inpost-map-container .inpost-hide{margin:15px auto;float:right;color:#fff !important;text-transform:uppercase;-webkit-transition:all .5s ease;transition:all .5s ease;font-weight:600}.sales-grid{text-align:center}.sales-grid td{padding:2px 4px;width:12.5%}.mobile-menu-btn{position:fixed;right:10px;bottom:10px;z-index:9999;height:50px;width:50px;color:#fff;background:#2a3042;line-height:50px;text-align:center;font-size:25px;cursor:pointer;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:none}@media(max-width: 991px){.mobile-menu-btn{display:block}}@media(max-width: 575px){.mobile-menu-btn.active{background:#fff;color:#2a3042}}@media(max-width: 575px){.hidden-xs{display:none}}.dashboard-page #table-products>.row>#g-menu,.dashboard-page .g-container>.row>#g-menu{margin-bottom:10px}@media(max-width: 767px){.dashboard-page #table-products>.row>.col-md-3>.pull-right,.dashboard-page .g-container>.row>.col-md-3>.pull-right{float:left}}@media(max-width: 767px){.dashboard-page #table-products>.row>.col-md-3>.pull-right #g-columns-list,.dashboard-page .g-container>.row>.col-md-3>.pull-right #g-columns-list{right:auto;left:15px}}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group .input-group #dates{max-width:200px}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group .input-group .date-range-icon{border-top:1px solid #ced4da;border-right:1px solid #ced4da;border-bottom:1px solid #ced4da;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.dashboard-page .g-container .panel-info .panel-body #fg-newsletter-prepare .form-group select#template{max-width:233px}@media(max-width: 767px){.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container{padding:0}}.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container h2 i{margin-right:10px}.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container .resp-tab-content{padding:10px}@media(max-width: 767px){.dashboard-page .g-container .panel-info .panel-body .resp-vtabs .resp-tabs-container .resp-tab-content{padding:10px}}.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-lg-4 .row .buttons .order_status_change_email,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-lg-4 .row .buttons .order_status_change,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-xl-4 .row .buttons .order_status_change_email,.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-xl-4 .row .buttons .order_status_change{margin-bottom:10px}.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .input-group span.input-group-addon{border-top-left-radius:0;border-bottom-left-radius:0}@media(max-width: 575px){.dashboard-page .g-container .panel-info .panel-body #fg-order-details .details .row .col-md-6 .col-sm-6:last-child .form-control{margin-top:15px}}.status_select #order-status{max-width:280px}.combination-attribute{border:1px solid #ced4da}.combination-attribute .title{padding:5px 10px;font-weight:600}.combination-attribute .values{padding:5px 10px;list-style-type:none}@media(max-width: 768px){.panel .panel-heading .btn-send-order-to-apilo{float:none !important}}.panel .panel-heading.with-buttons{display:flex;align-items:center;justify-content:space-between}.nav.nav-tabs-right{justify-content:flex-end}.input-group-addon{display:flex;align-items:center;justify-content:center;min-width:65px}select.input-sm{line-height:20px}.form-control{font-size:14px}.baselinker-product-search,.apilo-product-search{cursor:pointer}.baselinker-found-products{margin-top:10px}.baselinker-found-products p{margin-bottom:0}.baselinker-found-products button{margin-top:5px}.dashboard-summary{display:flex;flex-wrap:wrap;gap:20px}.dashboard-summary .panel{max-width:300px;width:100%}.custom-labels{display:flex;flex-wrap:wrap;gap:5px}.custom-labels input{max-width:150px;border:1px solid #dfdfdf !important;padding:0 5px;font-size:12px !important}.custom-labels input::placeholder{color:#dfdfdf;font-style:italic}input.form-control[type=text],select.form-control{height:35px;font-size:13px}textarea.form-control{font-size:13px}.order-details .paid-status{margin-top:10px}.order-details .paid-status a{font-weight:300}.order-details .paid-status .panel-body span{display:inline-flex;height:30px;width:30px;background:#2a3042;color:#fff;align-items:center;justify-content:center;border-radius:50%}.order-details .paid-status .panel-body span.danger{background:#ff1741}.product-xml-data{display:grid;grid-template-columns:1fr;gap:10px}@media(min-width: 768px){.product-xml-data{grid-template-columns:1fr 1fr}}@media(min-width: 992px){.product-xml-data{grid-template-columns:1fr 1fr 1fr}}@media(min-width: 1200px){.product-xml-data{grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr}}.product-xml-data input::placeholder{font-style:italic;opacity:.5}.product-xml-data .custom_label_0_container,.product-xml-data .custom_label_1_container,.product-xml-data .custom_label_2_container,.product-xml-data .custom_label_3_container,.product-xml-data .custom_label_4_container{position:relative}.product-xml-data .custom_label_0_container .custom_label_0_suggestions,.product-xml-data .custom_label_0_container .custom_label_1_suggestions,.product-xml-data .custom_label_0_container .custom_label_2_suggestions,.product-xml-data .custom_label_0_container .custom_label_3_suggestions,.product-xml-data .custom_label_0_container .custom_label_4_suggestions,.product-xml-data .custom_label_1_container .custom_label_0_suggestions,.product-xml-data .custom_label_1_container .custom_label_1_suggestions,.product-xml-data .custom_label_1_container .custom_label_2_suggestions,.product-xml-data .custom_label_1_container .custom_label_3_suggestions,.product-xml-data .custom_label_1_container .custom_label_4_suggestions,.product-xml-data .custom_label_2_container .custom_label_0_suggestions,.product-xml-data .custom_label_2_container .custom_label_1_suggestions,.product-xml-data .custom_label_2_container .custom_label_2_suggestions,.product-xml-data .custom_label_2_container .custom_label_3_suggestions,.product-xml-data .custom_label_2_container .custom_label_4_suggestions,.product-xml-data .custom_label_3_container .custom_label_0_suggestions,.product-xml-data .custom_label_3_container .custom_label_1_suggestions,.product-xml-data .custom_label_3_container .custom_label_2_suggestions,.product-xml-data .custom_label_3_container .custom_label_3_suggestions,.product-xml-data .custom_label_3_container .custom_label_4_suggestions,.product-xml-data .custom_label_4_container .custom_label_0_suggestions,.product-xml-data .custom_label_4_container .custom_label_1_suggestions,.product-xml-data .custom_label_4_container .custom_label_2_suggestions,.product-xml-data .custom_label_4_container .custom_label_3_suggestions,.product-xml-data .custom_label_4_container .custom_label_4_suggestions{position:absolute;top:101%;left:0;border:1px solid #1cbb8c;width:100%;display:none;z-index:99}.product-xml-data .custom_label_0_container .custom_label_0_suggestions div,.product-xml-data .custom_label_0_container .custom_label_1_suggestions div,.product-xml-data .custom_label_0_container .custom_label_2_suggestions div,.product-xml-data .custom_label_0_container .custom_label_3_suggestions div,.product-xml-data .custom_label_0_container .custom_label_4_suggestions div,.product-xml-data .custom_label_1_container .custom_label_0_suggestions div,.product-xml-data .custom_label_1_container .custom_label_1_suggestions div,.product-xml-data .custom_label_1_container .custom_label_2_suggestions div,.product-xml-data .custom_label_1_container .custom_label_3_suggestions div,.product-xml-data .custom_label_1_container .custom_label_4_suggestions div,.product-xml-data .custom_label_2_container .custom_label_0_suggestions div,.product-xml-data .custom_label_2_container .custom_label_1_suggestions div,.product-xml-data .custom_label_2_container .custom_label_2_suggestions div,.product-xml-data .custom_label_2_container .custom_label_3_suggestions div,.product-xml-data .custom_label_2_container .custom_label_4_suggestions div,.product-xml-data .custom_label_3_container .custom_label_0_suggestions div,.product-xml-data .custom_label_3_container .custom_label_1_suggestions div,.product-xml-data .custom_label_3_container .custom_label_2_suggestions div,.product-xml-data .custom_label_3_container .custom_label_3_suggestions div,.product-xml-data .custom_label_3_container .custom_label_4_suggestions div,.product-xml-data .custom_label_4_container .custom_label_0_suggestions div,.product-xml-data .custom_label_4_container .custom_label_1_suggestions div,.product-xml-data .custom_label_4_container .custom_label_2_suggestions div,.product-xml-data .custom_label_4_container .custom_label_3_suggestions div,.product-xml-data .custom_label_4_container .custom_label_4_suggestions div{padding:5px;cursor:pointer;background:#1cbb8c;color:#fff;border-bottom:1px solid #1cbb8c}.product-xml-data .custom_label_0_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_0_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_1_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_2_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_3_container .custom_label_4_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_0_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_1_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_2_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_3_suggestions div:last-child,.product-xml-data .custom_label_4_container .custom_label_4_suggestions div:last-child{border-bottom:none}.jconfirm-title{line-height:1.25 !important}.site-title{font-size:18px;font-weight:600;margin:5px 0 10px 5px}.site-subtitle{font-size:13px;margin:0 0 10px 5px}#g-list{margin-bottom:15px !important}.pagination input[type=number]{border:1px solid #ddd;height:31px;width:50px;text-align:center}.input-group-addon{width:auto}.input-group-addon label{display:flex;align-items:center;gap:5px}.additional_fields input[type=text]{height:40px}#integrationsDropdownBtn{width:50px;text-align:center}.dropdown-menu-right a{font-size:14px}","// out: ../style-css/style.css, compress: true, sourceMap: true\r\n@import \"_mixins\";\r\n$cGray: #74788d;\r\n$cGrayLight: #ced4da;\r\n$cGrayBg: #f8f8fb;\r\n$cBlue: #4aa3ff;\r\n$cMenuBg: #2a3042;\r\n$cMenuText: #8691b2;\r\n$cFilemenagerBg: #dbdee8;\r\n$cHoverBackground: #f3f4f7;\r\n$cGreenBtn: #1cbb8c;\r\n$cGreenBtnHover: #179a73;\r\n$cRedBtn: #ff3d60;\r\n$cRedBtnHover: #ff1741;\r\n$cVioletBtn: #5664d2;\r\n$cVioletBtnHover: #3848ca;\r\n$cInfoBtn: #939dba;\r\n$cInfoBtnHover: #8691b2;\r\n$cYellowBtn: #fcb92c;\r\n$cYellowBtnHover: #fbac06;\r\n$font1: 'Open Sans',\r\nsans-serif;\r\n\r\nbody {\r\n font-size: 13px;\r\n}\r\n\r\n.form-group {\r\n &::after {\r\n content: '';\r\n display: block;\r\n clear: both;\r\n }\r\n}\r\n\r\n.table {\r\n .text-bold {\r\n font-weight: 600;\r\n }\r\n\r\n .text-center {\r\n input {\r\n margin: auto;\r\n }\r\n }\r\n}\r\n\r\n.baselinker-delete-linking,\r\n.apilo-delete-linking {\r\n display: flex;\r\n gap: 5px;\r\n align-items: center;\r\n justify-content: center;\r\n margin-top: 10px;\r\n cursor: pointer;\r\n}\r\n\r\n// statusy zamówień\r\ntr.status-0 {\r\n .order-status {\r\n color: $cVioletBtn;\r\n }\r\n}\r\n\r\ntr.status-1 {\r\n .order-status {\r\n color: #468639;\r\n }\r\n}\r\n\r\ntr.status-2,\r\ntr.status-3 {\r\n .order-status {\r\n color: $cRedBtn;\r\n }\r\n}\r\n\r\ntr.status-4 {\r\n .order-status {\r\n color: $cYellowBtn;\r\n }\r\n}\r\n\r\n// zamówienie wysłane\r\ntr.status-5 {\r\n .order-status {\r\n color: #f7abb0;\r\n }\r\n}\r\n\r\n// zamówienie zrealizowane\r\ntr.status-6,\r\ntr.status-8 {\r\n .order-status {\r\n color: #bfbfbf;\r\n }\r\n}\r\n\r\ntr.status-7 {\r\n .order-status {\r\n color: #95c11f;\r\n }\r\n}\r\n\r\nbody {\r\n font-family: $font1;\r\n color: $cMenuBg;\r\n\r\n a {\r\n &:hover {\r\n text-decoration: none;\r\n }\r\n }\r\n\r\n input:-webkit-autofill,\r\n input:-webkit-autofill:hover,\r\n input:-webkit-autofill:focus textarea:-webkit-autofill,\r\n textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,\r\n select:-webkit-autofill,\r\n select:-webkit-autofill:hover,\r\n select:-webkit-autofill:focus {\r\n -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;\r\n }\r\n}\r\n\r\n#main {\r\n height: 100vh;\r\n\r\n .container-fluid {\r\n height: 100%;\r\n\r\n .row {\r\n height: 100%;\r\n\r\n .unlogged-panel {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background: #fff;\r\n\r\n .login-panel {\r\n width: 80%;\r\n\r\n .login-panel-content {\r\n .login-shoppro {\r\n text-align: center;\r\n font-size: 26px;\r\n color: $cBlue;\r\n }\r\n\r\n .title {\r\n text-align: center;\r\n font-size: 22px;\r\n line-height: 24px;\r\n font-weight: 600;\r\n margin-top: 50px;\r\n margin-bottom: 10px;\r\n }\r\n\r\n .subtitle {\r\n text-align: center;\r\n font-size: 12px;\r\n line-height: 20px;\r\n font-weight: 300;\r\n color: $cGray;\r\n }\r\n\r\n .form-horizontal {\r\n margin-top: 50px;\r\n\r\n .form-group {\r\n .input-login {\r\n position: relative;\r\n\r\n &:before {\r\n position: absolute;\r\n content: 'Login';\r\n color: $cGray;\r\n font-size: 14px;\r\n line-height: 21px;\r\n top: 5px;\r\n left: 50px;\r\n z-index: 801;\r\n }\r\n }\r\n\r\n .input-password {\r\n position: relative;\r\n\r\n &:before {\r\n position: absolute;\r\n content: 'Hasło';\r\n color: $cGray;\r\n font-size: 14px;\r\n line-height: 21px;\r\n top: 5px;\r\n left: 50px;\r\n z-index: 801;\r\n }\r\n }\r\n\r\n .input-group {\r\n input {\r\n height: 60px;\r\n background: transparent;\r\n padding-top: 30px;\r\n padding-bottom: 10px;\r\n padding-left: 50px;\r\n margin-left: -52px;\r\n border: 1px solid #dedfe0;\r\n box-shadow: none;\r\n }\r\n\r\n .form-control {\r\n border: 1px solid #dedfe0;\r\n }\r\n\r\n .input-group-prepend {\r\n .input-group-text {\r\n background: transparent;\r\n border: none;\r\n }\r\n\r\n .icon {\r\n padding-left: 20px;\r\n padding-right: 20px;\r\n\r\n i {\r\n z-index: 800;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n .sumbit {\r\n text-align: center;\r\n\r\n .btn {\r\n background-color: $cBlue;\r\n color: #fff;\r\n border-radius: 4px;\r\n font-size: 14px;\r\n line-height: 21px;\r\n font-weight: 400;\r\n padding: 10px 30px;\r\n margin-top: 50px;\r\n }\r\n }\r\n }\r\n\r\n .copyright {\r\n text-align: center;\r\n font-size: 14px;\r\n line-height: 21px;\r\n font-weight: 400;\r\n color: $cGray;\r\n margin-top: 100px;\r\n\r\n a {\r\n color: $cGray;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n .unlogged-bg {\r\n background: url('/admin/layout/images/bg-unlogged.png') no-repeat right;\r\n background-size: cover;\r\n display: flex;\r\n\r\n @include respond-below(xs) {\r\n display: none;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .home {\r\n position: fixed;\r\n z-index: 999;\r\n color: #fff;\r\n top: 30px;\r\n right: 30px;\r\n\r\n img {\r\n width: 30px;\r\n\r\n @include respond-below(xs) {\r\n filter: invert(100%);\r\n }\r\n }\r\n }\r\n}\r\n\r\n.admin-page {\r\n background-color: $cGrayBg;\r\n\r\n .menu {\r\n &.visible {\r\n display: block;\r\n\r\n @include respond-below(xs) {\r\n width: 100vw;\r\n\r\n }\r\n }\r\n\r\n @include respond-below(md) {\r\n display: none;\r\n }\r\n\r\n z-index: 900;\r\n padding: 0 25px;\r\n background-color: $cMenuBg;\r\n height: 100%;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n overflow: scroll;\r\n\r\n &::-webkit-scrollbar {\r\n display: none;\r\n /* Chrome Safari */\r\n width: 0;\r\n height: 0;\r\n }\r\n\r\n scrollbar-width: none;\r\n /* Firefox */\r\n -ms-overflow-style: none;\r\n /* IE 10+ */\r\n overflow-y:scroll;\r\n overflow-x:hidden;\r\n color: $cMenuText;\r\n\r\n .logo {\r\n width: 100%;\r\n color: #fff;\r\n background-color: $cMenuBg;\r\n text-align: center;\r\n padding: 20px 0;\r\n font-size: 24px;\r\n font-weight: 400;\r\n\r\n span {\r\n font-size: 11px;\r\n color: $cMenuText;\r\n }\r\n\r\n a {\r\n font-size: 11px;\r\n padding: 5px 20px;\r\n border-radius: .25rem;\r\n display: inline-block;\r\n margin-top: 10px;\r\n transition: ease 0.3s;\r\n text-transform: uppercase;\r\n font-weight: 700;\r\n color: $cMenuBg;\r\n background-color: #fff;\r\n border: 1px solid #fff;\r\n\r\n &:hover {\r\n color: $cMenuText;\r\n background-color: $cMenuBg;\r\n border: 1px solid $cMenuText;\r\n }\r\n }\r\n }\r\n\r\n .menu-content {\r\n .title {\r\n text-transform: uppercase;\r\n color: $cMenuText;\r\n font-size: 12px;\r\n font-weight: 700;\r\n margin-bottom: 10px;\r\n }\r\n\r\n ul {\r\n list-style-type: none;\r\n padding-inline-start: 0px;\r\n\r\n li {\r\n a {\r\n color: $cMenuText;\r\n font-size: 13px;\r\n font-weight: 400;\r\n line-height: 27px;\r\n padding: 4px 0px;\r\n display: block;\r\n\r\n &:hover {\r\n color: #fff;\r\n\r\n img {\r\n filter: brightness(200%);\r\n }\r\n }\r\n\r\n img,\r\n i {\r\n margin-right: 20px;\r\n width: 20px;\r\n text-align: center;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.preview {\r\n width: 100%;\r\n background: $cMenuBg;\r\n text-align: center;\r\n position: -webkit-sticky;\r\n position: sticky;\r\n bottom: 0;\r\n z-index: 1020;\r\n\r\n @include respond-below(xs) {\r\n text-align: left;\r\n }\r\n\r\n &:hover {\r\n a {\r\n color: #fff;\r\n width: 100%;\r\n height: 100%;\r\n }\r\n\r\n img {\r\n filter: brightness(200%);\r\n }\r\n }\r\n\r\n a {\r\n text-transform: uppercase;\r\n padding: 20px 0;\r\n color: $cMenuText;\r\n font-size: 12px;\r\n font-weight: 700;\r\n margin-bottom: 10px;\r\n display: inline-block;\r\n margin-bottom: 0;\r\n\r\n img {\r\n margin-top: -4px;\r\n }\r\n }\r\n}\r\n\r\n.site-content {\r\n\r\n &.with-menu {\r\n width: 100%;\r\n\r\n @include respond-above(xs) {\r\n width: calc(100% - 243px);\r\n\r\n margin-left: 243px;\r\n }\r\n }\r\n\r\n @include respond-below(md) {\r\n margin-left: 0;\r\n }\r\n\r\n background-color: #fff;\r\n margin-left: 244px;\r\n\r\n .top-user {\r\n text-align: right;\r\n background-color: #fff;\r\n padding-top: 10px;\r\n padding-bottom: 10px;\r\n text-align: right;\r\n }\r\n\r\n .dropdown {\r\n position: relative;\r\n display: inline-block;\r\n color: $cMenuBg;\r\n font-size: 15px;\r\n\r\n img {\r\n margin-left: 10px;\r\n }\r\n\r\n &:hover {\r\n .dropdown-content {\r\n display: block;\r\n }\r\n }\r\n\r\n .dropdown-content {\r\n display: none;\r\n transition: ease 0.3s;\r\n position: absolute;\r\n background-color: #fff;\r\n box-shadow: 7px 7px 15px 5px rgba(0, 0, 0, 0.05);\r\n padding: 12px 16px;\r\n z-index: 1;\r\n right: 0;\r\n font-size: 14px;\r\n\r\n a {\r\n font-size: 14px;\r\n line-height: 15px;\r\n font-weight: 400;\r\n color: $cMenuBg;\r\n display: block;\r\n padding: 5px 0;\r\n white-space: nowrap;\r\n\r\n span {\r\n margin-right: 10px;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .dashboard-page {\r\n padding-top: 10px;\r\n padding-bottom: 10px;\r\n background-color: $cHoverBackground;\r\n\r\n\r\n\r\n .dashboard-content {\r\n border-radius: .25rem;\r\n margin-bottom: 15px;\r\n background: #fff;\r\n margin: 10px 0;\r\n padding: 15px;\r\n box-shadow: 7px 7px 15px 5px rgba(0, 0, 0, 0.05);\r\n\r\n .dashboard-title {\r\n text-transform: uppercase;\r\n font-weight: 800;\r\n margin-bottom: 15px;\r\n }\r\n\r\n table {\r\n white-space: nowrap;\r\n font-size: 13px;\r\n\r\n &.dashboard-products {\r\n tbody {\r\n tr {\r\n td:nth-child(2) {\r\n max-width: 300px;\r\n text-overflow: ellipsis;\r\n overflow: hidden;\r\n }\r\n\r\n td.text-right {\r\n display: table-cell;\r\n text-align: right;\r\n }\r\n }\r\n }\r\n }\r\n\r\n a {\r\n color: $cMenuText;\r\n transition: .15s ease;\r\n font-weight: 800;\r\n\r\n &:hover {\r\n color: $cMenuBg;\r\n }\r\n }\r\n\r\n img {\r\n height: 50px;\r\n }\r\n\r\n thead {\r\n background-color: $cHoverBackground;\r\n\r\n th {\r\n vertical-align: middle;\r\n border-bottom: none;\r\n border-top: none;\r\n }\r\n }\r\n\r\n tbody {\r\n td {\r\n vertical-align: middle;\r\n }\r\n }\r\n }\r\n\r\n .table-hover tbody tr:hover {\r\n background-color: $cHoverBackground;\r\n }\r\n }\r\n }\r\n}\r\n\r\n.alert {\r\n .fa {\r\n margin-right: 10px;\r\n }\r\n}\r\n\r\n.btn-default,\r\n.btn-success,\r\n.btn-danger,\r\n.btn-info,\r\n.btn-system,\r\n.btn-dark,\r\n.btn-primary {\r\n color: #fff;\r\n padding: .47rem .75rem;\r\n font-size: 13px;\r\n line-height: 1.5;\r\n font-weight: 300;\r\n border-radius: .25rem;\r\n transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n\r\n @include respond-below(xs) {\r\n font-size: 12px;\r\n }\r\n\r\n &:hover {\r\n color: #fff;\r\n }\r\n\r\n .fa {\r\n margin-right: 8px;\r\n }\r\n\r\n &#g-columns-list-close {\r\n .fa {\r\n margin-right: 0px;\r\n }\r\n }\r\n\r\n &.article_image_delete {\r\n .fa {\r\n margin-right: 0;\r\n }\r\n }\r\n\r\n &#g-select-columns {\r\n .fa {\r\n margin-right: 0px;\r\n }\r\n }\r\n\r\n &.btn-value-remove {\r\n margin-left: 15px;\r\n\r\n .fa-trash-o {\r\n margin-right: 0px;\r\n }\r\n }\r\n\r\n &.btn-delete-permutation {\r\n text-align: center;\r\n color: #FFF;\r\n\r\n i {\r\n margin: 0;\r\n }\r\n }\r\n\r\n &.fa-link {\r\n height: 35px;\r\n }\r\n}\r\n\r\n.btn-default {\r\n color: #000;\r\n}\r\n\r\n.attribute-value-add {\r\n margin-top: 16px;\r\n}\r\n\r\n.btn-success {\r\n background-color: $cGreenBtn;\r\n border-color: $cGreenBtn;\r\n\r\n &:hover {\r\n background-color: $cGreenBtnHover;\r\n border-color: $cGreenBtnHover;\r\n }\r\n}\r\n\r\n.btn-danger {\r\n background-color: $cRedBtn;\r\n border-color: $cRedBtn;\r\n\r\n &:hover {\r\n background-color: $cRedBtnHover;\r\n border-color: $cRedBtnHover;\r\n }\r\n}\r\n\r\n.btn-info {\r\n background-color: $cVioletBtn;\r\n border-color: $cVioletBtn;\r\n\r\n &:hover {\r\n background-color: $cVioletBtnHover;\r\n border-color: $cVioletBtnHover;\r\n }\r\n}\r\n\r\n.btn-primary {\r\n background-color: $cInfoBtn;\r\n border-color: $cInfoBtn;\r\n\r\n &:hover {\r\n background-color: $cInfoBtnHover;\r\n border-color: $cInfoBtnHover;\r\n }\r\n}\r\n\r\n.btn-system {\r\n background-color: $cYellowBtn;\r\n border-color: $cYellowBtn;\r\n\r\n &:hover {\r\n background-color: $cYellowBtnHover;\r\n border-color: $cYellowBtnHover;\r\n }\r\n}\r\n\r\n#fg-values-edit {\r\n #settings-tabs {\r\n .resp-tabs-container {\r\n\r\n .resp-tab-content {\r\n @include respond-above(sm) {\r\n padding-bottom: 0;\r\n }\r\n\r\n #languages-main {\r\n .btn-value-add {\r\n margin-bottom: 15px;\r\n }\r\n }\r\n }\r\n\r\n .default-value {\r\n margin-bottom: 1rem;\r\n }\r\n }\r\n }\r\n}\r\n\r\n#g-list td a i {\r\n color: $cMenuBg !important;\r\n}\r\n\r\n#g-list {\r\n\r\n input.product-price,\r\n input.product-price-promo {\r\n width: 100%;\r\n }\r\n}\r\n\r\n#g-columns-list {\r\n font-size: 13px;\r\n font-weight: 400;\r\n border: 1px solid $cHoverBackground !important;\r\n border-radius: 0.25rem;\r\n\r\n ul {\r\n li {\r\n border-bottom: 1px solid $cHoverBackground !important;\r\n height: auto !important;\r\n min-height: 30px;\r\n display: flex;\r\n align-items: center;\r\n }\r\n }\r\n}\r\n\r\n#g-results {\r\n font-size: 13px;\r\n margin-top: 10px;\r\n\r\n #g-list {\r\n color: $cMenuBg;\r\n\r\n >thead:nth-child(1) {\r\n >tr:nth-child(1) {\r\n background-color: $cHoverBackground;\r\n }\r\n }\r\n\r\n th {\r\n vertical-align: middle;\r\n }\r\n }\r\n\r\n table {\r\n color: $cMenuBg;\r\n\r\n thead {\r\n tr {\r\n th {\r\n border: none;\r\n }\r\n }\r\n }\r\n\r\n tbody {\r\n tr {\r\n background-color: #fff;\r\n\r\n &:hover {\r\n background-color: $cHoverBackground;\r\n }\r\n\r\n td {\r\n border-color: $cHoverBackground;\r\n\r\n a:not(.btn) {\r\n transition: .15s ease;\r\n\r\n &:hover {\r\n text-decoration: none;\r\n color: $cMenuBg;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n .g-search-select,\r\n #g-row-limit {\r\n text-align: center;\r\n }\r\n\r\n .form-control {\r\n border-color: $cMenuText;\r\n color: $cMenuBg;\r\n -webkit-appearance: none;\r\n -moz-appearance: none;\r\n appearance: none;\r\n font-size: 13px;\r\n\r\n &:focus {\r\n box-shadow: none;\r\n }\r\n }\r\n}\r\n\r\n.table-striped tbody tr:nth-of-type(2n+1) {\r\n background-color: #fff;\r\n}\r\n\r\n.table-bordered th,\r\n.table-bordered td {\r\n border-right: none;\r\n border-left: none;\r\n}\r\n\r\n.text-right {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n\r\n &.text-centred-xs {\r\n @include respond-below(xs) {\r\n justify-content: center;\r\n }\r\n }\r\n\r\n #g-row-limit {\r\n width: auto;\r\n margin: 0 10px;\r\n }\r\n\r\n\r\n}\r\n\r\n.text-centred-xs {\r\n @include respond-below(xs) {\r\n justify-content: center;\r\n }\r\n}\r\n\r\n.pull-left-sm {\r\n @include respond-above(sm) {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-start;\r\n }\r\n\r\n}\r\n\r\n\r\n.pagination {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n margin: 0;\r\n gap: 10px;\r\n\r\n span {\r\n font-weight: 900;\r\n }\r\n}\r\n\r\n.flags {\r\n padding-left: 20px;\r\n\r\n img {\r\n width: 14px;\r\n margin-top: -8px;\r\n }\r\n}\r\n\r\n.fa-star {\r\n color: $cGreenBtn;\r\n margin-right: 5px;\r\n}\r\n\r\n.text-danger {\r\n color: $cRedBtn !important;\r\n}\r\n\r\nol.sortable,\r\nol.sortable ol {\r\n margin: 0 0 0 25px;\r\n padding: 0;\r\n list-style-type: none;\r\n}\r\n\r\nol.sortable {\r\n margin: 0;\r\n}\r\n\r\nol.sortable,\r\nol.sortable *,\r\nol.sortable *:after,\r\nol.sortable *:before {\r\n box-sizing: content-box;\r\n}\r\n\r\n.sortable li {\r\n margin: 0;\r\n padding: 0;\r\n}\r\n\r\n.sortable li div.content {\r\n color: $cMenuBg;\r\n cursor: move;\r\n height: 45px;\r\n line-height: 45px;\r\n margin: 0;\r\n padding: 0 10px;\r\n border-bottom: 1px solid #e1e1e1;\r\n height: 100%;\r\n\r\n .text-danger {\r\n margin-right: 10px;\r\n\r\n @include respond-below(xs) {\r\n margin-top: 16px;\r\n vertical-align: top;\r\n margin-right: 5px;\r\n }\r\n }\r\n\r\n}\r\n\r\n#fg-pages-list {\r\n .sortable {\r\n li {\r\n div {\r\n\r\n &.content {\r\n color: $cMenuBg;\r\n cursor: move;\r\n height: 45px;\r\n line-height: 45px;\r\n margin: 0;\r\n padding: 0 10px;\r\n border-bottom: 1px solid #e1e1e1;\r\n height: 100%;\r\n\r\n @include respond-above(xs) {\r\n display: flex;\r\n align-items: center;\r\n }\r\n\r\n .text-danger {\r\n margin-right: 10px;\r\n\r\n @include respond-below(xs) {\r\n margin-top: 16px;\r\n vertical-align: top;\r\n margin-right: 5px;\r\n }\r\n }\r\n\r\n b {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n\r\n @include respond-above(xs) {\r\n display: block;\r\n }\r\n\r\n @include respond-below(xs) {\r\n display: inline-block;\r\n width: calc(100% - 70px);\r\n }\r\n\r\n @include respond-above(lg) {\r\n width: calc(100% - 670px);\r\n }\r\n\r\n @include respond-between(md, lg) {\r\n width: calc(100% - 222px);\r\n }\r\n\r\n @include respond-between(sm, md) {\r\n width: calc(100% - 222px);\r\n }\r\n\r\n @include respond-between(xs, sm) {\r\n width: calc(100% - 222px);\r\n }\r\n }\r\n\r\n .menu-box-title {\r\n\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-start;\r\n\r\n .disclose,\r\n .text-danger {\r\n @include respond-below(xs) {\r\n\r\n margin-top: 0;\r\n }\r\n }\r\n\r\n @include respond-below(xs) {\r\n\r\n width: 100%;\r\n }\r\n\r\n @include respond-above(lg) {\r\n width: calc(100% - 670px);\r\n }\r\n\r\n @include respond-between(md, lg) {\r\n width: calc(100% - 222px);\r\n }\r\n\r\n @include respond-between(sm, md) {\r\n width: calc(100% - 222px);\r\n }\r\n\r\n @include respond-between(xs, sm) {\r\n width: calc(100% - 222px);\r\n }\r\n\r\n }\r\n }\r\n }\r\n\r\n &.sort-leaf {\r\n .content {\r\n b {\r\n @include respond-below(xs) {\r\n display: inline-block;\r\n width: calc(100% - 52px);\r\n }\r\n\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n#fg-product-edit {\r\n .sortable {\r\n li {\r\n div {\r\n &.content {\r\n\r\n b {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n width: calc(100% - 62px);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.sortable li.sort-branch div {\r\n color: $cMenuBg;\r\n}\r\n\r\n.sort-leaf .disclose {\r\n content: '- ';\r\n text-indent: -3000px;\r\n background-image: url('/libraries/jquery-nested-sortable/skin-vista/icons.gif');\r\n background-position: -16px -64px;\r\n background-repeat: no-repeat;\r\n display: inline-block;\r\n height: 16px;\r\n vertical-align: top;\r\n width: 16px;\r\n margin: 16px 5px 0 1px;\r\n\r\n @include respond-above(xs) {\r\n margin: 0px 5px 0 1px;\r\n }\r\n}\r\n\r\nli.sort-collapsed.sort-hover div {\r\n border-color: #999999;\r\n}\r\n\r\n.disclose {\r\n cursor: pointer;\r\n width: 20px;\r\n display: none;\r\n text-align: center;\r\n}\r\n\r\n.sortable li.sort-collapsed>ol {\r\n display: none;\r\n}\r\n\r\n.sortable li.sort-branch>div .disclose {\r\n display: block;\r\n float: left;\r\n margin-right: 15px;\r\n}\r\n\r\n.sortable li.sort-collapsed>div .disclose>span:before {\r\n display: inline-block;\r\n font-family: FontAwesome;\r\n font-size: 10px;\r\n content: '\\f054';\r\n height: 25px;\r\n width: 25px;\r\n line-height: 25px;\r\n border-radius: 13px;\r\n background: rgba(134, 145, 178, .1);\r\n color: $cMenuText;\r\n border: 1px solid $cMenuText;\r\n transition: .15s ease;\r\n}\r\n\r\n.sortable li.sort-collapsed>div .disclose:hover>span:before,\r\n.sortable li.sort-expanded>div .disclose:hover>span:before {\r\n background: $cMenuText;\r\n color: #FFF;\r\n}\r\n\r\n.sortable li.sort-expanded>div .disclose>span:before {\r\n display: inline-block;\r\n font-family: FontAwesome;\r\n font-size: 10px;\r\n content: '\\f078';\r\n height: 25px;\r\n width: 25px;\r\n line-height: 25px;\r\n border-radius: 13px;\r\n background: rgba(134, 145, 178, .1);\r\n color: $cMenuText;\r\n border: 1px solid $cMenuText;\r\n transition: .15s ease;\r\n}\r\n\r\n.menu_sortable .btn-group {\r\n display: none;\r\n transition: .15s ease;\r\n}\r\n\r\n.menu_sortable div {\r\n &:hover {\r\n .btn-group {\r\n display: block;\r\n margin-top: -1px;\r\n\r\n &.pull-right {\r\n float: none;\r\n margin-bottom: 20px;\r\n margin-left: 20px;\r\n\r\n @include respond-above(xs) {\r\n float: right;\r\n margin-bottom: 0;\r\n margin-left: 0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n\r\n }\r\n\r\n @include respond-above(lg) {\r\n width: 668px;\r\n }\r\n\r\n @include respond-between(md, lg) {\r\n width: 222px;\r\n }\r\n\r\n @include respond-between(sm, md) {\r\n width: 222px;\r\n }\r\n\r\n @include respond-between(xs, sm) {\r\n width: 222px;\r\n }\r\n\r\n\r\n\r\n\r\n\r\n }\r\n\r\n .btn {\r\n &.btn-sm {\r\n @include respond-below(lg) {\r\n\r\n .fa {\r\n margin-right: 0;\r\n }\r\n\r\n }\r\n }\r\n }\r\n\r\n .hidden-xs {\r\n @include respond-below(lg) {\r\n display: none;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.resp-vtabs li.resp-tab-active {\r\n position: relative;\r\n z-index: 1;\r\n margin-right: -1px;\r\n padding: 10px 15px;\r\n margin-bottom: 0;\r\n border-top: none;\r\n border: none;\r\n border-left: none;\r\n border-right: none;\r\n border-right: 2px solid $cMenuText;\r\n background-color: $cHoverBackground;\r\n}\r\n\r\n.resp-tab-active {\r\n color: $cMenuText;\r\n}\r\n\r\n.htabs {\r\n li.resp-tab-active {\r\n border-right: none;\r\n color: $cMenuBg;\r\n background-color: $cMenuText;\r\n border-radius: .25rem;\r\n color: #fff;\r\n\r\n .fa-star {\r\n color: #fff;\r\n }\r\n }\r\n}\r\n\r\n.resp-vtabs>.resp-tabs-container {\r\n border: none;\r\n min-height: 274px;\r\n}\r\n\r\n#fg-order-details {\r\n .details {\r\n .order-history {\r\n div {\r\n font-size: 13px;\r\n }\r\n }\r\n\r\n i.fa-copy {\r\n font-size: 16px;\r\n cursor: pointer;\r\n margin-left: 5px;\r\n margin-right: 10px;\r\n }\r\n\r\n b {\r\n a {\r\n color: $cMenuText;\r\n transition: ease 0.3s;\r\n\r\n &:hover {\r\n color: $cMenuBg;\r\n }\r\n }\r\n }\r\n\r\n .order-status {\r\n margin-bottom: 5px;\r\n }\r\n }\r\n\r\n .resend_order_confirmation_email {\r\n margin-top: 25px;\r\n }\r\n}\r\n\r\n.date-range-icon {\r\n display: flex;\r\n align-items: center;\r\n\r\n .fa-calendar:before {\r\n margin-left: 10px;\r\n margin-right: 10px;\r\n height: 100%;\r\n }\r\n}\r\n\r\n.input-group {\r\n .btn {\r\n border-radius: 0 3px 3px 0;\r\n display: flex;\r\n align-items: center;\r\n }\r\n}\r\n\r\ninput[type=\"checkbox\"] {\r\n position: relative;\r\n width: 40px;\r\n height: 20px;\r\n -webkit-appearance: none;\r\n background: $cGrayLight;\r\n outline: none;\r\n border-radius: 10px;\r\n box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);\r\n}\r\n\r\ninput:checked[type=\"checkbox\"] {\r\n background: $cMenuText;\r\n}\r\n\r\ninput[type=\"checkbox\"]:before {\r\n content: '';\r\n position: absolute;\r\n width: 20px;\r\n height: 20px;\r\n border-radius: 10px;\r\n top: 0;\r\n left: 0;\r\n background: #fff;\r\n transform: scale(1.1);\r\n box-shadow: 0 2px 5px rgba(0, 0, 0, .2);\r\n transition: .5s;\r\n}\r\n\r\ninput:checked[type=\"checkbox\"]:before {\r\n left: 20px;\r\n}\r\n\r\n#images-uploader,\r\n#files-uploader {\r\n clear: both;\r\n}\r\n\r\n#images-uploader,\r\n#images-uploader *,\r\n#files-uploader,\r\n#files-uploader * {\r\n box-sizing: content-box !important;\r\n}\r\n\r\n#images-list {\r\n margin: 0;\r\n padding: 0 5px;\r\n display: grid;\r\n grid-template-columns: repeat(auto-fit, minmax(150px, 200px));\r\n ;\r\n}\r\n\r\n#images-list li {\r\n background: #FFF;\r\n text-align: center;\r\n display: block;\r\n height: 165px;\r\n margin: 5px 5px 10px 5px;\r\n vertical-align: middle;\r\n position: relative;\r\n}\r\n\r\n#images-list li.sortable-chosen {\r\n -webkit-box-shadow: -1px 1px 6px rgba(0, 0, 0, .75);\r\n -moz-box-shadow: -1px 1px 6px rgba(0, 0, 0, .75);\r\n box-shadow: -1px 1px 6px rgba(0, 0, 0, .75);\r\n}\r\n\r\n#images-list li .article-image {\r\n height: 100%;\r\n width: 100%;\r\n object-fit: cover;\r\n}\r\n\r\n#images-list li .image-alt {\r\n padding: 5px;\r\n height: 30px;\r\n font-size: 13px;\r\n}\r\n\r\n#images-list li .article_image_delete {\r\n border: 0;\r\n padding: 13px;\r\n position: absolute;\r\n top: 0;\r\n right: 0;\r\n}\r\n\r\n#images-list li .article_image_delete i {\r\n font-size: 18px;\r\n}\r\n\r\n#images-list li .image-alt {\r\n position: absolute;\r\n bottom: 10px;\r\n border: 0;\r\n background: $cMenuBg;\r\n text-align: center;\r\n color: #FFF;\r\n}\r\n\r\n#images-list li .image-alt::placeholder {\r\n color: #FFF;\r\n}\r\n\r\n#images-list li:hover .article-image-edit,\r\n#images-list li.pending .article-image-edit {\r\n display: block;\r\n}\r\n\r\n.article-image-edit {\r\n background: rgba(255, 255, 255, .8);\r\n position: absolute;\r\n height: 100%;\r\n width: 150px;\r\n cursor: pointer;\r\n line-height: 168px;\r\n display: none;\r\n}\r\n\r\n.article-image-edit i {\r\n font-size: 28px;\r\n color: #cc0000;\r\n}\r\n\r\n.article-image-edit img {\r\n height: 50px;\r\n position: relative;\r\n top: 12px;\r\n}\r\n\r\n#files-list {\r\n list-style-type: none;\r\n margin: 0;\r\n padding: 0;\r\n}\r\n\r\n#files-list li {\r\n float: left;\r\n margin: 5px 7px;\r\n}\r\n\r\n#files-list li .article_file_delete {\r\n border-color: rgba(0, 0, 0, 0.05);\r\n}\r\n\r\n#fg-order-details {\r\n .details {\r\n .row {\r\n margin-bottom: 15px;\r\n }\r\n }\r\n}\r\n\r\n.cke_chrome {\r\n background: #fff !important;\r\n}\r\n\r\n.cke_bottom,\r\n.cke_top {\r\n background: #fff !important;\r\n}\r\n\r\n.plupload_filelist_header,\r\n.plupload_filelist_footer {\r\n background: $cFilemenagerBg !important;\r\n}\r\n\r\n.plupload_scroll .plupload_filelist {\r\n background: transparent !important;\r\n}\r\n\r\n.icheckbox_minimal-blue {\r\n background-position: 0 0 !important;\r\n\r\n &:hover {\r\n background-position: 0 0 !important;\r\n }\r\n}\r\n\r\n.icheckbox_minimal-blue.checked {\r\n background-position: -40px 0 !important;\r\n\r\n &:hover {\r\n background-position: -40px 0 !important;\r\n }\r\n}\r\n\r\n#fg-product-edit,\r\n#fg-promotion-edit,\r\n#fg-article-edit,\r\n#fg-values-edit {\r\n .form-group {\r\n width: 100%;\r\n\r\n .list {\r\n margin-bottom: 5px;\r\n }\r\n }\r\n\r\n #settings-tabs {\r\n .settings-tabs {\r\n .form-group {\r\n .menu_sortable {\r\n .sortable {\r\n .content {\r\n display: flex;\r\n justify-content: flex-start;\r\n align-items: center;\r\n\r\n .g-checkbox {\r\n margin-right: 5px;\r\n }\r\n }\r\n }\r\n }\r\n\r\n #products_related {\r\n max-width: 100%;\r\n overflow: overlay;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n#fg-g-edit,\r\n#fg-layout-edit {\r\n .sortable {\r\n .sort-leaf {\r\n .content {\r\n display: flex;\r\n align-items: center;\r\n\r\n @include respond-below(xs) {\r\n align-items: flex-start;\r\n }\r\n\r\n .icheckbox_minimal-blue {\r\n @include respond-below(xs) {\r\n margin-top: 16px;\r\n margin-right: 5px;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n#files-uploader_container,\r\n#images-uploader_container {\r\n\r\n .plupload {\r\n .plupload_content {\r\n .plupload_filelist_footer {\r\n @include respond-below(xs) {\r\n display: flex;\r\n align-items: center;\r\n }\r\n\r\n height: auto;\r\n\r\n .plupload_file_status,\r\n .plupload_file_size,\r\n .plupload_progress {\r\n width: 40px;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.selectize-control {\r\n .selectize-input {\r\n .item {\r\n a {\r\n &.remove {\r\n margin: 1px;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.progress-box {\r\n position: absolute;\r\n top: 0px;\r\n width: 100%;\r\n height: 100%;\r\n z-index: 200;\r\n background: #fff;\r\n padding: 0px;\r\n margin-left: -15px;\r\n\r\n &.hidden {\r\n display: none;\r\n }\r\n}\r\n\r\n.progress {\r\n margin: 15px;\r\n height: 35px;\r\n transform: translateY(-100%);\r\n position: relative;\r\n top: 30%;\r\n background-color: #333;\r\n}\r\n\r\n.version {\r\n position: relative;\r\n top: 5%;\r\n}\r\n\r\n.version h3 p {\r\n display: inline-block;\r\n}\r\n\r\n.version h3 {\r\n text-align: center;\r\n\r\n}\r\n\r\n#fg-order-details {\r\n .details {\r\n table {\r\n margin-top: 30px;\r\n\r\n .order-product-details {\r\n .custom-fields {\r\n font-size: 11px;\r\n\r\n b {\r\n font-weight: 600;\r\n }\r\n }\r\n\r\n .atributes {\r\n font-size: 11px;\r\n\r\n b {\r\n font-weight: 600;\r\n }\r\n }\r\n\r\n }\r\n }\r\n }\r\n}\r\n\r\n.table {\r\n white-space: nowrap;\r\n font-size: 13px;\r\n\r\n .tab-center {\r\n text-align: center;\r\n }\r\n\r\n .product-image {\r\n float: left;\r\n width: 75px;\r\n height: 75px;\r\n margin-right: 10px;\r\n\r\n img {\r\n width: 100%;\r\n height: 100%;\r\n object-fit: contain;\r\n }\r\n }\r\n\r\n .tab-right {\r\n text-align: right;\r\n }\r\n\r\n a:not(.btn) {\r\n color: $cBlue;\r\n transition: .15s ease;\r\n font-weight: 500;\r\n\r\n &:hover {\r\n color: $cMenuBg;\r\n }\r\n }\r\n\r\n a.btn {\r\n color: #fff;\r\n\r\n &:hover,\r\n &:focus {\r\n color: #fff;\r\n }\r\n }\r\n\r\n a.btn-default {\r\n color: #000;\r\n\r\n &:hover,\r\n &:focus {\r\n color: #000;\r\n }\r\n }\r\n\r\n thead {\r\n background-color: $cHoverBackground;\r\n\r\n th {\r\n vertical-align: middle;\r\n border-bottom: none;\r\n border-top: none;\r\n }\r\n }\r\n\r\n tbody {\r\n\r\n td {\r\n vertical-align: middle;\r\n\r\n &.product-image {\r\n\r\n width: 100px;\r\n padding: 0;\r\n\r\n img {\r\n width: 100%;\r\n }\r\n }\r\n\r\n }\r\n }\r\n}\r\n\r\n#table-products {\r\n .product-categories {\r\n display: block;\r\n width: 100%;\r\n text-wrap: wrap;\r\n }\r\n\r\n .product-name {\r\n display: flex;\r\n justify-content: space-between;\r\n\r\n .duplicate-product {\r\n margin-left: 15px;\r\n }\r\n }\r\n\r\n .duplicate-product {\r\n float: right;\r\n font-size: 13px;\r\n }\r\n\r\n .btn-success {\r\n color: #FFF !important;\r\n\r\n &.btn-create-product {\r\n margin-top: 5px;\r\n }\r\n }\r\n}\r\n\r\n.inpost-map-container {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n background: rgba(0, 0, 0, .75);\r\n z-index: 1000;\r\n padding: 100px;\r\n display: none;\r\n @include transition;\r\n\r\n @include respond-below(sm) {\r\n padding: 15px;\r\n }\r\n\r\n #inpost-map {\r\n background: #FFF;\r\n }\r\n\r\n .inpost-hide {\r\n margin: 15px auto;\r\n float: right;\r\n color: #FFF !important;\r\n text-transform: uppercase;\r\n @include transition;\r\n font-weight: 600;\r\n }\r\n}\r\n\r\n.sales-grid {\r\n text-align: center;\r\n\r\n td {\r\n padding: 2px 4px;\r\n width: calc(100% / 8);\r\n }\r\n}\r\n\r\n.mobile-menu-btn {\r\n position: fixed;\r\n right: 10px;\r\n bottom: 10px;\r\n z-index: 9999;\r\n height: 50px;\r\n width: 50px;\r\n color: #FFF;\r\n background: $cMenuBg;\r\n line-height: 50px;\r\n text-align: center;\r\n font-size: 25px;\r\n cursor: pointer;\r\n -webkit-border-radius: 50%;\r\n -moz-border-radius: 50%;\r\n border-radius: 50%;\r\n display: none;\r\n\r\n @include respond-below(md) {\r\n display: block;\r\n }\r\n\r\n &.active {\r\n @include respond-below(xs) {\r\n background: #fff;\r\n color: $cMenuBg;\r\n }\r\n }\r\n\r\n}\r\n\r\n.hidden-xs {\r\n @include respond-below(xs) {\r\n display: none;\r\n }\r\n}\r\n\r\n.dashboard-page {\r\n\r\n #table-products,\r\n .g-container {\r\n >.row {\r\n >#g-menu {\r\n margin-bottom: 10px;\r\n }\r\n\r\n >.col-md-3 {\r\n\r\n >.pull-right {\r\n @include respond-below(sm) {\r\n float: left;\r\n\r\n }\r\n\r\n #g-columns-list {\r\n @include respond-below(sm) {\r\n right: auto;\r\n left: 15px;\r\n }\r\n }\r\n }\r\n\r\n }\r\n }\r\n }\r\n\r\n\r\n .g-container {\r\n .panel-info {\r\n .panel-body {\r\n #fg-newsletter-prepare {\r\n .form-group {\r\n .input-group {\r\n #dates {\r\n max-width: 200px;\r\n }\r\n\r\n .date-range-icon {\r\n\r\n border-top: 1px solid #ced4da;\r\n border-right: 1px solid #ced4da;\r\n border-bottom: 1px solid #ced4da;\r\n border-top-right-radius: 0.25rem;\r\n border-bottom-right-radius: 0.25rem;\r\n }\r\n }\r\n\r\n select {\r\n &#template {\r\n max-width: 233px;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .resp-vtabs {\r\n .resp-tabs-container {\r\n @include respond-below(sm) {\r\n padding: 0;\r\n }\r\n\r\n h2 {\r\n i {\r\n margin-right: 10px;\r\n }\r\n }\r\n\r\n .resp-tab-content {\r\n padding: 10px;\r\n\r\n @include respond-below(sm) {\r\n padding: 10px;\r\n }\r\n\r\n }\r\n }\r\n }\r\n\r\n #fg-order-details {\r\n .details {\r\n .row {\r\n\r\n .col-lg-4,\r\n .col-xl-4 {\r\n .row {\r\n .buttons {\r\n\r\n .order_status_change_email,\r\n .order_status_change {\r\n\r\n margin-bottom: 10px;\r\n\r\n\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n .input-group {\r\n span {\r\n &.input-group-addon {\r\n border-top-left-radius: 0;\r\n border-bottom-left-radius: 0;\r\n\r\n }\r\n }\r\n }\r\n\r\n .row {\r\n .col-md-6 {\r\n\r\n\r\n .col-sm-6:last-child {\r\n .form-control {\r\n @include respond-below(xs) {\r\n margin-top: 15px;\r\n }\r\n\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n}\r\n\r\n.status_select {\r\n #order-status {\r\n max-width: 280px;\r\n }\r\n}\r\n\r\n.combination-attribute {\r\n border: 1px solid $cGrayLight;\r\n\r\n .title {\r\n padding: 5px 10px;\r\n font-weight: 600;\r\n }\r\n\r\n .values {\r\n padding: 5px 10px;\r\n list-style-type: none;\r\n }\r\n}\r\n\r\n.panel {\r\n .panel-heading {\r\n .btn-send-order-to-apilo {\r\n @media (max-width: 768px) {\r\n float: none !important;\r\n }\r\n }\r\n\r\n &.with-buttons {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n }\r\n }\r\n}\r\n\r\n.nav {\r\n &.nav-tabs-right {\r\n justify-content: flex-end;\r\n }\r\n}\r\n\r\n.input-group-addon {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n min-width: 65px;\r\n}\r\n\r\nselect.input-sm {\r\n line-height: 20px;\r\n}\r\n\r\n.form-control {\r\n font-size: 14px;\r\n}\r\n\r\n.baselinker-product-search,\r\n.apilo-product-search {\r\n cursor: pointer;\r\n}\r\n\r\n.baselinker-found-products {\r\n margin-top: 10px;\r\n\r\n p {\r\n margin-bottom: 0;\r\n }\r\n\r\n button {\r\n margin-top: 5px;\r\n }\r\n}\r\n\r\n.dashboard-summary {\r\n display: flex;\r\n flex-wrap: wrap;\r\n gap: 20px;\r\n\r\n .panel {\r\n max-width: 300px;\r\n width: 100%;\r\n }\r\n}\r\n\r\n.custom-labels {\r\n display: flex;\r\n flex-wrap: wrap;\r\n gap: 5px;\r\n\r\n input {\r\n max-width: 150px;\r\n border: 1px solid #dfdfdf !important;\r\n padding: 0 5px;\r\n font-size: 12px !important;\r\n\r\n &::placeholder {\r\n color: #dfdfdf;\r\n font-style: italic;\r\n }\r\n }\r\n}\r\n\r\ninput.form-control[type=\"text\"],\r\nselect.form-control {\r\n height: 35px;\r\n font-size: 13px;\r\n}\r\n\r\ntextarea.form-control {\r\n font-size: 13px;\r\n}\r\n\r\n.order-details {\r\n .paid-status {\r\n margin-top: 10px;\r\n\r\n a {\r\n font-weight: 300;\r\n }\r\n\r\n .panel-body {\r\n span {\r\n display: inline-flex;\r\n height: 30px;\r\n width: 30px;\r\n background: $cMenuBg;\r\n color: #FFF;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 50%;\r\n\r\n &.danger {\r\n background: $cRedBtnHover;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.product-xml-data {\r\n display: grid;\r\n grid-template-columns: 1fr;\r\n gap: 10px;\r\n\r\n @include respond-above(sm) {\r\n grid-template-columns: 1fr 1fr;\r\n }\r\n\r\n @include respond-above(md) {\r\n grid-template-columns: 1fr 1fr 1fr;\r\n }\r\n\r\n @include respond-above(lg) {\r\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;\r\n }\r\n\r\n input::placeholder {\r\n font-style: italic;\r\n opacity: .5;\r\n }\r\n\r\n .custom_label_0_container,\r\n .custom_label_1_container,\r\n .custom_label_2_container,\r\n .custom_label_3_container,\r\n .custom_label_4_container {\r\n position: relative;\r\n\r\n .custom_label_0_suggestions,\r\n .custom_label_1_suggestions,\r\n .custom_label_2_suggestions,\r\n .custom_label_3_suggestions,\r\n .custom_label_4_suggestions {\r\n position: absolute;\r\n top: 101%;\r\n left: 0;\r\n border: 1px solid #1cbb8c;\r\n width: 100%;\r\n display: none;\r\n z-index: 99;\r\n\r\n div {\r\n padding: 5px;\r\n cursor: pointer;\r\n background: #1cbb8c;\r\n color: #FFF;\r\n border-bottom: 1px solid #1cbb8c;\r\n\r\n &:last-child {\r\n border-bottom: none;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n.jconfirm-title {\r\n line-height: 1.25 !important;\r\n}\r\n\r\n.site-title {\r\n font-size: 18px;\r\n font-weight: 600;\r\n margin: 5px 0 10px 5px;\r\n}\r\n\r\n.site-subtitle {\r\n font-size: 13px;\r\n margin: 0 0 10px 5px;\r\n}\r\n\r\n#g-list {\r\n margin-bottom: 15px !important;\r\n}\r\n\r\n.pagination {\r\n input[type=\"number\"] {\r\n border: 1px solid #dddddd;\r\n height: 31px;\r\n width: 50px;\r\n text-align: center;\r\n }\r\n}\r\n\r\n.input-group-addon {\r\n width: auto;\r\n\r\n label {\r\n display: flex;\r\n align-items: center;\r\n gap: 5px;\r\n }\r\n}\r\n\r\n.additional_fields {\r\n input[type=\"text\"] {\r\n height: 40px;\r\n }\r\n}\r\n\r\n#integrationsDropdownBtn {\r\n width: 50px;\r\n text-align: center;\r\n}\r\n\r\n.dropdown-menu-right {\r\n a {\r\n font-size: 14px;\r\n }\r\n}","$breakpoints: (xs: 576px,\r\n sm: 768px,\r\n md: 992px,\r\n lg: 1200px);\r\n\r\n@mixin respond-above($breakpoint) {\r\n @if map-has-key($breakpoints, $breakpoint) {\r\n $breakpoint-value: map-get($breakpoints, $breakpoint);\r\n\r\n @media (min-width: $breakpoint-value) {\r\n @content;\r\n }\r\n }\r\n\r\n @else {\r\n @warn 'Invalid breakpoint: #{$breakpoint}.';\r\n }\r\n}\r\n\r\n@mixin respond-below($breakpoint) {\r\n @if map-has-key($breakpoints, $breakpoint) {\r\n $breakpoint-value: map-get($breakpoints, $breakpoint);\r\n\r\n @media (max-width: ($breakpoint-value - 1)) {\r\n @content;\r\n }\r\n }\r\n\r\n @else {\r\n @warn 'Invalid breakpoint: #{$breakpoint}.';\r\n }\r\n}\r\n\r\n@mixin respond-between($lower, $upper) {\r\n @if map-has-key($breakpoints, $lower) and map-has-key($breakpoints, $upper) {\r\n $lower-breakpoint: map-get($breakpoints, $lower);\r\n $upper-breakpoint: map-get($breakpoints, $upper);\r\n\r\n @media (min-width: $lower-breakpoint) and (max-width: ($upper-breakpoint - 1)) {\r\n @content;\r\n }\r\n }\r\n\r\n @else {\r\n @if (map-has-key($breakpoints, $lower)==false) {\r\n @warn 'Your lower breakpoint was invalid: #{$lower}.';\r\n }\r\n\r\n @if (map-has-key($breakpoints, $upper)==false) {\r\n @warn 'Your upper breakpoint was invalid: #{$upper}.';\r\n }\r\n }\r\n}\r\n\r\n@mixin border-radius($px: 0) {\r\n -webkit-border-radius: $px;\r\n -moz-border-radius: $px;\r\n border-radius: $px;\r\n}\r\n\r\n@mixin box-shadow($value) {\r\n -webkit-box-shadow: $value;\r\n -moz-box-shadow: $value;\r\n box-shadow: $value;\r\n}\r\n\r\n@mixin transition($element: all, $time: .5s, $option: ease) {\r\n -webkit-transition: $element $time $option;\r\n transition: $element $time $option;\r\n}\r\n\r\n@mixin opacity($value) {\r\n $IEValue: $value*100;\r\n opacity: $value;\r\n -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=\"+$IEValue+\")\";\r\n filter: alpha(opacity=$IEValue);\r\n}\r\n\r\n@mixin flexbox() {\r\n display: -webkit-box;\r\n display: -moz-box;\r\n display: -ms-flexbox;\r\n display: -webkit-flex;\r\n display: flex;\r\n}\r\n\r\n@mixin flex($values) {\r\n -webkit-box-flex: $values;\r\n -moz-box-flex: $values;\r\n -webkit-flex: $values;\r\n -ms-flex: $values;\r\n flex: $values;\r\n}\r\n\r\n@mixin flex-direction($direction) {\r\n -webkit-flex-direction: $direction;\r\n -moz-flex-direction: $direction;\r\n -ms-flex-direction: $direction;\r\n flex-direction: $direction;\r\n}\r\n\r\n@mixin flex-wrap($wrap) {\r\n -webkit-flex-wrap: $wrap;\r\n -moz-flex-wrap: $wrap;\r\n -ms-flex-wrap: $wrap;\r\n flex-wrap: $wrap;\r\n}\r\n\r\n@mixin flex-flow($flow) {\r\n -webkit-flex-flow: $flow;\r\n -moz-flex-flow: $flow;\r\n -ms-flex-flow: $flow;\r\n flex-flow: $flow;\r\n}\r\n\r\n@mixin order($val) {\r\n -webkit-box-ordinal-group: $val;\r\n -moz-box-ordinal-group: $val;\r\n -ms-flex-order: $val;\r\n -webkit-order: $val;\r\n order: $val;\r\n}\r\n\r\n@mixin flex-grow($grow) {\r\n -webkit-flex-grow: $grow;\r\n -moz-flex-grow: $grow;\r\n -ms-flex-grow: $grow;\r\n flex-grow: $grow;\r\n}\r\n\r\n@mixin flex-shrink($shrink) {\r\n -webkit-flex-shrink: $shrink;\r\n -moz-flex-shrink: $shrink;\r\n -ms-flex-shrink: $shrink;\r\n flex-shrink: $shrink;\r\n}\r\n\r\n@mixin flex-basis($width) {\r\n -webkit-flex-basis: $width;\r\n -moz-flex-basis: $width;\r\n -ms-flex-basis: $width;\r\n flex-basis: $width;\r\n}\r\n\r\n@mixin justify-content($justify) {\r\n -webkit-justify-content: $justify;\r\n -moz-justify-content: $justify;\r\n -ms-justify-content: $justify;\r\n justify-content: $justify;\r\n -ms-flex-pack: $justify;\r\n}\r\n\r\n@mixin align-content($align) {\r\n -webkit-align-content: $align;\r\n -moz-align-content: $align;\r\n -ms-align-content: $align;\r\n align-content: $align;\r\n}\r\n\r\n@mixin align-items($align) {\r\n -webkit-align-items: $align;\r\n -moz-align-items: $align;\r\n -ms-align-items: $align;\r\n align-items: $align;\r\n}\r\n\r\n@mixin align-self($align) {\r\n -webkit-align-self: $align;\r\n -moz-align-self: $align;\r\n -ms-align-self: $align;\r\n align-self: $align;\r\n}"]} \ No newline at end of file diff --git a/admin/layout/style-css/table-list.css b/admin/layout/style-css/table-list.css new file mode 100644 index 0000000..58b84ef --- /dev/null +++ b/admin/layout/style-css/table-list.css @@ -0,0 +1,180 @@ +.table-list-table th, +.table-list-table td { + vertical-align: middle !important; +} + +.table-list-table th.text-right, +.table-list-table td.text-right { + display: table-cell !important; + text-align: right !important; + justify-content: initial !important; + align-items: initial !important; +} + +.table-list-table th:first-child, +.table-list-table td:first-child { + width: 70px; + white-space: nowrap; +} + +.js-table-filters-form .js-filter-compact-select { + width: 100%; + min-width: 0; + max-width: none; +} + +.table-list-table th.table-col-compact, +.table-list-table td.table-col-compact { + width: 120px; + min-width: 120px; + white-space: nowrap; +} + +.table-list-per-page-form { + display: inline-flex; + align-items: center; + justify-content: flex-end; + flex-wrap: wrap; + gap: 8px; +} + +.jconfirm.table-list-confirm-dialog .jconfirm-row { + min-height: 100vh; + display: flex; + align-items: center; + justify-content: center; +} + +.jconfirm.table-list-confirm-dialog .jconfirm-box-container { + width: 100%; + max-width: 560px; + padding-left: 12px; + padding-right: 12px; + margin: 0 auto; +} + +.jconfirm.table-list-confirm-dialog .jconfirm-box { + width: 100% !important; +} + +/* --- Column visibility toggle --- */ + +.table-list-header-actions { + display: inline-flex; + align-items: center; + gap: 10px; +} + +.table-col-toggle-wrapper { + position: relative; + display: inline-block; +} + +.table-col-toggle-dropdown { + display: none; + position: absolute; + right: 0; + top: 100%; + z-index: 1050; + min-width: 220px; + max-height: 400px; + overflow-y: auto; + background: #fff; + border: 1px solid #ddd; + border-radius: 4px; + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + padding: 0; + margin-top: 4px; +} + +.table-col-toggle-dropdown.open { + display: block; +} + +.table-col-toggle-header { + padding: 8px 12px; + font-weight: 600; + font-size: 12px; + color: #555; + border-bottom: 1px solid #eee; + background: #f8f8f8; +} + +.table-col-toggle-item { + display: flex; + align-items: center; + padding: 5px 12px; + margin: 0; + font-weight: normal; + cursor: pointer; + font-size: 13px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + gap: 10px; +} + +.table-col-toggle-item:hover { + background: #f5f5f5; +} + +.table-col-toggle-footer { + padding: 6px 12px; + border-top: 1px solid #eee; + background: #f8f8f8; + text-align: center; +} + +.table-list-table th.table-col-hidden, +.table-list-table td.table-col-hidden { + display: none; +} + +/* Toggle switch */ + +.table-col-switch { + position: relative; + display: inline-block; + width: 34px; + min-width: 34px; + height: 18px; +} + +.table-col-switch input { + opacity: 0; + width: 0; + height: 0; + position: absolute; +} + +.table-col-switch-slider { + position: absolute; + cursor: pointer; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: #ccc; + border-radius: 18px; + transition: background-color 0.2s; +} + +.table-col-switch-slider:before { + position: absolute; + content: ""; + height: 14px; + width: 14px; + left: 2px; + bottom: 2px; + background-color: #fff; + border-radius: 50%; + transition: transform 0.2s; +} + +.table-col-switch input:checked + .table-col-switch-slider { + background-color: #5cb85c; +} + +.table-col-switch input:checked + .table-col-switch-slider:before { + transform: translateX(16px); +} diff --git a/admin/layout/style-scss/style.scss b/admin/layout/style-scss/style.scss index 536fe9c..e669f1e 100644 --- a/admin/layout/style-scss/style.scss +++ b/admin/layout/style-scss/style.scss @@ -827,7 +827,7 @@ body { td { border-color: $cHoverBackground; - a { + a:not(.btn) { transition: .15s ease; &:hover { @@ -1726,7 +1726,7 @@ input:checked[type="checkbox"]:before { text-align: right; } - a { + a:not(.btn) { color: $cBlue; transition: .15s ease; font-weight: 500; @@ -1736,6 +1736,24 @@ input:checked[type="checkbox"]:before { } } + a.btn { + color: #fff; + + &:hover, + &:focus { + color: #fff; + } + } + + a.btn-default { + color: #000; + + &:hover, + &:focus { + color: #000; + } + } + thead { background-color: $cHoverBackground; diff --git a/admin/templates/articles/article-edit-custom-script.php b/admin/templates/articles/article-edit-custom-script.php new file mode 100644 index 0000000..92e5169 --- /dev/null +++ b/admin/templates/articles/article-edit-custom-script.php @@ -0,0 +1,663 @@ +article ?? null) ? $this->article : []; +$articleId = (int)($article['id'] ?? 0); +$userId = (int)($this->user['id'] ?? 0); +$imagesCount = is_array($article['images'] ?? null) ? count($article['images']) : 0; +$filesCount = is_array($article['files'] ?? null) ? count($article['files']) : 0; + +$imageMaxPx = 1920; +if (isset($this->settings['image_px']) && (int)$this->settings['image_px'] > 0) { + $imageMaxPx = (int)$this->settings['image_px']; +} elseif (isset($GLOBALS['settings']['image_px']) && (int)$GLOBALS['settings']['image_px'] > 0) { + $imageMaxPx = (int)$GLOBALS['settings']['image_px']; +} + +$uploadToken = bin2hex(random_bytes(24)); +if (!isset($_SESSION['upload_tokens']) || !is_array($_SESSION['upload_tokens'])) { + $_SESSION['upload_tokens'] = []; +} +$_SESSION['upload_tokens'][$uploadToken] = [ + 'user_id' => $userId, + 'expires' => time() + 60 * 20, +]; + +$cookiePages = []; +$cookieMenus = []; +if (!empty($_COOKIE['cookie_pages'])) { + $decoded = @unserialize($_COOKIE['cookie_pages']); + if (is_array($decoded)) { + $cookiePages = $decoded; + } +} +if (!empty($_COOKIE['cookie_menus'])) { + $decoded = @unserialize($_COOKIE['cookie_menus']); + if (is_array($decoded)) { + $cookieMenus = $decoded; + } +} +?> + + + + + + + + + + + + + + + + + + + diff --git a/admin/templates/articles/article-edit.php b/admin/templates/articles/article-edit.php index 248cb07..7b72f8e 100644 --- a/admin/templates/articles/article-edit.php +++ b/admin/templates/articles/article-edit.php @@ -1,804 +1,6 @@ - - - - $this -> user['id'], - 'expires' => time() + 60*20 -]; - -$_SESSION['rfm_akey'] = bin2hex(random_bytes(16)); -$_SESSION['rfm_akey_expires'] = time() + 20*60; -$_SESSION['can_use_rfm'] = true; -$rfmAkeyJS = $_SESSION['rfm_akey']; - -ob_start(); -?> -
- -
-
-
-
    - languages ) ): foreach ( $this -> languages as $lg ):?> - -
  • ';?>
  • - - -
-
- languages ) ): foreach ( $this -> languages as $lg ):?> - languages ) ) foreach ( $this -> languages as $lg_tmp ) - { - if ( $lg_tmp['id'] != $lg['id'] ) - $languages[ $lg_tmp['id'] ] = $lg_tmp['name']; - } - ?> - -
- 'Wyświetlaj treść z wersji', - 'name' => 'copy_from[' . $lg['id'] . ']', - 'values' => $languages, - 'value' => $this -> article['languages'][ $lg['id'] ]['copy_from'], - ) - );?> - 'Tytuł', - 'name' => 'title[' . $lg['id'] . ']', - 'id' => 'title_' . $lg['id'], - 'value' => $this -> article['languages'][ $lg['id'] ]['title'], - 'inline' => true - ) - );?> - 'Zdjęcie tytułowe', - 'name' => 'main_image[' . $lg['id'] . ']', - 'id' => 'main_image_' . $lg['id'], - 'value' => htmlspecialchars( $this -> article['languages'][ $lg['id'] ]['main_image'] ), - 'icon_content' => 'przeglądaj', - 'inline' => true, - 'icon_js' => "window.open ( '/libraries/filemanager-9.14.2/dialog.php?type=1&popup=1&field_id=main_image_" . $lg['id'] . "&akey=" . $rfmAkeyJS . "', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');" - ] ); - ?> - 'Wstęp', - 'name' => 'entry[' . $lg['id'] . ']', - 'id' => 'entry_' . $lg['id'], - 'value' => $this -> article['languages'][ $lg['id'] ]['entry'], - 'inline' => true - ) - );?> - 'Treść', - 'name' => 'text[' . $lg['id'] . ']', - 'id' => 'text_' . $lg['id'], - 'value' => $this -> article['languages'][ $lg['id'] ]['text'], - 'inline' => true - ) - );?> - 'Spis treści', - 'name' => 'table_of_contents[' . $lg['id'] . ']', - 'id' => 'table_of_contents_' . $lg['id'], - 'value' => $this -> article['languages'][ $lg['id'] ]['table_of_contents'], - 'inline' => true - ] );?> - -
- - -
-
-
-
-
- 'Opublikowany', - 'name' => 'status', - 'checked' => $this -> article['status'] == 1 or !$this -> article['id'] ? true : false - ) - );?> - 'Pokaż tytuł', - 'name' => 'show_title', - 'checked' => $this -> article['show_title'] == 1 ? true : false - ) - );?> - 'Pokaż spis treści', - 'name' => 'show_table_of_contents', - 'checked' => $this -> article['show_table_of_contents'] == 1 ? true : false - ] );?> - 'Pokaż datę dodania', - 'name' => 'show_date_add', - 'checked' => $this -> article['show_date_add'] == 1 ? true : false - ) - );?> - 'Pokaż datę modyfikacji', - 'name' => 'show_date_modify', - 'checked' => $this -> article['show_date_modify'] == 1 ? true : false - ) - );?> - 'Powtórz wprowadzenie', - 'name' => 'repeat_entry', - 'checked' => $this -> article['repeat_entry'] == 1 ? true : false - ) - );?> - 'Linki do portali społecznościowych', - 'name' => 'social_icons', - 'checked' => $this -> article['social_icons'] == 1 ? true : false - ) - );?> -
-
-
-
    - languages ) ): foreach ( $this -> languages as $lg ):?> - -
  • ';?>
  • - - -
-
- languages ) ): foreach ( $this -> languages as $lg ):?> - -
- 'Link SEO', - 'name' => 'seo_link[' . $lg['id'] . ']', - 'id' => 'seo_link_' . $lg['id'], - 'value' => $this -> article['languages' ][ $lg['id'] ]['seo_link'], - 'icon_content' => 'generuj', - 'icon_js' => 'generate_seo_links( "' . $lg['id'] . '", $( "#title_' . $lg['id'] . '" ).val(), ' . (int)$this -> article['id'] . ' );' - ) - );?> - 'Meta title', - 'name' => 'meta_title[' . $lg['id'] . ']', - 'id' => 'meta_title_' . $lg['id'], - 'value' => $this -> article['languages'][ $lg['id'] ]['meta_title'] - ] - );?> - 'Meta description', - 'name' => 'meta_description[' . $lg['id'] . ']', - 'id' => 'meta_description_' . $lg['id'], - 'value' => $this -> article['languages'][ $lg['id'] ]['meta_description'] - ) - );?> - 'Meta keywords', - 'name' => 'meta_keywords[' . $lg['id'] . ']', - 'id' => 'meta_keywords_' . $lg['id'], - 'value' => $this -> article['languages'][ $lg['id'] ]['meta_keywords'] - ) - );?> - 'Blokuj indeksację', - 'name' => 'noindex[' . $lg['id'] . ']', - 'id' => 'noindex_' . $lg['id'], - 'checked' => $this -> article['languages'][ $lg['id'] ]['noindex'] == 1 ? 1 : 0 - ] - );?> - 'Blokuj bezpośredni dostęp', - 'name' => 'block_direct_access[' . $lg['id'] . ']', - 'id' => 'block_direct_access_' . $lg['id'], - 'checked' => $this -> article['languages'][ $lg['id'] ]['block_direct_access'] == 1 ? 1 : 0 - ] );?> -
- - -
-
-
-
-
- layouts ) ): foreach ( $this -> layouts as $layout ): - $layouts[ $layout['id'] ] = $layout['name']; - endforeach; endif; - ?> - 'Szablon', - 'name' => 'layout_id', - 'id' => 'layout_id', - 'values' => $layouts, - 'value' => $this -> article['layout_id'] - ) - );?> -
- -
- menus ) ) foreach ( $this -> menus as $menu ) - { - ?> - - -
-
-
-
-
-
    - article['images'] ) ): foreach ( $this -> article['images'] as $img ): - ?> -
  • - - - - - -
  • - -
-
You browser doesn't have Flash installed.
-
-
-
    - article['files'] ) ): foreach ( $this -> article['files'] as $file ): - - if ( $file['name'] ) - $name = $file['name']; - else - { - $name = explode( '/', $file['src'] ); - $name = $name[ count( $name ) - 1 ]; - } - ?> -
  • -
    - - - - -
    -
  • - -
-
You browser doesn't have Flash installed.
-
-
-
- id = 'article-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja artykułu'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> article['id'] - ] - ]; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/articles/article_save/', 'back_url' => '/admin/articles/view_list/' ], - 'cancel' => [ 'url' => '/admin/articles/view_list/' ] - ]; -$grid -> external_code = $out; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; - -echo $grid -> draw(); -?> - - - - - - - - - - - - - - \ No newline at end of file + $this->form]); ?> + $this->article, + 'user' => $this->user, + 'languages' => $this->form->languages ?? [] +]); ?> diff --git a/admin/templates/articles/articles-archive-list.php b/admin/templates/articles/articles-archive-list.php index 2cd5df4..c54663c 100644 --- a/admin/templates/articles/articles-archive-list.php +++ b/admin/templates/articles/articles-archive-list.php @@ -1,67 +1,5 @@ - $this->viewModel]); ?> -$grid = new \grid( 'pp_articles' ); -$grid -> gdb_opt = $gdb; -$grid -> sql = 'SELECT *' - . 'FROM ( ' - . 'SELECT ' - . 'id, date_add, date_modify, status, ' - . '( SELECT title FROM pp_articles_langs AS pal, pp_langs AS pl WHERE lang_id = pl.id AND article_id = pa.id AND title != \'\' ORDER BY o ASC LIMIT 1 ) AS title ' - . 'FROM ' - . 'pp_articles AS pa WHERE status = -1 ' - . ') AS q1 ' - . 'WHERE ' - . '1=1 [where] ' - . 'ORDER BY ' - . '[order_p1] [order_p2]'; -$grid -> sql_count = 'SELECT ' - . 'COUNT(0) FROM ( ' - . 'SELECT ' - . 'id, date_add, date_modify, status, ' - . '( SELECT title FROM pp_articles_langs AS pal, pp_langs AS pl WHERE lang_id = pl.id AND article_id = pa.id AND title != \'\' ORDER BY o ASC LIMIT 1 ) AS title ' - . 'FROM ' - . 'pp_articles AS pa WHERE status = -1 ' - . ') AS q1 ' - . 'WHERE ' - . '1=1 [where] '; -$grid -> debug = true; -$grid -> order = [ 'column' => 'date_add', 'type' => 'DESC' ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], - [ - 'name' => 'Tytuł', - 'db' => 'id', - 'replace' => [ 'sql' => "SELECT title FROM pp_articles_langs AS pal, pp_langs AS pl WHERE lang_id = pl.id AND article_id = [id] AND title != '' ORDER BY o ASC LIMIT 1" ] - ], - [ - 'name' => 'Data dodania', - 'td' => [ 'class' => 'g-center' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 140px;' ], - 'php' => 'echo date( "Y-m-d H:i", strtotime( "[date_add]" ) );' - ], - [ - 'name' => 'Data modyfikacji', - 'td' => [ 'class' => 'g-center' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 140px;' ], - 'php' => 'echo date( "Y-m-d H:i", strtotime( "[date_modify]" ) );' - ], - [ - 'name' => 'Akcja', - 'th' => [ 'class' => 'g-center' ], - 'td' => [ 'class' => 'g-center', 'style' => 'width: 50px;' ], - 'content' => 'przywróć' - ], - [ - 'name' => 'Akcja', - 'action' => [ 'type' => 'delete', 'url' => '/admin/articles_archive/article_delete/id=[id]' ], - 'th' => [ 'class' => 'g-center' ], - 'td' => [ 'class' => 'g-center', 'style' => 'width: 50px;' ] - ] - ]; -echo $grid -> draw(); \ No newline at end of file +viewModel->customScriptView)): ?> + viewModel->customScriptView, ['list' => $this->viewModel]); ?> + diff --git a/admin/templates/articles/articles-list.php b/admin/templates/articles/articles-list.php index 725e051..c54663c 100644 --- a/admin/templates/articles/articles-list.php +++ b/admin/templates/articles/articles-list.php @@ -1,100 +1,5 @@ - $this->viewModel]); ?> -$grid = new \grid( 'pp_articles' ); -$grid -> gdb_opt = $gdb; -$grid -> sql = 'SELECT *' - . 'FROM ( ' - . 'SELECT ' - . 'id, date_add, date_modify, status, ' - . '( SELECT title FROM pp_articles_langs AS pal, pp_langs AS pl WHERE lang_id = pl.id AND article_id = pa.id AND title != \'\' ORDER BY o ASC LIMIT 1 ) AS title, ' - . '( SELECT login FROM pp_users AS pu WHERE pu.id = pa.modify_by ) AS user ' - . 'FROM ' - . 'pp_articles AS pa WHERE status != -1 ' - . ') AS q1 ' - . 'WHERE ' - . '1=1 [where] ' - . 'ORDER BY ' - . '[order_p1] [order_p2]'; -$grid -> sql_count = 'SELECT ' - . 'COUNT(0) FROM ( ' - . 'SELECT ' - . 'id, date_add, date_modify, status, ' - . '( SELECT title FROM pp_articles_langs AS pal, pp_langs AS pl WHERE lang_id = pl.id AND article_id = pa.id AND title != \'\' ORDER BY o ASC LIMIT 1 ) AS title, ' - . '( SELECT login FROM pp_users AS pu WHERE pu.id = pa.modify_by ) AS user ' - . 'FROM ' - . 'pp_articles AS pa WHERE status != -1 ' - . ') AS q1 ' - . 'WHERE ' - . '1=1 [where] '; -$grid -> debug = true; -$grid -> order = [ 'column' => 'date_add', 'type' => 'DESC' ]; -$grid -> search = [ - [ 'name' => 'Tytuł', 'db' => 'title', 'type' => 'text' ], - [ 'name' => 'Aktywny', 'db' => 'status', 'type' => 'select', 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ] ], - [ 'name' => 'Data dodania', 'db' => 'date_add', 'type' => 'date_range' ], - [ 'name' => 'Data modyfikacji', 'db' => 'date_modify', 'type' => 'date_range' ] - ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], - [ - 'name' => 'Tytuł', - 'db' => 'title', - 'sort' => true, - 'php' => 'echo "[title]"; echo "" . \admin\factory\Articles::article_pages( [id] ) . "";' - ], - [ - 'name' => 'Aktywny', - 'db' => 'status', - 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ], - 'td' => [ 'class' => 'g-center' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 150px;' ], - 'sort' => true - ], - [ - 'name' => 'Data dodania', - 'db' => 'date_add', - 'td' => [ 'class' => 'g-center' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 220px;' ], - 'php' => 'echo date( "Y-m-d H:i", strtotime( "[date_add]" ) );' - ], - [ - 'name' => 'Data modyfikacji', - 'db' => 'date_modify', - 'td' => [ 'class' => 'g-center' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 220px;' ], - 'php' => 'echo date( "Y-m-d H:i", strtotime( "[date_modify]" ) );' - ], - [ - 'name' => 'Modyfikowany przez', - 'db' => 'user', - 'td' => [ 'class' => 'g-center' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 220px;' ], - ], - [ - 'name' => 'Edytuj', - 'action' => [ 'type' => 'edit', 'url' => '/admin/articles/article_edit/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ], - [ - 'name' => 'Usuń', - 'action' => [ 'type' => 'delete', 'url' => '/admin/articles/article_delete/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ] - ]; -$grid -> buttons = [ - [ - 'label' => 'Dodaj artykuł', - 'url' => '/admin/articles/article_edit/', - 'icon' => 'fa-plus-circle', - 'class' => 'btn-success' - ] - ]; -echo $grid -> draw(); \ No newline at end of file +viewModel->customScriptView)): ?> + viewModel->customScriptView, ['list' => $this->viewModel]); ?> + diff --git a/admin/templates/articles/subpages-list.php b/admin/templates/articles/subpages-list.php index 2ab0071..ce4d6b7 100644 --- a/admin/templates/articles/subpages-list.php +++ b/admin/templates/articles/subpages-list.php @@ -3,14 +3,19 @@ pages as $page ):?>
  • > - - article_pages ) and in_array( $page['id'], $this -> article_pages ) ):?>checked="checked" /> + + article_pages ) and in_array( $page['id'], $this -> article_pages ) ):?>checked="checked" /> +
    - article_pages, $page['id'], $this -> step + 1 ); - ?> + $page['subpages'], + 'article_pages' => $this->article_pages, + 'parent_id' => $page['id'], + 'step' => $this->step + 1, + ] ); ?>
  • - \ No newline at end of file + diff --git a/admin/templates/banners/banner-edit.php b/admin/templates/banners/banner-edit.php index dd811f6..c059d2f 100644 --- a/admin/templates/banners/banner-edit.php +++ b/admin/templates/banners/banner-edit.php @@ -1,7 +1,7 @@
    - 'Nazwa', 'name' => 'name', @@ -28,7 +28,7 @@ ob_start(); 'class' => 'require' ) ); ?> - 'Aktywny', 'name' => 'status', @@ -46,7 +46,7 @@ ob_start(); ) ); ?> - 'Data zakończenia', 'name' => 'date_end', @@ -55,7 +55,7 @@ ob_start(); 'class' => 'date' ) ); ?> - 'Slajder / Strona główna', 'name' => 'home_page', @@ -78,18 +78,18 @@ ob_start(); languages ) ): foreach ( $this -> languages as $lg ):?>
    - 'Obraz', 'name' => 'src[' . $lg['id'] . ']', 'id' => 'src_' . $lg['id'], 'value' => $this -> banner['languages'][ $lg['id'] ]['src'], 'icon_content' => 'przeglądaj', - 'icon_js' => "window.open ( 'http://" . $_SERVER['SERVER_NAME'] . "/libraries/filemanager-9.14.2/dialog.php?type=1&popup=1&field_id=src_" . $lg['id'] . "&akey=" . $rfmAkeyJS . "', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');" + 'icon_js' => "window.open ( '/libraries/filemanager-9.14.2/dialog.php?type=1&popup=1&field_id=src_" . $lg['id'] . "&akey=" . $rfmAkeyJS . "', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');" ) ); ?> - 'Url', 'name' => 'url[' . $lg['id'] . ']', @@ -98,7 +98,7 @@ ob_start(); ) ); ?> - 'Kod html', 'name' => 'html[' . $lg['id'] . ']', @@ -107,7 +107,7 @@ ob_start(); ) ); ?> - 'Treść', 'name' => 'text[' . $lg['id'] . ']', @@ -136,26 +136,14 @@ ob_start(); id = 'banner-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja baneru'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> banner['id'] - ] -]; -$grid -> external_code = $out; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/banners/banner_save/', 'back_url' => '/admin/banners/view_list/' ], - 'cancel' => [ 'url' => '/admin/banners/view_list/' ] -]; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; -echo $grid -> draw(); +$gridId = 'banner-edit'; +$gridTitle = 'Edycja baneru'; +$gridSaveUrl = '/admin/banners/save/'; +$gridBackUrl = '/admin/banners/list/'; +$gridHidden = [['name' => 'id', 'value' => $this -> banner['id']]]; +$gridContent = $out; +$gridPersist = true; +include __DIR__ . '/../components/grid-edit-replacement.php'; ?> - \ No newline at end of file + diff --git a/admin/templates/banners/banners-list-custom-script.php b/admin/templates/banners/banners-list-custom-script.php new file mode 100644 index 0000000..56ab843 --- /dev/null +++ b/admin/templates/banners/banners-list-custom-script.php @@ -0,0 +1,100 @@ + + + diff --git a/admin/templates/banners/banners-list.php b/admin/templates/banners/banners-list.php index f8e485c..c54663c 100644 --- a/admin/templates/banners/banners-list.php +++ b/admin/templates/banners/banners-list.php @@ -1,78 +1,5 @@ - $this->viewModel]); ?> -$grid = new \grid( 'pp_banners' ); -$grid -> gdb_opt = $gdb; -$grid -> order = [ 'column' => 'name', 'type' => 'ASC' ]; -$grid -> search = [ - [ 'name' => 'Nazwa', 'db' => 'name', 'type' => 'text' ], - [ 'name' => 'Aktywny', 'db' => 'status', 'type' => 'select', 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ] ] - ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], - [ - 'name' => 'Nazwa', - 'db' => 'name', - 'php' => 'echo "[name]";', - 'sort' => true - ], - [ - 'name' => 'Aktywny', - 'db' => 'status', - 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 150px;' ], - 'td' => [ 'class' => 'g-center' ] - ], - [ - 'name' => 'Strona główna', - 'db' => 'home_page', - 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 150px;' ], - 'td' => [ 'class' => 'g-center' ] - ], - [ - 'name' => 'Slajder', - 'db' => 'home_page', - 'replace' => [ 'array' => [ 1 => 'nie', 0 => 'tak' ] ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 150px;' ], - 'td' => [ 'class' => 'g-center' ] - ], - [ - 'name' => 'Data rozpoczęcia', - 'th' => [ 'class' => 'g-center', 'style' => 'width: 140px;' ], - 'td' => [ 'class' => 'g-center' ], - 'php' => 'if ( "[date_start]" ) echo date( "Y-m-d", strtotime( "[date_start]" ) ); else echo "-";' - ], - [ - 'name' => 'Data zakończenia', - 'th' => [ 'class' => 'g-center', 'style' => 'width: 140px;' ], - 'td' => [ 'class' => 'g-center' ], - 'php' => 'if ( "[date_end]" ) echo date( "Y-m-d", strtotime( "[date_end]" ) ); else echo "-";' - ], - [ - 'name' => 'Edytuj', - 'action' => [ 'type' => 'edit', 'url' => '/admin/banners/banner_edit/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ], - [ - 'name' => 'Usuń', - 'action' => [ 'type' => 'delete', 'url' => '/admin/banners/banner_delete/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ] - ]; -$grid -> buttons = [ - [ - 'label' => 'Dodaj baner', - 'url' => '/admin/banners/banner_edit/', - 'icon' => 'fa-plus-circle', - 'class' => 'btn-success' - ] - ]; -echo $grid -> draw(); \ No newline at end of file +viewModel->customScriptView)): ?> + viewModel->customScriptView, ['list' => $this->viewModel]); ?> + diff --git a/admin/templates/components/form-edit.php b/admin/templates/components/form-edit.php new file mode 100644 index 0000000..ca5ed57 --- /dev/null +++ b/admin/templates/components/form-edit.php @@ -0,0 +1,278 @@ +form; +$renderer = new FormFieldRenderer($form); + +// Przygotuj filemanager key +\Shared\Helpers\Helpers::set_session('admin', true); +if ( + empty($_SESSION['rfm_akey']) || + (($_SESSION['rfm_akey_expires'] ?? 0) < time()) +) { + $_SESSION['rfm_akey'] = bin2hex(random_bytes(16)); +} +$_SESSION['rfm_akey_expires'] = time() + 20 * 60; +$_SESSION['can_use_rfm'] = true; +?> + + + + + + + + + + +
    +
    +
    +
    +
    + title) ?> +
    +
    + actions as $action): ?> + name === 'save'): ?> + persist): ?> + + Zatwierdź i zamknij + + + + Zatwierdź + + name === 'cancel'): ?> + + Wstecz + + + + label) ?> + + + +
    + +
    +
    + + + + hiddenFields as $name => $value): ?> + + + + hasTabs()): ?> + +
    +
      + tabs as $tab): ?> +
    • label) ?>
    • + +
    +
    + tabs as $tab): ?> +
    + getFieldsForTab($tab->id); + $langSections = $form->getLangSectionsForTab($tab->id); + ?> + + + renderField($field) ?> + + + + renderLangSection($section) ?> + +
    + +
    +
    + + + fields as $field): ?> + type === FormFieldType::LANG_SECTION): ?> + renderLangSection($field) ?> + + renderField($field) ?> + + + +
    +
    +
    +
    +
    +
    + + + +fields as $field): + if ($field->type === FormFieldType::EDITOR): +?> + + + +hasLangSections()): ?> + + + + + + diff --git a/admin/templates/components/grid-edit-replacement.php b/admin/templates/components/grid-edit-replacement.php new file mode 100644 index 0000000..d8376a9 --- /dev/null +++ b/admin/templates/components/grid-edit-replacement.php @@ -0,0 +1,171 @@ + ..., 'value' => ...], ...] + * $gridContent — HTML zawartość formularza (z ob_get_clean()) + * $gridPersist — (bool) czy zostać na stronie po zapisie + */ +$gridPersist = !empty($gridPersist); +?> + + + + + + + + +
    +
    +
    +
    +
    + +
    + + + +
    +
    + + + + + + +
    +
    +
    +
    +
    +
    + diff --git a/admin/templates/components/table-list.php b/admin/templates/components/table-list.php new file mode 100644 index 0000000..a97747e --- /dev/null +++ b/admin/templates/components/table-list.php @@ -0,0 +1,473 @@ +list; + +$buildUrl = function(array $params = []) use ($list): string { + $query = array_merge($list->query, $params); + foreach ($query as $key => $value) { + if ($value === '' || $value === null) { + unset($query[$key]); + } + } + $qs = http_build_query($query); + return $list->basePath . ($qs ? ('?' . $qs) : ''); +}; + +$currentSort = $list->sort['column'] ?? ''; +$currentDir = strtoupper($list->sort['dir'] ?? 'DESC'); +$page = max(1, (int)($list->pagination['page'] ?? 1)); +$totalPages = max(1, (int)($list->pagination['total_pages'] ?? 1)); +$total = (int)($list->pagination['total'] ?? 0); +$perPage = (int)($list->pagination['per_page'] ?? 15); + +$isCompactColumn = function(array $column): bool { + $key = strtolower(trim((string)($column['key'] ?? ''))); + $label = strtolower(trim((string)($column['label'] ?? ''))); + + if (in_array($key, ['status', 'active', 'enabled', 'is_active', 'start', 'default'], true)) { + return true; + } + + if (in_array($label, ['status', 'aktywny', 'aktywnosc', 'active', 'domyslny', 'domyślny', 'default'], true)) { + return true; + } + + return false; +}; +?> + +
    +
    +
    +
    + createUrl) && !empty($list->createLabel)): ?> + + createLabel, ENT_QUOTES, 'UTF-8'); ?> + + +
    +
    +
    + Wyników: +
    + +
    +
    Widoczność kolumn
    + columns as $colIndex => $column): ?> + + + + +
    +
    +
    +
    +
    +
    + +
    +
    + filters as $filter): ?> + $maxOptionLen) { + $maxOptionLen = $len; + } + } + + // Krotkie selekty (np. tak/nie) nie musza zajmowac szerokiej kolumny. + $isCompactFilter = count($options) <= 5 && $maxOptionLen <= 12; + } + $filterColClass = $isCompactFilter ? 'col-sm-1 col-xs-6 mb10' : 'col-sm-2 mb10'; + ?> +
    + + + + + + + + + +
    + + + + + + +
    + + Wyczyść +
    +
    + +
    + + + + columns as $colIndex => $column): ?> + sortableColumns) || in_array($sortKey, $list->sortableColumns, true); + $isSortable = !empty($column['sortable']) && $sortKey !== '' && $isAllowedSortKey; + $isCurrent = $isSortable && $currentSort === $sortKey; + $nextDir = ($isCurrent && $currentDir === 'ASC') ? 'DESC' : 'ASC'; + $sortUrl = $buildUrl([ + 'sort' => $sortKey, + 'dir' => $nextDir, + 'page' => 1, + ]); + $headerClass = trim((string)($column['class'] ?? '')); + if ($isCompactColumn($column)) { + $headerClass = trim($headerClass . ' table-col-compact'); + } + ?> + + + + + + + rows) && !empty($list->rows)): ?> + rows as $row): ?> + + columns as $colIndex => $column): ?> + + + + + + + + + + + + +
    + + + + + + + + + + + + + Akcje
    + + + + + + + + + + data-confirm-title="Potwierdzenie" + data-confirm-message="" + data-confirm-ok="" + data-confirm-cancel="" + + > + + + +
    +
    emptyMessage, ENT_QUOTES, 'UTF-8'); ?>
    +
    +
    + +
    +
    +
      + + +
    • + +
    • +
    • + +
    • + +
    • + +
    • + +
    • + +
    • +
    • + +
    • +
    +
    +
    +
    + query as $key => $value): ?> + + + + + + Wyświetlaj + + rekordów +
    +
    +
    +
    +
    + + diff --git a/admin/templates/dashboard/main-view.php b/admin/templates/dashboard/main-view.php index c99e58d..fda8954 100644 --- a/admin/templates/dashboard/main-view.php +++ b/admin/templates/dashboard/main-view.php @@ -32,7 +32,7 @@ - last_orders ) ): foreach ( $this -> last_orders as $order ):?> + last_orders ) ): foreach ( $this -> last_orders as $order ):?> @@ -122,8 +122,8 @@ - best_sales_products ) ): foreach ( $this -> best_sales_products as $row ):?> - + best_sales_products ) ): foreach ( $this -> best_sales_products as $row ):?> + findCached( (int)$row['parent_product_id'], ( new \Domain\Languages\LanguagesRepository( $GLOBALS['mdb'] ) )->defaultLanguage() );?> '; ?> - language['name'];?> + zł @@ -157,8 +157,8 @@ - most_view_products ) ): foreach ( $this -> most_view_products as $row ):?> - + most_view_products ) ): foreach ( $this -> most_view_products as $row ):?> + findCached( $row['id'] );?> - - -
    -
      -
    • Treść
    • -
    -
    -
    -
    -
      - languages ) ): foreach ( $this -> languages as $lg ):?> - -
    • - - -
    -
    - languages ) ): foreach ( $this -> languages as $lg ):?> - -
    - 'Tekst', - 'name' => 'text[' . $lg['id'] . ']', - 'id' => 'text_' . $lg['id'], - 'value' => $this -> unit['languages'][ $lg['id'] ]['text'], - 'inline' => true - ) - );?> -
    - - -
    -
    -
    -
    -
    -
    - id = 'unit-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja jednostki miary'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> unit['id'] - ] - ]; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/dictionaries/unit_save/', 'back_url' => '/admin/dictionaries/view_list/' ], - 'cancel' => [ 'url' => '/admin/dictionaries/view_list/' ] - ]; -$grid -> external_code = $out; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; - -echo $grid -> draw(); -?> - - \ No newline at end of file + $this->form]); ?> diff --git a/admin/templates/dictionaries/units-list.php b/admin/templates/dictionaries/units-list.php index 2421a25..c54663c 100644 --- a/admin/templates/dictionaries/units-list.php +++ b/admin/templates/dictionaries/units-list.php @@ -1,67 +1,5 @@ - $this->viewModel]); ?> -$grid = new \grid( 'pp_dictionaries_units' ); -$grid -> gdb_opt = $gdb; -$grid -> sql = 'SELECT *' - . 'FROM ( ' - . 'SELECT ' - . 'id,' - . '( SELECT text FROM pp_units_langs AS psl, pp_langs AS pl WHERE lang_id = pl.id AND unit_id = ps.id AND text != \'\' ORDER BY o ASC LIMIT 1 ) AS text ' - . 'FROM ' - . 'pp_units AS ps ' - . ') AS q1 ' - . 'WHERE ' - . '1=1 [where] ' - . 'ORDER BY ' - . '[order_p1] [order_p2]'; -$grid -> sql_count = 'SELECT ' - . 'COUNT(0) FROM ( ' - . 'SELECT ' - . 'id,' - . '( SELECT text FROM pp_units_langs AS psl, pp_langs AS pl WHERE lang_id = pl.id AND unit_id = ps.id AND text != \'\' ORDER BY o ASC LIMIT 1 ) AS text ' - . 'FROM ' - . 'pp_units AS ps ' - . ') AS q1 ' - . 'WHERE ' - . '1=1 [where] '; -$grid -> debug = true; -$grid -> order = [ 'column' => 'id', 'type' => 'ASC' ]; -$grid -> search = [ - [ 'name' => 'Tekst', 'db' => 'text', 'type' => 'text' ] - ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], - [ - 'name' => 'Tekst', - 'db' => 'text', - 'php' => 'echo "[text]";', - 'sort' => true - ], - [ - 'name' => 'Edytuj', - 'action' => [ 'type' => 'edit', 'url' => '/admin/dictionaries/unit_edit/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ], - [ - 'name' => 'Usuń', - 'action' => [ 'type' => 'delete', 'url' => '/admin/dictionaries/unit_delete/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ] - ]; -$grid -> buttons = [ - [ - 'label' => 'Dodaj jednostkę miary', - 'url' => '/admin/dictionaries/unit_edit/', - 'icon' => 'fa-plus-circle', - 'class' => 'btn-success' - ] - ]; -echo $grid -> draw(); \ No newline at end of file +viewModel->customScriptView)): ?> + viewModel->customScriptView, ['list' => $this->viewModel]); ?> + diff --git a/admin/templates/filemanager/filemanager.php b/admin/templates/filemanager/filemanager.php index 3e132fd..dc2d008 100644 --- a/admin/templates/filemanager/filemanager.php +++ b/admin/templates/filemanager/filemanager.php @@ -1 +1,4 @@ - \ No newline at end of file +filemanager_url ?? '/libraries/filemanager-9.14.2/dialog.php')); +?> + diff --git a/admin/templates/html/input-switch.php b/admin/templates/html/input-switch.php index 1a87d6b..cb3afc7 100644 --- a/admin/templates/html/input-switch.php +++ b/admin/templates/html/input-switch.php @@ -15,7 +15,7 @@ $out .= 'id="' . $this -> params['id'] . '" '; else $out .= 'id="' . $this -> params['name'] . '" '; - $out .= 'name="' . $this -> params['name'] . '" type="checkbox"'; + $out .= 'name="' . $this -> params['name'] . '" type="checkbox" value="on"'; if ( $this -> params['checked'] ) $out .= 'checked="checked" '; @@ -24,4 +24,4 @@ $out .= '
    '; $out .= '
    '; -echo $out; \ No newline at end of file +echo $out; diff --git a/admin/templates/integrations/apilo-settings.php b/admin/templates/integrations/apilo-settings.php index e25d05f..e87ff8c 100644 --- a/admin/templates/integrations/apilo-settings.php +++ b/admin/templates/integrations/apilo-settings.php @@ -1,19 +1,43 @@ + settings ) ? $this -> settings : []; + +$apilo_status = is_array( $this -> apilo_status ) ? $this -> apilo_status : [ + 'is_valid' => false, + 'severity' => 'warning', + 'message' => 'Brak statusu integracji.', +]; + +$status_class = 'alert-warning'; +if ( isset( $apilo_status['severity'] ) && $apilo_status['severity'] == 'success' ) $status_class = 'alert-success'; +if ( isset( $apilo_status['severity'] ) && $apilo_status['severity'] == 'danger' ) $status_class = 'alert-danger'; + +$status_message = trim( (string)($apilo_status['message'] ?? '') ); +if ( $status_message == '' ) $status_message = 'Brak szczegolow statusu integracji.'; + +$platform_list_raw = isset( $settings['platform-list'] ) ? $settings['platform-list'] : ''; +$platform_list = @unserialize( $platform_list_raw ); +if ( !is_array( $platform_list ) ) $platform_list = []; +?>
    Ustawienia apilo.com
    +
    + Status integracji Apilo: +
    +
    - +
    @@ -22,15 +46,16 @@
    +
    - +
    @@ -39,15 +64,16 @@
    +
    - +
    @@ -56,12 +82,13 @@
    +
    - +
    - + @@ -69,18 +96,20 @@
    +
    - settings['platform-list'] ); - ?> @@ -90,12 +119,13 @@
    +
    - + @@ -103,12 +133,13 @@
    +
    - + @@ -116,12 +147,13 @@
    +
    - + @@ -129,86 +161,89 @@
    +
    - settings['access-token'] ):?>readonly> - settings['access-token'] ):?> - - - - + + + +
    - settings['access-token'] ):?> + +
    - +
    - settings['access-token-expire-at'] ):?> + +
    - +
    - settings['refresh-token'] ):?> + +
    - +
    - settings['refresh-token-expire-at'] ):?> + +
    - +
    +
    + \ No newline at end of file + diff --git a/admin/templates/languages/language-edit.php b/admin/templates/languages/language-edit.php index af603a8..e6b6284 100644 --- a/admin/templates/languages/language-edit.php +++ b/admin/templates/languages/language-edit.php @@ -1,101 +1,2 @@ - $this->form]); ?> -ob_start(); -?> - language['id'] ) - { - echo \Html::input( - array( - 'type' => 'hidden', - 'name' => 'id', - 'value' => $this -> language['id'] - ) - ); - echo \Html::input( - array( - 'type' => 'hidden', - 'name' => 'o', - 'value' => $this -> language['o'] - ) - ); - echo \Html::input( - array( - 'label' => 'Język', - 'type' => 'text', - 'class' => 'require', - 'name' => 'name', - 'value' => $this -> language['name'] - ) - ); - } - else - { - echo \Html::input( - array( - 'type' => 'hidden', - 'name' => 'o', - 'value' => $this -> order + 1 - ) - ); - echo \Html::input( - array( - 'label' => 'Język', - 'type' => 'text', - 'class' => 'require', - 'name' => 'name' - ) - ); - echo \Html::input( - array( - 'label' => 'ID (2 znaki)', - 'class' => 'require', - 'type' => 'text', - 'name' => 'id' - ) - ); - } - ?> - 'Aktywny', - 'name' => 'status', - 'checked' => $this -> language['status'] == 1 ? true : false - ) - );?> - 'Domyślny', - 'name' => 'start', - 'checked' => $this -> language['start'] == 1 ? true : false - ) - );?> - id = 'language-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja języka'; -$grid -> external_code = $out; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/languages/language_save/', 'back_url' => '/admin/languages/view_list/' ], - 'cancel' => [ 'url' => '/admin/languages/view_list/' ] - ]; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; -echo $grid -> draw(); -?> - \ No newline at end of file diff --git a/admin/templates/languages/languages-list.php b/admin/templates/languages/languages-list.php index de4d85f..b0e03a9 100644 --- a/admin/templates/languages/languages-list.php +++ b/admin/templates/languages/languages-list.php @@ -1,58 +1,2 @@ - $this->viewModel]); ?> -$grid = new \grid( 'pp_langs' ); -$grid -> gdb_opt = $gdb; -$grid -> order = [ 'column' => 'o', 'type' => 'ASC' ]; -$grid -> search = [ - [ 'name' => 'Język', 'db' => 'name', 'type' => 'text' ], - [ 'name' => 'Aktywny', 'db' => 'status', 'type' => 'select', 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ] ], - [ 'name' => 'Domyślny', 'db' => 'start', 'type' => 'select', 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ] ] - ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], - [ - 'name' => 'Domyślny', - 'db' => 'start', - 'th' => [ 'class' => 'g-center', 'style' => 'width: 150px;' ], - 'td' => [ 'class' => 'g-center' ], - 'php' => 'if ( [start] ) echo "tak"; else echo "nie";' - ], - [ - 'name' => 'Aktywny', - 'db' => 'status', - 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 150px;' ], - 'td' => [ 'class' => 'g-center' ] - ], - [ - 'name' => 'Język', - 'db' => 'name' - ], - [ - 'name' => 'Edytuj', - 'action' => [ 'type' => 'edit', 'url' => '/admin/languages/language_edit/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ], - [ - 'name' => 'Usuń', - 'action' => [ 'type' => 'delete', 'url' => '/admin/languages/language_delete/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ] - ]; -$grid -> buttons = [ - [ - 'label' => 'Dodaj język', - 'url' => '/admin/languages/language_edit/', - 'icon' => 'fa-plus-circle', - 'class' => 'btn-success' - ] - ]; -echo $grid -> draw(); \ No newline at end of file diff --git a/admin/templates/languages/translation-edit.php b/admin/templates/languages/translation-edit.php index 64895ed..e6b6284 100644 --- a/admin/templates/languages/translation-edit.php +++ b/admin/templates/languages/translation-edit.php @@ -1,60 +1,2 @@ - $this->form]); ?> -ob_start(); -?> - 'text', - 'label' => 'Tekst', - 'name' => 'text', - 'class' => 'require', - 'value' => $this -> translation['text'] - ) -); - -if ( is_array( $this -> languages ) ): foreach ( $this -> languages as $language ): - echo \Html::input( - array( - 'type' => 'text', - 'label' => $language['name'], - 'name' => $language['id'], - 'value' => $this -> translation[$language['id']] - ) ); - endforeach; -endif; -$out = ob_get_clean(); - -$grid = new \gridEdit; -$grid -> id = 'translation-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja tłumaczenia'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> translation['id'] - ] -]; -$grid -> external_code = $out; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/languages/translation_save/', 'back_url' => '/admin/languages/translation_list/' ], - 'cancel' => [ 'url' => '/admin/languages/translation_list/' ] -]; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; -echo $grid -> draw(); -?> - \ No newline at end of file diff --git a/admin/templates/languages/translations-list.php b/admin/templates/languages/translations-list.php index a7e2d6d..b0e03a9 100644 --- a/admin/templates/languages/translations-list.php +++ b/admin/templates/languages/translations-list.php @@ -1,44 +1,2 @@ - $this->viewModel]); ?> -$grid = new \grid( 'pp_langs_translations' ); -$grid -> gdb_opt = $gdb; -$grid -> order = [ 'column' => 'text', 'type' => 'ASC' ]; -$grid -> search = [ - [ 'name' => 'Tekst', 'db' => 'text', 'type' => 'text' ] - ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], - [ - 'name' => 'Tekst', - 'db' => 'text', - 'php' => 'echo "[text]";', - 'sort' => true - ], - [ - 'name' => 'Edytuj', - 'action' => [ 'type' => 'edit', 'url' => '/admin/languages/translation_edit/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ], - [ - 'name' => 'Usuń', - 'action' => [ 'type' => 'delete', 'url' => '/admin/languages/translation_delete/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ] - ]; -$grid -> buttons = [ - [ - 'label' => 'Dodaj tłumaczenie', - 'url' => '/admin/languages/translation_edit/', - 'icon' => 'fa-plus-circle', - 'class' => 'btn-success' - ] - ]; -echo $grid -> draw(); \ No newline at end of file diff --git a/admin/templates/layouts/layout-edit.php b/admin/templates/layouts/layout-edit.php index 1db485f..b9bfbec 100644 --- a/admin/templates/layouts/layout-edit.php +++ b/admin/templates/layouts/layout-edit.php @@ -7,6 +7,48 @@ +
    - 'Nazwa', 'name' => 'name', @@ -157,16 +249,16 @@ ob_start(); 'value' => $this -> layout['name'] ) );?> - 'Szablon domyślny', + 'label' => 'Szablon domyślny', 'name' => 'status', 'checked' => $this -> layout['status'] == 1 ? true : false ) );?> - 'Szablon domyślny (kategorie)', + 'label' => 'Szablon domyślny (kategorie)', 'name' => 'categories_default', 'checked' => $this -> layout['categories_default'] == 1 ? true : false ) @@ -179,10 +271,16 @@ ob_start();
    @@ -197,13 +295,15 @@ ob_start(); categories ) ): foreach ( $this -> categories as $category ):?>
  • - + ';?> layout['categories'] ) and in_array( $category['id'], $this -> layout['categories'] ) ):?>checked="checked" /> dlang]['title'];?>
    - \admin\factory\ShopCategory::subcategories( $category['id'] ), + $category['subcategories'], 'product_categories' => $this -> layout['categories'], 'dlang' => $this -> dlang ] );?> @@ -229,25 +329,13 @@ ob_start(); id = 'layout-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja szablonu'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> layout['id'] - ] - ]; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/layouts/layout_save/', 'back_url' => '/admin/layouts/view_list/' ], - 'cancel' => [ 'url' => '/admin/layouts/view_list/' ] - ]; -$grid -> external_code = $out; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; +$gridId = 'layout-edit'; +$gridTitle = 'Edycja szablonu'; +$gridSaveUrl = '/admin/layouts/save/'; +$gridBackUrl = '/admin/layouts/list/'; +$gridHidden = [['name' => 'id', 'value' => $this->layout['id']]]; +$gridContent = $out; +$gridPersist = true; +include __DIR__ . '/../components/grid-edit-replacement.php'; +?> -echo $grid -> draw(); -?> \ No newline at end of file diff --git a/admin/templates/layouts/layouts-list.php b/admin/templates/layouts/layouts-list.php index 2e7a218..8836268 100644 --- a/admin/templates/layouts/layouts-list.php +++ b/admin/templates/layouts/layouts-list.php @@ -1,54 +1 @@ - gdb_opt = $gdb; -$grid -> order = [ 'column' => 'name', 'type' => 'ASC' ]; -$grid -> search = [ - [ 'name' => 'Nazwa', 'db' => 'name', 'type' => 'text' ], - [ 'name' => 'Szablon domyślny', 'db' => 'status', 'type' => 'select', 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ] ] - ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], - [ - 'name' => 'Nazwa', - 'db' => 'name', - 'php' => 'echo "[name]";', - 'sort' => true - ], - [ - 'name' => 'Szablon domyślny', - 'db' => 'status', - 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ], - 'td' => [ 'class' => 'g-center' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 150px;' ] - ], - [ - 'name' => 'Szablon domyślny (kategorie)', - 'db' => 'categories_default', - 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ], - 'td' => [ 'class' => 'g-center' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 150px;' ] - ], - [ - 'name' => 'Akcja', - 'action' => [ 'type' => 'edit', 'url' => '/admin/layouts/layout_edit/id=[id]' ], - 'th' => [ 'class' => 'g-center' ], - 'td' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ] - ], - [ - 'name' => 'Akcja', - 'action' => [ 'type' => 'delete', 'url' => '/admin/layouts/layout_delete/id=[id]' ], - 'th' => [ 'class' => 'g-center' ], - 'td' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ] - ] - ]; -$grid -> buttons = [ - [ 'label' => 'Dodaj szablon', 'url' => '/admin/layouts/layout_edit/', 'icon' => 'fa-plus-circle', 'class' => 'btn-success' ] - ]; -echo $grid -> draw(); \ No newline at end of file + $this->viewModel]); ?> diff --git a/admin/templates/layouts/subcategories-list.php b/admin/templates/layouts/subcategories-list.php new file mode 100644 index 0000000..c7b8c94 --- /dev/null +++ b/admin/templates/layouts/subcategories-list.php @@ -0,0 +1,21 @@ + categories ) ):?> +
      + categories as $category ):?> +
    1. +
      + + ';?> + product_categories ) and in_array( $category['id'], $this -> product_categories ) ):?>checked="checked" /> + dlang]['title'];?> +
      + $category['subcategories'], + 'product_categories' => $this -> product_categories, + 'dlang' => $this -> dlang + ] );?> +
    2. + +
    + diff --git a/admin/templates/layouts/subpages-list.php b/admin/templates/layouts/subpages-list.php index d46b0a9..ad83c4f 100644 --- a/admin/templates/layouts/subpages-list.php +++ b/admin/templates/layouts/subpages-list.php @@ -3,14 +3,20 @@ pages as $page ):?>
  • > - + layout_pages ) and in_array( $page['id'], $this -> layout_pages ) ):?>checked="checked" />
    layout_pages, $page['id'], $this -> step + 1 ); + echo \Shared\Tpl\Tpl::view( 'layouts/subpages-list', [ + 'pages' => $page['subpages'], + 'layout_pages' => $this -> layout_pages, + 'step' => $this -> step + 1 + ] ); ?>
  • - \ No newline at end of file + diff --git a/admin/templates/newsletter/email-template-edit.php b/admin/templates/newsletter/email-template-edit.php index 7c6aa1d..93f676a 100644 --- a/admin/templates/newsletter/email-template-edit.php +++ b/admin/templates/newsletter/email-template-edit.php @@ -1,67 +1 @@ - - - - 'Nazwa', - 'name' => 'name', - 'id' => 'name', - 'value' => $this -> email_template['name'], - 'inline' => true, - 'readonly' => $this -> email_template['is_admin'] ? true : false - ) - );?> - 'Treść', - 'name' => 'text', - 'id' => 'text', - 'value' => $this ->email_template['text'], - 'inline' => true - ) - );?> - - id = 'email-templates-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja szablonu newslettera'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> email_template['id'] - ] - ]; -$grid -> external_code = $out; -$grid -> actions = [ - 'save' => [ - 'url' => '/admin/newsletter/template_save/', - 'back_url' => $this -> email_template['is_admin'] ? '/admin/newsletter/email_templates_admin/' : '/admin/newsletter/email_templates_user/' - ], - 'cancel' => [ - 'url' => $this -> email_template['is_admin'] ? '/admin/newsletter/email_templates_admin/' : '/admin/newsletter/email_templates_user/' - ] - ]; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; - -echo $grid -> draw(); -?> - \ No newline at end of file + $this->form]); ?> \ No newline at end of file diff --git a/admin/templates/newsletter/email-templates-admin.php b/admin/templates/newsletter/email-templates-admin.php index be182b7..e7abea0 100644 --- a/admin/templates/newsletter/email-templates-admin.php +++ b/admin/templates/newsletter/email-templates-admin.php @@ -1,28 +1 @@ - gdb_opt = $gdb; -$grid -> order = [ 'column' => 'name', 'type' => 'ASC' ]; -$grid -> where = [ 'is_admin' => 1 ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], - [ - 'name' => 'Nazwa', - 'db' => 'name', - 'php' => 'echo "[name]";', - 'sort' => true - ], - [ - 'name' => 'Edytuj', - 'action' => [ 'type' => 'edit', 'url' => '/admin/newsletter/email_template_edit/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ] - ]; -echo $grid -> draw(); \ No newline at end of file + $this->viewModel]); ?> \ No newline at end of file diff --git a/admin/templates/newsletter/emails-list.php b/admin/templates/newsletter/emails-list.php index 19f1827..8836268 100644 --- a/admin/templates/newsletter/emails-list.php +++ b/admin/templates/newsletter/emails-list.php @@ -1,30 +1 @@ - gdb_opt = $gdb; -$grid -> order = [ 'column' => 'email', 'type' => 'ASC' ]; -$grid -> search = [ - [ 'name' => 'Email', 'db' => 'email', 'type' => 'text' ] - ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], - [ - 'name' => 'Email', - 'db' => 'email', - 'sort' => true - ], - [ - 'name' => 'Potwierdzony', - 'db' => 'status', - 'sort' => true, - 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ] - ] - ]; -$grid -> actions = [ 'delete' => true ]; -echo $grid -> draw(); \ No newline at end of file + $this->viewModel]); ?> diff --git a/admin/templates/newsletter/settings.php b/admin/templates/newsletter/settings.php index 2da1c9c..93f676a 100644 --- a/admin/templates/newsletter/settings.php +++ b/admin/templates/newsletter/settings.php @@ -1,51 +1 @@ - - - - 'Nagłówek', - 'name' => 'newsletter_header', - 'id' => 'newsletter_header', - 'value' => $this -> settings['newsletter_header'], - 'inline' => true - ) - ); - echo \Html::textarea( - array( - 'label' => 'Stopka', - 'name' => 'newsletter_footer', - 'id' => 'newsletter_footer', - 'value' => $this -> settings['newsletter_footer'], - 'inline' => true - ) - ); - -$out = ob_get_clean(); - -$grid = new \gridEdit; -$grid -> id = 'settings-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja ustawień'; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/newsletter/settings_save/', 'back_url' => '/admin/newsletter/settings/' ], - ]; -$grid -> external_code = $out; -echo $grid -> draw(); -?> - - \ No newline at end of file + $this->form]); ?> \ No newline at end of file diff --git a/admin/templates/pages/menu-edit.php b/admin/templates/pages/menu-edit.php index dc74f28..d92a9df 100644 --- a/admin/templates/pages/menu-edit.php +++ b/admin/templates/pages/menu-edit.php @@ -1,42 +1 @@ - gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Zapisz menu'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> menu['id'] - ], - [ - 'name' => 'Nazwa', - 'db' => 'name', - 'type' => 'text', - 'value' => $this -> menu['name'], - 'params' => [ 'class' => 'require' ] - ], - [ - 'name' => 'Aktywne', - 'db' => 'status', - 'type' => 'input_switch', - 'checked' => $this -> menu['status'] ? true : false, - 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ] - ] - ]; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/pages/menu_save/', 'back_url' => '/admin/pages/view_list/' ], - 'cancel' => [ 'url' => '/admin/pages/view_list/' ] - ]; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; -echo $grid -> draw(); -?> - \ No newline at end of file + $this->form]); ?> diff --git a/admin/templates/pages/page-articles.php b/admin/templates/pages/page-articles.php index 33d6ba2..5e28d1b 100644 --- a/admin/templates/pages/page-articles.php +++ b/admin/templates/pages/page-articles.php @@ -1,89 +1,80 @@ -page_id ?? 0); +$articles = is_array($this->articles ?? null) ? $this->articles : []; + ob_start(); ?> -
      - articles ) ) foreach ( $this -> articles as $article ) - { - ?> -
    1. -
      -
    2. - + + -
    -"> +
    + + + + gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> default_buttons = false; -$grid -> external_code = $out; -$grid -> title = 'Lista artykułów'; -$grid -> buttons = [ - [ - 'label' => 'Wstecz', - 'url' => '/admin/pages/view_list/', - 'icon' => 'fa-reply', - 'class' => 'btn-dark' - ] - ]; -echo $grid -> draw(); +$gridId = 'page-articles'; +$gridTitle = 'Lista artykułów'; +$gridSaveUrl = ''; +$gridBackUrl = ''; +$gridHidden = []; +$gridContent = $out; +$gridPersist = false; +include __DIR__ . '/../components/grid-edit-replacement.php'; ?> \ No newline at end of file + + + diff --git a/admin/templates/pages/page-edit.php b/admin/templates/pages/page-edit.php index f2857c8..d92a9df 100644 --- a/admin/templates/pages/page-edit.php +++ b/admin/templates/pages/page-edit.php @@ -1,400 +1 @@ - - -
    -
      -
    • Treść
    • -
    • Ustawienia
    • -
    • SEO
    • -
    -
    -
    -
    -
    - -
    -
    -
    - languages ) ): foreach ( $this -> languages as $lg ):?> - -
    - 'Nazwa strony', - 'name' => 'title[' . $lg['id'] . ']', - 'id' => 'title_' . $lg['id'], - 'value' => $this -> page[ 'languages' ][ $lg['id'] ]['title'], - ) - );?> -
    - - -
    -
    -
    -
    -
    - menus ) ): foreach ( $this -> menus as $menu ): - $menus[ $menu['id'] ] = $menu['name']; - endforeach; endif; - ?> - 'Menu', - 'name' => 'menu_id', - 'values' => $menus, - 'value' => $this -> page['id'] ? $this -> page['menu_id'] : $this -> menu_id - ) - );?> - 'Typ strony', - 'name' => 'page_type', - 'id' => 'page_type', - 'values' => \admin\factory\Pages::$_page_types, - 'value' => $this -> page['page_type'] - ) - );?> - -
    -
    - 'hidden', - 'name' => 'category_id', - 'id' => 'category_id', - 'value' => $this -> page['category_id'] - ) - ); - ?> - 'Kategoria', - 'name' => 'category_title', - 'id' => 'category_title', - 'value' => $this -> page['category_id'] ? \admin\factory\ShopCategory::category_title( $this -> page['category_id'] ) : '', - 'icon_class' => 'fa fa-link', - 'icon_js' => 'category_url_browser();' - ) - ); - ?> -
    -
    - 'Sortowanie artykułów', - 'name' => 'sort_type', - 'id' => 'sort_type', - 'values' => \admin\factory\Pages::$_sort_types, - 'value' => $this -> page['sort_type'] - ) - );?> - layouts ) ): foreach ( $this -> layouts as $layout ): - $layouts[ $layout['id'] ] = $layout['name']; - endforeach; endif; - ?> - 'Szablon', - 'name' => 'layout_id', - 'id' => 'layout_id', - 'values' => $layouts, - 'value' => $this -> page['layout_id'] - ) - );?> - 'Liczba artykułów na stronę', - 'name' => 'articles_limit', - 'id' => 'articles_limit', - 'value' => $this -> page['articles_limit'] ? $this -> page['articles_limit'] : 2 - ) - );?> - 'Pokaż tytuł', - 'name' => 'show_title', - 'checked' => $this -> page['show_title'] == 1 or !$this -> page['id'] ? true : false - ) - );?> - 'Aktywna', - 'name' => 'status', - 'checked' => $this -> page['status'] == 1 or !$this -> page['id'] ? true : false - ) - );?> - 'Strona startowa', - 'name' => 'start', - 'checked' => $this -> page['start'] == 1 ? true : false - ) - );?> -
    -
    -
    -
    - -
    -
    -
    - languages ) ): foreach ( $this -> languages as $lg ):?> - -
    - 'Link SEO', - 'name' => 'seo_link[' . $lg['id'] . ']', - 'id' => 'seo_link_' . $lg['id'], - 'value' => $this -> page['languages' ][ $lg['id'] ]['seo_link'], - 'icon_content' => 'generuj', - 'icon_js' => 'generate_seo_links( "' . $lg['id'] . '", $( "#title_' . $lg['id'] . '" ).val(), ' . (int)$this -> page['id'] . ' );' - ] );?> - 'Tytuł strony (h1)', - 'name' => 'page_title[' . $lg['id'] . ']', - 'id' => 'page_title_' . $lg['id'], - 'value' => $this -> page['languages' ][ $lg['id'] ]['page_title'] - ] );?> - 'Meta title', - 'name' => 'meta_title[' . $lg['id'] . ']', - 'id' => 'meta_title_' . $lg['id'], - 'value' => $this -> page['languages'][ $lg['id'] ]['meta_title'] - ] );?> - 'Meta description', - 'name' => 'meta_description[' . $lg['id'] . ']', - 'id' => 'meta_description_' . $lg['id'], - 'value' => $this -> page['languages'][ $lg['id'] ]['meta_description'] - ] );?> - 'Meta keywords', - 'name' => 'meta_keywords[' . $lg['id'] . ']', - 'id' => 'meta_keywords_' . $lg['id'], - 'value' => $this -> page['languages'][ $lg['id'] ]['meta_keywords'] - ] );?> - 'Blokuj indeksację', - 'name' => 'noindex[' . $lg['id'] . ']', - 'id' => 'noindex_' . $lg['id'], - 'values' => [ 0 => 'nie', 1 => 'tak' ], - 'value' => $this -> page['languages'][ $lg['id'] ]['noindex'] == 1 ? 1 : 0 - ] );?> - 'Rel canonical', - 'name' => 'canonical[' . $lg['id'] . ']', - 'id' => 'canonical_' . $lg['id'], - 'value' => $this -> page['languages'][ $lg['id'] ]['canonical'] - ] );?> -
    - - -
    -
    -
    -
    -
    -
    - id = 'page-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja strony'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> page['id'] - ], - [ - 'db' => 'parent_id', - 'type' => 'hidden', - 'value' => $this -> page['id'] ? $this -> page['parent_id'] : $this -> parent_id - ] - ]; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/pages/page_save/', 'back_url' => '/admin/pages/view_list/' ], - 'cancel' => [ 'url' => '/admin/pages/view_list/' ] - ]; -$grid -> external_code = $out; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; - -echo $grid -> draw(); -?> \ No newline at end of file + $this->form]); ?> diff --git a/admin/templates/pages/pages-browse-list.php b/admin/templates/pages/pages-browse-list.php index d7077fb..c0ccc88 100644 --- a/admin/templates/pages/pages-browse-list.php +++ b/admin/templates/pages/pages-browse-list.php @@ -1,48 +1,56 @@ - menus ) ) foreach ( $this -> menus as $menu ) - { - ?> - - menus ?? null) ? $this->menus : []; +$modal = !empty($this->modal); +$cookiePages = is_array($this->cookie_pages ?? null) ? $this->cookie_pages : []; +$cookieMenus = is_array($this->cookie_menus ?? null) ? $this->cookie_menus : []; +ob_start(); +foreach ($menus as $menu): + $menuId = (int)($menu['id'] ?? 0); + $menuName = (string)($menu['name'] ?? ''); + $menuStatus = (int)($menu['status'] ?? 0); +?> + + id = 'pages-list'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Lista stron'; -$grid -> default_buttons = false; -$grid -> external_code = $out; - -echo $grid -> draw(); +$gridId = 'pages-list'; +$gridTitle = 'Lista stron'; +$gridSaveUrl = ''; +$gridBackUrl = ''; +$gridHidden = []; +$gridContent = $out; +$gridPersist = false; +include __DIR__ . '/../components/grid-edit-replacement.php'; ?> \ No newline at end of file + + diff --git a/admin/templates/pages/pages-list.php b/admin/templates/pages/pages-list.php index 0219d50..957c36a 100644 --- a/admin/templates/pages/pages-list.php +++ b/admin/templates/pages/pages-list.php @@ -1,208 +1,299 @@ - menus ) ) foreach ( $this -> menus as $menu ) - { - ?> - - menus ?? null) ? $this->menus : []; +$cookiePages = is_array($this->cookie_pages ?? null) ? $this->cookie_pages : []; +$cookieMenus = is_array($this->cookie_menus ?? null) ? $this->cookie_menus : []; +ob_start(); +foreach ($menus as $menu): + $menuId = (int)($menu['id'] ?? 0); + $menuName = (string)($menu['name'] ?? ''); + $menuStatus = (int)($menu['status'] ?? 0); +?> + + id = 'pages-list'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Lista stron'; -$grid -> default_buttons = false; -$grid -> buttons = [ - [ - 'label' => 'Dodaj menu', - 'url' => '/admin/pages/menu_edit/', - 'icon' => 'fa-plus-circle', - 'class' => 'btn-success' - ] - ]; -$grid -> external_code = $out; - -echo $grid -> draw(); +$gridId = 'pages-list'; +$gridTitle = 'Lista stron'; +$gridSaveUrl = ''; +$gridBackUrl = ''; +$gridHidden = []; +$gridContent = $out; +$gridPersist = false; +include __DIR__ . '/../components/grid-edit-replacement.php'; ?> + \ No newline at end of file + + + diff --git a/admin/templates/pages/subpages-browse-list.php b/admin/templates/pages/subpages-browse-list.php index 0602642..370be0f 100644 --- a/admin/templates/pages/subpages-browse-list.php +++ b/admin/templates/pages/subpages-browse-list.php @@ -1,77 +1,60 @@ - pages ) ):?> - -
      - pages as $page ):?> -
    1. -
      - - '; +pages ?? null) ? $this->pages : []; +$step = (int)($this->step ?? 1); - if ( $page['start'] ) - echo ''; - - echo $page['title']; - - if ( is_array( $page['languages'] ) ): - echo '
      '; - foreach ( $page['languages'] as $lg ) - echo ''; - echo '
      '; - endif; - - $default_language = \front\factory\Languages::default_language(); - if ( is_array( $page['languages'] ) ): - foreach ( $page['languages'] as $lg ): - echo ''; - endforeach; - endif; - ?> -
      - step + 1 ); +if (empty($pages)) { + return; +} +?> +
        + + - - -
      - \ No newline at end of file +
    2. +
      + + + + + + +
      + + + + + + +
      + + + + +
      + + + +
      + +
      + + $page['subpages'] ?? [], + 'step' => $step + 1, + ]); ?> +
    3. + +
    diff --git a/admin/templates/pages/subpages-list.php b/admin/templates/pages/subpages-list.php index 1c9c0e8..f57ea9d 100644 --- a/admin/templates/pages/subpages-list.php +++ b/admin/templates/pages/subpages-list.php @@ -1,60 +1,77 @@ - pages ) ):?> -
      - pages as $page ):?> -
    1. -
      - '; - endif; - ?> +pages ?? null) ? $this->pages : []; +$step = (int)($this->step ?? 1); + +if (empty($pages)) { + return; +} +?> +
        + + +
      1. + - \admin\factory\Pages::menu_pages( $this -> menu_id, $page['id'] ), - 'menu_id' => $this -> menu_id, - 'parent_id' => $page['id'], - 'step' => $this -> step + 1 - ] ); - ?> -
      2. - -
      - \ No newline at end of file + + + + + +
      + $page['subpages'] ?? [], + 'step' => $step + 1, + ]); ?> +
    2. + +
    + diff --git a/admin/templates/product-archive/products-list-custom-script.php b/admin/templates/product-archive/products-list-custom-script.php new file mode 100644 index 0000000..aacad98 --- /dev/null +++ b/admin/templates/product-archive/products-list-custom-script.php @@ -0,0 +1,100 @@ + + + diff --git a/admin/templates/product-archive/products-list.php b/admin/templates/product-archive/products-list.php new file mode 100644 index 0000000..c54663c --- /dev/null +++ b/admin/templates/product-archive/products-list.php @@ -0,0 +1,5 @@ + $this->viewModel]); ?> + +viewModel->customScriptView)): ?> + viewModel->customScriptView, ['list' => $this->viewModel]); ?> + diff --git a/admin/templates/product_archive/products-list-table.php b/admin/templates/product_archive/products-list-table.php new file mode 100644 index 0000000..f2ac941 --- /dev/null +++ b/admin/templates/product_archive/products-list-table.php @@ -0,0 +1,41 @@ + current_page - 1 ) * 10 + 1;?> + products as $product ):?> + + + + + +
    + + <?= $product['images'][0]['alt'];?> + + Brak zdjęcia + +
    +
    + + + +
    + + + + + + + + + + + + + '>kombinacje () + + + '>edytuj + + + ' class="product-unarchive">przywróć + + + diff --git a/admin/templates/product_archive/products-list.php b/admin/templates/product_archive/products-list.php new file mode 100644 index 0000000..b86d2ac --- /dev/null +++ b/admin/templates/product_archive/products-list.php @@ -0,0 +1,152 @@ +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #NazwaCenaCena promocyjnaStan MGKombinacjeEdytujPrzywróć
    + +
    + +
    +
    +
    +
    + diff --git a/admin/templates/scontainers/container-edit.php b/admin/templates/scontainers/container-edit.php index e74e80c..4016d5b 100644 --- a/admin/templates/scontainers/container-edit.php +++ b/admin/templates/scontainers/container-edit.php @@ -1,123 +1 @@ - - - -
    -
      -
    • Treść
    • -
    • Ustawienia
    • -
    -
    -
    -
    -
      - languages ) ): foreach ( $this -> languages as $lg ):?> - -
    • - - -
    -
    - languages ) ): foreach ( $this -> languages as $lg ):?> - -
    - 'Tytuł', - 'name' => 'title[' . $lg['id'] . ']', - 'id' => 'title_' . $lg['id'], - 'value' => $this -> container['languages'][ $lg['id'] ]['title'], - 'inline' => true - ) - );?> - 'Treść', - 'name' => 'text[' . $lg['id'] . ']', - 'id' => 'text_' . $lg['id'], - 'value' => $this -> container['languages'][ $lg['id'] ]['text'], - 'inline' => true - ) - );?> - -
    - - -
    -
    -
    -
    -
    - 'Aktywny', - 'name' => 'status', - 'checked' => $this -> container['status'] == 1 or !$this -> container['id'] ? true : false - ) - );?> - 'Pokaż tytuł', - 'name' => 'show_title', - 'checked' => $this -> container['show_title'] == 1 ? true : false - ) - );?> -
    -
    -
    - id = 'container-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja kontenera statycznego'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> container['id'] - ] - ]; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/scontainers/container_save/', 'back_url' => '/admin/scontainers/view_list/' ], - 'cancel' => [ 'url' => '/admin/scontainers/view_list/' ] - ]; -$grid -> external_code = $out; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; - -echo $grid -> draw(); -?> - - \ No newline at end of file + $this->form]); ?> diff --git a/admin/templates/scontainers/containers-list.php b/admin/templates/scontainers/containers-list.php index 0573daa..7a81f6c 100644 --- a/admin/templates/scontainers/containers-list.php +++ b/admin/templates/scontainers/containers-list.php @@ -1,79 +1 @@ - gdb_opt = $gdb; -$grid -> sql = 'SELECT *' - . 'FROM ( ' - . 'SELECT ' - . 'id, status, ' - . '( SELECT title FROM pp_scontainers_langs AS psl, pp_langs AS pl WHERE lang_id = pl.id AND container_id = ps.id AND title != \'\' ORDER BY o ASC LIMIT 1 ) AS title ' - . 'FROM ' - . 'pp_scontainers AS ps ' - . ') AS q1 ' - . 'WHERE ' - . '1=1 [where] ' - . 'ORDER BY ' - . '[order_p1] [order_p2]'; -$grid -> sql_count = 'SELECT ' - . 'COUNT(0) FROM ( ' - . 'SELECT ' - . 'id, status, ' - . '( SELECT title FROM pp_scontainers_langs AS psl, pp_langs AS pl WHERE lang_id = pl.id AND container_id = ps.id AND title != \'\' ORDER BY o ASC LIMIT 1 ) AS title ' - . 'FROM ' - . 'pp_scontainers AS ps ' - . ') AS q1 ' - . 'WHERE ' - . '1=1 [where] '; -$grid -> debug = true; -$grid -> order = [ 'column' => 'id', 'type' => 'DESC' ]; -$grid -> search = [ - [ 'name' => 'Tytuł', 'db' => 'title', 'type' => 'text' ], - [ 'name' => 'Aktywny', 'db' => 'status', 'type' => 'select', 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ] ] - ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], - [ - 'name' => 'Tytuł', - 'db' => 'title', - 'php' => 'echo "[title]";', - 'sort' => true - ], - [ - 'name' => 'Kod', - 'php' => 'echo "[KONTENER:[id]]";' - ], - [ - 'name' => 'Aktywny', - 'db' => 'status', - 'replace' => [ 'array' => [ 0 => 'nie', 1 => 'tak' ] ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 150px;' ], - 'td' => [ 'class' => 'g-center' ] - ], - [ - 'name' => 'Edytuj', - 'action' => [ 'type' => 'edit', 'url' => '/admin/scontainers/container_edit/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ], - [ - 'name' => 'Usuń', - 'action' => [ 'type' => 'delete', 'url' => '/admin/scontainers/container_delete/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ] - ]; -$grid -> buttons = [ - [ - 'label' => 'Dodaj kontener', - 'url' => '/admin/scontainers/container_edit/', - 'icon' => 'fa-plus-circle', - 'class' => 'btn-success' - ] - ]; -echo $grid -> draw(); \ No newline at end of file + $this->viewModel]); ?> diff --git a/admin/templates/settings/settings.php b/admin/templates/settings/settings.php index 7a119f2..854e0e3 100644 --- a/admin/templates/settings/settings.php +++ b/admin/templates/settings/settings.php @@ -41,7 +41,7 @@ ob_start();
    - 'Nazwa firmy', 'name' => 'firm_name', @@ -49,7 +49,7 @@ ob_start(); 'value' => $this -> settings['firm_name'] ) );?> - 'Dodatkowe informacje', 'name' => 'additional_info', @@ -57,14 +57,14 @@ ob_start(); 'value' => $this -> settings['additional_info'] ) );?> - 'Mapa', 'name' => 'google_maps', 'checked' => $this -> settings['google_maps'] == 1 ? true : false ) );?> - 'Mapa - adres', 'name' => 'firm_adress', @@ -74,7 +74,7 @@ ob_start(); );?>
    - 'Dane do przelewu', 'name' => 'shop_bank_account_info', @@ -84,54 +84,54 @@ ob_start(); 'ckeditor' => true ) );?> - 'Klucz API HotPay', 'name' => 'hotpay_api', 'id' => 'hotpay_api', 'value' => $this -> settings['hotpay_api'] ] );?> - 'Tpay.com - tryb sandbox', 'name' => 'tpay_sandbox', 'checked' => $this -> settings['tpay_sandbox'] == 1 ? true : false ] );?> - 'Tpay.com ID', 'name' => 'tpay_id', 'id' => 'tpay_id', 'value' => $this -> settings['tpay_id'] ] );?> - 'Tpay.com - kod bezpieczeństwa', 'name' => 'tpay_security_code', 'id' => 'tpay_security_code', 'value' => $this -> settings['tpay_security_code'] ] );?> - 'Przelewy24.pl - tryb sandbox', 'name' => 'przelewy24_sandbox', 'checked' => $this -> settings['przelewy24_sandbox'] == 1 ? true : false ] );?> - 'Przelewy24.pl - merchant ID', 'name' => 'przelewy24_merchant_id', 'id' => 'przelewy24_merchant_id', 'value' => $this -> settings['przelewy24_merchant_id'] ] );?> - 'Przelewy24.pl - klucz CRC', 'name' => 'przelewy24_crc_key', 'id' => 'przelewy24_crc_key', 'value' => $this -> settings['przelewy24_crc_key'] ] );?> - 'Darmowa dostawa od', 'class' => 'number-format', 'name' => 'free_delivery', 'id' => 'free_delivery', 'value' => $this -> settings['free_delivery'] ] );?> - 'Orlen Paczka map token', 'name' => 'orlen_paczka_map_token', 'id' => 'orlen_paczka_map_token', @@ -143,7 +143,7 @@ ob_start();
      languages ) ): foreach ( $this -> languages as $lg ):?> -
    • ';?>
    • +
    • defaultLanguage() ) echo ' ';?>
    @@ -161,7 +161,7 @@ ob_start(); ?>
    - 'Komunikat gdy stan magazynowy równy 0', 'name' => 'warehouse_message_zero[' . $lg['id'] . ']', @@ -170,7 +170,7 @@ ob_start(); 'inline' => true ) );?> - 'Komunikat gdy stan magazynowy większy niż 0', 'name' => 'warehouse_message_nonzero[' . $lg['id'] . ']', @@ -187,14 +187,14 @@ ob_start();
    - 'Formularz kontaktowy', 'name' => 'contact_form', 'checked' => $this -> settings['contact_form'] == 1 ? true : false ) );?> - 'Email kontaktowy', 'name' => 'contact_email', @@ -202,7 +202,7 @@ ob_start(); 'value' => $this -> settings['contact_email'] ) );?> - 'Email - host', 'name' => 'email_host', @@ -210,7 +210,7 @@ ob_start(); 'value' => $this -> settings['email_host'] ) );?> - 'Email - port', 'name' => 'email_port', @@ -218,7 +218,7 @@ ob_start(); 'value' => $this -> settings['email_port'] ) );?> - 'Email - login', 'name' => 'email_login', @@ -226,7 +226,7 @@ ob_start(); 'value' => $this -> settings['email_login'] ) );?> - 'Email - hasło', 'name' => 'email_password', @@ -236,7 +236,7 @@ ob_start(); );?>
    - 'Facebook link', 'name' => 'facebook_link', @@ -252,7 +252,7 @@ ob_start(); ] ); ?> - 'Kod statystyk', 'name' => 'statistic_code', @@ -261,7 +261,7 @@ ob_start(); 'rows' => 10 ) );?> - 'Własne reguły htacess', 'name' => 'htaccess', @@ -270,7 +270,7 @@ ob_start(); 'rows' => 10 ) );?> - 'Własne reguły robots.txt', 'name' => 'robots', @@ -281,7 +281,7 @@ ob_start(); );?>
    - 'Aktualizacja', 'name' => 'update', @@ -296,31 +296,31 @@ ob_start(); ] ); ?> - 'Strona konstrukcyjna', 'name' => 'devel', 'checked' => $this -> settings['devel'] == 1 ? true : false ) );?> - 'Lazy loading obrazów', 'name' => 'lazy_loading', 'checked' => $this -> settings['lazy_loading'] == 1 ? true : false ] );?> - 'Generowanie obrazków WEBP', 'name' => 'generate_webp', 'checked' => $this -> settings['generate_webp'] == 1 ? true : false ] );?> - 'Infinitescroll', 'name' => 'infinitescroll', 'checked' => $this -> settings['infinitescroll'] == 1 ? true : false ] );?> - 'Htaccess cache', 'name' => 'htaccess_cache', @@ -335,14 +335,14 @@ ob_start(); 'id' => 'google_tag_manager_id', 'value' => $this -> settings['google_tag_manager_id'] ] ); ?> - 'Własny kod GTM JS (bez tagu script)', 'name' => 'own_gtm_js', 'id' => 'own_gtm_js', 'value' => $this -> settings['own_gtm_js'], 'rows' => 10 ] );?> - 'Własny kod GTM HTML', 'name' => 'own_gtm_html', 'id' => 'own_gtm_html', @@ -355,19 +355,17 @@ ob_start(); id = 'settings-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja ustawień'; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/settings/settings_save/', 'back_url' => '/admin/settings/view/' ], - ]; -$grid -> external_code = $out; -echo $grid -> draw(); +$gridId = 'settings-edit'; +$gridTitle = 'Edycja ustawień'; +$gridSaveUrl = '/admin/settings/save/'; +$gridBackUrl = ''; +$gridHidden = []; +$gridContent = $out; +$gridPersist = true; +include __DIR__ . '/../components/grid-edit-replacement.php'; ?> - + \ No newline at end of file + diff --git a/admin/templates/shop-attribute/_partials/value-row.php b/admin/templates/shop-attribute/_partials/value-row.php new file mode 100644 index 0000000..1efb035 --- /dev/null +++ b/admin/templates/shop-attribute/_partials/value-row.php @@ -0,0 +1,68 @@ +value ?? null) ? $this->value : []; +$languages = is_array($this->languages ?? null) ? $this->languages : []; +$rowKey = (string)($this->rowKey ?? ''); +$defaultLanguageId = (string)($this->defaultLanguageId ?? ''); +$valueId = (int)($value['id'] ?? 0); +$isDefault = !empty($value['is_default']); +$impact = (string)($value['impact_on_the_price'] ?? ''); +?> + + + + /> + + + + + + + + +
    + + +
    + + + + + + + diff --git a/admin/templates/shop-attribute/attribute-edit.php b/admin/templates/shop-attribute/attribute-edit.php index 2336569..e6b6284 100644 --- a/admin/templates/shop-attribute/attribute-edit.php +++ b/admin/templates/shop-attribute/attribute-edit.php @@ -1,106 +1,2 @@ - - - -
    -
      -
    • Treść
    • -
    • Ustawienia
    • -
    -
    -
    -
    -
      - languages)) : foreach ($this -> languages as $lg) : ?> - -
    • - - -
    -
    - languages)) : foreach ($this -> languages as $lg) : ?> - -
    - 'Tytuł', - 'name' => 'name[' . $lg['id'] . ']', - 'id' => 'name_' . $lg['id'], - 'value' => $this -> attribute['languages'][ $lg['id'] ]['name'], - 'inline' => true, - ] ); ?> -
    - - -
    -
    -
    -
    -
    - 'Aktywny', - 'name' => 'status', - 'checked' => $this -> attribute['status'] || !$this -> attribute['id'] ? true : false, - ] );?> - 'Typ', - 'name' => 'type', - 'values' => [0 => 'tekst'],//, 1 => 'kolor', 2 => 'wzór'], - 'value' => $this -> attribute['type'], - ] );?> - 'Kolejność', - 'name' => 'o', - 'id' => 'o', - 'value' => $this -> attribute['o'], - ] );?> -
    -
    -
    - $this->form]); ?> -$grid = new \gridEdit(); -$grid -> id = 'attribute-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja cechy'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> attribute['id'], - ], -]; -$grid -> actions = [ - 'save' => ['url' => '/admin/shop_attribute/attribute_save/', 'back_url' => '/admin/shop_attribute/view_list/'], - 'cancel' => ['url' => '/admin/shop_attribute/view_list/'], - ]; -$grid -> external_code = $out; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; - -echo $grid -> draw(); -?> - - diff --git a/admin/templates/shop-attribute/attributes-list.php b/admin/templates/shop-attribute/attributes-list.php index bbaefcc..b0e03a9 100644 --- a/admin/templates/shop-attribute/attributes-list.php +++ b/admin/templates/shop-attribute/attributes-list.php @@ -1,95 +1,2 @@ - $this->viewModel]); ?> -global $gdb; - -$grid = new \grid('pp_shop_attributes'); -$grid -> gdb_opt = $gdb; -$grid -> sql = 'SELECT *' - . 'FROM ( ' - . 'SELECT ' - . 'id, status, type, o, ' - . '( SELECT psal.name FROM pp_shop_attributes_langs AS psal, pp_langs AS pl WHERE lang_id = pl.id AND attribute_id = psa.id AND psal.name != \'\' ORDER BY o ASC LIMIT 1 ) AS name ' - . 'FROM ' - . 'pp_shop_attributes AS psa ' - . ') AS q1 ' - . 'WHERE ' - . '1=1 [where] ' - . 'ORDER BY ' - . '[order_p1] [order_p2]'; -$grid -> sql_count = 'SELECT ' - . 'COUNT(0) FROM ( ' - . 'SELECT ' - . 'id, status, type, o, ' - . '( SELECT psal.name FROM pp_shop_attributes_langs AS psal, pp_langs AS pl WHERE lang_id = pl.id AND attribute_id = psa.id AND psal.name != \'\' ORDER BY o ASC LIMIT 1 ) AS name ' - . 'FROM ' - . 'pp_shop_attributes AS psa ' - . ') AS q1 ' - . 'WHERE ' - . '1=1 [where] '; -$grid -> debug = true; -$grid -> order = [ 'column' => 'o', 'type' => 'ASC' ]; -$grid -> search = [ - ['name' => 'Nazwa', 'db' => 'name', 'type' => 'text'], - ['name' => 'Aktywny', 'db' => 'status', 'type' => 'select', 'replace' => ['array' => [0 => 'nie', 1 => 'tak']]], - ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => ['class' => 'g-lp'], - 'td' => ['class' => 'g-center'], - 'autoincrement' => true, - ], - [ - 'name' => 'Kolejność', - 'td' => [ 'class' => 'g-center', 'style' => 'width: 100px' ], - 'db' => 'o', - 'sort' => true, - ], - [ - 'name' => 'Nazwa', - 'db' => 'name', - 'php' => 'echo "[name]";', - 'sort' => true, - ], - [ - 'name' => 'Typ', - 'db' => 'type', - 'replace' => ['array' => [0 => 'tekst', 1 => 'kolor', 2 => 'wzór']], - 'td' => ['class' => 'g-center'], - 'th' => ['class' => 'g-center', 'style' => 'width: 150px;'], - 'sort' => true, - ], [ - 'name' => 'Aktywny', - 'db' => 'status', - 'replace' => ['array' => [0 => 'nie', 1 => 'tak']], - 'td' => ['class' => 'g-center'], - 'th' => ['class' => 'g-center', 'style' => 'width: 150px;'], - 'sort' => true, - ], [ - 'name' => 'Wartości', - 'td' => ['class' => 'g-center'], - 'th' => ['class' => 'g-center', 'style' => 'width: 150px;'], - 'php' => 'echo "edytuj wartości";', - ], - [ - 'name' => 'Edytuj', - 'action' => ['type' => 'edit', 'url' => '/admin/shop_attribute/attribute_edit/id=[id]'], - 'th' => ['class' => 'g-center', 'style' => 'width: 70px;'], - 'td' => ['class' => 'g-center'], - ], - [ - 'name' => 'Usuń', - 'action' => ['type' => 'delete', 'url' => '/admin/shop_attribute/delete_attribute/id=[id]'], - 'th' => ['class' => 'g-center', 'style' => 'width: 70px;'], - 'td' => ['class' => 'g-center'], - ], - ]; -$grid -> buttons = [ - [ - 'label' => 'Dodaj cechę', - 'url' => '/admin/shop_attribute/attribute_edit/', - 'icon' => 'fa-plus-circle', - 'class' => 'btn-success', - ], -]; -echo $grid -> draw(); diff --git a/admin/templates/shop-attribute/values-edit.php b/admin/templates/shop-attribute/values-edit.php index 706e5ad..5190a6c 100644 --- a/admin/templates/shop-attribute/values-edit.php +++ b/admin/templates/shop-attribute/values-edit.php @@ -1,138 +1,274 @@ -
    +attribute ?? null) ? $this->attribute : []; +$values = is_array($this->values ?? null) ? $this->values : []; +$languages = is_array($this->languages ?? null) ? $this->languages : []; +$defaultLanguageId = (string)($this->defaultLanguageId ?? ''); + +$activeLanguages = []; +foreach ($languages as $language) { + if ((int)($language['status'] ?? 0) === 1) { + $activeLanguages[] = $language; + } +} + +if ($defaultLanguageId === '' && !empty($activeLanguages[0]['id'])) { + $defaultLanguageId = (string)$activeLanguages[0]['id']; +} + +$attributeName = ''; +if ($defaultLanguageId !== '' && isset($attribute['languages'][$defaultLanguageId]['name'])) { + $attributeName = trim((string)$attribute['languages'][$defaultLanguageId]['name']); +} +if ($attributeName === '' && is_array($attribute['languages'] ?? null)) { + foreach ($attribute['languages'] as $languageData) { + $candidateName = trim((string)($languageData['name'] ?? '')); + if ($candidateName !== '') { + $attributeName = $candidateName; + break; + } + } +} +if ($attributeName === '') { + $attributeName = 'ID: ' . (int)($attribute['id'] ?? 0); +} + +$rowCounter = 0; +$initialRowsHtml = ''; +if (!empty($values)) { + foreach ($values as $value) { + ++$rowCounter; + $rowKey = 'existing-' . (int)($value['id'] ?? 0); + $initialRowsHtml .= \Shared\Tpl\Tpl::view('shop-attribute/_partials/value-row', [ + 'rowKey' => $rowKey, + 'value' => $value, + 'languages' => $activeLanguages, + 'defaultLanguageId' => $defaultLanguageId, + ]); + } +} else { + $rowCounter = 1; + $initialRowsHtml .= \Shared\Tpl\Tpl::view('shop-attribute/_partials/value-row', [ + 'rowKey' => 'new-1', + 'value' => ['id' => 0, 'is_default' => 1, 'impact_on_the_price' => null, 'languages' => []], + 'languages' => $activeLanguages, + 'defaultLanguageId' => $defaultLanguageId, + ]); +} + +$newRowTemplate = \Shared\Tpl\Tpl::view('shop-attribute/_partials/value-row', [ + 'rowKey' => '__ROW_KEY__', + 'value' => ['id' => 0, 'is_default' => 0, 'impact_on_the_price' => null, 'languages' => []], + 'languages' => $activeLanguages, + 'defaultLanguageId' => $defaultLanguageId, +]); +?> + +
    - Edycja wartości dla cechy: attribute['languages']['pl']['name'];?> + Wartosci cechy:
    +
    - -
    - values ): - foreach ( $this -> values as $value ): - echo \Tpl::view( 'shop-attribute/_partials/value', [ - 'i' => ++$i, - 'value' => $value, - 'languages' => $this -> languages, - 'attribute' => $this -> attribute - ] ); - endforeach; - endif; - ?> +
    + +
    + +
    + Wskazowka: zaznacz jedna wartosc domyslna i uzupelnij nazwe w jezyku domyslnym. +
    + +
    + + + + + + + + + + + + +
    DomyslnaWplyw na ceneNazwy w jezykachAkcje
    + diff --git a/admin/templates/shop-category/categories-list-custom-script.php b/admin/templates/shop-category/categories-list-custom-script.php new file mode 100644 index 0000000..16b4953 --- /dev/null +++ b/admin/templates/shop-category/categories-list-custom-script.php @@ -0,0 +1,153 @@ + + + diff --git a/admin/templates/shop-category/categories-list.php b/admin/templates/shop-category/categories-list.php index 3c32e80..fb6335b 100644 --- a/admin/templates/shop-category/categories-list.php +++ b/admin/templates/shop-category/categories-list.php @@ -8,7 +8,9 @@ ob_start(); categories ) ): foreach ( $this -> categories as $category ):?>
  • - + ';?> dlang]['title'];?>
    @@ -26,8 +28,8 @@ ob_start();
    - \admin\factory\ShopCategory::subcategories( $category['id'] ), + ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories( $category['id'] ), 'level' => $this -> level + 1, 'dlang' => $this -> dlang ] );?> @@ -38,126 +40,13 @@ ob_start(); id = 'pages-list'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Lista kategorii'; -$grid -> default_buttons = false; -$grid -> buttons = [ - [ - 'label' => 'Dodaj kategorię', - 'url' => '/admin/shop_category/category_edit/', - 'icon' => 'fa-plus-circle', - 'class' => 'btn-success' - ] - ]; -$grid -> external_code = $out; - -echo $grid -> draw(); +$gridId = 'pages-list'; +$gridTitle = 'Lista kategorii'; +$gridSaveUrl = ''; +$gridBackUrl = ''; +$gridHidden = []; +$gridContent = $out; +$gridPersist = false; +include __DIR__ . '/../components/grid-edit-replacement.php'; ?> - - \ No newline at end of file + \ No newline at end of file diff --git a/admin/templates/shop-category/category-browse-custom-script.php b/admin/templates/shop-category/category-browse-custom-script.php new file mode 100644 index 0000000..a27a2e0 --- /dev/null +++ b/admin/templates/shop-category/category-browse-custom-script.php @@ -0,0 +1,106 @@ + + + diff --git a/admin/templates/shop-category/category-browse-list.php b/admin/templates/shop-category/category-browse-list.php index dff8aa9..cfe75c9 100644 --- a/admin/templates/shop-category/category-browse-list.php +++ b/admin/templates/shop-category/category-browse-list.php @@ -7,7 +7,9 @@ ob_start(); categories ) ): foreach ( $this -> categories as $category ):?>
  • - + ';?> dlang]['title'];?>
    @@ -16,8 +18,8 @@ ob_start();
    - \admin\factory\ShopCategory::subcategories( $category['id'] ), + ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories( $category['id'] ), 'level' => $this -> level + 1, 'dlang' => $this -> dlang ] );?> @@ -28,15 +30,14 @@ ob_start(); id = 'pages-list'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = false; -$grid -> title = 'Lista kategorii'; -$grid -> default_buttons = false; -$grid -> external_code = $out; - -echo $grid -> draw(); +$gridId = 'pages-list'; +$gridTitle = 'Lista kategorii'; +$gridSaveUrl = ''; +$gridBackUrl = ''; +$gridHidden = []; +$gridContent = $out; +$gridPersist = false; +include __DIR__ . '/../components/grid-edit-replacement.php'; ?> - - \ No newline at end of file + \ No newline at end of file diff --git a/admin/templates/shop-category/category-edit-custom-script.php b/admin/templates/shop-category/category-edit-custom-script.php new file mode 100644 index 0000000..bd2a72d --- /dev/null +++ b/admin/templates/shop-category/category-edit-custom-script.php @@ -0,0 +1,53 @@ + diff --git a/admin/templates/shop-category/category-edit.php b/admin/templates/shop-category/category-edit.php index 0b0cb95..1c41f7d 100644 --- a/admin/templates/shop-category/category-edit.php +++ b/admin/templates/shop-category/category-edit.php @@ -1,65 +1,5 @@ -
      -
    • Treść
    • +
    • Treść
    • Ustawienia
    • SEO
    @@ -77,7 +17,7 @@ ob_start();
      languages ) ): foreach ( $this -> languages as $lg ):?> -
    • ';?>
    • +
    • dlang ) echo ' ';?>
    @@ -85,7 +25,7 @@ ob_start(); languages ) ): foreach ( $this -> languages as $lg ):?>
    - 'Nazwa kategorii', 'name' => 'title[' . $lg['id'] . ']', @@ -94,7 +34,7 @@ ob_start(); 'inline' => true ) );?> - 'Opis kategorii', 'name' => 'text[' . $lg['id'] . ']', @@ -103,16 +43,16 @@ ob_start(); 'inline' => true ) );?> - 'Opis kategorii (rozwinięcie)', + 'label' => 'Opis kategorii (rozwiniÄ™cie)', 'name' => 'text_hidden[' . $lg['id'] . ']', 'id' => 'text_hidden_' . $lg['id'], 'value' => $this -> category['languages'][ $lg['id'] ]['text_hidden'], 'inline' => true ) );?> - 'Dodatkowy tekst (nad produktami)', 'name' => 'additional_text[' . $lg['id'] . ']', 'id' => 'additional_text_' . $lg['id'], @@ -135,25 +75,25 @@ ob_start();
    - 'Aktywna', 'name' => 'status', 'checked' => $this -> category['status'] == 1 or !$this -> category['id'] ? true : false ) );?> - 'Sortowanie produktów', + 'label' => 'Sortowanie produktĂłw', 'name' => 'sort_type', 'id' => 'sort_type', - 'values' => \admin\factory\ShopCategory::$_sort_types, + 'values' => is_array( $this -> sort_types ) ? $this -> sort_types : [], 'value' => $this -> category['sort_type'] ] );?> - 'Wyświetlić podkategorie', + 'label' => 'WyĹ›wietlić podkategorie', 'name' => 'view_subcategories', 'checked' => $this -> category['view_subcategories'] == 1 ? true : false ) @@ -164,7 +104,7 @@ ob_start();
      languages ) ): foreach ( $this -> languages as $lg ):?> -
    • ';?>
    • +
    • dlang ) echo ' ';?>
    @@ -172,7 +112,7 @@ ob_start(); languages ) ): foreach ( $this -> languages as $lg ):?>
    - 'Link SEO', 'name' => 'seo_link[' . $lg['id'] . ']', @@ -182,15 +122,15 @@ ob_start(); 'icon_js' => 'generate_seo_links( "' . $lg['id'] . '", $( "#title_' . $lg['id'] . '" ).val(), ' . (int)$this -> category['id'] . ' );' ) );?> - 'Tytuł kategorii (h1)', + 'label' => 'TytuĹ‚ kategorii (h1)', 'name' => 'category_title[' . $lg['id'] . ']', 'id' => 'category_title_' . $lg['id'], 'value' => $this -> category['languages' ][ $lg['id'] ]['category_title'] ) );?> - 'Meta title', 'name' => 'meta_title[' . $lg['id'] . ']', @@ -198,7 +138,7 @@ ob_start(); 'value' => $this -> category['languages'][ $lg['id'] ]['meta_title'] ) );?> - 'Meta description', 'name' => 'meta_description[' . $lg['id'] . ']', @@ -206,7 +146,7 @@ ob_start(); 'value' => $this -> category['languages'][ $lg['id'] ]['meta_description'] ) );?> - 'Meta keywords', 'name' => 'meta_keywords[' . $lg['id'] . ']', @@ -214,9 +154,9 @@ ob_start(); 'value' => $this -> category['languages'][ $lg['id'] ]['meta_keywords'] ) );?> - 'Blokuj indeksację', + 'label' => 'Blokuj indeksacjÄ™', 'name' => 'noindex[' . $lg['id'] . ']', 'id' => 'noindex_' . $lg['id'], 'values' => array( @@ -237,30 +177,18 @@ ob_start(); id = 'category-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja kategorii'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> category['id'] - ], - [ - 'db' => 'parent_id', - 'type' => 'hidden', - 'value' => $this -> category['id'] ? $this -> category['parent_id'] : $this -> pid - ] - ]; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/shop_category/save/', 'back_url' => '/admin/shop_category/view_list/' ], - 'cancel' => [ 'url' => '/admin/shop_category/view_list/' ] - ]; -$grid -> external_code = $out; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; +$gridId = 'category-edit'; +$gridTitle = 'Edycja kategorii'; +$gridSaveUrl = '/admin/shop_category/save/'; +$gridBackUrl = '/admin/shop_category/view_list/'; +$gridHidden = [ + ['name' => 'id', 'value' => $this -> category['id']], + ['name' => 'parent_id', 'value' => $this -> category['id'] ? $this -> category['parent_id'] : $this -> pid] +]; +$gridContent = $out; +$gridPersist = true; +include __DIR__ . '/../components/grid-edit-replacement.php'; +?> + + -echo $grid -> draw(); -?> \ No newline at end of file diff --git a/admin/templates/shop-category/category-products-custom-script.php b/admin/templates/shop-category/category-products-custom-script.php new file mode 100644 index 0000000..3a43fa0 --- /dev/null +++ b/admin/templates/shop-category/category-products-custom-script.php @@ -0,0 +1,62 @@ + + + diff --git a/admin/templates/shop-category/category-products.php b/admin/templates/shop-category/category-products.php index 29d4d8f..0b88e1e 100644 --- a/admin/templates/shop-category/category-products.php +++ b/admin/templates/shop-category/category-products.php @@ -9,7 +9,7 @@ ob_start(); { ?>
  • -
    +
  • gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> default_buttons = false; -$grid -> external_code = $out; -$grid -> title = 'Lista produktów'; -$grid -> buttons = [ - [ - 'label' => 'Wstecz', - 'url' => '/admin/shop_category/view_list/', - 'icon' => 'fa-reply', - 'class' => 'btn-dark' - ] - ]; -echo $grid -> draw(); +$gridId = 'category-products'; +$gridTitle = 'Lista produktów'; +$gridSaveUrl = ''; +$gridBackUrl = ''; +$gridHidden = []; +$gridContent = $out; +$gridPersist = false; +include __DIR__ . '/../components/grid-edit-replacement.php'; ?> - - \ No newline at end of file + $this -> category_id ] ); ?> \ No newline at end of file diff --git a/admin/templates/shop-category/subcategories-list.php b/admin/templates/shop-category/subcategories-list.php index 24b09d5..a1e28b3 100644 --- a/admin/templates/shop-category/subcategories-list.php +++ b/admin/templates/shop-category/subcategories-list.php @@ -3,7 +3,9 @@ categories as $category ):?>
  • - + ';?> dlang]['title'];?>
    @@ -23,8 +25,8 @@
    - \admin\factory\ShopCategory::subcategories( $category['id'] ), + ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories( $category['id'] ), 'level' => $this -> level + 1, 'dlang' => $this -> dlang ] );?> diff --git a/admin/templates/shop-category/subcategory-browse-list.php b/admin/templates/shop-category/subcategory-browse-list.php index 7218ed7..b22fa0f 100644 --- a/admin/templates/shop-category/subcategory-browse-list.php +++ b/admin/templates/shop-category/subcategory-browse-list.php @@ -3,7 +3,9 @@ categories as $category ):?>
  • - + ';?> dlang]['title'];?>
    @@ -12,8 +14,8 @@
    - \admin\factory\ShopCategory::subcategories( $category['id'] ), + ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories( $category['id'] ), 'level' => $this -> level + 1, 'dlang' => $this -> dlang ] );?> diff --git a/admin/templates/shop-clients/clients-details.php b/admin/templates/shop-clients/clients-details.php index 8c0edb7..fe520db 100644 --- a/admin/templates/shop-clients/clients-details.php +++ b/admin/templates/shop-clients/clients-details.php @@ -1,48 +1,9 @@ -
    name . ' ' . $this->surname; ?>
    -
    Łączne zakupy w wysokości: total_spent; ?> zł
    +
    name . ' ' . $this->surname, ENT_QUOTES, 'UTF-8'); ?>
    +
    + Łączne zakupy: total_spent, 2, '.', ' '); ?> zl, + liczba zamówień: total_orders; ?> +
    -
    +
    - gdb_opt = $gdb; - -$grid->src = $this->orders_info; - -$grid -> debug = true; -$grid -> order = [ 'column' => 'date_order', 'type' => 'DESC' ]; -$grid -> search = []; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], [ - 'name' => 'Data zamówienia', - 'db' => 'date_order', - 'td' => [ 'class' => 'g-center' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 175px;' ], - ], [ - 'name' => 'Wartość', - 'db' => 'summary', - 'td' => [ 'class' => 'g-right' ], - 'th' => [ 'class' => 'g-right', 'style' => 'width: 150px;' ], - 'php' => 'echo number_format( "[summary]", 2, ".", " " ) . " zł";', - ], [ - 'name' => 'Typ płatności', - 'db' => 'payment_method', - 'th' => [ 'style' => 'width: 350px;' ], - ], [ - 'name' => 'Rodzaj transportu', - 'db' => 'transport', - 'th' => [ 'style' => 'width: 350px;' ], - ], [ - 'name' => 'Wiadomość', - 'db' => 'message', - ], -]; - -echo $grid -> draw(); -?> \ No newline at end of file + $this->ordersTable]); ?> \ No newline at end of file diff --git a/admin/templates/shop-clients/view-list.php b/admin/templates/shop-clients/view-list.php index 85800c6..01a1102 100644 --- a/admin/templates/shop-clients/view-list.php +++ b/admin/templates/shop-clients/view-list.php @@ -1,84 +1,2 @@
    Lista klientów
    - gdb_opt = $gdb; - -$grid->sql = " - SELECT - MAX( client_id ) AS client_id, client_name, client_surname, client_email, MAX( client_phone ) AS client_phone, MAX( client_city ) AS client_city, COUNT(*) AS total_orders, SUM(summary) AS total_spent, - CASE - WHEN MAX(client_id) IS NOT NULL - THEN 'Zarejestrowany' - ELSE - 'Gość' - END AS client_type - FROM pp_shop_orders - WHERE client_name IS NOT NULL AND client_surname IS NOT NULL AND client_email IS NOT NULL - GROUP BY client_name, client_surname, client_email - ORDER BY - CASE - WHEN MAX(client_id) IS NOT NULL THEN 1 - ELSE 2 - END, - client_name ASC"; -$grid -> sql_count = " - SELECT COUNT(*) - FROM ( SELECT client_name, client_surname, client_email - FROM pp_shop_orders - WHERE client_name IS NOT NULL AND client_surname IS NOT NULL AND client_email IS NOT NULL - GROUP BY client_name, client_surname, client_email - ) AS unique_clients"; - -$grid -> order = [ 'column' => 'date_order', 'type' => 'DESC' ]; -$grid -> search = []; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], [ - 'name' => 'Typ klienta', - 'db' => 'client_type', - 'td' => [ 'class' => 'g-center' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 100px;' ], - ], [ - 'name' => 'Nazwisko, imię', - 'th' => [ 'style' => 'width: 225px;' ], - 'php' => 'echo "[client_surname]" . " " . "[client_name]";', - ], [ - 'name' => 'Email', - 'db' => 'client_email', - 'th' => [ 'style' => 'width: 150px;' ], - ], - [ - 'name' => 'Telefon', - 'db' => 'client_phone', - 'th' => [ 'style' => 'width: 150px;' ], - ], [ - 'name' => 'Miasto', - 'db' => 'client_city', - 'th' => [ 'style' => 'width: 150px;' ], - ], [ - 'name' => 'Wartość zamówień', - 'db' => 'total_spent', - 'td' => [ 'class' => 'g-right' ], - 'th' => [ 'class' => 'g-right', 'style' => 'width: 150px;' ], - 'php' => 'echo number_format( "[total_spent]", 2, ".", " " ) . " zł";', - ], [ - 'name' => 'Ilosc zamówień', - 'db' => 'total_orders', - 'td' => [ 'class' => 'g-center' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 150px;' ], - 'php' => 'echo "[total_orders]";' - ], [ - 'name' => 'Akcje', - 'th' => [ 'class' => 'g-center', 'style' => 'width: 100px;' ], - 'td' => [ 'class' => 'g-center' ], - 'php' => 'echo "zobacz zamówienia";', - ] -]; - -echo $grid -> draw(); \ No newline at end of file + $this->viewModel]); ?> \ No newline at end of file diff --git a/admin/templates/shop-coupon/coupon-categories-selector.php b/admin/templates/shop-coupon/coupon-categories-selector.php new file mode 100644 index 0000000..97227b6 --- /dev/null +++ b/admin/templates/shop-coupon/coupon-categories-selector.php @@ -0,0 +1,19 @@ +label ?? 'Kategorie')); +$inputName = trim((string)($this->inputName ?? 'categories[]')); +$categories = is_array($this->categories ?? null) ? $this->categories : []; +$selectedIds = is_array($this->selectedIds ?? null) ? $this->selectedIds : []; +?> +
    + +
    +
    + $categories, + 'selectedIds' => $selectedIds, + 'inputName' => $inputName, + ]); ?> +
    +
    +
    + diff --git a/admin/templates/shop-coupon/coupon-categories-tree.php b/admin/templates/shop-coupon/coupon-categories-tree.php new file mode 100644 index 0000000..579bf64 --- /dev/null +++ b/admin/templates/shop-coupon/coupon-categories-tree.php @@ -0,0 +1,68 @@ +categories ?? null) ? $this->categories : []; +$inputName = trim((string)($this->inputName ?? 'categories[]')); +$selectedRaw = is_array($this->selectedIds ?? null) ? $this->selectedIds : []; +$selected = []; +foreach ($selectedRaw as $value) { + $id = (int)$value; + if ($id > 0) { + $selected[$id] = true; + } +} +?> + +
      + + +
    1. +
      + + + + + + + + + + + +
      + + + $children, + 'selectedIds' => array_keys($selected), + 'inputName' => $inputName, + ]); ?> + +
    2. + +
    + + diff --git a/admin/templates/shop-coupon/coupon-edit-custom-script.php b/admin/templates/shop-coupon/coupon-edit-custom-script.php new file mode 100644 index 0000000..5cb6115 --- /dev/null +++ b/admin/templates/shop-coupon/coupon-edit-custom-script.php @@ -0,0 +1,109 @@ + + + diff --git a/admin/templates/shop-coupon/coupon-edit-new.php b/admin/templates/shop-coupon/coupon-edit-new.php new file mode 100644 index 0000000..a4d8c3c --- /dev/null +++ b/admin/templates/shop-coupon/coupon-edit-new.php @@ -0,0 +1,3 @@ + $this->form]); ?> + + diff --git a/admin/templates/shop-coupon/coupons-list.php b/admin/templates/shop-coupon/coupons-list.php new file mode 100644 index 0000000..b0e03a9 --- /dev/null +++ b/admin/templates/shop-coupon/coupons-list.php @@ -0,0 +1,2 @@ + $this->viewModel]); ?> + diff --git a/admin/templates/shop-order/order-details-custom-script.php b/admin/templates/shop-order/order-details-custom-script.php new file mode 100644 index 0000000..ea4db86 --- /dev/null +++ b/admin/templates/shop-order/order-details-custom-script.php @@ -0,0 +1,432 @@ + diff --git a/admin/templates/shop-order/order-details.php b/admin/templates/shop-order/order-details.php index f0209a7..6bac75b 100644 --- a/admin/templates/shop-order/order-details.php +++ b/admin/templates/shop-order/order-details.php @@ -1,8 +1,36 @@ order['id'] ?? 0); ?> -
    + +
    Szczegóły zamówienia: order['number'] ?? ''), ENT_QUOTES, 'UTF-8');?>
    + +
    + + Wstecz + + + Edytuj zamówienie + + + prev_order_id ):?> + + Poprzednie zamówienie + + + + next_order_id ):?> + + Następne zamówienie + + + + +
    + +
    +
    @@ -45,7 +73,7 @@ ob_start();
    Kwota zamówienia order[ 'summary' ];?> zł
    coupon ):?> -
    Kod rabatowy: coupon -> name;?> - coupon -> amount;?> coupon -> type == 1 ? '%' : 'zł';?>
    +
    Kod rabatowy: coupon['name'];?> - coupon['amount'];?> coupon['type'] == 1 ? '%' : 'zł';?>

    order[ 'transport' ] );?>: order[ 'transport_cost' ];?> zł
    @@ -66,12 +94,12 @@ ob_start();
    +
    - id = 'order-details'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Szczegóły zamówienia: ' . $this -> order[ 'number' ]; -$grid -> buttons = [ - [ - 'label' => 'Wstecz', - 'url' => '/admin/shop_order/view_list/', - 'icon' => 'fa-reply', - 'class' => 'btn btn-dark btn-sm mr5' - ], [ - 'label' => 'Edytuj zamówienie', - 'url' => '/admin/shop_order/order_edit/order_id=' . $this -> order['id'], - 'icon' => 'fa-pencil', - 'class' => 'btn btn-danger btn-sm mr5 ml5' - ] -]; -if ( $this -> prev_order_id ) -{ - $grid -> buttons[] = [ - 'label' => 'Poprzednie zamówienie', - 'url' => '/admin/shop_order/order_details/order_id=' . $this -> prev_order_id, - 'icon' => 'fa-arrow-left', - 'class' => 'btn btn-success btn-sm mr5 ml5' - ]; -} -if ( $this -> next_order_id ) -{ - $grid -> buttons[] = [ - 'label' => 'Następne zamówienie', - 'url' => '/admin/shop_order/order_details/order_id=' . $this -> next_order_id, - 'icon' => 'fa-arrow-right', - 'class' => 'btn btn-success btn-sm mr5 ml5' - ]; -} -$grid -> buttons[] = [ - 'label' => '', - 'url' => '#', - 'icon' => 'fa-ellipsis-v', - 'class' => 'btn btn-primary', - 'id' => 'integrationsDropdownBtn' -]; -$grid -> default_buttons = false; -$grid -> external_code = $out; -echo $grid -> draw(); -?> - \ No newline at end of file + $orderId, + 'trustmate_send' => (int)($this -> order['trustmate_send'] ?? 0), +]);?> \ No newline at end of file diff --git a/admin/templates/shop-order/order-edit-custom-script.php b/admin/templates/shop-order/order-edit-custom-script.php new file mode 100644 index 0000000..bea0136 --- /dev/null +++ b/admin/templates/shop-order/order-edit-custom-script.php @@ -0,0 +1,244 @@ + diff --git a/admin/templates/shop-order/order-edit.php b/admin/templates/shop-order/order-edit.php index 626493e..46b6fec 100644 --- a/admin/templates/shop-order/order-edit.php +++ b/admin/templates/shop-order/order-edit.php @@ -1,9 +1,22 @@ order['id'] ?? 0); ?> - -
    + +
    Edycja zamówienia: order['number'] ?? ''), ENT_QUOTES, 'UTF-8');?>
    + +
    + + + Wstecz + +
    + +
    + +
    +
    @@ -71,13 +84,18 @@ ob_start();
    -
    Kwota zamówienia order[ 'summary' ];?> zł
    +
    Kwota zamówienia order[ 'summary' ];?> zł
    +
    + Produkty: 0,00 +  |  + Dostawa: order['transport_cost'] ?? 0), 2, ',', '');?> +

    - payment_methods ) ): foreach ( $this -> payment_methods as $payment_method ):?> + payment_methods ) ): foreach ( $this -> payment_methods as $payment_method ):?> @@ -130,7 +148,7 @@ ob_start();
    - order['statuses'] ) ): foreach ( $this -> order['statuses'] as $status ):?> + order['statuses'] ) ): foreach ( $this -> order['statuses'] as $status ):?>
    : order_statuses[$status['status_id']];?>
    @@ -147,46 +165,75 @@ ob_start();
    +
    Produkty zamówienia:
    - +
    - + - - - - + + + + + - - order[ 'products' ] ) ): foreach ( $this -> order[ 'products' ] as $product ):?> - + + + order[ 'products' ] ) ): foreach ( $this -> order[ 'products' ] as $i => $product ):?> + + + + + + + + + + + - - - -
    ZdjęcieZdjęcie NazwaIlośćCena / szt:Cena / szt (po rabacie):Suma (po rabacie):IlośćCena / szt:Cena promo:Suma:
    - + - -
    -
    - -
    -
    -
    - Wiadomość: ' . $product['message'] : '';?> -
    + + +
    + + +
    Wiadomość:
    + +
    + + + + + + + 0 ? (float)$product['price_brutto_promo'] : (float)$product['price_brutto']) * (int)$product['quantity'], 2, ',', '');?> zł + +
    -
    +
    + +
    +
    Dodaj produkt:
    +
    +
    +
    + + +
    +
    +
    +
    @@ -199,71 +246,21 @@ ob_start();
    +
    - -$grid = new \gridEdit; -$grid -> id = 'order-details'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Szczegóły zamówienia: ' . $this -> order[ 'number' ]; -$grid -> buttons = [ - [ - 'label' => 'Zapisz zamówienie', - 'icon' => 'fa-save', - 'class' => 'btn btn-success btn-sm mr5 ml5', - 'id' => 'order-save' - ], - [ - 'label' => 'Wstecz', - 'url' => '/admin/shop_order/order_details/order_id=' . $this -> order['id'], - 'icon' => 'fa-reply', - 'class' => 'btn btn-dark btn-sm mr5' - ] -]; -$grid -> default_buttons = false; -$grid -> external_code = $out; -echo $grid -> draw(); -?>
    - +
    \ No newline at end of file +var orderEditConfig = { + transports: transports_json ?? '[]';?>, + freeDelivery: free_delivery ?? 0);?>, + currentTransportCost: order['transport_cost'] ?? 0);?> +}; + + \ No newline at end of file diff --git a/admin/templates/shop-order/orders-list.php b/admin/templates/shop-order/orders-list.php new file mode 100644 index 0000000..a28e805 --- /dev/null +++ b/admin/templates/shop-order/orders-list.php @@ -0,0 +1,2 @@ +
    Lista zamówień
    + $this->viewModel]); ?> diff --git a/admin/templates/shop-payment-method/payment-method-edit.php b/admin/templates/shop-payment-method/payment-method-edit.php new file mode 100644 index 0000000..d92a9df --- /dev/null +++ b/admin/templates/shop-payment-method/payment-method-edit.php @@ -0,0 +1 @@ + $this->form]); ?> diff --git a/admin/templates/shop-payment-method/payment-methods-list.php b/admin/templates/shop-payment-method/payment-methods-list.php new file mode 100644 index 0000000..8836268 --- /dev/null +++ b/admin/templates/shop-payment-method/payment-methods-list.php @@ -0,0 +1 @@ + $this->viewModel]); ?> diff --git a/admin/templates/shop-producer/edit.php b/admin/templates/shop-producer/edit.php index ffe97ce..6a03486 100644 --- a/admin/templates/shop-producer/edit.php +++ b/admin/templates/shop-producer/edit.php @@ -36,7 +36,7 @@ ob_start(); 'id' => 'img', 'value' => $this -> producer['img'], 'icon_content' => 'przeglądaj', - 'icon_js' => "window.open ( 'http://" . $_SERVER['SERVER_NAME'] . "/libraries/filemanager-9.14.2/dialog.php?type=1&popup=1&field_id=img&akey=" . $rfmAkeyJS . "', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');" + 'icon_js' => "window.open ( '/libraries/filemanager-9.14.2/dialog.php?type=1&popup=1&field_id=img&akey=" . $rfmAkeyJS . "', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');" ] ); ?>
    @@ -177,4 +177,4 @@ echo $grid -> draw(); tabidentify: 'languages-main' }); }); - \ No newline at end of file + diff --git a/admin/templates/shop-producer/producer-edit.php b/admin/templates/shop-producer/producer-edit.php new file mode 100644 index 0000000..d92a9df --- /dev/null +++ b/admin/templates/shop-producer/producer-edit.php @@ -0,0 +1 @@ + $this->form]); ?> diff --git a/admin/templates/shop-producer/producers-list.php b/admin/templates/shop-producer/producers-list.php new file mode 100644 index 0000000..8836268 --- /dev/null +++ b/admin/templates/shop-producer/producers-list.php @@ -0,0 +1 @@ + $this->viewModel]); ?> diff --git a/admin/templates/shop-product-sets/product-set-edit-custom-script.php b/admin/templates/shop-product-sets/product-set-edit-custom-script.php new file mode 100644 index 0000000..23d8702 --- /dev/null +++ b/admin/templates/shop-product-sets/product-set-edit-custom-script.php @@ -0,0 +1,64 @@ + + + + diff --git a/admin/templates/shop-product-sets/product-set-edit.php b/admin/templates/shop-product-sets/product-set-edit.php new file mode 100644 index 0000000..a669c3c --- /dev/null +++ b/admin/templates/shop-product-sets/product-set-edit.php @@ -0,0 +1,2 @@ + $this->form]); ?> + diff --git a/admin/templates/shop-product-sets/product-sets-list.php b/admin/templates/shop-product-sets/product-sets-list.php new file mode 100644 index 0000000..8836268 --- /dev/null +++ b/admin/templates/shop-product-sets/product-sets-list.php @@ -0,0 +1 @@ + $this->viewModel]); ?> diff --git a/admin/templates/shop-product/mass-edit-custom-script.php b/admin/templates/shop-product/mass-edit-custom-script.php new file mode 100644 index 0000000..dd09b8d --- /dev/null +++ b/admin/templates/shop-product/mass-edit-custom-script.php @@ -0,0 +1,158 @@ + + diff --git a/admin/templates/shop-product/mass-edit.php b/admin/templates/shop-product/mass-edit.php index 1bae7f7..a3e3b60 100644 --- a/admin/templates/shop-product/mass-edit.php +++ b/admin/templates/shop-product/mass-edit.php @@ -1,4 +1,56 @@ -
    + + + + + +
    Masowa edycja produktów
    @@ -8,7 +60,7 @@
    - +
    @@ -24,200 +76,39 @@
    - products as $key => $product ):?> -
    - - + products ) ): foreach ( $this->products as $key => $product ): ?> +
    + +
    - +
    - - \ No newline at end of file + diff --git a/admin/templates/shop-product/product-combination.php b/admin/templates/shop-product/product-combination.php index 3b627d0..e3f9564 100644 --- a/admin/templates/shop-product/product-combination.php +++ b/admin/templates/shop-product/product-combination.php @@ -1,7 +1,7 @@
    - Kobinacje produktu: product['languages'][ $this -> default_language ]['name'];?> + Kombinacje produktu: product['languages'][ $this -> default_language ]['name'];?>
    Wstecz @@ -13,53 +13,43 @@ - - - + - product_permutations ) ): foreach ( $this -> product_permutations as $product ):?> - - + product_permutations ) ): foreach ( $this -> product_permutations as $product ):?> + - @@ -74,6 +64,7 @@
    default_language ]['name'];?> +
      @@ -101,10 +92,90 @@ radioClass: 'iradio_minimal-blue' }); + // "Zaznacz wszystkie" per atrybut + $( '.select-all-attr' ).on( 'ifChanged', function() + { + var checked = $( this ).is( ':checked' ); + $( this ).closest( '.combination-attribute' ).find( '.g-checkbox' ).each( function() + { + $( this ).iCheck( checked ? 'check' : 'uncheck' ); + }); + }); + + // Inline save — SKU, ilość, cena + var fieldUrlMap = { + 'sku': '/admin/shop_product/product_combination_sku_save/', + 'quantity': '/admin/shop_product/product_combination_quantity_save/', + 'price': '/admin/shop_product/product_combination_price_save/' + }; + + $( 'body' ).on( 'change', '.combination-field', function() + { + var $input = $( this ); + var field = $input.data( 'field' ); + var data = { product_id: $input.data( 'product-id' ) }; + data[ field ] = $input.val(); + + $.ajax({ + type: 'POST', + cache: false, + url: fieldUrlMap[ field ], + data: data, + beforeSend: function() { + $( '#overlay' ).show(); + }, + success: function( data ) { + $( '#overlay' ).hide(); + var response = jQuery.parseJSON( data ); + if ( response.status === 'ok' ) { + $input.css( 'border-color', '#1cbb8c' ); + setTimeout( function() { $input.css( 'border-color', '' ); }, 1500 ); + } else { + $input.css( 'border-color', '#ff3d60' ); + setTimeout( function() { $input.css( 'border-color', '' ); }, 1500 ); + if ( response.msg ) create_error( response.msg ); + } + }, + error: function() { + $( '#overlay' ).hide(); + $input.css( 'border-color', '#ff3d60' ); + setTimeout( function() { $input.css( 'border-color', '' ); }, 1500 ); + } + }); + }); + + // Inline save — checkbox stock_0_buy (iCheck event) + $( 'body' ).on( 'ifChanged', '.combination-checkbox', function() + { + var $cb = $( this ); + + $.ajax({ + type: 'POST', + cache: false, + url: '/admin/shop_product/product_combination_stock_0_buy_save/', + data: { product_id: $cb.data( 'product-id' ), stock_0_buy: $cb.is( ':checked' ) }, + beforeSend: function() { + $( '#overlay' ).show(); + }, + success: function( data ) { + $( '#overlay' ).hide(); + var response = jQuery.parseJSON( data ); + if ( response.status !== 'ok' && response.msg ) { + create_error( response.msg ); + } + }, + error: function() { + $( '#overlay' ).hide(); + } + }); + }); + + // Usuwanie kombinacji — AJAX $( 'body' ).on( 'click', '.btn-delete-permutation', function(e) { e.preventDefault(); - var href = $( this ).attr( 'href' ); + var combinationId = $( this ).data( 'combination-id' ); + var $row = $( this ).closest( 'tr' ); $.alert( { @@ -128,96 +199,34 @@ text: 'Tak', btnClass: 'btn-danger', keys: ['enter'], - action: function() { - document.location.href = href; + action: function() + { + $.ajax({ + type: 'POST', + cache: false, + url: '/admin/shop_product/delete_combination_ajax/', + data: { combination_id: combinationId }, + beforeSend: function() { + $( '#overlay' ).show(); + }, + success: function( data ) { + $( '#overlay' ).hide(); + var response = jQuery.parseJSON( data ); + if ( response.status === 'ok' ) { + $row.fadeOut( 300, function() { $( this ).remove(); } ); + } else { + if ( response.msg ) create_error( response.msg ); + } + }, + error: function() { + $( '#overlay' ).hide(); + } + }); } } } }); - - return false; }); - $( 'body' ).on( 'click', '.baselinker-product-search', function() { - var product_id = $( this ).attr( 'product-id' ); - - $.ajax({ - type: 'POST', - cache: false, - url: '/admin/shop_product/baselinker_product_search/', - data: { - product_id: product_id - }, - beforeSend: function() { - $( '#overlay' ).show(); - }, - success: function( response ) { - data = jQuery.parseJSON( response ); - - if ( data.status == 'SUCCESS' ) { - $('.baselinker-found-products').remove(); - var html = '
      '; - html += '

      Znaleziono ' + data.products.length + ' produktów

      '; - html += ''; - html += ''; - html += '
      '; - $( 'span[product-id="' + product_id + '"]' ).closest( 'td' ).append( html ); - } else if ( data.status == 'error' ) { - $.alert({ - title: 'Błąd', - content: data.msg, - type: 'red', - closeIcon: true, - closeIconClass: 'fa fa-times', - typeAnimated: true, - animation: 'opacity', - columnClass: 'col-12 col-lg-10', - theme: 'modern', - icon: 'fa fa-exclamation-triangle', - buttons: { - confirm: { - text: 'OK', - btnClass: 'btn-danger', - keys: ['enter'], - action: function() {} - } - } - }); - } - } - }); - }); - - $( 'body' ).on( 'click', '.baselinker-product-select-save', function(){ - var product_id = $( this ).attr( 'product-id' ); - var baselinker_product_id = $( '.baselinker-product-select[product-id="' + product_id + '"]' ).val(); - var baselinker_product_name = $( '.baselinker-product-select[product-id="' + product_id + '"] option:selected' ).text(); - - $.ajax({ - type: 'POST', - cache: false, - url: '/admin/shop_product/baselinker_product_select_save/', - data: { - product_id: product_id, - baselinker_product_id: baselinker_product_id, - baselinker_product_name: baselinker_product_name - }, - beforeSend: function() { - $( '#overlay' ).show(); - }, - success: function( response ) { - data = jQuery.parseJSON( response ); - - if ( data.status == 'ok' ) { - $( '.baselinker-product-select[product-id="' + product_id + '"]' ).closest( '.baselinker-found-products' ).remove(); - $( 'span[product-id="' + product_id + '"]' ).html( '' + baselinker_product_name.substr( 0, 25 ) + '...' ).removeClass( 'baselinker-product-search' ).removeClass( 'text-danger' ); - } - } - }); - }); }); - \ No newline at end of file + diff --git a/admin/templates/shop-product/product-edit-custom-script.php b/admin/templates/shop-product/product-edit-custom-script.php new file mode 100644 index 0000000..12a47f5 --- /dev/null +++ b/admin/templates/shop-product/product-edit-custom-script.php @@ -0,0 +1,631 @@ +product ?? null) ? $this->product : []; +$productId = (int)($product['id'] ?? 0); +$userId = (int)($this->user['id'] ?? 0); +$imagesCount = is_array($product['images'] ?? null) ? count($product['images']) : 0; +$filesCount = is_array($product['files'] ?? null) ? count($product['files']) : 0; + +$imageMaxPx = 1920; +if (isset($GLOBALS['settings']['image_px']) && (int)$GLOBALS['settings']['image_px'] > 0) { + $imageMaxPx = (int)$GLOBALS['settings']['image_px']; +} + +$uploadToken = bin2hex(random_bytes(24)); +if (!isset($_SESSION['upload_tokens']) || !is_array($_SESSION['upload_tokens'])) { + $_SESSION['upload_tokens'] = []; +} +$_SESSION['upload_tokens'][$uploadToken] = [ + 'user_id' => $userId, + 'expires' => time() + 60 * 20, +]; + +$cookieCategories = []; +if (!empty($_COOKIE['cookie_categories'])) { + $decoded = @unserialize($_COOKIE['cookie_categories']); + if (is_array($decoded)) { + $cookieCategories = $decoded; + } +} +?> + + + + + + + + + + + + + + + + + + diff --git a/admin/templates/shop-product/product-edit.php b/admin/templates/shop-product/product-edit.php index cea3d11..b2bb2fd 100644 --- a/admin/templates/shop-product/product-edit.php +++ b/admin/templates/shop-product/product-edit.php @@ -1,1314 +1,6 @@ - - - - $this -> user['id'], - 'expires' => time() + 60*20 -]; - -$_SESSION['rfm_akey'] = bin2hex(random_bytes(16)); -$_SESSION['rfm_akey_expires'] = time() + 20*60; -$_SESSION['can_use_rfm'] = true; -$rfmAkeyJS = $_SESSION['rfm_akey']; - -ob_start(); -?> - -
      -
        -
      • Opis
      • -
      • Zakładki
      • -
      • Cena
      • -
      • Magazyn
      • -
      • Ustawienia
      • -
      • SEO
      • -
      • Wyświetlanie
      • -
      • Galeria
      • -
      • Załączniki
      • -
      • Produkty powiązane
      • -
      • XML
      • -
      • Dodatkowe pola
      • -
      • GPSR
      • -
      -
      -
      -
      -
        - languages)) : foreach ($this->languages as $lg) : ?> - -
      • '; ?>
      • - - -
      -
      - languages)) : foreach ($this->languages as $lg) : ?> - languages)) - foreach ($this->languages as $lg_tmp) - { - if ($lg_tmp['id'] != $lg['id']) - $languages[$lg_tmp['id']] = $lg_tmp['name']; - } - ?> - -
      - 'Wyświetlaj treść z wersji', - 'name' => 'copy_from[' . $lg['id'] . ']', - 'values' => $languages, - 'value' => $this->product['languages'][$lg['id']]['copy_from'], - ) - ); - ?> - 'Nazwa', - 'name' => 'name[' . $lg['id'] . ']', - 'id' => 'name_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['name'], - 'inline' => true - ) - ); - ?> - 'Komunikat gdy stan magazynowy równy 0', - 'name' => 'warehouse_message_zero[' . $lg['id'] . ']', - 'id' => 'warehouse_message_zero_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['warehouse_message_zero'], - 'inline' => true - ) - ); - ?> - 'Komunikat gdy stan magazynowy większy niż 0', - 'name' => 'warehouse_message_nonzero[' . $lg['id'] . ']', - 'id' => 'warehouse_message_nonzero_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['warehouse_message_nonzero'], - 'inline' => true - ) - ); - ?> - 'Krótki opis', - 'name' => 'short_description[' . $lg['id'] . ']', - 'id' => 'short_description_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['short_description'], - 'inline' => true - ) - ); - ?> - 'Opis', - 'name' => 'description[' . $lg['id'] . ']', - 'id' => 'description_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['description'], - 'inline' => true - ) - ); - ?> - -
      - - -
      -
      -
      -
      -
      -
      -
        - languages)) : foreach ($this->languages as $lg) : ?> - -
      • '; ?>
      • - - -
      -
      - languages)) : foreach ($this->languages as $lg) : ?> - languages)) - foreach ($this->languages as $lg_tmp) - { - if ($lg_tmp['id'] != $lg['id']) - $languages[$lg_tmp['id']] = $lg_tmp['name']; - } - ?> - -
      - 'Nazwa zakładki (1)', - 'name' => 'tab_name_1[' . $lg['id'] . ']', - 'id' => 'tab_name_1_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['tab_name_1'], - 'inline' => true - ) - ); - ?> - 'Zawartość zakładki (1)', - 'name' => 'tab_description_1[' . $lg['id'] . ']', - 'id' => 'tab_description_1_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['tab_description_1'], - 'inline' => true - ) - ); - ?> - 'Nazwa zakładki (2)', - 'name' => 'tab_name_2[' . $lg['id'] . ']', - 'id' => 'tab_name_2_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['tab_name_2'], - 'inline' => true - ) - ); - ?> - 'Zawartość zakładki (2)', - 'name' => 'tab_description_2[' . $lg['id'] . ']', - 'id' => 'tab_description_2_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['tab_description_2'], - 'inline' => true - ) - ); - ?> - -
      - - -
      -
      -
      -
      -
      - 'VAT (%)', - 'name' => 'vat', - 'id' => 'vat', - 'class' => 'int-format', - 'value' => $this->product['id'] ? $this->product['vat'] : 23, - 'onchange' => 'calculate_price_brutto(); return false;' - ) - ); - ?> - 'Cena netto (PLN)', - 'name' => 'price_netto', - 'id' => 'price_netto', - 'class' => 'number-format', - 'value' => $this->product['price_netto'], - 'onchange' => 'calculate_price_brutto(); return false;' - ) - ); - ?> - 'Cena brutto (PLN)', - 'name' => 'price_brutto', - 'id' => 'price_brutto', - 'class' => 'number-format', - 'value' => $this->product['price_brutto'], - 'onchange' => 'calculate_price_netto(); return false;' - ) - ); - ?> - 'Promocyjna cena netto (PLN)', - 'name' => 'price_netto_promo', - 'id' => 'price_netto_promo', - 'class' => 'number-format', - 'value' => $this->product['price_netto_promo'], - 'onchange' => 'calculate_price_brutto_promo(); return false;' - ) - ); - ?> - 'Promocyjna cena brutto (PLN)', - 'name' => 'price_brutto_promo', - 'id' => 'price_brutto_promo', - 'class' => 'number-format', - 'value' => $this->product['price_brutto_promo'], - 'onchange' => 'calculate_price_netto_promo(); return false;' - ) - ); - ?> - - units as $unit) - $units[$unit['id']] = $unit['text']; - ?> - 'Jednostka miary', - 'name' => 'product_unit', - 'id' => 'product_unit', - 'values' => $units, - 'value' => $this->product['product_unit_id'] - ]); ?> - 'Waga/pojemność', - 'name' => 'weight', - 'id' => 'weight', - 'class' => 'number-format', - 'value' => $this->product['weight'] - ]); ?> -
      -
      - 'Stan magazynowy', - 'name' => 'quantity', - 'id' => 'quantity', - 'class' => 'int-format', - 'value' => $this->product['quantity'] - ]); - ?> - 'Pozwól zamawiać gdy stan 0', - 'name' => 'stock_0_buy', - 'checked' => $this->product['stock_0_buy'] == 1 ? true : false - ]); - ?> - 'Współczynnik WP', - 'name' => 'wp', - 'id' => 'wp', - 'class' => 'number-format', - 'value' => $this->product['wp'] - ]); - ?> - 'Kod SKU', - 'name' => 'sku', - 'id' => 'sku', - 'value' => $this->product['sku'], - 'icon_content' => 'generuj', - 'icon_js' => 'generate_sku_code( ' . (int)$this->product['id'] . ' );' - ]); ?> - 'EAN', - 'name' => 'ean', - 'id' => 'ean', - 'value' => $this->product['ean'] - ]); ?> -
      -
      - 'Widoczny', - 'name' => 'status', - 'checked' => $this->product['status'] == 1 or !$this->product['id'] ? true : false - ]); - ?> - 'Promowany', - 'name' => 'promoted', - 'checked' => $this->product['promoted'] == 1 ? true : false - ]); - ?> - 'Nowość do dnia', - 'name' => 'new_to_date', - 'id' => 'new_to_date', - 'class' => 'date', - 'value' => $this->product['new_to_date'] - ]); - ?> - 'Wyświetlaj pole na dodatkową wiadomość', - 'name' => 'additional_message', - 'checked' => $this->product['additional_message'] == 1 ? true : false - ]); - ?> - 'Dodatkowa wiadomość jest wymagana', - 'name' => 'additional_message_required', - 'checked' => $this->product['additional_message_required'] == 1 ? true : false - ]); - ?> - 'Dodatkowa wiadomość (treść komunikatu)', - 'name' => 'additional_message_text', - 'id' => 'additional_message_text', - 'value' => $this->product['additional_message_text'] - ]); - ?> -
      -
      -
      -
        - languages)) : foreach ($this->languages as $lg) : ?> - -
      • '; ?>
      • - - -
      -
      - languages)) : foreach ($this->languages as $lg) : ?> - -
      - 'Link SEO', - 'name' => 'seo_link[' . $lg['id'] . ']', - 'id' => 'seo_link_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['seo_link'], - 'icon_content' => 'generuj', - 'icon_js' => 'generate_seo_links( "' . $lg['id'] . '", $( "#name_' . $lg['id'] . '" ).val(), ' . (int)$this->product['id'] . ' );' - ) - ); - ?> - 'Meta title', - 'name' => 'meta_title[' . $lg['id'] . ']', - 'id' => 'meta_title_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['meta_title'] - ]); ?> - 'Meta description', - 'name' => 'meta_description[' . $lg['id'] . ']', - 'id' => 'meta_description_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['meta_description'] - ) - ); - ?> - 'Meta keywords', - 'name' => 'meta_keywords[' . $lg['id'] . ']', - 'id' => 'meta_keywords_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['meta_keywords'] - ) - ); - ?> - 'Canonical', - 'name' => 'canonical[' . $lg['id'] . ']', - 'id' => 'canonical_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['canonical'] - ]); ?> -
      - - -
      -
      -
      -
      -
      - layouts)) : foreach ($this->layouts as $layout) : - $layouts[$layout['id']] = $layout['name']; - endforeach; - endif; - ?> - 'Szablon', - 'name' => 'layout_id', - 'id' => 'layout_id', - 'values' => $layouts, - 'value' => $this->product['layout_id'] - ]); - ?> -
      - -
      - -
      -
      -
      -
      -
      -
        - product['images'])) : foreach ($this->product['images'] as $img) : - ?> -
      • - - - - - -
      • - -
      -
      You browser doesn't have Flash installed.
      -
      -
      -
        - product['files'])) : foreach ($this->product['files'] as $file) : - - if ($file['name']) - $name = $file['name']; - else - { - $name = explode('/', $file['src']); - $name = $name[count($name) - 1]; - } - ?> -
      • -
        - - - - -
        -
      • - -
      -
      You browser doesn't have Flash installed.
      -
      -
      -
      - -
      - -
      -
      -
      - -
      - -
      -
      -
      -
      -
      - -
      - - languages)) : foreach ($this->languages as $lg) : ?> - -
      - -
      - -
      -
      - - -
      -
      - 'Custom label 0', - 'name' => 'custom_label_0', - 'id' => 'custom_label_0', - 'value' => $this->product['custom_label_0'] - ]); - ?> - 'Custom label 1', - 'name' => 'custom_label_1', - 'id' => 'custom_label_1', - 'value' => $this->product['custom_label_1'] - ]); - ?> - 'Custom label 2', - 'name' => 'custom_label_2', - 'id' => 'custom_label_2', - 'value' => $this->product['custom_label_2'] - ]); - ?> - 'Custom label 3', - 'name' => 'custom_label_3', - 'id' => 'custom_label_3', - 'value' => $this->product['custom_label_3'] - ]); - ?> - 'Custom label 4', - 'name' => 'custom_label_4', - 'id' => 'custom_label_4', - 'value' => $this->product['custom_label_4'] - ]); - ?> -
      -
      - dodaj niestandardowe pole -
      - product['custom_fields'] ) ) : foreach ( $this->product['custom_fields'] as $field ):?> - -
      - -
      -
      - - - - - usuń -
      -
      -
      - -
      -
      -
      - producers as $producer) - $producers[$producer['id']] = $producer['name']; - ?> - 'Producent', - 'name' => 'producer_id', - 'id' => 'producer_id', - 'values' => $producers, - 'value' => $this->product['producer_id'] - ]); ?> -
      -
        - languages ) ): foreach ( $this -> languages as $lg ):?> - -
      • '; ?>
      • - - -
      -
      - languages ) ): foreach ( $this -> languages as $lg ):?> - -
      - 'Informacje o bezpieczeństwie ('.$lg['name'].')', - 'name' => 'security_information[' . $lg['id'] . ']', - 'id' => 'security_information_' . $lg['id'], - 'value' => $this->product['languages'][$lg['id']]['security_information'] - ] );?> -
      - - - -
      -
      -
      -
      -
      -
      -id = 'product-edit'; -$grid->gdb_opt = $gdb; -$grid->include_plugins = true; -$grid->title = $this->product['id'] ? 'Edycja produktu: ' . $this->product['languages'][\front\factory\Languages::default_language()]['name'] . '' : 'Edycja produktu'; -$grid->fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this->product['id'] - ] -]; -$grid->actions = [ - 'save' => ['url' => '/admin/shop_product/save/', 'back_url' => '/admin/shop_product/view_list/'], - 'cancel' => ['url' => '/admin/shop_product/view_list/'] -]; -$grid->buttons = [ - [ - 'label' => 'Podgląd', - 'id' => 'product-preview', - 'url' => '#', - 'icon' => 'fa-search', - 'class' => 'btn-primary' - ] -]; -$grid->external_code = $out; -$grid->persist_edit = true; -$grid->id_param = 'id'; - -echo $grid->draw(); -?> - - - - - - - - - - - - - - - - - \ No newline at end of file + $this->form]); ?> + $this->product, + 'user' => $this->user, + 'languages' => $this->form->languages ?? [] +]); ?> diff --git a/admin/templates/shop-product/products-list-custom-script.php b/admin/templates/shop-product/products-list-custom-script.php new file mode 100644 index 0000000..7830c84 --- /dev/null +++ b/admin/templates/shop-product/products-list-custom-script.php @@ -0,0 +1,302 @@ + shoppro_enabled ):?> + + + + + + diff --git a/admin/templates/shop-product/products-list-table.php b/admin/templates/shop-product/products-list-table.php index f132253..a30306d 100644 --- a/admin/templates/shop-product/products-list-table.php +++ b/admin/templates/shop-product/products-list-table.php @@ -36,23 +36,6 @@
    - baselinker_enabled ):?> - - apilo_enabled ):?> - - sellasist_enabled ):?> - - diff --git a/admin/templates/shop-product/products-list.php b/admin/templates/shop-product/products-list.php index f4794e0..3ad71e7 100644 --- a/admin/templates/shop-product/products-list.php +++ b/admin/templates/shop-product/products-list.php @@ -1,871 +1,9 @@ -
    -
    - Dodaj produkt - - show_xml_data ):?> - Pokaż dane z XML - - Ukryj dane z XML - - shoppro_enabled ):?> - Pobierz produkt z shopPRO - -
    -
    -
    -
    Kombinacja SKU Stan magazynowy Cena nettoZam. SM 0BaselinkerZam. przy braku Opcje
    ' . \admin\factory\ShopAttribute::get_attribute_value_by_id( $attribute_tmp[1] ) . ''; + $attrRepo = new \Domain\Attribute\AttributeRepository( $GLOBALS['mdb'] ); + echo $attrRepo->getAttributeNameById( (int)$attribute_tmp[0], $this -> default_language ) . ' - ' . $attrRepo->getAttributeValueById( (int)$attribute_tmp[1], $this -> default_language ) . ''; if ( $attribute != end( $attributes ) ) echo ', '; endforeach; ?> - + - + - + - onchange="$.ajax({ type: 'POST', cache: false, url: '/admin/shop_product/product_combination_stock_0_buy_save/', data: { product_id: , stock_0_buy: $( this ).is( ':checked' ) } } );"> - - " . substr( $product['baselinker_product_name'], 0, 25 ) . "..."; - else - echo "nie przypisano "; - ?> + > - +
    - " . mb_substr( $product['baselinker_product_name'], 0, 25, 'UTF-8' ) . "..."; - echo "
    "; - echo ""; - echo "usuń powiązanie"; - echo ""; - } else { - echo ""; - echo "nie przypisano "; - echo ""; - } - ?> -
    - " . mb_substr( $product['sellasist_product_name'], 0, 25, "UTF-8" ) . "..."; - echo "
    "; - echo ""; - echo "usuń powiązanie"; - echo ""; - } else { - echo ""; - echo "nie przypisano "; - echo ""; - } - ?> -
    '>kombinacje ()
    - - - - - - - - - - baselinker_enabled ):?> - - - apilo_enabled ):?> - - - sellasist_enabled ):?> - - - - - - - - - - - - - - - - - - - - -
    #NazwaCenaCena promocyjnaPromowanyAktywnyStan MGBaselinkerApiloSellasistKombinacjeEdytujArchiwizuj
    - -
    - -
    -
    -
    -
    - \ No newline at end of file + $this->viewModel]); ?> + +viewModel->customScriptView)): ?> + viewModel->customScriptView, [ + 'list' => $this->viewModel, + 'apilo_enabled' => $this->apilo_enabled, + 'shoppro_enabled' => $this->shoppro_enabled, + ]); ?> + diff --git a/admin/templates/shop-product/subcategories-list.php b/admin/templates/shop-product/subcategories-list.php index 80bece4..ba0d672 100644 --- a/admin/templates/shop-product/subcategories-list.php +++ b/admin/templates/shop-product/subcategories-list.php @@ -3,14 +3,16 @@ categories as $category ):?>
  • - + ';?> product_categories ) and in_array( $category[ 'id' ], $this -> product_categories ) ):?>checked="checked" /> dlang ][ 'title' ];?>
    \admin\factory\ShopCategory::subcategories( $category[ 'id' ] ), + \Shared\Tpl\Tpl::view( 'shop-product/subcategories-list', [ + 'categories' => ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories( $category[ 'id' ] ), 'product_categories' => $this -> product_categories, 'dlang' => $this -> dlang, 'name' => $this -> name diff --git a/admin/templates/shop-promotion/promotion-categories-selector.php b/admin/templates/shop-promotion/promotion-categories-selector.php new file mode 100644 index 0000000..1750888 --- /dev/null +++ b/admin/templates/shop-promotion/promotion-categories-selector.php @@ -0,0 +1,19 @@ +label ?? 'Kategorie')); +$inputName = trim((string)($this->inputName ?? 'categories[]')); +$categories = is_array($this->categories ?? null) ? $this->categories : []; +$selectedIds = is_array($this->selectedIds ?? null) ? $this->selectedIds : []; +?> +
    + +
    +
    + $categories, + 'selectedIds' => $selectedIds, + 'inputName' => $inputName, + ]); ?> +
    +
    +
    + diff --git a/admin/templates/shop-promotion/promotion-categories-tree.php b/admin/templates/shop-promotion/promotion-categories-tree.php new file mode 100644 index 0000000..0d70355 --- /dev/null +++ b/admin/templates/shop-promotion/promotion-categories-tree.php @@ -0,0 +1,68 @@ +categories ?? null) ? $this->categories : []; +$inputName = trim((string)($this->inputName ?? 'categories[]')); +$selectedRaw = is_array($this->selectedIds ?? null) ? $this->selectedIds : []; +$selected = []; +foreach ($selectedRaw as $value) { + $id = (int)$value; + if ($id > 0) { + $selected[$id] = true; + } +} +?> + +
      + + +
    1. +
      + + + + + + + + + + + +
      + + + $children, + 'selectedIds' => array_keys($selected), + 'inputName' => $inputName, + ]); ?> + +
    2. + +
    + + diff --git a/admin/templates/shop-promotion/promotion-edit-custom-script.php b/admin/templates/shop-promotion/promotion-edit-custom-script.php new file mode 100644 index 0000000..69e0189 --- /dev/null +++ b/admin/templates/shop-promotion/promotion-edit-custom-script.php @@ -0,0 +1,115 @@ + + + + diff --git a/admin/templates/shop-promotion/promotion-edit.php b/admin/templates/shop-promotion/promotion-edit.php index 44bce00..e8d9fc9 100644 --- a/admin/templates/shop-promotion/promotion-edit.php +++ b/admin/templates/shop-promotion/promotion-edit.php @@ -1,257 +1,3 @@ - - -
    -
      -
    • Ustawienia
    • -
    -
    -
    - 'Nazwa', - 'name' => 'name', - 'id' => 'name', - 'value' => $this -> promotion['name'] - ] ); - ?> - 'Aktywna', - 'name' => 'status', - 'checked' => $this -> promotion['status'] == 1 ? true : false - ] ); - ?> - 'Łącz z kuponami rabatowymi', - 'name' => 'include_coupon', - 'checked' => $this -> promotion['include_coupon'] == 1 ? true : false - ] ); - ?> - 'Uwzględnij produkty przecenione', - 'name' => 'include_product_promo', - 'checked' => $this -> promotion['include_product_promo'] == 1 ? true : false - ] ); - ?> - 'Warunki promocji', - 'id' => 'condition_type', - 'name' => 'condition_type', - 'values' => \shop\Promotion::$condition_type, - 'value' => $this -> promotion['condition_type'], - ] ); - ?> - 'Typ rabatu', - 'id' => 'discount_type', - 'name' => 'discount_type', - 'values' => \shop\Promotion::$discount_type, - 'value' => $this -> promotion['discount_type'], - ] ); - ?> - 'Min. ilość produktów z danej kategorii', - 'class' => 'int-format', - 'name' => 'min_product_count', - 'id' => 'min_product_count', - 'value' => $this -> promotion['min_product_count'] - ] );?> - 'Cena najtańszego produktu', - 'class' => 'number-format', - 'name' => 'price_cheapest_product', - 'id' => 'price_cheapest_product', - 'value' => $this -> promotion['price_cheapest_product'] - ] ); - ?> - 'Wartość', - 'class' => 'number-format', - 'name' => 'amount', - 'id' => 'amount', - 'value' => $this -> promotion['amount'] - ] ); - ?> - 'Data do', - 'class' => 'date', - 'name' => 'date_to', - 'id' => 'date_to', - 'value' => $this -> promotion['date_to'] - ] ); - ?> -
    - -
    - -
    -
    -
    -
    - -
    - -
    -
    -
    -
    -
    - $this->form]); ?> + -$grid = new \gridEdit; -$grid -> id = 'promotion-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = $this -> promotion['id'] ? 'Edycja promocji: ' . $this -> promotion['name'] . '' : 'Nowa promocja'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> promotion['id'] - ] -]; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/shop_promotion/save/', 'back_url' => '/admin/shop_promotion/view_list/' ], - 'cancel' => [ 'url' => '/admin/shop_promotion/view_list/' ] -]; -$grid -> external_code = $out; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; - -echo $grid -> draw(); -?> - - - - - - - \ No newline at end of file diff --git a/admin/templates/shop-promotion/promotions-list.php b/admin/templates/shop-promotion/promotions-list.php new file mode 100644 index 0000000..b0e03a9 --- /dev/null +++ b/admin/templates/shop-promotion/promotions-list.php @@ -0,0 +1,2 @@ + $this->viewModel]); ?> + diff --git a/admin/templates/shop-statuses/status-edit.php b/admin/templates/shop-statuses/status-edit.php index d11b71f..d92a9df 100644 --- a/admin/templates/shop-statuses/status-edit.php +++ b/admin/templates/shop-statuses/status-edit.php @@ -1,108 +1 @@ - - - apilo_order_status_list as $apilo_status ) -{ - $apilo_status_types_list[ $apilo_status['id'] ] = $apilo_status['name']; -} -// statusy sellasist -$sellasist_status_types_list[''] = '--- wybierz status sellasist ---'; -foreach ( $this -> sellasist_status_types_list as $sellasist_status ) -{ - $sellasist_status_types_list[ $sellasist_status['id'] ] = $sellasist_status['name']; -} - -// baselinker order_status_list -$baselinker_order_status_list[''] = '--- wybierz status baselinker ---'; -foreach ( $this -> baselinker_order_status_list as $baselinker_status ) -{ - $baselinker_order_status_list[ $baselinker_status['id'] ] = $baselinker_status['name']; -} -ob_start(); -?> -
    -
      -
    • Ogólne
    • -
    -
    -
    - 'Status', - 'class' => 'require', - 'name' => 'name', - 'id' => 'name', - 'readonly' => true, - 'value' => $this -> status['status'] - ] );?> - 'Kolor', - 'name' => 'color', - 'id' => 'color', - 'value' => $this -> status['color'] - ] );?> - 'Status z Apilo', - 'name' => 'apilo_status_id', - 'id' => 'apilo_status_id', - 'values' => $apilo_status_types_list, - 'value' => $this -> status['apilo_status_id'] - ] );?> - - 'Status z Sellasist', - 'name' => 'sellasist_status_id', - 'id' => 'sellasist_status_id', - 'values' => $sellasist_status_types_list, - 'value' => $this -> status['sellasist_status_id'] - ] );?> - - 'Status z Baselinker', - 'name' => 'baselinker_status_id', - 'id' => 'baselinker_status_id', - 'values' => $baselinker_order_status_list, - 'value' => $this -> status['baselinker_status_id'] - ] );?> -
    -
    -
    - id = 'status-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja statusu zamówienia'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> status['id'] - ] - ]; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/shop_statuses/status_save/', 'back_url' => '/admin/shop_statuses/view_list/' ], - 'cancel' => [ 'url' => '/admin/shop_statuses/view_list/' ] - ]; -$grid -> external_code = $out; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; - -echo $grid -> draw(); -?> - \ No newline at end of file + $this->form]); ?> diff --git a/admin/templates/shop-statuses/view-list.php b/admin/templates/shop-statuses/view-list.php index d6ce19b..8836268 100644 --- a/admin/templates/shop-statuses/view-list.php +++ b/admin/templates/shop-statuses/view-list.php @@ -1,60 +1 @@ - apilo_order_status_list as $apilo_status ) -{ - $apilo_order_status_list[ $apilo_status['id'] ] = $apilo_status['name']; -} - -// sellasist statuses -$sellasist_status_types_list = []; -foreach ( $this -> sellasist_order_status_list as $sellasist_status ) -{ - $sellasist_order_status_list[ $sellasist_status['id'] ] = $sellasist_status['name']; -} - -// baselinker order_status_list -$baselinker_order_status_list = []; -foreach ( $this -> baselinker_order_status_list as $baselinker_status ) -{ - $baselinker_order_status_list[ $baselinker_status['id'] ] = $baselinker_status['name']; -} - -$grid = new \grid( 'pp_shop_statuses' ); -$grid -> gdb_opt = $gdb; -$grid -> debug = true; -$grid -> order = [ 'column' => 'o', 'type' => 'ASC' ]; -$grid -> search = [ - [ 'name' => 'Status', 'db' => 'status', 'type' => 'text' ] - ]; -$grid -> columns_view = [ - [ - 'name' => 'Lp.', - 'th' => [ 'class' => 'g-lp' ], - 'td' => [ 'class' => 'g-center' ], - 'autoincrement' => true - ], [ - 'name' => 'Status', - 'db' => 'status' - ], [ - 'name' => 'Kolor', - 'db' => 'color' - ], [ - 'name' => 'Status Apilo', - 'db' => 'apilo_status_id', - 'replace' => [ 'array' => $apilo_order_status_list ], - ], [ - 'name' => 'Status Sellasist', - 'db' => 'sellasist_status_id', - 'replace' => [ 'array' => $sellasist_order_status_list ], - ], [ - 'name' => 'Status Baselinker', - 'db' => 'baselinker_status_id', - 'replace' => [ 'array' => $baselinker_order_status_list ], - ], [ - 'name' => 'Edytuj', - 'action' => [ 'type' => 'edit', 'url' => '/admin/shop_statuses/status_edit/id=[id]' ], - 'th' => [ 'class' => 'g-center', 'style' => 'width: 70px;' ], - 'td' => [ 'class' => 'g-center' ] - ] - ]; -echo $grid -> draw(); \ No newline at end of file + $this->viewModel]); ?> diff --git a/admin/templates/shop-transport/transport-edit-custom-script.php b/admin/templates/shop-transport/transport-edit-custom-script.php new file mode 100644 index 0000000..f7aac6e --- /dev/null +++ b/admin/templates/shop-transport/transport-edit-custom-script.php @@ -0,0 +1,12 @@ + diff --git a/admin/templates/shop-transport/transport-edit.php b/admin/templates/shop-transport/transport-edit.php index 5e4ad0d..d7ef592 100644 --- a/admin/templates/shop-transport/transport-edit.php +++ b/admin/templates/shop-transport/transport-edit.php @@ -1,153 +1,8 @@ - - - apilo_carrier_account_list as $carrier_account ) -{ - $carrier_accounts[ $carrier_account['id'] ] = $carrier_account['name']; -} -// sellasist_shipments_methods -$sellasist_shipments_methods[''] = '--- wybierz metodę wysyłki ---'; -foreach ( $this -> sellasist_shipments_methods as $sellasist_shipments_method ) -{ - $sellasist_shipments_methods[ $sellasist_shipments_method['id'] ] = $sellasist_shipments_method['title']; -} -ob_start(); -?> -
    -
      -
    • Ogólne
    • -
    • Powiązane metody płatności
    • -
    -
    -
    - 'Nazwa', - 'class' => 'require', - 'name' => 'name', - 'id' => 'name', - 'readonly' => true, - 'value' => $this -> transport_details['name'] - ) - );?> - 'Nazwa widoczna', - 'name' => 'name_visible', - 'id' => 'name_visible', - 'value' => $this -> transport_details['name_visible'] - ) - );?> - 'Opis', - 'name' => 'description', - 'id' => 'description', - 'value' => $this -> transport_details['description'] - ) - );?> - 'Koszt (PLN)', - 'class' => 'number-format require', - 'name' => 'cost', - 'id' => 'cost', - 'value' => $this -> transport_details['cost'] - ) - );?> - 'Maks. WP', - 'class' => 'number-format require', - 'name' => 'max_wp', - 'id' => 'max_wp', - 'value' => $this -> transport_details['max_wp'] - ) - );?> - 'Domyślna forma dostawy', - 'name' => 'default', - 'checked' => $this -> transport_details['default'] == 1 ? true : false - ] );?> - 'Aktywny', - 'name' => 'status', - 'checked' => $this -> transport_details['status'] == 1 ? true : false - ) - );?> - 'Darmowa dostawa', - 'name' => 'delivery_free', - 'checked' => $this -> transport_details['delivery_free'] == 1 ? true : false - ] );?> - 'Kurier z Apilo', - 'name' => 'apilo_carrier_account_id', - 'id' => 'apilo_carrier_account_id', - 'values' => $carrier_accounts, - 'value' => $this -> transport_details['apilo_carrier_account_id'] - ] );?> - - 'Metoda wysyłki z Sellasist', - 'name' => 'sellasist_shipment_method_id', - 'id' => 'sellasist_shipment_method_id', - 'values' => $sellasist_shipments_methods, - 'value' => $this -> transport_details['sellasist_shipment_method_id'] - ] );?> -
    -
    - payments_list ) ): foreach ( $this -> payments_list as $payment_method ):?> -
    -
    -
    - transport_details['payment_methods'] ) ):?>checked="checked" /> - -
    -
    -
    - -
    -
    -
    - $this->form, +]); -$grid = new \gridEdit; -$grid -> id = 'transport-edit'; -$grid -> gdb_opt = $gdb; -$grid -> include_plugins = true; -$grid -> title = 'Edycja rodzaju transportu'; -$grid -> fields = [ - [ - 'db' => 'id', - 'type' => 'hidden', - 'value' => $this -> transport_details['id'] - ] - ]; -$grid -> actions = [ - 'save' => [ 'url' => '/admin/shop_transport/transport_save/', 'back_url' => '/admin/shop_transport/view_list/' ], - 'cancel' => [ 'url' => '/admin/shop_transport/view_list/' ] - ]; -$grid -> external_code = $out; -$grid -> persist_edit = true; -$grid -> id_param = 'id'; - -echo $grid -> draw(); -?> - \ No newline at end of file +echo \Shared\Tpl\Tpl::view('shop-transport/transport-edit-custom-script', [ + 'form' => $this->form, +]); diff --git a/admin/templates/shop-transport/transports-list.php b/admin/templates/shop-transport/transports-list.php new file mode 100644 index 0000000..8836268 --- /dev/null +++ b/admin/templates/shop-transport/transports-list.php @@ -0,0 +1 @@ + $this->viewModel]); ?> diff --git a/admin/templates/shop-transport/view-list.php b/admin/templates/shop-transport/view-list.php index d38fc05..250acfb 100644 --- a/admin/templates/shop-transport/view-list.php +++ b/admin/templates/shop-transport/view-list.php @@ -5,12 +5,6 @@ foreach ( $this -> apilo_carrier_account_list as $carrier_account ) { $carrier_accounts[ $carrier_account['id'] ] = $carrier_account['name']; } -// sellasist_shipments_methods -$sellasist_shipments_methods = []; -foreach ( $this -> sellasist_shipments_methods as $sellasist_shipments_method ) -{ - $sellasist_shipments_methods[ $sellasist_shipments_method['id'] ] = $sellasist_shipments_method['title']; -} $grid = new \grid( 'pp_shop_transports' ); $grid -> gdb_opt = $gdb; @@ -67,12 +61,6 @@ $grid -> columns_view = [ 'th' => [ 'class' => 'g-center' ], 'td' => [ 'class' => 'g-center' ], 'replace' => [ 'array' => $carrier_accounts ], - ], [ - 'name' => 'Typ kuriera Sellasist', - 'db' => 'sellasist_shipment_method_id', - 'th' => [ 'class' => 'g-center' ], - 'td' => [ 'class' => 'g-center' ], - 'replace' => [ 'array' => $sellasist_shipments_methods ], ], [ 'name' => 'Edytuj', 'action' => [ 'type' => 'edit', 'url' => '/admin/shop_transport/transport_edit/id=[id]' ], diff --git a/admin/templates/site/main-layout.php b/admin/templates/site/main-layout.php index 87e167d..9cb584d 100644 --- a/admin/templates/site/main-layout.php +++ b/admin/templates/site/main-layout.php @@ -6,7 +6,7 @@ - + @@ -35,14 +35,15 @@ +
  • @@ -169,9 +158,21 @@
    - Wyczyść cache +
    -
    +
    + +
    +
    - +
    @@ -201,7 +202,7 @@
    -
    +
    content;?>
    @@ -209,6 +210,150 @@
    + - \ No newline at end of file + diff --git a/admin/templates/site/unlogged-layout.php b/admin/templates/site/unlogged-layout.php index 9e24134..fbd1eb6 100644 --- a/admin/templates/site/unlogged-layout.php +++ b/admin/templates/site/unlogged-layout.php @@ -32,8 +32,8 @@ Zaloguj się do panelu administratora shopPro.
    diff --git a/admin/templates/site/unlogged.php b/admin/templates/site/unlogged.php index ef59d2f..fd6a533 100644 --- a/admin/templates/site/unlogged.php +++ b/admin/templates/site/unlogged.php @@ -32,8 +32,8 @@ Zaloguj się do panelu administratora shopPro.
    diff --git a/admin/templates/update/main-view.php b/admin/templates/update/main-view.php index d22a1db..a6a8a76 100644 --- a/admin/templates/update/main-view.php +++ b/admin/templates/update/main-view.php @@ -1,176 +1,129 @@ - - 'Twoja wersja systemu', - 'id' => 'ver', - 'text' => $this -> ver - ) - );?> - 'Aktualna wersja systemu', - 'text' => $this -> new_ver, - 'id' => 'new_ver' - ) - );?> - new_ver - $this -> ver ) * 1000; -?> -