X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/640e6f5c1e85d05d728cd29a129df9ea8aa8f31f..23783edfd0a5d4d8e2dabd7a5f2d51643de099a6:/wolnelektury/settings/static.py diff --git a/wolnelektury/settings/static.py b/wolnelektury/settings/static.py index 4e104c4e7..9c30dea8d 100644 --- a/wolnelektury/settings/static.py +++ b/wolnelektury/settings/static.py @@ -14,29 +14,24 @@ MEDIA_URL = '/media/' STATIC_URL = '/static/' # CSS and JavaScript file groups + + PIPELINE_CSS = { - 'all': { + 'main': { # styles both for mobile and for big screen 'source_filenames': [ 'css/jquery.countdown.css', - 'css/base.css', - 'css/cite.css', - 'css/header.css', - 'css/main_page.css', - 'css/dialogs.css', - 'css/picture_box.css', - 'css/book_box.css', - 'css/catalogue.css', + 'css/main/*.scss', + 'sponsors/css/sponsors.css', - 'css/auth.css', + 'funding/funding.scss', + 'polls/polls.scss', 'css/social/shelf_tags.css', 'css/ui-lightness/jquery-ui-1.8.16.custom.css', - - 'css/annoy.css', ], - 'output_filename': 'css/compressed/all.css', + 'output_filename': 'css/compressed/main.css', }, 'ie': { 'source_filenames': [ @@ -47,8 +42,6 @@ PIPELINE_CSS = { 'book': { 'source_filenames': [ 'css/master.book.css', - - 'css/annoy.css', ], 'output_filename': 'css/compressed/book.css', }, @@ -85,8 +78,7 @@ PIPELINE_JS = { 'sponsors/js/sponsors.js', 'player/openplayer.js', 'js/search.js', - - 'js/annoy.js', + 'funding/funding.js', ), 'output_filename': 'js/base.min.js', }, @@ -105,8 +97,6 @@ PIPELINE_JS = { 'js/jquery.highlightfade.js', 'js/book.js', 'player/openplayer.js', - - 'js/annoy.js', ], 'output_filename': 'js/book.min.js', }, @@ -120,3 +110,9 @@ PIPELINE_JS = { STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage' PIPELINE_CSS_COMPRESSOR = None PIPELINE_JS_COMPRESSOR = None + +PIPELINE_COMPILERS = ( + 'pyscss_compiler.PySCSSCompiler', +) +PIPELINE_PYSCSS_BINARY = '/usr/bin/env pyscss' +PIPELINE_PYSCSS_ARGUMENTS = ''