From 8818dde723dc09856ef8575dfcf7404abf1b8a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 1 Dec 2022 13:52:01 +0100 Subject: [PATCH] MOBILE-4081 theme: Reintroduce hide-detail class This reverts commit be1bacba0c05a244240c4091884ee35e1178048f. --- .../assign/components/index/addon-mod-assign-index.html | 8 ++++---- .../components/index/addon-mod-feedback-index.html | 4 ++-- .../h5pactivity/pages/user-attempts/user-attempts.html | 2 +- .../h5pactivity/pages/users-attempts/users-attempts.html | 2 +- .../mod/quiz/components/index/addon-mod-quiz-index.html | 2 +- src/theme/theme.base.scss | 5 +++++ 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/addons/mod/assign/components/index/addon-mod-assign-index.html b/src/addons/mod/assign/components/index/addon-mod-assign-index.html index fc5571d40..170d86ab3 100644 --- a/src/addons/mod/assign/components/index/addon-mod-assign-index.html +++ b/src/addons/mod/assign/components/index/addon-mod-assign-index.html @@ -63,7 +63,7 @@

{{ 'addon.mod_assign.numberofdraftsubmissions' | translate }}

@@ -78,8 +78,8 @@
-

{{ 'addon.mod_assign.numberofsubmittedassignments' | translate }}

@@ -95,7 +95,7 @@

{{ 'addon.mod_assign.numberofsubmissionsneedgrading' | translate }}

diff --git a/src/addons/mod/feedback/components/index/addon-mod-feedback-index.html b/src/addons/mod/feedback/components/index/addon-mod-feedback-index.html index ca10c22e4..d416650ca 100644 --- a/src/addons/mod/feedback/components/index/addon-mod-feedback-index.html +++ b/src/addons/mod/feedback/components/index/addon-mod-feedback-index.html @@ -61,8 +61,8 @@ - +

{{ 'addon.mod_feedback.completed_feedbacks' | translate }}

diff --git a/src/addons/mod/h5pactivity/pages/user-attempts/user-attempts.html b/src/addons/mod/h5pactivity/pages/user-attempts/user-attempts.html index 52fb73ded..30b181aca 100644 --- a/src/addons/mod/h5pactivity/pages/user-attempts/user-attempts.html +++ b/src/addons/mod/h5pactivity/pages/user-attempts/user-attempts.html @@ -65,7 +65,7 @@ - + # diff --git a/src/addons/mod/h5pactivity/pages/users-attempts/users-attempts.html b/src/addons/mod/h5pactivity/pages/users-attempts/users-attempts.html index c9a58d517..375cb84cc 100644 --- a/src/addons/mod/h5pactivity/pages/users-attempts/users-attempts.html +++ b/src/addons/mod/h5pactivity/pages/users-attempts/users-attempts.html @@ -19,7 +19,7 @@ - + {{ 'core.user' | translate }} diff --git a/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html b/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html index d8feca57d..82e894031 100644 --- a/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html +++ b/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html @@ -52,7 +52,7 @@ - + diff --git a/src/theme/theme.base.scss b/src/theme/theme.base.scss index 7a3fb0dea..40bb2f338 100644 --- a/src/theme/theme.base.scss +++ b/src/theme/theme.base.scss @@ -1445,6 +1445,11 @@ ion-datetime.datetime-disabled { opacity: .8 !important; } +// Hide details on items to align badges. +ion-item.hide-detail { + --detail-icon-opacity: 0; +} + // Make links clickable when inside radio or checkbox items. Style part. @media (hover: hover) { ion-item.item-multiple-inputs:not(.item-rte):hover::part(native) {