The message-type css classes must be in the widget context all the time, not only when drawing, otherwise they are not propagated to the children, for instance a label in the InfoBar must inherit the color. Add a corresponding reftest. https://bugzilla.gnome.org/show_bug.cgi?id=670555
55 lines
970 B
CSS
55 lines
970 B
CSS
@import "reset-to-defaults.css";
|
|
|
|
.info {
|
|
/* FIXME: for now label does not support background */
|
|
/* background-color: @info_bg_color;*/
|
|
color: @info_fg_color;
|
|
}
|
|
|
|
.warning {
|
|
/* background-color: @warning_bg_color;*/
|
|
color: @warning_fg_color;
|
|
}
|
|
|
|
.question {
|
|
/* background-color: @question_bg_color;*/
|
|
color: @question_fg_color;
|
|
}
|
|
|
|
.error {
|
|
/* background-color: @error_bg_color;*/
|
|
color: @error_fg_color;
|
|
}
|
|
|
|
#reference-info {
|
|
padding: 8px;
|
|
color: @info_fg_color;
|
|
background-color: @info_bg_color;
|
|
background-image: none;
|
|
}
|
|
|
|
#reference-warning {
|
|
padding: 8px;
|
|
color: @warning_fg_color;
|
|
background-color: @warning_bg_color;
|
|
background-image: none;
|
|
}
|
|
|
|
#reference-question {
|
|
padding: 8px;
|
|
color: @question_fg_color;
|
|
background-color: @question_bg_color;
|
|
background-image: none;
|
|
}
|
|
|
|
#reference-error {
|
|
padding: 8px;
|
|
color: @error_fg_color;
|
|
background-color: @error_bg_color;
|
|
background-image: none;
|
|
}
|
|
|
|
#reference-other {
|
|
padding: 8px;
|
|
}
|