feat(warenkorb-neu, kasse-neu): ohne Navigation (site_type full_width), breiterer Kasten ab 900px Spalte
This commit is contained in:
@@ -364,6 +364,7 @@ class website_cashdesk {
|
|||||||
|
|
||||||
// 18.09.2026 -- Entwurf der neuen Kassenansicht zum Anschauen: /Kasse/?ansicht=neu
|
// 18.09.2026 -- Entwurf der neuen Kassenansicht zum Anschauen: /Kasse/?ansicht=neu
|
||||||
if (isset($_GET['ansicht']) && $_GET['ansicht'] === 'neu') {
|
if (isset($_GET['ansicht']) && $_GET['ansicht'] === 'neu') {
|
||||||
|
$this->layout_object->assign('site_type', 'full_width'); // ohne Navigation, mehr Breite (Tom, 18.09.)
|
||||||
return $this->layout_object->_fetch('content_cash_desk_neu.tpl');
|
return $this->layout_object->_fetch('content_cash_desk_neu.tpl');
|
||||||
}
|
}
|
||||||
return $this->layout_object->_fetch('content_cash_desk.tpl');
|
return $this->layout_object->_fetch('content_cash_desk.tpl');
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ class website_shoppingcart {
|
|||||||
|
|
||||||
// 18.09.2026 -- Entwurf der neuen Warenkorb-Ansicht zum Anschauen: /Warenkorb/?ansicht=neu
|
// 18.09.2026 -- Entwurf der neuen Warenkorb-Ansicht zum Anschauen: /Warenkorb/?ansicht=neu
|
||||||
if (isset($_GET['ansicht']) && $_GET['ansicht'] === 'neu') {
|
if (isset($_GET['ansicht']) && $_GET['ansicht'] === 'neu') {
|
||||||
|
$this->layout_object->assign('site_type', 'full_width'); // ohne Navigation, mehr Breite (Tom, 18.09.)
|
||||||
return $this->layout_object->_fetch('content_shoppingcart_neu.tpl');
|
return $this->layout_object->_fetch('content_shoppingcart_neu.tpl');
|
||||||
}
|
}
|
||||||
return $this->layout_object->_fetch('content_shoppingcart.tpl');
|
return $this->layout_object->_fetch('content_shoppingcart.tpl');
|
||||||
|
|||||||
@@ -498,6 +498,7 @@ a.ck-link { text-decoration: none; color: #333; }
|
|||||||
.ck-label { display: block; margin-bottom: 12px; border: 1px solid #e3e3e3; border-radius: 8px; overflow: hidden; background: #fff; }
|
.ck-label { display: block; margin-bottom: 12px; border: 1px solid #e3e3e3; border-radius: 8px; overflow: hidden; background: #fff; }
|
||||||
.ck-label img { display: block; width: 100%; height: auto; }
|
.ck-label img { display: block; width: 100%; height: auto; }
|
||||||
|
|
||||||
|
@container (min-width: 900px) { .ck-side { flex-basis: 320px; } }
|
||||||
@container (max-width: 640px) {
|
@container (max-width: 640px) {
|
||||||
.ck-grid { display: block; }
|
.ck-grid { display: block; }
|
||||||
.ck-side { position: static; margin-top: 16px; }
|
.ck-side { position: static; margin-top: 16px; }
|
||||||
|
|||||||
@@ -187,6 +187,7 @@
|
|||||||
.wk-quick-title { font-weight: 700; margin-bottom: 6px; }
|
.wk-quick-title { font-weight: 700; margin-bottom: 6px; }
|
||||||
.wk-quick input { width: 100%; max-width: 480px; height: 38px; border: 1px solid #cfcfcf; border-radius: 6px; padding: 0 10px; font: inherit; }
|
.wk-quick input { width: 100%; max-width: 480px; height: 38px; border: 1px solid #cfcfcf; border-radius: 6px; padding: 0 10px; font: inherit; }
|
||||||
|
|
||||||
|
@container (min-width: 900px) { .wk-side { flex-basis: 300px; } }
|
||||||
@container (max-width: 640px) {
|
@container (max-width: 640px) {
|
||||||
.wk-grid { display: block; }
|
.wk-grid { display: block; }
|
||||||
.wk-side { position: static; margin-top: 20px; }
|
.wk-side { position: static; margin-top: 20px; }
|
||||||
|
|||||||
Reference in New Issue
Block a user