Commit Graph
15 Commits
Author SHA1 Message Date
Martin Trigaux 02a321cffb [FIX] web: use specific font for Arabic, Hebrew and Cyrillic alphabet
The basic font-family offered on Odoo do not support a large set of characters
and rely on the system fonts for non-latin languages
On a system without specific fonts installed, the characters were replaced by �
For Hebrew, the system sans-serif font (at least on Windows pc) was too small.

Rely on the unicode-range range CSS descriptor to load a font only for a
specific range of unicode code.
https://developer.mozilla.org/en-US/docs/Web/CSS/%40font-face/unicode-range
This way, the fonts are ignored for English text (and you don't have to load
the fonts of every possible language).

Add Noto fonts that covers many charsets.
There is an heavy version for many charset and lighter ones for Arabic and Hebrew
More ranges can be added later

Serve the fonts on our CDN to avoid shipping several MB of fonts for everyone
but lazyload it when needed.

Fixes odoo/odoo#32228
Fixes odoo/odoo#21781
2019-04-15 12:14:14 +00:00
qsm-odoo 85c8466cf9 [FIX] theme_bootswatch: fix library
The way the bootswatch library import fonts is not the right way so
we must unfortunately apply a fix in the library itself.

Also review the manifest file.
2018-08-10 15:43:07 +02:00
qsm-odoo 05e62cf0cf [REF] theme_bootswatch: update current themes to bootstrap v4.1.3
Note 1: unsupported themes were already removed in a previous commit.
Note 2: we should maybe add the new themes.
2018-07-27 12:36:54 +02:00
qsm-odoo 6713d03ac8 [REF] theme_bootswatch: update themes to scss and review support
Remove support of:
- Theme Amelia: removed with bootstrap 3.3.0, but released in odoo at
  bootstrap version 3.2.0 (should have been removed since Odoo 9.0
  (boostrap version 3.3.5))
- Theme Readable: removed with bootstrap 4.0.0 so it is best to remove
  it now so as we are gonna migrate to bootstrap 4.0.0.

We may want to add new bootswatch theme with bootstrap 4.0.0 migration.

This commit also adds the missing LICENSE file.
2018-04-18 15:59:23 +02:00
qsm-odoo b04dec4025 [REF] *: rename all LESS files to SCSS
This is a simple renaming without adaptation.
2018-04-18 15:59:15 +02:00
qsm-odoo a6393130e6 [REF] theme_bootswatch: reorganize folder
Reorganize the theme folder to follow standard hierarchy. In particular,
the libs are now placed in a dedicated folder in the /static/lib folder
instead of the /static/src folder.
2018-04-18 15:59:13 +02:00
stefanorigano 8dfc757386 [IMP] theme_bootswatch, theme_default: add screenshots 2017-06-30 17:28:42 +02:00
Fabien Pinckaers 4c8e908b49 [IMP] Speed up app switcher loading: 645k --> 137k lossless compression for all icons 2016-02-26 11:39:38 +01:00
Christophe Matthieu 9665882fba [IMP] web_editor: adapt css, js and xml to use web_editor 2015-07-10 17:00:12 +02:00
David Monjoie af5fa0a958 [FIX] theme_bootswatch: fixed border stain in the preview image
That's the last time I change theme_bootswatch preview image, I swear !
... probably.
2015-02-05 15:50:54 +01:00
David Monjoie 803778d9b4 [IMP] theme_bootswatch: improved theme preview image 2015-02-04 15:22:55 +01:00
David Monjoie 6798cf93d2 [FIX] theme_bootswatch: fixed image size for theme list 2015-01-27 15:54:44 +01:00
David Monjoie a24c59fefb [IMP] theme_bootswatch: improved appearance of theme bootswatch in Apps 2015-01-27 14:30:08 +01:00
Christophe Matthieu 239b6bc0b5 [IMP] website snippet new option, gallery
website.snippet: The methods described in javascript will be called automatically from the data-method_name = value on li snippets options. The methods are called in the order relative to children of xml (eg: <li data-method1=value1> ... <li data-method2=value2> ... </ li>, the method1 is then called method2). Methods receive two arguments: type (over, click, reset) and value. data-snippet-id-option becomes data-snippet-id. Several xml options can use the same data-snippet-id.

add a new gallery snippet

convert website_sale to the new option system
2014-08-21 18:02:14 +02:00
Christophe Matthieu 777a082bfc [IMP] website: create customize theme application and color-picker; Create theme_bootswatch and use less files. 2014-08-08 11:58:40 +02:00