-
- Downloads
[FIX] theme_bootswatch, doc: https import for less3
The @import directive in less leave the @import as is if it detects .css extension. Otherwise it will use the less import. Since less 3.0.0 less/less.js@77fde7eb7 checking css extension regex changed from: /[#\.\&\?\/]css([\?;].*)?$/ to: /[#\.\&\?]css([\?;].*)?$/ thus all our import of google fonts with URI like: //fonts.googleapis.com/css?family=FontName now are getting imported as less, thus they are included directly in the output file with HTTP scheme URL which may be blocked on HTTPS instance. With this fix, we specify that the import is a normal CSS one with (css) import option: http://lesscss.org/features/#import-atrules-feature-css opw-2057037 closes #36167 Signed-off-by:Nicolas Lempereur (nle) <nle@odoo.com>
Showing
- addons/theme_bootswatch/static/src/less/amelia/bootswatch.less 1 addition, 1 deletion...s/theme_bootswatch/static/src/less/amelia/bootswatch.less
- addons/theme_bootswatch/static/src/less/cosmo/bootswatch.less 1 addition, 1 deletion...ns/theme_bootswatch/static/src/less/cosmo/bootswatch.less
- addons/theme_bootswatch/static/src/less/cyborg/bootswatch.less 2 additions, 2 deletions...s/theme_bootswatch/static/src/less/cyborg/bootswatch.less
- addons/theme_bootswatch/static/src/less/flatly/bootswatch.less 1 addition, 1 deletion...s/theme_bootswatch/static/src/less/flatly/bootswatch.less
- addons/theme_bootswatch/static/src/less/journal/bootswatch.less 1 addition, 1 deletion.../theme_bootswatch/static/src/less/journal/bootswatch.less
- addons/theme_bootswatch/static/src/less/readable/bootswatch.less 1 addition, 1 deletion...theme_bootswatch/static/src/less/readable/bootswatch.less
- addons/theme_bootswatch/static/src/less/simplex/bootswatch.less 2 additions, 2 deletions.../theme_bootswatch/static/src/less/simplex/bootswatch.less
- addons/theme_bootswatch/static/src/less/spacelab/bootswatch.less 2 additions, 2 deletions...theme_bootswatch/static/src/less/spacelab/bootswatch.less
- addons/theme_bootswatch/static/src/less/united/bootswatch.less 2 additions, 2 deletions...s/theme_bootswatch/static/src/less/united/bootswatch.less
- doc/_extensions/odoo_ext/static/variables.less 1 addition, 1 deletiondoc/_extensions/odoo_ext/static/variables.less
Please register or sign in to comment