Fixed #31307 -- Fixed filter_horizontal add/remove SVG :hover positioning.

This commit is contained in:
007gzs 2020-02-25 08:37:34 +08:00 committed by Carlton Gibson
parent 486786c4c4
commit a4881f5e5d
3 changed files with 35 additions and 0 deletions

View File

@ -534,6 +534,7 @@ answer newbie questions, and generally made Django that much better:
Liang Feng <hutuworm@gmail.com>
limodou
Lincoln Smith <lincoln.smith@anu.edu.au>
Liu Yijie <007gzs@gmail.com>
Loek van Gent <loek@barakken.nl>
Loïc Bistuer <loic.bistuer@sixmedia.com>
Lowe Thiderman <lowe.thiderman@gmail.com>

View File

@ -354,6 +354,14 @@ input[type="submit"], button {
}
.stacked .active.selector-add {
background-position: 0 -40px;
}
.active.selector-add:focus, .active.selector-add:hover {
background-position: 0 -140px;
}
.stacked .active.selector-add:focus, .stacked .active.selector-add:hover {
background-position: 0 -60px;
}
@ -362,6 +370,14 @@ input[type="submit"], button {
}
.stacked .active.selector-remove {
background-position: 0 0;
}
.active.selector-remove:focus, .active.selector-remove:hover {
background-position: 0 -100px;
}
.stacked .active.selector-remove:focus, .stacked .active.selector-remove:hover {
background-position: 0 -20px;
}
@ -725,10 +741,18 @@ input[type="submit"], button {
background-position: 0 0;
}
.active.selector-remove:focus, .active.selector-remove:hover {
background-position: 0 -20px;
}
.selector-add {
background-position: 0 -40px;
}
.active.selector-add:focus, .active.selector-add:hover {
background-position: 0 -60px;
}
/* Inlines */
.inline-group[data-inline-type="stacked"] .inline-related {

View File

@ -211,6 +211,11 @@ a.active.selector-clearall:focus, a.active.selector-clearall:hover {
}
.stacked .active.selector-add {
background-position: 0 -32px;
cursor: pointer;
}
.stacked .active.selector-add:focus, .stacked .active.selector-add:hover {
background-position: 0 -48px;
cursor: pointer;
}
@ -221,6 +226,11 @@ a.active.selector-clearall:focus, a.active.selector-clearall:hover {
}
.stacked .active.selector-remove {
background-position: 0 0px;
cursor: pointer;
}
.stacked .active.selector-remove:focus, .stacked .active.selector-remove:hover {
background-position: 0 -16px;
cursor: pointer;
}