From 25054ade56da24f4b92e8f44a85eb78f4be1f706 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Mon, 18 Oct 2021 10:05:42 -0700 Subject: [PATCH] [ticket/16893] Remove mentions template files and CSS from ACP PHPBB3-16893 --- phpBB/adm/style/acp_posting_buttons.html | 2 - phpBB/adm/style/admin.css | 97 ------------------------ phpBB/adm/style/mentions_templates.html | 6 -- 3 files changed, 105 deletions(-) delete mode 100644 phpBB/adm/style/mentions_templates.html diff --git a/phpBB/adm/style/acp_posting_buttons.html b/phpBB/adm/style/acp_posting_buttons.html index fd07f7499b..e5f96b0c22 100644 --- a/phpBB/adm/style/acp_posting_buttons.html +++ b/phpBB/adm/style/acp_posting_buttons.html @@ -8,8 +8,6 @@ // ]]> -{% include 'mentions_templates.html' %} - diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index b0f9141d5b..2a5eacfcd7 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -1670,103 +1670,6 @@ fieldset.submit-buttons legend { } } -/* Mentions and mention dropdown ----------------------------------------- */ -.mention { - font-weight: bold; -} - -.mention-container { - text-align: left; - background-color: #ffffff; - border-radius: 2px; - box-shadow: - 0 3px 1px -2px rgba(0, 0, 0, 0.2), - 0 2px 2px 0 rgba(0, 0, 0, 0.14), - 0 1px 5px 0 rgba(0, 0, 0, 0.12); - position: absolute; - z-index: 999; - overflow: auto; /* placed here for list to scroll with arrow key press */ - max-height: 200px; - transition: all 0.2s ease; -} - -.rtl .mention-container { - text-align: right; -} - -.mention-list { - margin: 0; - padding: 0; - list-style-type: none; -} - -.mention-media { - color: #757575; - display: inline-flex; - flex-shrink: 0; - justify-content: center; - align-items: center; - margin-right: 8px; - margin-left: 0; -} - -.rtl .mention-media { - margin-right: 0; - margin-left: 16px; -} - -.mention-media-avatar { - width: 40px; - height: 40px; -} - -.mention-item { - font-size: 16px; - font-weight: 400; - line-height: 1.5; - letter-spacing: 0.04em; - border-bottom: 1px solid #dddddd; - color: #212121; - position: relative; - display: flex; - overflow: hidden; - justify-content: flex-start; - align-items: center; - padding: 8px; - cursor: pointer; -} - -.mention-item:hover, -.mention-item.is-active { - text-decoration: none; - background-color: #eeeeee; - color: #2d80d2; -} - -.mention-item:hover .mention-media-avatar, -.mention-item.is-active .mention-media-avatar { - color: #2d80d2; -} - -.mention-name, -.mention-rank { - display: block; -} - -.mention-name { - line-height: 1.25; - margin-right: 20px; /* needed to account for scrollbar bug on Firefox for Windows */ -} - -.mention-rank { - font-size: 14px; - font-weight: 400; - line-height: 1.2871; - letter-spacing: 0.04em; - color: #757575; -} - /* Input field styles ---------------------------------------- */ input.radio, diff --git a/phpBB/adm/style/mentions_templates.html b/phpBB/adm/style/mentions_templates.html deleted file mode 100644 index 23015b03e0..0000000000 --- a/phpBB/adm/style/mentions_templates.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - - -