プロジェクト

全般

プロフィール

Vote #79200

完了

Links to wiki headings should highlight the linked heading

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
UI_10
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
99
issue_org_id:
28330
author_id:
259873
assigned_to_id:
332
comments:
7
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

!{width: 70%; border:1px solid #ccc}highlighted_note.png!
In the issue, linked notes are visually emphasized.
I often use the link to the wiki section so I would like the section to be emphasized just like Issue.


journals

--------------------------------------------------------------------------------
Mizuki ISHIKAWA wrote:
> In the issue, linked notes are visually emphasized.

It was implemented by #22978 for Redmine 4.0.0.

--------------------------------------------------------------------------------
<screenshot>
!{width: 70%; border:1px solid #ccc}highlighted-section.png!

I think that you can emphasize the section by the following style.

<pre><code class="diff">
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 369526a9a..8f4fd665f 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -551,6 +551,10 @@ table#time-report .hours-dec { font-size: 0.9em; }
div.wiki-page .contextual a {opacity: 0.4}
div.wiki-page .contextual a:hover {opacity: 1}

+div.wiki a:target + h1, div.wiki a:target + h2, div.wiki a:target + h3, div.wiki a:target + h4, div.wiki a:target + h5, div.wiki a:target + h6 {
+ background-color:#DDEEFF;
+}
+
.wiki-update-info {text-align:right; color:#666; font-size:90%;}

form .attributes select { width: 60%; }
</code></pre>

--------------------------------------------------------------------------------
It is another topic that should not be discussed in this issue, but I think it would be even better to highlight replies in forums.
--------------------------------------------------------------------------------
Setting target version to 4.0.0 for consistency with #22978.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed the patch. Thank you for your contribution.
--------------------------------------------------------------------------------


related_issues

relates,Closed,22978,Links to issue notes should highlight the linked note

Admin Redmine さんが約4年前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン4.0.0_99 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0