Adding custom CSS
doahh
gavin at prodia.co.uk
Thu Jul 3 05:55:12 EDT 2008
I am trying to customise the CSS in CAS but would prefer not to use cas.css
as I have my CSS split across several files. I have tried to include the CSS
into the template in several different ways but none seem to work the way I
would like.
1) <link rel="stylesheet"
href="http://localhost:8080/tootired.net/cas/root-context-css/user/column-layout.css"
type="text/css" media="screen" /> Works but I would prefer not to have the
FQDN;
2) <link rel="stylesheet" href="/root-context-css/user/column-layout.css"
type="text/css" media="screen" /> Returns a blank page with no CSS styles
defines in it;
3) <link rel="stylesheet" href="<spring:theme code="css" />" type="text/css"
media="all" /> Theme 'default': No message found under code 'css' for locale
'en'. Adding an entry into messages.properties does not change the error
message and there is no messages_en.properties;
4) <link rel="stylesheet"
href="../../../../../root-context-css/user/column-layout.css"
type="text/css" media="screen" /> Does nothing;
5) <style type="text/css" media="screen">@import 'css/cas.css'/**/;</style>
Doesn't work either;
6) Adding a new option to default_views.properties but it doesn't work doing
that alone and I am not sure what else I would need to change to make it
work.
What else can I try?
--
View this message in context: http://www.nabble.com/Adding-custom-CSS-tp18255852p18255852.html
Sent from the CAS Users mailing list archive at Nabble.com.
More information about the cas
mailing list