NG Client - Style @import

Forum to discuss the new web client version of Servoy.

NG Client - Style @import

Postby Gordon McLean » Thu Jan 14, 2016 1:24 pm

Hi
I have two stylesheets in my media folder I want to use @import to include one into the other. The objective being to make managing the style easier with client specific styles and generic styles. I have used the following

@import url("media:///servoydefault.css");

So far this is not working. IF I copy/paste the styles from servoydefault.css into the client sheet it works so the styling works its the link that appears broken. Both styles are in the root of the media section.

Any ideas much appreciated

Gordon
Gordon McLean
Clickdigital.com
Gordon McLean
 
Posts: 253
Joined: Wed Aug 03, 2005 12:24 pm
Location: UK

Re: NG Client - Style @import

Postby Gabi Boros » Thu Jan 14, 2016 4:32 pm

I think you should do @import url("servoydefault.css");
Gabi Boros
Servoy
Gabi Boros
 
Posts: 404
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: NG Client - Style @import

Postby Gordon McLean » Fri Jan 15, 2016 1:21 pm

Gabi Boros wrote:I think you should do @import url("servoydefault.css");


Thanks Gabi, the default action when clicking on it was to add the media/// and I forgot this was not needed, on reflection I guess it should be obvious with the NG structure.

Best
Gordon
Gordon McLean
Clickdigital.com
Gordon McLean
 
Posts: 253
Joined: Wed Aug 03, 2005 12:24 pm
Location: UK


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 16 guests

cron