summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/kanban_column_progressbar.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-11[FIX] web: stop wrapping kanban counter over multiple linesqsm-odoo
Note: this should normally not be the case by design as for most values there is enough space for the numbers not to wrap. While waiting for a better implementation, the white-space:nowrap CSS rule will enforce the behavior. Thank you to @Jerther for the original commit. Closes https://github.com/odoo/odoo/pull/24100
2017-09-27[FIX] web: review and fix kanban designstefanorigano
- Folded column design - Adapt progressbar header layout - Remove custom opacity mixin (use default o-hover-opacity) - Remove columns' border (increase padding-right) - Decrease counter opacity if no records - Refine counter animations - ...
2017-09-25[FIX] web: review kanban column progressbar designqsm-odoo
Now: - Animations do not trigger on first rendering - Fix a bug where 5k was considered smaller than 9 (since 5 < 9) - Properly animate number when it crosses over multiple thousands levels - Always preserve at least 3 digits when switching to a thousands level and never show a decimal (4500000 is represented as 4500k, not 4.5M) - Monetary symbol is not bold (and is better integrated) - Add thousands separators for > 3 digits numbers
2017-09-20[FIX] web: better project kanban_status inactive colorqsm-odoo
- Use a lighter color so that the red and green ones are more visible - Use the same color for the column progressbar's inactive state
2017-09-18[FIX] web: fix several kanban design issuesqsm-odoo
- Load more was invisible; now also add a little bit of styling - Small column records were not centered in their column - Add a column padding bottom to allow seeing reaching the scrollend - Column create was misaligned since some padding changes
2017-09-14[IMP] web, *: add kanban column progress barsqsm-odoo
* crm, project Add a new feature which allows to put a progressbar in the kanban columns. The progressbar shows with the same color the amount of records whose value of a given field are the same in the column. It also indicate the sum of another given field or simply the total number of records. It also allows to subgroup the column content. To define a progressbar, add this as a direct child of the kanban arch: <progressbar field="<name of the field to use for subgroups>" colors="{<one possible value for the above field>: <success, warning or danger>, ...}" sum="<name of the field to sum or nothing to use total number of records>"/> Also: - Properly update record model data's parentID when moving a record - ...