summaryrefslogtreecommitdiff
path: root/addons/theme_default
AgeCommit message (Collapse)Author
2018-09-04[REF] website_theme_install, *: add theme.utils utility methodsqsm-odoo
* theme_bootswatch, theme_default Allow to disable/enable a view from a xml_id whether the xml_id is linked to an ir.ui.view or a theme.ir.ui.view.
2018-08-31[FIX] website_theme_install, *: multi-website customization dialogqsm-odoo
* theme_bootswatch, theme_default Before this commit, the customization dialog for themes was not multi-website. That means if a theme was installed on a website, the customization dialog was enabled for all the websites. Note: this commit uses the '_post_copy' system of theme installations for the first time and it had to be adapted a little bit.
2018-08-10[IMP] *: make customize dialog generic and improve optionsqsm-odoo
* web, web_editor, website, website_theme_install, portal, theme_default, theme_bootswatch The purpose of this task is to make the customize dialog as generic as possible, that is theme-independant: 1) The design is now totally generic (Odoo visuals) 2) The XML definition is form-view like. This allows themes to extend the dialog without any risk of breaking the style and also allows to not care about lots of technical details. 3) New options have been included. Those were themes options that are now generic and which themes can simply adapt without touching the customize modal (navbar colors, footer color, navbar layout, fonts, body background, ...). The color palette can now also be customized with user colors. Using sass functionnalities, color palettes and fonts integration is now a lot better. Thanks to @qha-odoo for the original design. task-31677
2018-08-10[REF] theme_default: delete po filesqsm-odoo
The theme will be reviewed and merged with website app.
2018-08-10[MERGE] forward port branch saas-11.4 up to edd586002e9Christophe Simonis
2018-08-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-08-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-07-27[REF] *: BS4, 'center-block' -> 'd-block mx-auto'qsm-odoo
2018-07-27[REF] *: BS4, review color systemqsm-odoo
Odoo used to declare two main colors: primary and optional (which are purple and turquoise in enterprise). Those were respectively assigned to the 'primary' bootstrap variable and the 'btn-primary' bootstrap variable. BS4, however, does not allow to have a different primary color for buttons. Instead, the 'primary' color is used for all 'primary' related components and utility classes, same as for all other colors. So, if we want to keep our enterprise buttons green, our 'optional' colors had to become our 'primary' color. The old odoo primary is then renamed to the 'odoo' color. The palette of grays is now larger by default and is numbered from 100 to 900 alongside the $black and $white variables. The equivalence for older variables and the way we used them is: $gray-darker -> gray 900 (unused before) $gray-dark -> gray 900 $gray -> gray 700 $gray-light -> gray 600 $gray-lighter-darker -> gray 400 (the old variable was created by us) $gray-lighter-dark -> gray 300 (the old variable was created by us) $gray-lighter -> gray 200 Fortunately, the 'lighter' variations we created fit well in the default BS4 system ! Unfortunately, our $gray-lighter which carried the same function as $gray-200 (see above) is very close to the new default $gray-100 and quite distant from the new $gray-200. This will be handled in the next commit.
2018-07-27[REF] *: BS4, rename btn-default to btn-secondaryqsm-odoo
BS4 "btn-default" class was replaced with "btn-secondary", which makes more sense.
2018-07-27[REF] *: BS4, adapt media queriesqsm-odoo
media queries that target a specific screen size handled by bootstrap have now a more convenient way to be defined: ``` @​media (min-width: $screen-sm-min) { ... } -> @​include media-breakpoint-up(sm) { ... } ``` ``` @​media (max-width: $screen-sm-max) { ... } -> @​include media-breakpoint-down(sm) { ... } ``` ``` @​media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { ... } -> @​include media-breakpoint-only(sm) { ... } ``` ``` @​media (min-width: $screen-sm-min) and (max-width: $screen-md-max) { ... } -> @​include media-breakpoint-between(sm, md) { ... } ``` Also, bootstrap has changed the values for its default screen sizes: ------------------ | BS3 | BS4 | ------------------ 0 | XS | XS | -> Portrait Mobile 576 | / | SM | -> Landscape Mobile 768 | SM | MD | -> Portrait Tablet 992 | MD | LG | -> Landscape Tablet / Small Desktop 1200 | LG | XL | -> Desktop ------------------ While it is possible to configure BS variables to behave as BS3, we took the decision to keep the BS4 variables untouched. BS4 system seems indeed better and having the purest bootstrap possible is better for Odoo to be used as a framework.
2018-06-22[IMP] Improve compatibility with screen readers (accessibility) (#24574)kujiu
Today, Odoo is really tricky to use without seeing the screen, it must be improved to be usable. This PR forbid to use labels without a "for" attribute, add some title, rule and aria attributes in HTML. With that, Odoo will be fully usable with a screen reader. * [IMP] Labels must have a for attribute. Improve accessibility. * [IMP] Better error message when trying to read a missing cached value * [FIX] Add some aria-label and title attributes for screen readers. * [FIX] Template name is not included in the error message in case of SyntaxError in QWeb * [FIX] Improve the Tour failed at step error message to be more explicit. * [IMP] Add aria-labels * [FIX] Add missing aria-label on failing test * [IMP] aria-hidden means hidden. Fix all bad aria-hidden and hide aria-hidden for all. * [IMP] Color names on kanban views and many2many tags * [IMP] Add some checks on views for accessibility. * [IMP] Add `alt` attribute on `img` tags. * [IMP] Add aria-label and title on non-described icons * [IMP] Add button role to widgets with btn class * [IMP] Translate aria and formatted attributes. * [IMP] Remove wrong aria-labelledby * [IMP] Add menu role on dropdowns * [IMP] Buttons must be focusable * [IMP] Add aria attributes on progress bars * [IMP] Improve accessibility of basic widgets * [IMP] Change main layout to more semantic tags * [IMP] Add menuitem role when missing * [IMP] Remove wrong role='presentation' * [IMP] Improve accessibility of tab panels * [IMP] Add aria-invalid on invalid fields * [IMP] Add aria-sort on ordered columns * [IMP] Add role on alerts * [IMP] Use dialog role, header, main and footer tags for modals * [IMP] Add labels on o_status * [IMP] Improve accessibility of kanban view with feeds and articles * [IMP] Add alerts in case of new messages * [IMP] Add widget, navigation or img role to aria-labelled items
2018-04-18[REF] theme_default: adapt the scss convertion for everything to workqsm-odoo
2018-04-18[REF] *: convert less content to scss contentqsm-odoo
Convert content so that the assets compile on app installation. The style is still broken after this as the variables/mixins/... are not defined in the right order (as it did not matter in LESS but does in SCSS). This commit basically changes: - Variables: @​var_hello -> $var-hello - Mixins: .mixin_world() {} -> @​mixin mixin-world {} - Classes used as mixin: .my_class() -> @​extend .my_class - Here there were no other solution than to convert the use of a mixin call by the use of an extend as a first approximation - LESS functions -> SCSS functions (e.g. fade -> rgba) - Move first variable definition before the variable is used - Still need to make sure last variable definition is at the right place
2018-04-18[REF] *: rename all LESS files to SCSSqsm-odoo
This is a simple renaming without adaptation.
2018-02-22[MERGE] forward port branch saas-11.1 up to e750bb6e114Christophe Simonis
2018-02-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-01-03[MERGE] forward port branch saas-11.1 up to 726b91b9fbcChristophe Simonis
2017-12-18[REF] theme_*: change category and summary of themesAkash Bhavsar
task-32528
2017-12-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-11-26[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-11-19[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-11-12[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-11-05[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-10-30[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-10-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-10-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-10-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-06-30[IMP] theme_bootswatch, theme_default: add screenshotsstefanorigano
2017-03-28[MERGE] forward port branch saas-14 up to 2f68e9e93a1Christophe Simonis
2017-03-28[MERGE] forward port branch 10.0 up to 72fa3e8bdaeChristophe Simonis
2017-03-28[MERGE] forward port branch saas-11 up to c2569b9df1bChristophe Simonis
2017-03-28[MERGE] forward port branch 9.0 up to 30dda3faee3Christophe Simonis
2017-03-28[MERGE] forward port branch saas-6 up to 8fd0f8664beChristophe Simonis
2017-03-27[FIX] theme_default: full width in mobilePierre Masereel
When a theme is customized to be 'boxed', the website is not full width in mobile, and there is an horizontal scrolling. To fix this issue, we removed only set the width of the "wrapwrap" div to 85% when the screen is bigger than a phone.
2017-03-26[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-02-05[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-01-06[I18N] followup of 5284c43be56Martin Trigaux
Previous commit was cleaning the orphan and fuzzy translations of all main translations. This commit does the same for all regional languages (that are not on Transifex). To keep these files small, keep only the translated strings. Fixes #14937
2017-01-03[I18N] port of 44a6366b to masterMartin Trigaux
2016-12-05[REM] all: Remove es_MX.po filesMoisés López
- Previous information: - `es_MX` language is not published to [transifex](https://www.transifex.com/odoo/odoo-10/languages/) this is a official announce from thread [Regional languages and Spanish (Latin America) translations](https://www.odoo.com/es_ES/groups/community-translators-63/community-translators-20325962?mode=thread&date_begin=&date_end=) by @mart-e - Currently we have the files `es_MX.po` with terms translations outdated or wrong translation. - [Example wrong translation es_MX.po](https://github.com/odoo/odoo/blob/8de795291/addons/account/i18n/es_MX.po#L7788) should be [es.po correct translation](https://github.com/odoo/odoo/blob/8de795291/addons/account/i18n/es.po#L7975) - Now to change a `es_MX.po` a PR is required. - `es.po` terms translations and the most terms are fine for México too. (Not regional translation is required for most cases) Then our regional translation process should be: | step | If accepted | If not accepted | |------|-----|-------| | Create a proposal to original language `es.po` from transifex | good and finish! | Create a new PR to odoo/odoo adding just that special term to `es_MX.PO` | This PR reset the `es_MX.po` terms in order to fix many wrong terms using the good `es.po`. Closes #14555
2016-12-01[I18N] update saas-11 translations by merging 9.0 and 10.0Martin Trigaux
2016-11-20[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-11-18[I18N] fetch es_AR termsOdoo Translation Bot
The translations have been removed but was not fetch due to --minimum-perc argument
2016-10-23[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-10-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-09-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-09-07[I18N] export 10.0 source termsMartin Trigaux
2016-09-07[I18N] update saas-11 translations by merging 9.0 and masterMartin Trigaux
Without fuzzy-matching that is too flexible and error prone. Was matching on wrong source and got translation without '%s'
2016-09-05[IMP] *: rename manifest files for v10 naming conventionOlivier Dony
2016-09-05[I18N] Update translation terms from TransifexMartin Trigaux