Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feedback Change the forum "question" prefix color please.

Discussion in 'Scripting' started by _geo__, Jan 30, 2023.

  1. _geo__

    _geo__

    Joined:
    Feb 26, 2014
    Posts:
    1,298
    Tiny nitpick.

    Pretty much anything posted here is a "question" and the glaring yellow color is pretty irritating imho. I always have to concentrate on reading the actual thread title instead of the alarming yellow badge. Maybe use a greyish color instead?

    Thank you.
     
  2. Bunny83

    Bunny83

    Joined:
    Oct 18, 2010
    Posts:
    3,915
    I don't find it too much distracting. Though depending on how and where you use the forum, if you use a browser plugin like greasemonkey, you could use a script like this:
    Code (Javascript):
    1. // ==UserScript==
    2. // @name     Unity Forum Question Badge Color
    3. // @version  1
    4. // @grant    none
    5. // ==/UserScript==
    6.  
    7. var style = document.createElement("style");
    8. style.innerHTML = `
    9. .prefix.prefixYellow {
    10.     color: black !important;
    11.     background-color: #AAAA00 !important;
    12.     border-color: #E0E000 !important;
    13. }`;
    14. document.body.appendChild(style);
    Yes, it's a hacky solution, but you can adjust any styles the way you want :) This is still yellow, but a darker one. If you want it even darker, keep in mind to also change the color to something bright (white?) otherwise you can't read the text on the badge.
     
    _geo__ likes this.
  3. Bunny83

    Bunny83

    Joined:
    Oct 18, 2010
    Posts:
    3,915
    Note: For a light skin it may be better to just use a transparent color. This color works for me:
    #FFFF0022


    upload_2023-1-30_11-22-9.png
    instead of
    upload_2023-1-30_11-23-5.png
     
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    how about completely removing it?

    if most of the posts are questions anyway (at least in many subforums)
    upload_2023-1-30_12-34-3.png
     
    _geo__ likes this.
  5. Bunny83

    Bunny83

    Joined:
    Oct 18, 2010
    Posts:
    3,915
    Of course you can do that as well :) Just add a
    display: none;
    line to that style and it's gone.
    Sure, they could completely remove it, though a similar thing could be said about certain tags on UnityAnswers, like "unity". Though they don't really hurt.
     
  6. _geo__

    _geo__

    Joined:
    Feb 26, 2014
    Posts:
    1,298
    Thanks for the greasemonkey suggestion. I am aware of it, though I usually shy away from using it on websites which I also check on mobile (many different devices). Maintaining those reskins via browser plugins is a chore.

    That has been my reasoning as well. In some sub forums prefixes are mandatory I think, which makes it even worse.