summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/modal.less
AgeCommit message (Collapse)Author
2018-04-18[REF] *: rename all LESS files to SCSSqsm-odoo
This is a simple renaming without adaptation.
2018-01-16[REF] web,*: ActionManager/ViewManager refactoringAaron Bohy
This rev. is the first part (out of 3) of the refactoring of the ActionManager and ViewManager layer of the webclient. The main changes are: - there is no ViewManager anymore, its work is now handled by the ActionManager itself, but isolated in a specific file ; this eases a lot of things, as the breadcrumbs handling for example. - the ActionManager code is converted to the new coding principles and guidelines ; mainly, children widgets communicate with it by triggering events up, and not by function calls anymore. - the ActionManager layer is now testable, and a lot of tests have already been written. - the code in other addons has been adapted consequently. What's coming next: - introduce the 'AbstractAction' Widget, and make client actions and view controllers inherit from it ; this widget will implement a common API that could be used uniformly by the ActionManager (e.g. restore(), canBeLeft(), renderButtons(), getTitle()...). - move the ControlPanel handling from the ActionManager to the AbstractAction.
2017-12-05[FIX] web: restore saas modalsqsm-odoo
This commit basically reverts 4974f8edb76e27471bb00c1659c878d0b7a04daf The fix was unstable (as restoring a feature that was not there before release, even if originally merged before). This was in particular breaking saas modals as lots of them are still opened using 8.0 system... and opening them this way might make them appear below their own backdrop in the new system the mentioned commit restored. We will think about that feature again for a future version.
2017-12-01[FIX] web: make submodals backdrop appear on top of parent modalsqsm-odoo
Commit https://github.com/odoo/odoo/commit/7dcb8fea642858e0bb1d68cea9707cb3c8d4328d (and https://github.com/odoo/odoo/commit/e64cf3d606bd94f7e0d82ec907ce7d1d66222287) were supposed to make submodals backdrop appear on top of parent modals. The feature was however broken by another commit before it was released: https://github.com/odoo/odoo/commit/f997c128c7295b5e76d7f77d79c4a82898debbcf
2017-10-20[MERGE] forward port branch saas-16 up to dc2a6c6cd2aChristophe Simonis
2017-10-19[MERGE] forward port branch 10.0 up to 9b4447e9aa5Christophe Simonis
2017-10-19[FIX] web: iOS content in modal disappearNicolas Lempereur
As can be seen in https://github.com/scottjehl/Device-Bugs/issues/8 a combination of "-webkit-overflow-scrolling:touch", "position:relative" and "overflow:auto" can have unexpected behavior on iOS. The issue solved here is that writing in a form view inside a modal in iOS (at least version 10.3) would make the whole form body invisible until edition is ended. This commit fixes this by adding a CSS rule which avoid the iOS bug. opw-774396 closes #20314
2017-08-22[REF] web, website: share modal.less fileqsm-odoo
Following https://github.com/odoo/odoo/commit/5658e337c3e0385d3d116e34404ef4086b3e94f0: The modal.less file is now in the common assets so that the dialogs' style is shared instead of duplicated.
2017-06-09[FIX] web: temporary re-allow inline modalsqsm-odoo
Odoo modals are supposed to be instantiated thanks to the Dialog JS class. This allows to not duplicate modal structures and to properly handle multi modals (which bootstrap is not supposed to). Problem since commit 7dcb8fea642858e0bb1d68cea9707cb3c8d4328d: The support for inline modals has been broken without providing a solution for all cases. Indeed, some modals are placed directly inside form view xml. See an example here: https://github.com/odoo/odoo/blob/dd0533897e397dfd78ad456fea42a5a12db51246/addons/website_twitter/views/website_twitter_settings_views.xml#L24 While waiting for a new way to instantiate these inline view modals, this commit restores their deprecated support.
2017-05-29[IMP] web: make backdrops appear on top of older modalsqsm-odoo
When opening a modal on top of another, we expect the associated modal-backdrop to be over this another modal (so that it is grayed). This was not the case as bootstrap forces the modal-backdrop z-index to a lower value than the modal's one (see fix comments in the changes below).
2016-11-02[IMP] web: improve traceback reportingqsm-odoo
* Do not assault the user with a full traceback on bug, but indicates an error occured and allow him to toggle the traceback * Automatically scroll the traceback to the end (better for python errors) * Propose the user to report the traceback by using a new "Copy" button which correctly copies the full error + traceback
2016-04-21[REF] web: stop duplicating webAaron Bohy
Avoid duplicating web addon in enterprise by extracting a common basis. Enterprise features stay in enterprise, but use that common basis. Mainly: - JS refactoring and linting - Conversion of .sass into .less split into multiple files - Templates cleaning and DOM simplification - Re-generation of web.pot, and update of .po files
2015-11-27[IMP] web: minor css fix SelectCreateDialogNicolas Lempereur
related to opw-657349
2015-11-25[FIX] web: display pager in SelectCreateDialogAaron Bohy
2015-06-17[IMP] web, web_*, mail, board : New modals and dialogsqsm-odoo