Skip to content

Commit

Permalink
[REF] fermente_web: scss simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Mar 2, 2025
1 parent 43eca3e commit fdccca0
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 47 deletions.
5 changes: 0 additions & 5 deletions fermente_web/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,8 @@
"depends": ["web"],
"assets": {
"web.assets_backend": [
"fermente_web/static/src/xml/switch_company_menu.xml",
"fermente_web/static/src/js/switch_company_menu.esm.js",
"fermente_web/static/src/scss/fermente_web.scss",
],
},
# "qweb": [
# "static/src/xml/base.xml",
# ],
"installable": True,
}
9 changes: 3 additions & 6 deletions fermente_web/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ This module extend Odoo web module, to change UI.

* Change border fields to make it smoother

.. image:: ../static/description/product_product_form.png
.. image:: ../static/description/product_tree.png

* Add the company image in the menu

.. image:: ../static/description/menu.png

* Change the image of the login page, setting it static
* Change the image of the login page. The image will depends on the name
of the database, and will be the logo of the Fermente companies.

.. image:: ../static/description/login_page.png
Binary file added fermente_web/static/description/login_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed fermente_web/static/description/logout_page.png
Binary file not shown.
Binary file removed fermente_web/static/description/menu.png
Binary file not shown.
Binary file not shown.
Binary file added fermente_web/static/description/product_tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 2 additions & 19 deletions fermente_web/static/src/scss/fermente_web.scss
Original file line number Diff line number Diff line change
@@ -1,22 +1,5 @@
/* ****************************************************
Form View: Change input and spaces between objects
**************************************************** */
.mb-3 {
margin-top: 0.3rem !important;
}
.mb-4 {
margin-top: 0.4rem !important;
}

.o-form-buttonbox {
margin-bottom: 8px;
}

/* ****************************************************
Tree View: Border for all cells
**************************************************** */
/* Improve visibility of table cells */

.table td {
border-left: 1px solid rgb(233, 236, 239);
border-left: 1px solid #dee2e6;
}

17 changes: 0 additions & 17 deletions fermente_web/views/templates.xml

This file was deleted.

0 comments on commit fdccca0

Please sign in to comment.