diff --git a/src/addons/messages/messages-common.scss b/src/addons/messages/messages-common.scss index 8f9ea8c4b..a9dfebf33 100644 --- a/src/addons/messages/messages-common.scss +++ b/src/addons/messages/messages-common.scss @@ -1,6 +1,11 @@ :host { .addon-messages-conversation-item, .addon-message-discussion { + ion-label { + margin-right: 0; + margin-left: 0; + } + h2 { core-format-text { font-weight: bold; @@ -12,10 +17,18 @@ } ion-note { - ion-badge { - margin-left: 6px; - margin-right: 6px; - vertical-align: middle; + display: flex; + flex-direction: column; + align-self: flex-start; + margin-left: 2px; + + ion-badge, ion-icon { + margin-top: 3px; + align-self: flex-end; + } + .addon-message-last-message-date { + white-space: nowrap; + font-size: 11px; } } diff --git a/src/addons/messages/pages/discussion/discussion.scss b/src/addons/messages/pages/discussion/discussion.scss index 88e6b41f5..a521f3d57 100644 --- a/src/addons/messages/pages/discussion/discussion.scss +++ b/src/addons/messages/pages/discussion/discussion.scss @@ -23,6 +23,8 @@ color: var(--ion-color-primary); background-color: transparent; margin-top: 6px; + margin-left: auto; + margin-right: auto; ion-icon { color: var(--ion-color-primary); background-color: transparent; diff --git a/src/addons/messages/pages/discussions-35/discussions.html b/src/addons/messages/pages/discussions-35/discussions.html index de1cae839..01d19dfa5 100644 --- a/src/addons/messages/pages/discussions-35/discussions.html +++ b/src/addons/messages/pages/discussions-35/discussions.html @@ -52,16 +52,22 @@ + [attr.aria-current]="discussion.message!.user == discussionUserId ? 'page' : 'false'" detail="false"> -

{{ discussion.fullname }}

- - - - {{discussion.message!.timecreated / 1000 | coreDateDayOrTime}} - - +
+

{{ discussion.fullname }}

+ + + {{discussion.message!.timecreated / 1000 | coreDateDayOrTime}} + + + + {{ 'addon.messages.unreadmessages' | translate }} + + +

diff --git a/src/addons/messages/pages/group-conversations/group-conversations.html b/src/addons/messages/pages/group-conversations/group-conversations.html index 5a2a475c6..a88794403 100644 --- a/src/addons/messages/pages/group-conversations/group-conversations.html +++ b/src/addons/messages/pages/group-conversations/group-conversations.html @@ -146,7 +146,7 @@ - -

- - - -

+
+

+ + + +

+ + + {{conversation.lastmessagedate | coreDateDayOrTime}} + + {{ conversation.unreadcount }} + + {{ 'addon.messages.unreadmessages' | translate:{$a: conversation.unreadcount} }} + + +

@@ -181,12 +192,5 @@ class="addon-message-last-message-text" contextLevel="system" [contextInstanceId]="0">

- - {{ conversation.unreadcount }} - - {{ 'addon.messages.unreadmessages' | translate:{$a: conversation.unreadcount} }} - - {{conversation.lastmessagedate | coreDateDayOrTime}} -
diff --git a/src/addons/mod/quiz/pages/review/review.html b/src/addons/mod/quiz/pages/review/review.html index 5b602f6fe..fe8e12505 100644 --- a/src/addons/mod/quiz/pages/review/review.html +++ b/src/addons/mod/quiz/pages/review/review.html @@ -24,7 +24,9 @@ {{ 'addon.mod_quiz.reviewofpreview' | translate }} - {{ 'addon.mod_quiz.reviewofattempt' | translate:{$a: attempt.attempt} }} + + {{ 'addon.mod_quiz.reviewofattempt' | translate:{$a: attempt.attempt} }} + diff --git a/src/core/features/search/components/search-box/search-box.scss b/src/core/features/search/components/search-box/search-box.scss index 1f5339d7e..c1b71da1b 100644 --- a/src/core/features/search/components/search-box/search-box.scss +++ b/src/core/features/search/components/search-box/search-box.scss @@ -1,5 +1,5 @@ :host { - height: 80px; + height: 73px; display: block; position: relative; @@ -8,9 +8,11 @@ left: 0; right: 0; z-index: 4; + margin-top: 10px; + margin-bottom: 10px; } - ion-button.button:last-child { + ion-button.button { margin-left: unset; margin-inline-start: 10px; } @@ -28,4 +30,9 @@ ion-label { margin: 0; } + + ion-input { + --padding-start: 0; + --padding-end: 0; + } } diff --git a/src/theme/theme.base.scss b/src/theme/theme.base.scss index 5e808337f..b712d1574 100644 --- a/src/theme/theme.base.scss +++ b/src/theme/theme.base.scss @@ -554,6 +554,13 @@ textarea, button, select, input, a { } } +ion-loading:focus-visible, +ion-alert:focus-visible, +ion-popover:focus-visible, +ion-modal:focus-visible { + box-shadow: none; +} + ion-input .native-input{ &:focus, &:focus-visible { box-shadow: none;