[FIX] hr_holidays: adapt type icons color for dark mode
This commit adapts the color of icons in the Time Off Type section for the dark mode. task-2710677 X-original-commit: a5f108c5b9ea1008e2c5b519902bbf6398b02233 Part-of: odoo/odoo#103162
This commit is contained in:
committed by
Pierre Paridans
parent
074bcf779f
commit
6461020f4c
@@ -1,6 +1,6 @@
|
||||
// = HR Holidays
|
||||
// ============================================================================
|
||||
// No CSS hacks, variables overrides only
|
||||
.o_timeoff_card {
|
||||
.o_timeoff_card, .o_time_off_icon_types {
|
||||
--timeOffCard-icon-filter: invert(1) brightness(2);
|
||||
}
|
||||
|
||||
@@ -67,3 +67,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.o_time_off_icon_types img {
|
||||
filter: var(--timeOffCard-icon-filter);
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
</group>
|
||||
<group colspan="2">
|
||||
<field name="color" widget="color_picker" />
|
||||
<field class="d-flex flex-wrap" name="icon_id" widget="hr_holidays_radio_image" options="{'horizontal': true}"/>
|
||||
<field class="o_time_off_icon_types d-flex flex-wrap" name="icon_id" widget="hr_holidays_radio_image" options="{'horizontal': true}"/>
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
|
||||
Reference in New Issue
Block a user