From aae399a743afae03e71e019cf0cf8c986728857c Mon Sep 17 00:00:00 2001 From: Repellent Date: Sun, 1 Feb 2026 23:29:53 +0500 Subject: [PATCH] =?UTF-8?q?css=20=D0=B8=20js=20=D0=B2=D1=8B=D0=BD=D0=B5?= =?UTF-8?q?=D1=81=D0=B5=D0=BD=D1=8B=20=D0=B8=D0=B7=20=D1=84=D0=B0=D0=B9?= =?UTF-8?q?=D0=BB=D0=B0=20comments=5Ftree=5Fsub.tpl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mod_comment_styles.css | 35 ++++++++++ templates/comments_tree.tpl | 71 +++++++++++++++++++++ templates/comments_tree_sub.tpl | 110 -------------------------------- 3 files changed, 106 insertions(+), 110 deletions(-) diff --git a/css/mod_comment_styles.css b/css/mod_comment_styles.css index ed371b3..dea99fd 100644 --- a/css/mod_comment_styles.css +++ b/css/mod_comment_styles.css @@ -298,3 +298,38 @@ html { opacity: 0.8; } .ico_delete_all:hover { opacity: 1; transform: scale(1.1); } + +/* Стили для стандартной шапки поповера */ +.popover-header { + background-color: #f0f0f0 !important; /* Тот самый серый цвет */ + border-bottom: 1px solid #dee2e6 !important; + padding: 8px 12px !important; + font-size: 0.9rem !important; + font-weight: 600 !important; +} + +/* Кнопка закрытия в шапке */ +.pop-close { + background: none !important; + border: none !important; + font-size: 22px !important; + line-height: 1 !important; + color: #999 !important; + cursor: pointer !important; + padding: 0 !important; + margin-left: 10px !important; +} + +.pop-close:hover { + color: #f00 !important; +} + +.popover-body { + padding: 12px !important; + min-width: 230px !important; +} +.author-popover, .author-popover:focus, .author-popover:active { + outline: none !important; + box-shadow: none !important; + text-decoration: none !important; +} diff --git a/templates/comments_tree.tpl b/templates/comments_tree.tpl index 59cbf8b..83c1ecc 100644 --- a/templates/comments_tree.tpl +++ b/templates/comments_tree.tpl @@ -371,6 +371,77 @@ } {/literal} +{literal} + +{/literal} {/if} {/if} \ No newline at end of file diff --git a/templates/comments_tree_sub.tpl b/templates/comments_tree_sub.tpl index fbd9e17..e0b6c42 100644 --- a/templates/comments_tree_sub.tpl +++ b/templates/comments_tree_sub.tpl @@ -1,41 +1,3 @@ -{literal} - -{/literal} {foreach from=$subcomments item=c name=sub_loop} {* ОПРЕДЕЛЯЕМ СТАТУС УДАЛЕНИЯ *} {assign var="is_deleted" value=false} @@ -332,75 +294,3 @@ {/foreach} -{literal} - -{/literal} \ No newline at end of file