From cbc2f456ebd0a0d09deeed221ad7b2d4da96b6e1 Mon Sep 17 00:00:00 2001 From: dpalou Date: Fri, 14 Sep 2018 10:38:03 +0200 Subject: [PATCH] MOBILE-2532 course: Allow accessing hidden courses --- src/app/app.scss | 5 +++++ .../course-list-item/core-courses-course-list-item.html | 2 +- .../course-progress/core-courses-course-progress.html | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/app/app.scss b/src/app/app.scss index 6019015fe..4ef93f97c 100644 --- a/src/app/app.scss +++ b/src/app/app.scss @@ -101,6 +101,11 @@ ion-app.app-root { opacity: 0.71; } + // Simulate item[disabled] but keeping pointer-events. + .item-disabled { + opacity: .4; + } + .item-radio-checked { background-color: $gray-lighter; } diff --git a/src/core/courses/components/course-list-item/core-courses-course-list-item.html b/src/core/courses/components/course-list-item/core-courses-course-list-item.html index d37534d63..a56a02b9b 100644 --- a/src/core/courses/components/course-list-item/core-courses-course-list-item.html +++ b/src/core/courses/components/course-list-item/core-courses-course-list-item.html @@ -1,4 +1,4 @@ - +

diff --git a/src/core/courses/components/course-progress/core-courses-course-progress.html b/src/core/courses/components/course-progress/core-courses-course-progress.html index 2e70deeca..e9cca5e8a 100644 --- a/src/core/courses/components/course-progress/core-courses-course-progress.html +++ b/src/core/courses/components/course-progress/core-courses-course-progress.html @@ -2,7 +2,7 @@
- +

@@ -14,7 +14,7 @@
- +