odoo/odoo#188573

Created by Discuss, Jay Patel (jayp)
Merged at 4c21ab50d08129767ed3772376f59f1fbde97023

Statuses:

label
odoo-dev:18.0-fix-callinvitation-bgcolor-jayp
head
bdfed70bb4dd3a61f3e92ff54f958f6fdf2a7acd
merged
1 year ago by Discuss, Alexandre Kühn (aku)
odoo/odoo
18.0 #188573
saas-18.2
saas-18.3
saas-18.4
19.0
master #189239

[FIX] mail: Incoming call pop-ups shouldn't be transparent

Call invitation was transparent because text-bg-900 is a backend-specific classname style. As a result, the pop-up had no bg-color.

Also the background color and text looks good in white theme: black background with white text. This matches the colors in the call view. In dark theme the colors were inverted: white background and black text. This is unintentional, because this doesn't match call view color that is black color and white text in dark theme too. Also the main advantage of dark theme is to put less eye strain and the inverted colors in dark theme were actually more eye-straining than white theme.

This commit fixes the issue by putting specific color in CSS. These colors should not change with theme: dark theme should keep dark background and white text.

task-4354214