[FIX] survey: adapt section rows for dark mode
This commit adapts the colors of section rows for dark mode. task-2710677 X-original-commit: 9302f920b3d6f31bc2cf24a7ac47a49343cca7c4 Part-of: odoo/odoo#103162
This commit is contained in:
committed by
Pierre Paridans
parent
8b1e5a8708
commit
6c2a50769e
@@ -99,6 +99,9 @@ sent mails with personal token for the invitation of the survey.
|
||||
'survey/static/src/scss/survey_question_views.scss',
|
||||
'survey/static/src/scss/survey_templates_results.scss',
|
||||
],
|
||||
"web.dark_mode_assets_backend": [
|
||||
'survey/static/src/scss/*.dark.scss',
|
||||
],
|
||||
'web.assets_tests': [
|
||||
'survey/static/tests/tours/*.js',
|
||||
],
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
// = Survey view
|
||||
// ============================================================================
|
||||
// No CSS hacks, variables overrides only
|
||||
|
||||
.o_survey_form {
|
||||
--SurveyForm__section-background-color: #{$o-gray-300};
|
||||
}
|
||||
@@ -134,9 +134,13 @@
|
||||
// FORM view
|
||||
.o_survey_form table.o_section_list_view tr.o_data_row.o_is_section {
|
||||
font-weight: bold;
|
||||
background-color: #DDD;
|
||||
background-color: var(--SurveyForm__section-background-color, #DDD);
|
||||
border-top: 1px solid #BBB;
|
||||
border-bottom: 1px solid #BBB;
|
||||
|
||||
> td {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
// TOOLS
|
||||
|
||||
Reference in New Issue
Block a user