In the linked/related questions sidebar, there is an icon inconsistency. Questions with an accepted answer have a (green) hexagonal icon, and questions without an accepted answer have a (grey) rectangular icon. Is this a bug?
-
2It doesn’t show on any of the other network sites, but I think it must be intentional, since it shows up on old pages in the Wayback Machine.– AdamantCommented May 31, 2017 at 21:36
-
It's so you know which have accepted answers and which don't– EdlothiadCommented May 31, 2017 at 22:43
-
Is this just asking why one has a shape and one doesn't (or is defaultish)? I never really thought much of it, to be honest, since the function was clear.– RadhilCommented May 31, 2017 at 22:54
-
Why not ask Jin, who I believe was in charge of most of the site design?– AdamantCommented Jun 1, 2017 at 5:24
-
That's our custom design. That's how accepted answers show up on SFF. That it shows if the answer is accepted with the green thing is universal.– MithicalCommented Jun 1, 2017 at 7:02
-
I've actually seen some sites on the network (if I remember correctly) that have the same icon for questions with accepted answers and without accepted answers. They look bland and confusing.– GallifreyanCommented Jun 1, 2017 at 9:43
1 Answer
This is status-bydesign (I think)
From the source of the webpage, we see that the accepted answer divs have the class
<div class="answer-votes answered-accepted default">8</div>
If one looks more closely at the image which is used as the background image for the class answered-accepted
we find that it is the following:
Those on other sites do not have the hexagons, (at least not on Maths.SE) which may be to give a futuristic look to our site. As we are SFF.SE after all and sci-fi is a major part of our agenda.
The non-accepted answers have the class
<div class="answer-votes default">5</div>
With no background image.
-
Why do these source code lines make you think the shape difference is intentional? Wouldn't it also be possible (and probably more likely) that whoever implemented the hexagon simply overlooked the fact that a green and grey version was needed?– MaxDCommented Jun 1, 2017 at 0:21
-
No, because otherwise why would the hexagons be attributed to the
answered-accepted
class and not just thedefault
class or theanswer-votes
class. Commented Jun 1, 2017 at 0:23