Files
odoo_source/addons/project/static/src/css/project.css
T
Romeo Fragomeli ac584e171d [REF] *: BS5: Migrate Badge
From [1]:
> Dropped all .badge-* color classes for background utilities
> (e.g., use .bg-primary instead of .badge-primary).

We now have to manage constrast for some badge. It's why we
add 'text-dark' at some point.

Note:
Due to the backport of 'text-bg-#{theme}', we can use this to
avoid to use 'text-dark'.

Ref:
[1] https://getbootstrap.com/docs/5.1/migration/#badges

Task ID: 2766483

Part-of: odoo/odoo#95450
2022-07-07 13:30:18 +02:00

53 lines
1.1 KiB
CSS

.o_form_project_tasks.o_form_editable .oe_title {
max-width: initial;
}
.o_form_project_tasks.o_form_editable .oe_title .o_task_name {
/*
* should be (coming from addons/web/static/src/legacy/scss/form_view.scss):
* max-width: map-get($container-max-widths, md) - (2 * $o-horizontal-padding);
*/
max-width: 688px;
}
.o_form_project_tasks .note-editable {
border: 0;
}
.o_form_project_tasks .o_wysiwyg_resizer {
border: 0;
}
.o_kanban_project_tasks .oe_kanban_align.badge {
background: inherit;
color: inherit;
border: 1px solid var(--success);
}
.o_kanban_project_tasks .o_field_one2many_sub_task {
margin-top:2px;
margin-right: 6px;
}
.o_form_project_tasks .ribbon:not(.o_invisible_modifier) + div > h1 > div[name="kanban_state"] {
margin-right: 150px;
padding-left: 1rem;
}
.o_form_project_recurrence_message *:last-child {
margin-bottom: 0;
}
.o_project_portal_warning_dl {
width: 100%;
padding: 0;
margin: 0
}
.o_project_portal_warning_dt {
width: 4%;
float: left;
}
.o_project_portal_warning_dd {
width: 96%;
float: left;
}