-
1. Re: rich:notifyMessages info style with RF 4.1 M2 & M3
healeyb Oct 29, 2011 5:13 AM (in response to iabughosh)I use a little styling for notifyMessages, I just checked it on M3 and it's still working ok, but
it seems that you have to splash !important everywhere (this was also the case on M2).
.rf-ntf {
left: 38% !important;
color: #045491 !important;
font-size: 16px;
}
.rf-ntf-cnt {
border-width: 3px !important;
border-radius: 10px !important;
}
It is desirable if the component library doesn't use !important really.
Regards,
Brendan.
-
2. Re: rich:notifyMessages info style with RF 4.1 M2 & M3
iabughosh Oct 30, 2011 2:46 AM (in response to healeyb)thank you for your reply Brendan,but .rf-nt class will override both error & info message, error messages are already in red, i need to make info messages to be green.
-
3. Re: rich:notifyMessages info style with RF 4.1 M2 & M3
healeyb Oct 30, 2011 7:45 AM (in response to iabughosh)I suppose I need to do the same as you. I just set the stayTime to a large number so that I could examine the
notify popup in dev tools. What seems to be happening is that when I log an error (FacesMessage.SEVERITY_ERROR)
the popup is rendered as div class="rf-ntf rf-ntf-error", but when I log a SEVERITY_INFO it's just rendered as
div class="rf-ntf". All the other content of the notify popup was the same.
I expect that it's still possible to come up with some css to do what you want, but it's possibly not the intended
behavior that the info message doesn't have the rf-ntf-info class selector, do you think?
Regards,
Brendan.
-
4. Re: rich:notifyMessages info style with RF 4.1 M2 & M3
lfryc Oct 31, 2011 10:35 AM (in response to healeyb)Great catch, guys,
.rf-ntf-info is not applied in M3 that is really an issue,
could you please file this issue in JIRA?
Thanks,
~ Lukas
-
5. Re: rich:notifyMessages info style with RF 4.1 M2 & M3
healeyb Oct 31, 2011 10:59 AM (in response to lfryc)