From 22433417f67ab13bbe976e8db0685022053c12f6 Mon Sep 17 00:00:00 2001 From: fuzegit Date: Sun, 29 Dec 2024 23:58:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20css=20=D0=B4=D0=B8=D0=B0=D0=BB=D0=BE?= =?UTF-8?q?=D0=B3=D0=B0=20=D0=BB=D0=B8=D1=87=D0=BD=D1=8B=D1=85=20=D1=81?= =?UTF-8?q?=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/modern/controllers/messages/styles.css | 2 +- .../modern/scss/controllers/messages/_messages.scss | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/modern/controllers/messages/styles.css b/templates/modern/controllers/messages/styles.css index de591d645..c33303186 100755 --- a/templates/modern/controllers/messages/styles.css +++ b/templates/modern/controllers/messages/styles.css @@ -1 +1 @@ -.icms-messages{height:calc(100vh - 1rem - 0.5rem - 2.109375rem)}.icms-messages.modal-messages{margin:-1rem !important;background-color:#ffffff}.icms-messages .contact_nickname{line-height:1.4}.icms-messages .icms-messages-chat{overflow-y:auto;flex:1 1 auto;scrollbar-width:thin;scrollbar-color:#495057 rgba(0, 0, 0, 0)}.icms-messages .icms-messages-chat::-webkit-scrollbar{display:block;width:10px;height:10px}.icms-messages .icms-messages-chat::-webkit-scrollbar-thumb{background:#495057;border-radius:4px}.icms-messages .icms-messages-chat::-webkit-scrollbar-track{background:rgba(0, 0, 0, 0)}.icms-messages .markItUp .markItUpEditor{height:auto}.icms-messages .content:before{position:absolute;top:8px;left:-8px;display:inline-block;background:inherit;width:16px;height:16px;border-color:inherit;content:"";transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg)}.icms-messages .message-my .content:before{right:-8px;left:auto}.icms-messages .message-my .selected{background-color:#b7c8f0 !important}.icms-messages .pannel-toolbar{height:54px}.icms-messages .layout,.icms-messages .layout>*,.layout .icms-messages__contacts-block{height:inherit}.icms-messages .icms-messages__contacts-list{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:0;height:calc(100% - 54px);overflow-y:auto}@media (min-width:576px){.icms-messages{height:calc(100vh - 3.5rem - 0.5rem - 2.109375rem)}}@media (max-width:767.98px){.icms-messages.modal-messages{height:100%}.modal-dialog-icms-messages{margin:0;width:100%}.modal-dialog-icms-messages .modal-header{display:none}.modal-dialog-icms-messages .modal-content{border:none;border-radius:0}}.bg-gray{background-color:#eeeeee}.bg-success_light{background-color:#cbf1d9}#pm_contact{height:inherit;min-height:100%;display:flex;flex-direction:column}#pm_contact .smilepanel{position:absolute;top:-51px;padding:0 0.25rem;background-color:#ffffff;right:0px;border:1px solid #cccccc;box-shadow:0 0.5rem 1rem rgba(26, 26, 26, 0.15)} \ No newline at end of file +.icms-messages{height:calc(100vh - 1rem - 0.5rem - 2.109375rem)}.icms-messages.modal-messages{background-color:#ffffff}.icms-messages .contact_nickname{line-height:1.4}.icms-messages .icms-messages-chat{overflow-y:auto;flex:1 1 auto;scrollbar-width:thin;scrollbar-color:#495057 rgba(0, 0, 0, 0)}.icms-messages .icms-messages-chat::-webkit-scrollbar{display:block;width:10px;height:10px}.icms-messages .icms-messages-chat::-webkit-scrollbar-thumb{background:#495057;border-radius:4px}.icms-messages .icms-messages-chat::-webkit-scrollbar-track{background:rgba(0, 0, 0, 0)}.icms-messages .markItUp .markItUpEditor{height:auto}.icms-messages .content:before{position:absolute;top:8px;left:-8px;display:inline-block;background:inherit;width:16px;height:16px;border-color:inherit;content:"";transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg)}.icms-messages .message-my .content:before{right:-8px;left:auto}.icms-messages .message-my .selected{background-color:#b7c8f0 !important}.icms-messages .pannel-toolbar{height:54px}.icms-messages .layout,.icms-messages .layout>*,.layout .icms-messages__contacts-block{height:inherit}.icms-messages .icms-messages__contacts-list{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:0;height:calc(100% - 54px);overflow-y:auto}@media (min-width:576px){.icms-messages{height:calc(100vh - 3.5rem - 0.5rem - 2.109375rem)}.icms-messages.modal-messages{margin:-1rem !important}}@media (max-width:767.98px){.icms-messages.modal-messages{height:100%}.modal-dialog-icms-messages{margin:0;width:100%;height:100%}.modal-dialog-icms-messages .modal-body{height:100%;padding:0}.modal-dialog-icms-messages .modal-header{display:none}.modal-dialog-icms-messages .modal-content{border:none;border-radius:0;height:inherit}}.bg-gray{background-color:#eeeeee}.bg-success_light{background-color:#cbf1d9}#pm_contact{height:inherit;min-height:100%;display:flex;flex-direction:column}#pm_contact .smilepanel{position:absolute;top:-51px;padding:0 0.25rem;background-color:#ffffff;right:0px;border:1px solid #cccccc;box-shadow:0 0.5rem 1rem rgba(26, 26, 26, 0.15)} \ No newline at end of file diff --git a/templates/modern/scss/controllers/messages/_messages.scss b/templates/modern/scss/controllers/messages/_messages.scss index eb0086e22..2600d137c 100644 --- a/templates/modern/scss/controllers/messages/_messages.scss +++ b/templates/modern/scss/controllers/messages/_messages.scss @@ -1,6 +1,5 @@ .icms-messages { &.modal-messages { - margin: -$modal-inner-padding !important; background-color: $white; } height: calc(100vh - #{$modal-dialog-margin * 2} - #{$modal-header-padding-y * 2} - #{$modal-title-line-height * $h4-font-size}); @@ -80,7 +79,7 @@ @include media-breakpoint-up(sm) { .icms-messages { &.modal-messages { - + margin: -$modal-inner-padding !important; } height: calc(100vh - #{$modal-dialog-margin-y-sm-up * 2} - #{$modal-header-padding-y * 2} - #{$modal-title-line-height * $h4-font-size}); } @@ -92,15 +91,21 @@ } } .modal-dialog-icms-messages { + .modal-body { + height: 100%; + padding: 0; + } .modal-header { display: none; } .modal-content { border: none; border-radius: 0; + height: inherit; } margin: 0; width: 100%; + height: 100%; } } .bg-gray {