summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/webclient.less
AgeCommit message (Collapse)Author
2018-04-18[REF] *: rename all LESS files to SCSSqsm-odoo
This is a simple renaming without adaptation.
2018-04-18[IMP] web, *: do not use 'oe_highlight' and 'oe_link' class in the DOMqsm-odoo
* test_main_flows The style of a primary/link button is given by the 'btn-primary'/'btn-link' class. The old 'oe_highlight'/'oe_link' class should still be supported in views but not rendered in the DOM.
2018-04-16[FIX] web: allow alt-click behind dialog overlayVincent Schippefilt
Issue: when displaying the shortcuts with ALT key, when a dialog is open the shortcuts are displayed in absolute position above the gray overlay of the dialog, so it is possible to click on the buttons of the shortcuts. This fix will remove this possibility.
2018-04-10[IMP] web: auto-assign and show access keys on ALTVincent Schippefilt
This commits aims at adding an accesskey (a shortcut) to all buttons in odoo. This is done by either by assigning an accesskey in the view XML or by automatically assigning a key to the buttons using the first available (not yet assigned as a shortcut key) letter of the text of the button, failing that we use the latin alphabetical order to find the first unused key. Included in this commit: 1. Using the ALT key, automatically assign 2. When the ALT key is pressed, show the assigned shortcuts 3. Assign a number to the menu items (enterprise) 4. Activate number accesskeys without using SHIFT 5. Extra logic to support the activation of the alphabetical accesskeys without needing to add the SHIFT key in the key combination (except for Firefox on linux) 6. Assign a fixed accesskey to the search field Not done: 1. Executing the primary action on dialogs using SHIFT+ENTER 2. Show the input using TAB on the appswitcher screen Things to consider: 1. Fixing more access keys on forms that share the same features (b.e. Validate in customer invoice and vendor bills) 2. Not assigning keys to the chatter section
2018-02-01[MERGE] forward port branch saas-11.1 up to 7e469eb77aaChristophe Simonis
2018-02-01[FIX] web: less boolean_toogleLucas Perais (lpe)
Before this commit, the boolean_toggle widget was rendered but the less contained errors that prevented it from displaying correctly This was due to commit 9dead7e3d33ee0ddafb55060b3f95027e9330e55 After this commit, the widget displays correctly There might be an issue in the future because of field_utils.formatBoolean, when this function decides to pass the full options dict OPW 80782
2018-01-10[REF] portal, website, web, *: improve LESS splitqsm-odoo
* website_sale
2017-09-27[FIX] web: fix less on toggle booleanLucas Perais (lpe)
2017-09-22[FIX] web, mail: fix bootstrap customizationqsm-odoo
- bg-*-full color classes were only defined in enterprise while they should have been defined here (fixes kanban column progressbars) - new @gray-lighter variations should be defined in variables.less as they are bootstrap extensions, not bootstrap overrides
2017-08-30[REF] web: review new design elementsstefanorigano
- Review UI custom colors (used for tags and kanban cards) - Properly align control panel items - Remove links style overrides (these rules are not necessary anymore because already specified in bootstrap_overridden.less variables definitions) - Set new webclient bg color - Adapt colors in kanban view
2017-07-07[ADD] web: Add new widget to toogle a boolean with a sliderAnkit Sathvara
Purpose ======= Currently, it's not possible to activate a boolean on a non-editable list view without adding 2 buttons linked to a python method. These buttons aren't aligned and the result is not pretty. This commit adds a new widget that allows to toggle a boolean record by record by clicking on the slider.
2017-06-07[FIX] web: restore broken datepicker since lib updateqsm-odoo
There were two main problems with the datepicker since the lib was updated: - it appeared broken in the search view "Filters" menu - it did not overflow the parent which scrolls Indeed, before the update, the datepicker was placed in the <body/>. Now this is a lib option. Unfortunately, the option is broken (I don't know why they broke it since it worked before the lib update...). As the lib does not expose its internal functions, the only found workaround was to patch the lib code itself. opw-745311 opw-745625
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