From 8cf076c49ed4149d16353aaa2f7e8f1488af1169 Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Sun, 16 Nov 2025 13:57:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BB=D1=83=D1=87=D1=88=D0=B5=D0=BD=20?= =?UTF-8?q?=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5=D0=B9=D1=81=20POS:?= =?UTF-8?q?=20=D1=84=D0=B8=D0=BA=D1=81=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=BD=D0=B0=D1=8F=20=D0=BF=D1=80=D0=B0=D0=B2=D0=B0=D1=8F=20?= =?UTF-8?q?=D0=BF=D0=B0=D0=BD=D0=B5=D0=BB=D1=8C=20=D1=81=20=D0=BA=D0=BE?= =?UTF-8?q?=D1=80=D0=B7=D0=B8=D0=BD=D0=BE=D0=B9=20=D0=B8=209=20=D0=BA?= =?UTF-8?q?=D0=BD=D0=BE=D0=BF=D0=BA=D0=B0=D0=BC=D0=B8=20=D0=B4=D0=B5=D0=B9?= =?UTF-8?q?=D1=81=D1=82=D0=B2=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- myproject/pos/static/pos/css/terminal.css | 42 +++++++++++++++++++++++ myproject/pos/templates/pos/terminal.html | 41 +++++++++------------- 2 files changed, 59 insertions(+), 24 deletions(-) diff --git a/myproject/pos/static/pos/css/terminal.css b/myproject/pos/static/pos/css/terminal.css index 806b1be..52669a3 100644 --- a/myproject/pos/static/pos/css/terminal.css +++ b/myproject/pos/static/pos/css/terminal.css @@ -51,3 +51,45 @@ body { color: #6c757d; font-style: italic; } + +/* Фиксация правой панели (корзина + кнопки) */ +.right-panel-fixed { + position: fixed; + top: 56px; /* высота navbar */ + right: 0; + bottom: 0; + width: 33.333%; /* 4/12 колонок */ + overflow-y: auto; + padding: 1rem; + padding-right: 1.5rem; + z-index: 100; + display: flex; + flex-direction: column; +} + +@media (max-width: 767.98px) { + .right-panel-fixed { + width: 100%; + left: 0; + } +} + +/* Панель кнопок внутри фиксированного блока */ +.action-buttons-panel { + margin-top: auto; +} + +/* Стили для кнопок в панели действий */ +.action-buttons-panel .btn { + font-size: 0.75rem; + line-height: 1.2; + white-space: normal; + word-wrap: break-word; + overflow: hidden; + text-overflow: ellipsis; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 0.5rem; +} diff --git a/myproject/pos/templates/pos/terminal.html b/myproject/pos/templates/pos/terminal.html index ed79935..3eef208 100644 --- a/myproject/pos/templates/pos/terminal.html +++ b/myproject/pos/templates/pos/terminal.html @@ -20,18 +20,19 @@
- +
- -
+
+ +
Корзина
-
-
+
+
@@ -48,24 +49,12 @@
- -
- - - -
-
+
@@ -89,7 +78,13 @@
- +
+
+
@@ -97,16 +92,14 @@
- -
-
-
+