プロジェクト

全般

プロフィール

Vote #80197

完了

The color of h4 in the comment also changes when #note-1 is specified

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

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

0%

予定工数:
category_id:
10
version_id:
153
issue_org_id:
31742
author_id:
259873
assigned_to_id:
332
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
151
ステータス-->[Closed]

説明

"#history div:target h4" style affects h4 in comment.
The same problem occurs in forums.

!{border: 1px solid #ccc}history.gif!


journals

This change will correct it.
<pre>
<code class="diff">
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 1dc44f3f2..58f413964 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -311,7 +311,7 @@ tr.message td.last_message { font-size: 80%; white-space: nowrap; }
tr.message.sticky td.subject { font-weight: bold; }

body.avatars-on #replies .message.reply {padding-left: 32px;}
-#replies .reply:target h4 {background-color:#DDEEFF;}
+#replies .reply:target > h4 {background-color:#DDEEFF;}
#replies h4 img.gravatar {margin-left:-32px;}

tr.version.closed, tr.version.closed a { color: #999; }
@@ -557,7 +557,7 @@ div.journal h4 img.gravatar {margin-left:-32px;}
border-radius: 0 0 3px 3px / 0 0 3px 3px;
}

-#history div:target h4 {background-color:#DDEEFF;}
+#history div:target > h4 {background-color:#DDEEFF;}
#history p.nodata {display: none;}

div#activity dl, #search-results { margin-left: 2em; }
</code>
</pre>
--------------------------------------------------------------------------------
Committed the patch to the trunk. Thanks.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

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

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

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

いいね!0
いいね!0