summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss/web_editor.frontend.scss
AgeCommit message (Collapse)Author
2020-12-08[FIX] web_editor: fix css of active itemsBenjamin Vray
Before this commit, the css of the active items considered the items to always be <a> elements. But a PR, coming after the one who introduced this css code, changed the items generation system and now the items are no longer <a> elements but <div> elements. This caused a flickering effect when hovering over the last item in the dropdown. Part of #62971 task-2312878 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-09-04[FIX] web_editor: various shape fixes (hide on mobile, bad joint, ...)Samuel Degueldre
This commit fixes various things with the shapes: shapes are now hidden on mobile by default, the shapes "blobs 02" and "blobs 03" now connect properly, and the shape pager now shows the name of the current page. Airy shapes now have embedded media-queries so that they're more visible in the shape selector. The order of the pages in the shape selector has been adapted so that shapes that are easier to use are on the first few pages. A number of shapes have been "cut" differently to leave more space for content, and some shapes have had their top/bottom anchoring swapped. task-2319484 closes odoo/odoo#56567 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-08-10[IMP] website, *: enable the parallax option for all snippetsqsm-odoo
*: web_editor, website_blog Unfortunately, this feature revealed a new batch of flaws in the editor widgets system so some hacks were made to make it work. We will always have the time to improve the pure technical side later. This commit also separates the notion of color filter from the notion of parallax. A color filter can now be applied independantly, when there is either a background image or a background video. Applying a color filter on top of a background video is actually a new feature. Applying a color filter on top of a background image is actually now achievable by two different ways: this new color filter layer or by applying the color transformation on the image itself via the related option. Depending on the user case, both could make sense at the same time, but more importantly: having a CSS color filter is useful for using those for default Odoo content (e.g. like the current contact us page where we use a cover banner with an image with a black filter on top of it: doing that without CSS color filter would mean to alter the image directly which would not be ok when the user changes the image). Also, sometimes you want the unfiltered image on a page and the exact same one but filtered on another (for example: forum images). Note: this commit also "fixes" an issue: the optimization feature for images when parallax was enabled was not available before. Part of https://github.com/odoo/odoo/pull/47313 task-46147
2020-08-07[IMP] web_editor, website: add background shapes snippet optionSamuel Degueldre
This commit adds a new snippet option allowing the user to choose one of a series of SVG shapes as their background, or to be overlaid over the background image of a snippet and to customize the colors of those shapes. Part of https://github.com/odoo/odoo/pull/53017 task-2210790 closes odoo/odoo#53017 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-05-04[IMP] web_editor: add autoscroll on autocompleteJeremy Kersten
To imp: auto size height based on position of the autocomplete closes odoo/odoo#50684 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-09-10[IMP] web_editor, *: introduce wysiwyg frontend loaderqsm-odoo
* website_forum, website_profile - Share some code between website_forum and website_profile by exposing a function in web_editor to instantiate a wysiwyg instance on a textarea - Use no-lazy loaded JS to add a visual loading effect while the wysiwyg is not yet available. This is made in preparation of task-2024197 (see https://github.com/odoo/odoo/pull/35749) Thanks to @stefanorigano closes odoo/odoo#36581 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2019-06-11[IMP] base_geolocalize,web_editor,doc: create map_viewThomas Werland
In order for the map view to work properly: - I moved scss property to a file only scoped to website module. - moved the definiton of "partner_latitude" and "partner_longitude" from base_geolocalise to base/res.partner closes odoo/odoo#32487 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>