diff --git a/src/theme/theme.base.scss b/src/theme/theme.base.scss index 12670beaa..fbf74fb8f 100644 --- a/src/theme/theme.base.scss +++ b/src/theme/theme.base.scss @@ -477,6 +477,10 @@ ion-card ion-item img.core-module-icon[slot="start"] { margin-left: 32px; } +.core-course-module-handler:not(.addon-mod-label-handler) .item-heading .filter_mathjaxloader_equation * { + display: inline !important; +} + ion-toolbar h1 img.core-bar-button-image, ion-toolbar h1 .core-bar-button-image img { padding: 0; @@ -510,6 +514,15 @@ ion-select::part(text) { white-space: normal; } +ion-searchbar { + .searchbar-search-icon.ios { + top: 4px; + } + .searchbar-search-icon.md { + top: 12px; + } +} + // File uploader. .action-sheet-button input.core-fileuploader-file-handler-input { position: absolute; @@ -605,7 +618,6 @@ ion-back-button.md::part(text) { display: none; } - .core-media-adapt-width { max-width: 100%; } diff --git a/src/theme/theme.dark.scss b/src/theme/theme.dark.scss index f82052ef0..9b88dac3c 100644 --- a/src/theme/theme.dark.scss +++ b/src/theme/theme.dark.scss @@ -79,10 +79,9 @@ --core-tab-border-color: #{$core-tab-border-color-dark}; --core-tab-color-active: #{$core-tab-color-active-dark}; --core-tab-border-color-active: #{$core-tab-border-color-active-dark}; - core-progress-bar { - --color: #{$core-progressbar-color-dark}; - --text-color: #{$core-progressbar-text-color-dark}; - } + + --core-progressbar-color: #{$core-progressbar-color-dark}; + --core-progressbar-text-color: #{$core-progressbar-text-color-dark}; --ion-item-background: #{$ion-item-background-dark}; --ion-item-detail-icon-color: var(--white); diff --git a/src/theme/theme.light.scss b/src/theme/theme.light.scss index 102ea5bdd..9f992fe7b 100644 --- a/src/theme/theme.light.scss +++ b/src/theme/theme.light.scss @@ -121,6 +121,13 @@ } } + ion-searchbar { + --background: var(--ion-item-background); + .searchbar-input { + height: var(--a11y-min-target-size); + } + } + ion-action-sheet { --button-color-selected: #{$action-sheet-selected}; --title-border-color: var(--gray); @@ -161,11 +168,15 @@ --color: var(--ion-color-primary); } + --core-progressbar-height: #{$core-progressbar-height}; + --core-progressbar-color: #{$core-progressbar-color}; + --core-progressbar-text-color: #{$core-progressbar-text-color}; + --core-progressbar-background: #{$core-progressbar-background}; core-progress-bar { - --height: #{$core-progressbar-height}; - --color: #{$core-progressbar-color}; - --text-color: #{$core-progressbar-text-color}; - --background: #{$core-progressbar-background}; + --height: var(--core-progressbar-height); + --color: var(--core-progressbar-color); + --text-color: var(--core-progressbar-text-color); + --background: var(--core-progressbar-background); } core-block-course-blocks {