FuzzManager
FuzzManager copied to clipboard
Style the "ID" links with a visited-link color, in fuzzing crash/results tables, so that you can tell which entries you've looked at.
STR:
(1) Visit https://fuzzmanager.fuzzing.mozilla.org/crashmanager/crashes/
(2) Click an entry in the first column (ID)
(3) Navigate back
EXPECTED RESULTS: The link that you clicked should be a different color.
ACTUAL RESULTS: The link is the same color as all the others.
This seems to be because we're styling them with
// Links
a {
color: @link-color;
text-decoration: none;
...in scaffolding.less, and we're not providing a different color in a :visited rule.
(Note, @link-color seems to be a LESS variable, which ends up as color: #337ab7; in the actual CSS. I'm not sure where it's defined, and I don't know LESS particularly well. But presumably this section of scaffolding.less is where we would want to define a :visited style for these links, and we'd want to define the color in the same spot where @link-color is defined.)
...oh, it looks like our CSS here is all third-party; we're just using Bootstrap styles here, with a little bit of additional local styles.
And apparently Bootstrap doesn't have special coloring for visited links, since it's intended for applications and you don't necessarily want to have links between sections of your application changing color. (More on https://github.com/twbs/bootstrap/issues/2144 and https://stackoverflow.com/questions/16541819/bootstrap-and-visited-links )
I guess we just need to add a dedicated a:visited { color: [something] } style rule to some piece of CSS that we control to style these pages. :)