mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 14:46:28 +02:00
[ticket/13713] Use is-active class instead of cur for current items
PHPBB3-13713
This commit is contained in:
@ -1747,14 +1747,14 @@ svg { /* TODO: remove it after general normalization */
|
||||
}
|
||||
|
||||
.mention-item:hover,
|
||||
.mention-item.cur {
|
||||
.mention-item.is-active {
|
||||
text-decoration: none;
|
||||
background-color: #eeeeee;
|
||||
color: #2d80d2;
|
||||
}
|
||||
|
||||
.mention-item:hover .mention-media-avatar,
|
||||
.mention-item.cur .mention-media-avatar {
|
||||
.mention-item.is-active .mention-media-avatar {
|
||||
color: #2d80d2;
|
||||
}
|
||||
|
||||
|
@ -616,7 +616,7 @@ function getCaretPosition(txtarea) {
|
||||
trigger: '@',
|
||||
allowSpaces: true,
|
||||
containerClass: 'mention-container',
|
||||
selectClass: 'cur',
|
||||
selectClass: 'is-active',
|
||||
itemClass: 'mention-item',
|
||||
menuItemTemplate: function (data) {
|
||||
const itemData = data;
|
||||
|
@ -390,13 +390,13 @@ p.post-notice {
|
||||
}
|
||||
|
||||
.mention-item:hover,
|
||||
.mention-item.cur {
|
||||
.mention-item.is-active {
|
||||
background-color: #eeeeee;
|
||||
color: #2d80d2;
|
||||
}
|
||||
|
||||
.mention-item:hover .mention-media-avatar,
|
||||
.mention-item.cur .mention-media-avatar {
|
||||
.mention-item.is-active .mention-media-avatar {
|
||||
color: #2d80d2;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user