Improve hovering behaviour for entries in mini mode.

This commit is contained in:
Paulo Reis 2017-01-13 16:07:08 +00:00
parent 3968761ac8
commit 1ed0ccf854

View file

@ -201,7 +201,7 @@
top: -(@review-off-width + @rp-entry-arrow-width); top: -(@review-off-width + @rp-entry-arrow-width);
right: -(@review-off-width + @rp-entry-arrow-width); right: -(@review-off-width + @rp-entry-arrow-width);
bottom: -(@review-off-width + @rp-entry-arrow-width); bottom: -(@review-off-width + @rp-entry-arrow-width);
left: -(@review-off-width + @rp-entry-arrow-width); left: -(2 * @rp-entry-arrow-width + 2);
z-index: -1; z-index: -1;
} }
&::after { &::after {
@ -218,6 +218,10 @@
border-right-width: @rp-entry-ribbon-width; border-right-width: @rp-entry-ribbon-width;
border-right-style: solid; border-right-style: solid;
&::before {
left: -(@review-off-width + @rp-entry-arrow-width);
right: -(2 * @rp-entry-arrow-width + 2);
}
&::after { &::after {
.triangle(right, @rp-entry-arrow-width, @rp-entry-arrow-width * 1.5, inherit); .triangle(right, @rp-entry-arrow-width, @rp-entry-arrow-width * 1.5, inherit);
right: -(@rp-entry-ribbon-width + @rp-entry-arrow-width); right: -(@rp-entry-ribbon-width + @rp-entry-arrow-width);