1
0
Fork 0
forked from OpenNeo/impress
impress/app/assets/stylesheets
Emi Matchu 874483eacb Fix SassC::SyntaxError when compiling perfectly valid CSS files
Okay cool, so this was an error that was happening *only* when building
assets for production: Sass's CSS minifier isn't familiar with all
modern CSS syntax (I think is the issue?), and so errors on things that
are actually totally okay.

I had previously worked around this in `swf_assets/show.css` with an
equivalent syntax that Sass recognized. But in this latest case with
the new `fonts.css.erb`, it was upset about the `src` list for the
fonts, and I don't know a workaround for that.

So, let's just disable Sass's CSS minification for now. I imagine the
difference isn't huge when CSS compresses just fine with gzip anyway?
(Most of what you can "minify" in CSS is whitespace, and that largely
seems silly to me when gzip is running.)
2024-09-09 19:59:43 -07:00
..
alt_styles Left-align the alt styles on the page, to flow better with the headers 2024-01-24 08:02:19 -08:00
application Improve the loading indicator for the new item page previews 2024-07-07 21:32:41 -07:00
auth_users Update some stylesheets to use new page_stylesheet_link_tag helper 2024-05-14 16:10:09 -07:00
closet_hangers Replace old stickUp dependency with position: sticky 2024-02-20 18:33:23 -08:00
closet_lists Add trade warning to closet list form 2024-04-16 16:53:30 -07:00
contributions Upgrade to latest Sass and Sprockets 2023-10-23 19:05:09 -07:00
devise/sessions Update some stylesheets to use new page_stylesheet_link_tag helper 2024-05-14 16:10:09 -07:00
fundraising Update some stylesheets to use new page_stylesheet_link_tag helper 2024-05-14 16:10:09 -07:00
item_trades Extract all the item pages' stylesheets into their own CSS files 2024-09-09 18:48:08 -07:00
items Extract all the item pages' stylesheets into their own CSS files 2024-09-09 18:48:08 -07:00
layouts Extract all the item pages' stylesheets into their own CSS files 2024-09-09 18:48:08 -07:00
neopets_page_import_tasks Upgrade to latest Sass and Sprockets 2023-10-23 19:05:09 -07:00
outfits Add announcement about new item page, replacing the hidden Neopass one 2024-09-06 11:47:17 -07:00
partials Remove unused _blue.sass file 2024-09-09 19:34:10 -07:00
pets Remove needed items form on Modeling Hub 2024-09-09 18:56:39 -07:00
swf_assets Fix SassC::SyntaxError when compiling perfectly valid CSS files 2024-09-09 19:59:43 -07:00
users Upgrade to latest Sass and Sprockets 2023-10-23 19:05:09 -07:00
_layout.sass Move font definitions into a separate CSS file, using ERB and not Sass 2024-09-09 19:49:51 -07:00
_responsive.sass Add responsive layout for item page 2024-09-05 16:18:48 -07:00
application.css.sass Extract all the item pages' stylesheets into their own CSS files 2024-09-09 18:48:08 -07:00
fonts.css.erb Move font definitions into a separate CSS file, using ERB and not Sass 2024-09-09 19:49:51 -07:00