Fixed rendering in Safari

This commit is contained in:
Giulio Cesare Solaroli 2015-12-07 10:56:02 +01:00
parent 50b2bdd240
commit 31fc8ede9e
4 changed files with 832 additions and 4255 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -754,6 +754,7 @@ div.cardContent {
line-height: $mainCardToolbarHeight;
li.enabled:hover {
color: white;
background-color: #114875;
}

View File

@ -158,7 +158,7 @@ class FrontendBuilder(object):
def cssminCompressor (self, css):
# package found here:
# - http://stackoverflow.com/questions/222581/python-script-for-minifying-css/2396777#2396777
# actual downloaded version: http://pypi.python.org/pypi/cssmin/0.1.4
# actual downloaded version: http://pypi.python.org/pypi/cssmin/0.1.4 -> 0.2.0
return cssmin.cssmin(css)
@ -202,10 +202,15 @@ class FrontendBuilder(object):
return css
def mockCssCompressor (self, css):
return css;
def compressCSS (self, css):
self.log("compressing CSS")
#return self.regexCssCompressor(css)
return self.cssminCompressor(css)
#return self.cssminCompressor(css)
return self.mockCssCompressor(css)
#--------------------------------------------------------------------------