David Monjoie
df9725df26
[IMP] web_editor,website: added scalable margins in less
...
The original commit by fka used to define less variables like this:
@px-4: 4px
@px-8: 8px
The goal was to be able to change the margin values in
media queries for smaller screens.
However, as the less is only compiled once in css, those
variables didn't really help as you couldn't redefine them
from inside a media query and have the less magically
reassign the margins on the fly.
I created less helper functions to be able to easily redefine
the margins for smaller screens from inside media queries.
The task also required to replace the nbsp in the html by the
newly created mr and ml classes.
This is also the first phase of the sass -> less transition.
2015-07-20 15:00:24 +02:00
Aaron Bohy
c22d75bdc5
[FIX] web_editor: restrict scope of css rules
...
within the editor, to prevent styling every tables in Odoo.
2015-07-17 09:53:23 +02:00
Christophe Matthieu
ae7776620f
[FIX] web_editor: add cr_uid_ids_context decorator for ir.ui.view render method to have the select the api
2015-07-13 16:22:29 +02:00
Christophe Matthieu
5d51aff938
[FIX] summernote: insert a p tag when try to insert a br with insertNode method, if the editor is inside a p, li, h1...
2015-07-10 17:00:16 +02:00
Christophe Matthieu
087fd6942b
[IMP] web_editor: add test translator
2015-07-10 17:00:15 +02:00
Christophe Matthieu
2868a86401
[FIX] web_editor: web_editor.css must be in common to have the css for public user
2015-07-10 17:00:15 +02:00
Christophe Matthieu
0333941b5f
[FIX] web_editor: summernote: with firefox error to record an undo for the normal instance of the editor because global variable 'event' does not exists.
2015-07-10 17:00:14 +02:00
Christophe Matthieu
ff58a961e8
[IMP] web_editor: add modal to translate node attributes
2015-07-10 17:00:14 +02:00
Christophe Matthieu
89d620e4eb
[IMP] web_editor: translations with the same id are edited at the same time
2015-07-10 17:00:14 +02:00
Christophe Matthieu
7f29771833
[FIX] summernote: wrong history managment fixed to use in normal field editor
2015-07-10 17:00:14 +02:00
Christophe Matthieu
9221eb5b6d
[FIX] web_editor: summernote: don't create display button to edit table if the editable part is inside the table
2015-07-10 17:00:13 +02:00
Christophe Matthieu
f17d6cb6d9
[FIX] web_editor: summernote: don't create a p tag in empty o_editable if it's a style tag (eg: strong)
2015-07-10 17:00:13 +02:00
Christophe Matthieu
77d848d4f5
[FIX] web_editor: summernote: editor fail if at least 10 instance of summernote are create (wrong split to get sumernote instance id)
2015-07-10 17:00:13 +02:00
Christophe Matthieu
cebc73ebf9
[IMP] web_editor: move summernote & nearest lib from website
2015-07-10 17:00:13 +02:00
Christophe Matthieu
c1f39d0ca7
[IMP] web_editor: create a css for editor and can be used without bootstrap.css and without change with themes
2015-07-10 17:00:13 +02:00
Christophe Matthieu
9665882fba
[IMP] web_editor: adapt css, js and xml to use web_editor
2015-07-10 17:00:12 +02:00
Raphael Collet
578dba5613
[IMP] ir_translation: move web_editor translation logic to module web_editor
2015-07-10 17:00:11 +02:00
Christophe Matthieu
8c559044a5
[IMP] web_editor: split website into web_editor (to use editor in backend for html field) and website
2015-07-10 17:00:11 +02:00