diff --git a/src/addons/calendar/components/calendar/calendar.scss b/src/addons/calendar/components/calendar/calendar.scss
index 0fd053dfa..4d9303f3b 100644
--- a/src/addons/calendar/components/calendar/calendar.scss
+++ b/src/addons/calendar/components/calendar/calendar.scss
@@ -55,9 +55,8 @@
}
&.today .addon-calendar-day-number span {
- background-color: var(--addon-calendar-today-bgcolor);
- color: var(--addon-calendar-today-color);
-
+ border: 2px solid var(--addon-calendar-today-border-color);
+ line-height: 20px;;
border-radius: 50%;
}
&.dayblank {
diff --git a/src/addons/messages/pages/settings/settings.html b/src/addons/messages/pages/settings/settings.html
index 4f3aafeac..e0c38e675 100644
--- a/src/addons/messages/pages/settings/settings.html
+++ b/src/addons/messages/pages/settings/settings.html
@@ -135,9 +135,9 @@
{{ 'core.settings.general' | translate }}
- {{ 'addon.messages.useentertosend' | translate }}
+ {{ 'addon.messages.useentertosend' | translate }}
-
+
diff --git a/src/addons/mod/forum/components/post/post.html b/src/addons/mod/forum/components/post/post.html
index e6b7a3da7..0b1f4d993 100644
--- a/src/addons/mod/forum/components/post/post.html
+++ b/src/addons/mod/forum/components/post/post.html
@@ -130,9 +130,9 @@
[attr.aria-controls]="'addon-forum-reply-edit-form-advanced-' + uniqueId"
[attr.aria-label]="(advanced ? 'core.hideadvanced' : 'core.showadvanced') | translate"
>
+
+
-
-
{{ 'addon.mod_forum.advanced' | translate }}
diff --git a/src/addons/storagemanager/pages/courses-storage/courses-storage.scss b/src/addons/storagemanager/pages/courses-storage/courses-storage.scss
index 1861562ad..18d5a6e54 100644
--- a/src/addons/storagemanager/pages/courses-storage/courses-storage.scss
+++ b/src/addons/storagemanager/pages/courses-storage/courses-storage.scss
@@ -5,10 +5,6 @@
.item-heading {
font-weight: bold;
}
-
- .item-heading.item-heading-secondary {
- color: $subdued-text-color;
- }
}
}
diff --git a/src/core/components/combobox/combobox.scss b/src/core/components/combobox/combobox.scss
index 974e201f9..85f428f01 100644
--- a/src/core/components/combobox/combobox.scss
+++ b/src/core/components/combobox/combobox.scss
@@ -12,6 +12,9 @@
--color: var(--core-combobox-color);
--color-activated: var(--core-combobox-color);
+ --border-color: var(--core-combobox-border-color);
+ --border-width: 0 0 var(--core-combobox-border-width) 0;
+ --border-style: solid;
--color-focused: currentcolor;
--color-hover: currentcolor;
@@ -50,6 +53,10 @@ ion-button {
}
ion-select {
+ border-color: var(--border-color);
+ border-width: var(--border-width);
+ border-style: var(--border-style);
+
&::part(icon) {
margin: var(--icon-margin);
opacity: 1;
diff --git a/src/core/components/progress-bar/progress-bar.scss b/src/core/components/progress-bar/progress-bar.scss
index 11b6a5f70..d50a1f078 100644
--- a/src/core/components/progress-bar/progress-bar.scss
+++ b/src/core/components/progress-bar/progress-bar.scss
@@ -2,8 +2,11 @@
display: flex;
width: 100%;
+ --line-height: 40px;
+ --bar-margin: 16px 0;
+
.core-progress-text {
- line-height: 40px;
+ line-height: var(--line-height);
font-size: 1rem;
color: var(--text-color);
width: 55px;
@@ -14,7 +17,7 @@
-webkit-appearance: none;
appearance: none;
height: var(--height);
- margin: 16px 0;
+ margin: var(--bar-margin);
padding: 0;
display: block;
width: 100%;
diff --git a/src/core/components/tabs/tabs.scss b/src/core/components/tabs/tabs.scss
index b20e3c3c4..fa1562f1d 100644
--- a/src/core/components/tabs/tabs.scss
+++ b/src/core/components/tabs/tabs.scss
@@ -1,7 +1,9 @@
+@import "~theme/globals";
+
:host {
--tabs-background: var(--core-tabs-background);
--tabs-color: var(--core-tab-color);
- --height: 56px;
+ --height: #{$core-tabs-height};
height: 100%;
display: flex;
flex-direction: column;
@@ -54,6 +56,9 @@
border-bottom-color: var(--border-color-active);
ion-tab-button {
color: var(--color-active);
+ ion-label {
+ font-weight: var(--font-weight-active);
+ }
}
}
}
diff --git a/src/core/features/course/components/format/format.scss b/src/core/features/course/components/format/format.scss
index 0d3002196..f5a535adb 100644
--- a/src/core/features/course/components/format/format.scss
+++ b/src/core/features/course/components/format/format.scss
@@ -17,13 +17,14 @@
.core-course-thumb {
display: none;
- height: 150px;
+ height: #{$core-courseimage-on-course-height};
width: 100%;
overflow: hidden;
cursor: pointer;
pointer-events: auto;
position: relative;
background: var(--ion-item-background);
+ border-bottom: 1px solid var(--gray);
img {
position: absolute;
@@ -34,6 +35,19 @@
}
}
+ @if ($core-show-courseimage-on-course) {
+ .core-course-thumb {
+ display: block;
+ }
+ }
+
+ @if ($core-hide-progress-on-course) {
+ .core-course-progress {
+ display: none;
+ }
+ }
+
+
.core-button-selector-row {
display: flex;
core-combobox {
diff --git a/src/core/features/course/components/section-selector/section-selector.scss b/src/core/features/course/components/section-selector/section-selector.scss
index 429076451..828f42727 100644
--- a/src/core/features/course/components/section-selector/section-selector.scss
+++ b/src/core/features/course/components/section-selector/section-selector.scss
@@ -1,17 +1,15 @@
-:host {
- core-progress-bar {
- .core-progress-text {
- line-height: 24px;
- position: absolute;
- top: -8px;
- right: 10px;
- }
- progress {
- margin: 8px 0 4px 0;
- }
- }
+@import '~theme/globals.scss';
+core-progress-bar {
+ --bar-margin: 8px 0 4px 0;
+ --line-height: 20px;
+}
- ion-badge {
- text-align: start;
+@if ($core-hide-progress-on-section-selector) {
+ core-progress-bar {
+ display: none;
}
-}
\ No newline at end of file
+}
+
+ion-badge {
+ text-align: start;
+}
diff --git a/src/core/features/course/components/section-selector/section-selector.ts b/src/core/features/course/components/section-selector/section-selector.ts
index 06b74987d..c2fdc2069 100644
--- a/src/core/features/course/components/section-selector/section-selector.ts
+++ b/src/core/features/course/components/section-selector/section-selector.ts
@@ -26,6 +26,7 @@ import { ModalController } from '@singletons';
@Component({
selector: 'core-course-section-selector',
templateUrl: 'section-selector.html',
+ styleUrls: ['section-selector.scss'],
})
export class CoreCourseSectionSelectorComponent implements OnInit {
diff --git a/src/core/features/courses/components/course-progress/core-courses-course-progress.html b/src/core/features/courses/components/course-progress/core-courses-course-progress.html
index 9b5b972ce..a1d1b2571 100644
--- a/src/core/features/courses/components/course-progress/core-courses-course-progress.html
+++ b/src/core/features/courses/components/course-progress/core-courses-course-progress.html
@@ -55,7 +55,8 @@
- = 0 && course.completionusertracked !== false" lines="none">
+ = 0 && course.completionusertracked !== false" lines="none"
+ class="core-course-progress">
diff --git a/src/core/features/courses/components/course-progress/course-progress.scss b/src/core/features/courses/components/course-progress/course-progress.scss
index f460d17b7..4fee81ed6 100644
--- a/src/core/features/courses/components/course-progress/course-progress.scss
+++ b/src/core/features/courses/components/course-progress/course-progress.scss
@@ -41,6 +41,18 @@
}
}
+ @if ($core-course-hide-thumb-on-cards) {
+ .core-course-thumb {
+ display: none;
+ }
+ }
+
+ @if ($core-course-thumb-on-cards-background) {
+ .core-course-thumb {
+ background: $core-course-thumb-on-cards-background !important;
+ }
+ }
+
.core-course-additional-info {
margin-bottom: 8px;
}
@@ -86,6 +98,12 @@
width: 50px;
}
}
+
+ @if ($core-course-hide-progress-on-cards) {
+ .core-course-progress {
+ display: none;
+ }
+ }
}
button {
diff --git a/src/core/features/login/login.scss b/src/core/features/login/login.scss
index f3f652d1c..73b08e7ae 100644
--- a/src/core/features/login/login.scss
+++ b/src/core/features/login/login.scss
@@ -12,7 +12,7 @@
--color: var(--core-login-text-color);
p, h2, h3, .core-oauth-icon {
- color: var(--core-login-text-color);
+ color: var(--color);
}
}
ion-button.core-button-as-link {
@@ -29,13 +29,17 @@
margin-bottom: 16px;
}
- form .item {
+ form .item,
+ form .item ion-label {
--background: var(--core-login-input-background);
--color: var(--core-login-input-color);
}
form .core-username.item p {
font-size: 16px;
+ }
+
+ form .core-username.item.md p {
@include padding-horizontal(8px, null);
}
@@ -62,8 +66,15 @@
text-decoration: underline;
}
- .core-login-reconnect-warning {
+ @if ($core-login-hide-forgot-password) {
+ .core-login-forgotten-password {
+ display: none;
+ }
+ }
+
+ .core-login-reconnect-warning ion-item {
font-size: 0.9em;
+ --background: var(--core-login-input-background);
}
@if ($core-fixed-url) {
@@ -86,8 +97,6 @@
--loading-spinner: #{$core-login-loading-color};
}
}
-
-
}
:host-context(body.dark) {
diff --git a/src/core/features/login/pages/reconnect/reconnect.html b/src/core/features/login/pages/reconnect/reconnect.html
index 03de280fa..d64bbe29a 100644
--- a/src/core/features/login/pages/reconnect/reconnect.html
+++ b/src/core/features/login/pages/reconnect/reconnect.html
@@ -24,12 +24,12 @@
{{siteUrl}}
-
-
+
+
- {{ 'core.login.reconnectdescription' | translate }}
-
-
+ {{ 'core.login.reconnectdescription' | translate }}
+
+