odoo/odoo#154964

Created by Brieuc Dejean (brd)
label
odoo-dev:17.0-fix-move-calendar-css-to-web-brd
head
f8b97b95a5c36e2da331bdc807489c888a1d1e9f
target
17.0
merged
2 months ago by JavaScript, Pierre Paridans (app)
forward-ports

[MOV] web, calendar: move common scss into web

### Move common scss into web
Prior to this PR, some of the main styles related to event elements in calendars were set in the `calendar` module.
This created layout issues when we installed independent modules without installing `calendar` (eg. `planning` or `hr_payroll`).

To fix that, this PR moves the necessary styles into `web` and manages duplicated styles in order to remove them.

### Adjust hatched events for planning
Prior to this commit, the "hatched" event style in Planning wasn't displayed in Day and Week views.
This commit adjusts the css selector to fix this issue.

---
task-3617329
Part of task-3575827

---
| Before | After |
|--------|--------|
| ![Capture d’écran 2024-02-22 à 08 30 37](https://github.com/odoo/odoo/assets/80679690/a6a33398-522e-471c-ab75-884f72c214cc) | ![Capture d’écran 2024-02-22 à 08 43 32](https://github.com/odoo/odoo/assets/80679690/e6c07aac-8273-4772-a759-64c03ee125e5) |
| ![Capture d’écran 2024-02-22 à 08 31 10](https://github.com/odoo/odoo/assets/80679690/0ac54c01-a39b-45dd-afeb-5bcc29c912ae) | ![Capture d’écran 2024-02-22 à 08 44 50](https://github.com/odoo/odoo/assets/80679690/d0a69d3f-e68f-4c7f-97d1-e33c14c6f8bd) |

| Before | After |
|--------|--------|
| ![Capture d’écran 2024-03-25 à 11 00 46](https://github.com/odoo/odoo/assets/80679690/d866eadf-5c04-451c-a98e-4af7789f6d08) | ![Capture d’écran 2024-03-25 à 11 01 06](https://github.com/odoo/odoo/assets/80679690/216ddadb-8e02-4522-a7dc-cf3f6f71069e) |


---

I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr