mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13713] Use is-active class instead of cur for current items
PHPBB3-13713
This commit is contained in:
parent
17ce85d012
commit
169015eab4
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue