From 2911cbb1aabe9fdc817f48b012ac7c9b4da92e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 28 Feb 2018 17:02:39 +0100 Subject: [PATCH] MOBILE-2327 courses: Condesate the course progress styles --- .../calendar/providers/mainmenu-handler.ts | 2 +- src/addon/files/providers/mainmenu-handler.ts | 2 +- .../messages/providers/mainmenu-handler.ts | 2 +- src/app/app.scss | 7 +++ .../course-progress/course-progress.html | 22 +++++---- .../course-progress/course-progress.scss | 45 +++++++++---------- .../courses/providers/mainmenu-handler.ts | 2 +- .../grades/providers/course-option-handler.ts | 2 +- src/core/grades/providers/mainmenu-handler.ts | 2 +- .../user/providers/course-option-handler.ts | 2 +- src/core/user/providers/user.ts | 2 +- tsconfig.json | 1 - webpack.config.js | 1 - 13 files changed, 46 insertions(+), 46 deletions(-) diff --git a/src/addon/calendar/providers/mainmenu-handler.ts b/src/addon/calendar/providers/mainmenu-handler.ts index 555e271fd..92e038527 100644 --- a/src/addon/calendar/providers/mainmenu-handler.ts +++ b/src/addon/calendar/providers/mainmenu-handler.ts @@ -22,7 +22,7 @@ import { CoreMainMenuHandler, CoreMainMenuHandlerData } from '../../../core/main @Injectable() export class AddonCalendarMainMenuHandler implements CoreMainMenuHandler { name = 'AddonCalendar'; - priority = 400; + priority = 900; constructor(private calendarProvider: AddonCalendarProvider) { } diff --git a/src/addon/files/providers/mainmenu-handler.ts b/src/addon/files/providers/mainmenu-handler.ts index fb7e82d71..44c1bfd09 100644 --- a/src/addon/files/providers/mainmenu-handler.ts +++ b/src/addon/files/providers/mainmenu-handler.ts @@ -22,7 +22,7 @@ import { CoreMainMenuHandler, CoreMainMenuHandlerData } from '../../../core/main @Injectable() export class AddonFilesMainMenuHandler implements CoreMainMenuHandler { name = 'AddonFiles'; - priority = 200; + priority = 400; constructor(private filesProvider: AddonFilesProvider) { } diff --git a/src/addon/messages/providers/mainmenu-handler.ts b/src/addon/messages/providers/mainmenu-handler.ts index dcee4cc5f..496251bfc 100644 --- a/src/addon/messages/providers/mainmenu-handler.ts +++ b/src/addon/messages/providers/mainmenu-handler.ts @@ -29,7 +29,7 @@ import { AddonPushNotificationsProvider } from '@addon/pushnotifications/provide @Injectable() export class AddonMessagesMainMenuHandler implements CoreMainMenuHandler, CoreCronHandler { name = 'AddonMessages'; - priority = 600; + priority = 800; protected badge = ''; protected loading = true; diff --git a/src/app/app.scss b/src/app/app.scss index d291bdec9..d5fd9b7ce 100644 --- a/src/app/app.scss +++ b/src/app/app.scss @@ -237,7 +237,14 @@ core-format-text[ng-reflect-max-height], *[core-format-text][ng-reflect-max-heig core-format-text[singleLine="true"], *[core-format-text][singleLine="true"], core-format-text[ng-reflect-single-line="true"], *[core-format-text][ng-reflect-single-line="true"] { + cursor: pointer; + pointer-events: auto; white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + display: block; + position: relative; + width: 100%; } .core-media-adapt-width { diff --git a/src/core/courses/components/course-progress/course-progress.html b/src/core/courses/components/course-progress/course-progress.html index 6eb3c2cd5..ec1484c21 100644 --- a/src/core/courses/components/course-progress/course-progress.html +++ b/src/core/courses/components/course-progress/course-progress.html @@ -1,22 +1,20 @@ - -