--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To post to this group, send email to col...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
Override the messagebox CSS.
Dan,
Not sure exactly what you’re are experiencing here, but it sounds more like the settings more than anything.
Personally I would be using the mapping in the Application.cfc and not in the Adminstrator, the upside to this is that you can run multiple ColdBox sites with different versions of ColdBox and/or make sure that they all use the same location and can copy to another server without touching the CF Admin.
Caching, saving of Class files can maybe also effect this when dishing up the cached or saved class.
But to be honest this sounds like the CSS should be using ..\images rather than /coldbox/images to avoid this. This might be something Luis might need to have a look at.
Regards,
Andrew Scott
--
----- Original Message -----From: Dan VegaSent: Sunday, June 05, 2011 10:01 PMSubject: Re: [coldbox:10318] Mapping Issue
How does everyone else do it? Changing the ColdBox css seems like a bad move to me.. there has to be a better answer here.
--
Dan,
I did not mean to change the CSS file(s) that ship with ColdBox, but rather to override them in your local style sheet. And not only is that not a bad idea, but it's a great one. That's why they're cascading style sheets. :-)
Dan,
http://wiki.coldbox.org/wiki/WhatsNew:3.0.0.cfm#MessageBox_Updates
settings = {
messagebox_style_override =
true
};
Then setup some styles in your stylesheet like this.
/* ------------------------------------------------------------------------------------------------------------------------------------------------------
ColdBox Message Box
------------------------------------------------------------------------------------------------------------------------------------------------------ */
p
.cbox_messagebox { margin: 0;}
.cbox_messagebox
{ font-size: 13px;font-weight: bold;
}
.cbox_messagebox_info
, .cbox_messagebox_warning, .cbox_messagebox_error { border: 1px solid #630000;margin: 0 0 10px 0;
padding: 10px 10px 10px 40px;
}
.cbox_messagebox_info
{ background: #ccffcc url(/includes/images/icons/shine/24x24/accept.png) no-repeat scroll .5em 50%;}
.cbox_messagebox_info
a { color: #42a642;}
.cbox_messagebox_info
a:hover { color: #a3bfa3;text-decoration: none;
}
.cbox_messagebox_warning
{ background: #ffffcc url(/includes/images/icons/shine/24x24/warning.png) no-repeat scroll .5em 50%;}
.cbox_messagebox_warning
a { color: #ec981f;}
.cbox_messagebox_warning
a:hover { color: #806b4d;text-decoration: none;
}
.cbox_messagebox_error
{ background: #b53232 url(/includes/images/icons/shine/24x24/delete.png) no-repeat scroll .5em 50%;color: #fdf3e7;
}
.cbox_messagebox_error
a { color: #fdf3e7;}
.cbox_messagebox_error
a:hover { color: #ccc;text-decoration: none;
}
Hope that helps.
Curt Gratz
Computer Know How
FYI,
I updated the docs at http://wiki.coldbox.org/wiki/Plugins:MessageBox.cfm to avoid confusion in the future.
Curt
Ok my advice switch to the non iheritance version, the only difference is that instead of inherting ColdBox it is imported in the Application.cfc I actually prefer this method because of what you describe.
From: col...@googlegroups.com [mailto:col...@googlegroups.com] On Behalf Of Dan Vega
Sent: Tuesday, 7 June 2011 11:47 AM
To: col...@googlegroups.com
Subject: Re: [coldbox:10338] Mapping Issue
I am sorry but I must be missing something, I don't see anything in the docs (or in the code) about a css setting
--