123

When Shog implemented this for the tag, there was some confusion for the people asking questions. Normally, this color of popup is related with critical messages that won't allow you to post a question:

enter image description here

But this message's objective is just to warn users to make sure their questions will be well received by the community.

Very scary

Can this color be changed to, I don't know... yellow?

15
  • 4
    Or... white? Yellow doesn't seem good. Oct 20, 2014 at 18:25
  • @JanDvorak AFAIK, there is other messages in yellow... mm...
    – Braiam
    Oct 20, 2014 at 18:26
  • 86
    I vote for blue, definitely blue.
    – Taryn
    Oct 20, 2014 at 18:30
  • 6
    I vote for yellow, definitely yellow. Oct 20, 2014 at 18:32
  • 55
    Why just one color?
    – Mat
    Oct 20, 2014 at 18:43
  • 40
    @Mat: Why, indeed. Oct 20, 2014 at 19:10
  • 6
    A client once asked for a yellow background with pink polka dots. I think we could make it work.
    – JonK
    Oct 20, 2014 at 19:33
  • 7
  • 31
    @RobertHarvey Done! Might be slightly the wrong theme, though.
    – matsjoyce
    Oct 20, 2014 at 20:19
  • 20
    MY EYES @matsjoyce, GIVE ME BACK MY EYES!
    – Braiam
    Oct 20, 2014 at 20:27
  • 5
    @Braiam A nice, flashy box that will discourage users from ever asking sql questions again!
    – matsjoyce
    Oct 20, 2014 at 20:39
  • 2
    I vote for green, definitely green.
    – J. Musser
    Oct 20, 2014 at 20:49
  • 3
    I would propose a different color. Oct 20, 2014 at 21:15
  • 1
    @matsjoyce: Wouldn't white be better for that than something flashy? I'm pretty sure the first time someone gets downvoted for not having read the white text on white background (ideally with a white border, so you don't even see that the popup exists unless it happens to be in front of something you were looking at) you'll never have to see them again. :P
    – abarnert
    Oct 21, 2014 at 1:23
  • 2
    Has to be mauve... dilbert.com/strips/comic/1995-11-17
    – AlSki
    Oct 23, 2014 at 8:24

2 Answers 2

12

Validation warnings should be displayed as warnings (with the built-in style, which has already been in use for title and body warnings) as of build rev 2014.12.8.2084 (on sites).

84

How about just using the existing message-warning class instead of message-error.

An example of what it look like in it's current usage:

enter image description here

Live inspect-able demo referencing Stack Overflow's all.css:

<link href="http://cdn.sstatic.net/stackoverflow/all.css" rel="stylesheet" />

<div class="message message-warning message-dismissable" style="max-width: 270px; min-width: 270px; position: absolute; top: 26.5px; left: 10px; display: block;">
  <div class="message-inner message-tip message-tip-left-top">
    <div title="close this message (or hit Esc)" class="message-close">×</div>
    <div class="message-text" style="padding-right: 35px;">This is a meta demo</div>
  </div>
</div>

Live inspect-able demo using message-info class for a blue dialog as an alternative:

<link href="http://cdn.sstatic.net/stackoverflow/all.css" rel="stylesheet" />

<div class="message message-info message-dismissable" style="max-width: 270px; min-width: 270px; position: absolute; top: 26.5px; left: 10px; display: block;">
  <div class="message-inner message-tip message-tip-left-top">
    <div title="close this message (or hit Esc)" class="message-close">×</div>
    <div class="message-text" style="padding-right: 35px;">This is a meta demo</div>
  </div>
</div>

14
  • 2
    Sounds sensible.
    – Braiam
    Oct 21, 2014 at 13:52
  • 25
    There's also a message-info which could be used and is blue.
    – Pokechu22
    Oct 21, 2014 at 14:23
  • 1
    @Pokechu22 have added that to the answer too.
    – Tanner
    Oct 21, 2014 at 14:26
  • 34
    I'd vote for blue. The yellow one looks really... blegh to me.
    – Cerbrus
    Oct 21, 2014 at 14:32
  • 14
    That's not yellow. Well, maybe it was yellow at some point in the distant past... Oct 21, 2014 at 15:04
  • 5
    @FrédéricHamidi It's more a shade of what I like to refer to as golden turd!
    – Tanner
    Oct 21, 2014 at 15:07
  • 2
    @Tanner, that's very appropriate. Think we can polish it? ;) Oct 21, 2014 at 15:08
  • 2
    @FrédéricHamidi Haven't you heard? About the turd?! About the turd, turd, turd! You can't polish a turd!
    – Tanner
    Oct 21, 2014 at 15:17
  • 2
    But it's gold! Gooooooooold! Oct 21, 2014 at 15:20
  • 7
    It's brown. Oct 21, 2014 at 16:46
  • 1
    This mustard yellow doesn't really work contrast wise with the white text
    – samy
    Oct 22, 2014 at 12:06
  • 2
    Quick, everyone to the bike shed ; )
    – Dhaust
    Oct 23, 2014 at 5:35
  • 2
    Ugly inline styles....!
    – T J
    Oct 23, 2014 at 7:51
  • 1
    I didn't realize that people actually used Yellow Oxide as an actual color style as opposed to a darker yellow for mixing earthier greens.
    – Compass
    Oct 23, 2014 at 17:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .