Stylesheets not handled correctly
-
Mark Robinson
I just hacked it to work by adding this line around line 61:
File.exist?(File.join(@staticmatic.src_dir, 'stylesheets', "#{file}.scss"))
-
Stephen Bartholomew
This should be working in the pre-release. Can you try and let me know?
If it's still not working, can you post code samples?
Cheers!
-
Mark Robinson
I just tried with the latest pre-release 0.11.0 and still not working.
in layout I have
= stylesheets :iethat produces:
<link href="/stylesheets/screen.css" media="all" rel="stylesheet" type="text/css"/><link href="/stylesheets/ie.css" media="all" rel="stylesheet" type="text/css"/><link href="/stylesheets/print.css" media="all" rel="stylesheet" type="text/css"/>What I would like is:
<link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css"/> <link href="/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css"/> <!--[if lt IE 8]> <link href="/stylesheets/ie.css" media="all" rel="stylesheet" type="text/css"/> <![endif]--> -
Mark Robinson
Sorry, just reread that. There shouldn't be :ie after =stylesheets
And yes, you've fixed the bit I suggested in my first comment but not the problem above if you want to take a look at it.
Thanks
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.