summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css/base.sass
AgeCommit message (Collapse)Author
2016-04-22[REM] web: forgotten base.sass/cssAaron Bohy
base.css is unused since rev. 6768bbfcc02e0f498110cda2ba9adbc2fd23d24c
2016-04-12[MERGE] forward port of branch saas-10 up to 21c7ef8Christophe Simonis
2016-04-11[FIX] web: do not wrap numbers on multiple linesqsm-odoo
In languages where the thousands separator is a space, numbers could be wrapped over multiple lines.
2016-03-09[IMP] base,openerp,web: add debug mode === 'assets' and don't split assets ↵Géry Debongnie
by default This is a rather large change for developers: from this commit on, we need to use debug=assets instead of just debug to split assets. The About menu has been slightly improved as well (the link does not appear when we are already in debug mode), and an option has been added in the debugging menu to activate the assets debugging mode.
2016-01-28[FIX] web: listview editable, non editable elementsqsm-odoo
When editing a line, leave the buttons visible. Also remove the 3px gap between fields so that readonly field texts does not move when entering the edition mode.
2016-01-20[FIX] web: don't print nothing when something is thereNicolas Lempereur
In most backend views using CTRL+P to use browser printing would only print an header without the content. stumbled-uppon-when-checking: opw-659430 opw-660763
2015-12-28[FIX] web: tip position in form viewsha-odoo
As .oe_form_sheetbg was not position:relative, tips position was sometimes wrong as the statusbar is loaded after the tips positions are computed.
2015-09-29[FIX] web,account: client actions layout (height)qsm-odoo
Like view manager containers, client action containers needed the overflow:auto property to compute their correct height inside their flex context. This also allows client action as the reconcilation in accounting to not care about their height.
2015-09-24 [REF] web: datepicker widgetqsm-odoo
(backport of enterprise version) * JS/XML refactoring * Allow user to override default options for the picker
2015-09-24[FIX] web: invisible element position in a listview editableqsm-odoo
Elements which are not displayed (display: none) cannot be positionned correctly by jQueryUI in a listview editable. Therefore, the solution is to make them visible (but opacity: 0) during the time their position is being computed. This was a problem because a listview editable field may become visible under some conditions AFTER their position was already computed.
2015-09-11[FIX] attachment: fix the close button positionChristophe Matthieu
2015-09-01[REM] *: remove chat menu and timeline viewAaron Bohy
2015-09-01[REF] web: backport some classnames renamingAaron Bohy
oe_form_binary_form -> o_form_binary_form oe_form_binary_file -> o_form_input_file Required for new design compatibility (classnames accessed in addon mail)
2015-09-01[FIX] web: stat_button: display none on hoverAaron Bohy
A 'display: none' rule on hover has been added for boolean buttons, on each 'o_stat_button o_stat_text' that hasn't classname o_hover. This applies on every stat button that isn't a boolean button, so their content is always hidden on hover.
2015-08-31[IMP] web: make `boolean_button` more specific, and change label on hoverRaphael Collet
The widget now provide labels that depend on widget option "terminology". For each terminology, it provides four button labels that are shown depending on the field's value and hover status on the button.
2015-08-28[IMP] web: in `boolean_button`, move options to inner elements to handle ↵Raphael Collet
translations In practice, we replace: <field name="active" widget="boolean_button" options='{"true": "Active", "false": "Inactive"}'/> by: <field name="active" widget="boolean_button"> <span class="o_stat_text o_true text-success">Active</span> <span class="o_stat_text o_false text-danger">Inactive</span> </field>
2015-08-27[ADD] web: add dynamic widget to toggle boolean buttonGaurav Panchal
2015-08-21[IMP] web: use css to display attachment mimetypeChristophe Matthieu
Widgets and website display images or display the type with icon like pdf, doc...
2015-08-14[FIX] web: oe_button: don't override bootstrap rulesAaron Bohy
Remove the style defined on oe_button as it overrides bootstrap rules like btn-primary, btn-default...
2015-08-14[FIX] web: radio horizontalGaurav Panchal
The widget was completely broken when usign the horizontal display. It has been fixed, hopefully in a way that lessen the xml and css.
2015-08-07[REF] web(_*): views: view_switcher iconAaron Bohy
Add a key icon in the view's prototype corresponding to the font-awesome icon to display in the view switcher.
2015-08-06[IMP] web: classnames update for new design compatibilityAaron Bohy
The DOM structure and elements's classnames diverge in community and enterprise editions. Tips must work perfectly with both editions, obviously. This rev. updates some classnames in the community edition for the tips's selectors to match in both editions. The following classnames have been renamed/introduced: - oe_form_buttons_view renamed to o_form_buttons_view - oe_form_buttons_edit renamed to o_form_buttons_edit - oe_form_invisible renamed to o_form_invisible - oe_list now also has classname o_list_view - header tag in form views now has classname o_form_statusbar_buttons Other changes like these might be required later if other tips are introduced...
2015-08-04[FIX] web: form_view: WidgetButtonAaron Bohy
Buttons that are not stat buttons couldn't use font-awesome icons, as it automatically fallbacked on the icons in /web/static/src/img/icons. This was the case for several templates where the icon thus couldn't be found as it was looking for a font-awesome icon in the icons folder (e.g. fa-cog.png). Also cleans some unused less rules defined on the stat buttons in enterprise_compatibility.less
2015-07-29[FIX] web,mail: widgets: replace $el.toggle() by do_toggle()Aaron Bohy
Since rev. 16eb36ff, do_show() and do_hide() on widgets toggle the classname o_hidden on which the rule 'display: none' is defined, instead of calling jQuery's show() and hide(). The method do_toggle(), sharing the same logic, has been introduced in rev. 74c5f772. From now on, every widgets should call do_toggle() instead of $el.toggle() as it will have undesiderable effects (they should call do_show() and do_hide() instead of $el.show() and $el.hide() as well, this as been done in 16eb36ff). This rev. replaces all calls to $el.toggle() by do_toggle(). It also adds an optional argument to do_toggle() to force hidding or showing the widget.
2015-07-29[REF] web(_tests): list view (editable): action buttonsAaron Bohy
Refactoring of the DOM structure and classnames of the list view's action buttons (in the control panel), for new design compatibility. This refactoring was required as some addons shared between both editions (e.g. base_import) define their own buttons and extend the ListView.buttons template to insert them.
2015-07-29[REF] web: action manager: wrap the client actions in a divSimon Lejeune
this way we can style the div and use the trick to have the child of a flex-item filling 100% of its parent (flex item in relative position and flex child in an absolute position). It is needed to have a consistent look betwenn Odoo enterprise and Odoo community.
2015-07-22[MERGE] forward port of branch saas-6 up to 63e92cbChristophe Simonis
2015-07-17[FIX] web: Secondary left menu items with action are displayed in blue ↵Yannick Tivisse
instead of the others, which are displayed in purple.
2015-07-17[IMP] web: use a classname to show/hide widgetsAaron Bohy
The problem of $el.show()/hide() is that calling show() on a jQuery element on which there is no display rule in the stylesheet automatically sets 'display: block'. However, when a jQuery element is not yet in the DOM, the rules defined on it are not yet applied, meaning that calling show() will set its display to block (in inline style), even if there is different a css rule (e.g. 'dislay: flex'). As the inline style takes the priority over the stylesheet, the correct display won't be applied, even when the widget will be appended in the DOM, resulting in a possibly broken layout.
2015-07-15[IMP] board,google_spreadsheet,web,web_calendar: Favorites menuAaron Bohy
Adapt the Favorites menu so that addons appending stuff in it are compliant with the enterprise edition. Mainly, creation of dashboard.less from of dashboard.sass so that we can use mixins defined in the web addon. Some changes as well in the dashboard view to make it compliant with the enterprise edition. Use correct naming convention: classnames with underscores, less mixins with hyphens.
2015-07-14[MERGE] forward port of branch 8.0 up to 86d7f52Christophe Simonis
2015-07-13[FIX] web: m2m tags overflow when too much tagsNicolas Lempereur
If too many tags (or too long tags) where present in a many2many tags widgets, it could go over the field and cover other thing in the UI. Now the field size expands with the content (and in a way it is more visually similar before and after 'Edit' so it is nice). closes #7579 opw-644236
2015-07-07[MERGE] forward port of branch 8.0 up to 2de301dChristophe Simonis
2015-07-02[IMP] web: make many2many tags inline block without wrappingHolger Brunn
Better look when using long words in tags Closes #6963
2015-06-25[IMP] web: ViewManager for One2Many and Many2Many fieldsAaron Bohy
This rev. generalizes the notions of FieldOne2Many to FieldX2Many and of One2ManyViewManager to X2ManyViewManager. The same logic is now applied both for One2Many and Many2Many fields. This allows Many2Many list and kanban views to have a pager, as the pager is instanciated by the view, on demand of the ViewManager.
2015-06-25[MERGE] forward port of branch saas-6 up to 81b5c60Christophe Simonis
2015-06-23[IMP] web: form_view: stat buttons hover styleAaron Bohy
2015-06-18[MERGE] forward port of branch 8.0 up to ed3065eChristophe Simonis
2015-06-18[IMP] web: remove the strange color on links in the view-managerMartin Geubelle
2015-06-18[IMP] Add design compatibility for templatesqsm-odoo
Add compatibility rules for the templates to look good on both enterprise and community editions
2015-06-17[FIX] web: break tags containing very long wordsDenis Ledoux
Otherwise they overlap with the rest of the form. opw-641567
2015-06-17[IMP] web, web_*, mail, board : New modals and dialogsqsm-odoo
2015-06-15[FIX] base: export translationGoffin Simon
In css, overflow-x and overflow-y must have the same value. If overflow-x is equal to auto then overflow-y is equal to auto. To solve the problem, the height of the input is removed because it is forced by the Jquery auto-completion plugin according to the wrapper. Without this patch, when you go to Settings > Import/Export > Export Translation and click on the arrow to to show the list of modules you can export, the list is partially hidden. opw:632607
2015-05-28[MERGE] forward port of branch saas-6 up to bf1e999Christophe Simonis
2015-05-21[IMP][ADD] mail, various: timeline view.Valerie Pirenne
This commit introduces a new view type, the timeline view. This view is intended to display messages like the previous chatter. This is now a view like the form or list view. Like other views it will be possible to have custom templates for some specific needs, allowing customization. [IMP] mail: the value tracking is modified. Previously messages were created containing the modified values. Those values are now stored, using a new model mail.tracking.value. The message body is dynamically build based on the values. Tests have been updated. This version is temporary. Indeed two main modifications will come in a short future : - the new design will improve the display - the slack mode will change the way the Inbox and notifications are managed All glory to the Hypnotoad. Special thanks to Valerie Pirenne (vpi), Jerome Maes (jem) and Richat Mathot (rim) that did not code but said a lot of things. Martin Trigaux (mat) did nothing, a bit like for the slides modules, but he is busy sending emails.
2015-05-15[IMP] Web: ListView: semantics classes for row decorationAaron Bohy
based on bootstrap contextual colors, and bold/italic fonts. Backward compatibility is ensured as the ListView is monkey-patched to keep interpreting colors and fonts attributes.
2015-05-13[IMP] web: New generic progressbar widget + FieldProgressBar adaptationqsm-odoo
2015-05-13[FIX] web : Trying to reconnect banner was creating a bannerYannick Tivisse
each time the rpc_error function was called. There was several call to setInterval method, and several block were created with the same content. Also, the banner was not centered, and a blur effect was created by the fa-spin class
2015-05-08[FIX] web: view list lines in media printNicolas Lempereur
List view elements were not displayed when printing a list view via the browser interface. Also now, with firefox (and maybe other browser but not with webkit based ones) the page break should not happen in the middle of a row (hence something cutting a sentence vertically on two pages). closes #6581 opw-634588
2015-04-30[IMP] web : replace timezone warning icon with a form widgetVidhin Mehta