[REF] web, *: move the openhand.cur file to the right folder

*: point_of_sale, pos_restaurant

With [1], we introduced a cursor file for the grab icon in 13.0. It was
then forward-ported up to master... but it should have been adapted
starting from 15.0 as the 'img' folder of web moved around at [2].

This commit fixes that to not have two 'img' folders in web.
Unfortunately, [1] was not merged yesterday so we cannot really "fix"
the stable 15.0 version whose custo may already rely on that wrong
image location. So this fixes only master.

[1]: https://github.com/odoo/odoo/commit/c8e4e1e90322a652b01fa0eb1e6612b9c244f744
[2]: https://github.com/odoo/odoo/commit/ecfe85db84fb5649aaeb48ba3b221386e61a57bc

closes odoo/odoo#84837

Related: odoo/enterprise#24484
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
qsm-odoo
2022-02-18 10:46:53 +00:00
parent 1906584e02
commit 8d591ee3e2
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2849,7 +2849,7 @@ td {
.drag-handle {
/* See o-grab-cursor mixin */
cursor: url(/web/static/src/img/openhand.cur), grab;
cursor: url(/web/static/img/openhand.cur), grab;
}
.drag-handle:active {
@@ -223,7 +223,7 @@
background: white;
box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
/* See o-grab-cursor mixin */
cursor: url(/web/static/src/img/openhand.cur), grab;
cursor: url(/web/static/img/openhand.cur), grab;
transition: all 150ms linear;
z-index: 100;
transform: translate(-50%, -50%);

Before

Width:  |  Height:  |  Size: 326 B

After

Width:  |  Height:  |  Size: 326 B

+1 -1
View File
@@ -173,7 +173,7 @@
@mixin o-grab-cursor() {
// Use a custom cursor for the open hand icon as "grab" is not properly
// working on Chrome Linux (at least)
cursor: url(/web/static/src/img/openhand.cur), grab;
cursor: url(/web/static/img/openhand.cur), grab;
}
// ------------------------------------------------------------------