MOBILE-3320 styles: Fix some block styles
parent
877c79ed5a
commit
7859b1b2ee
|
@ -2,7 +2,7 @@
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<h2>{{ 'addon.block_recentlyaccessedcourses.pluginname' | translate }}</h2>
|
<h2>{{ 'addon.block_recentlyaccessedcourses.pluginname' | translate }}</h2>
|
||||||
</ion-label>
|
</ion-label>
|
||||||
<div slot="end">
|
<div slot="end" class="flex-row">
|
||||||
<div *ngIf="downloadCoursesEnabled && downloadEnabled && courses && courses.length > 1" class="core-button-spinner">
|
<div *ngIf="downloadCoursesEnabled && downloadEnabled && courses && courses.length > 1" class="core-button-spinner">
|
||||||
<ion-button *ngIf="prefetchCoursesData.icon && !prefetchCoursesData.loading" fill="clear" color="dark"
|
<ion-button *ngIf="prefetchCoursesData.icon && !prefetchCoursesData.loading" fill="clear" color="dark"
|
||||||
(click)="prefetchCourses()" [attr.aria-label]="'core.courses.downloadcourses' | translate">
|
(click)="prefetchCourses()" [attr.aria-label]="'core.courses.downloadcourses' | translate">
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<h2>{{ 'addon.block_starredcourses.pluginname' | translate }}</h2>
|
<h2>{{ 'addon.block_starredcourses.pluginname' | translate }}</h2>
|
||||||
</ion-label>
|
</ion-label>
|
||||||
<div slot="end">
|
<div slot="end" class="flex-row">
|
||||||
<div *ngIf="downloadCoursesEnabled && downloadEnabled && courses && courses.length > 1" class="core-button-spinner">
|
<div *ngIf="downloadCoursesEnabled && downloadEnabled && courses && courses.length > 1" class="core-button-spinner">
|
||||||
<ion-button *ngIf="prefetchCoursesData.icon && !prefetchCoursesData.loading" fill="clear" color="dark"
|
<ion-button *ngIf="prefetchCoursesData.icon && !prefetchCoursesData.loading" fill="clear" color="dark"
|
||||||
(click)="prefetchCourses()" [attr.aria-label]="'core.courses.downloadcourses' | translate">
|
(click)="prefetchCourses()" [attr.aria-label]="'core.courses.downloadcourses' | translate">
|
||||||
|
|
|
@ -62,6 +62,7 @@ import { CoreLogger } from '@singletons/logger';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-dynamic-component',
|
selector: 'core-dynamic-component',
|
||||||
templateUrl: 'core-dynamic-component.html',
|
templateUrl: 'core-dynamic-component.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreDynamicComponent implements OnChanges, DoCheck {
|
export class CoreDynamicComponent implements OnChanges, DoCheck {
|
||||||
|
|
||||||
|
|
|
@ -56,5 +56,9 @@
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.core-loading-content {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,7 @@ import { CoreUtils } from '@services/utils/utils';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-compile-html',
|
selector: 'core-compile-html',
|
||||||
template: '<core-loading [hideUntil]="loaded"><ng-container #dynamicComponent></ng-container></core-loading>',
|
template: '<core-loading [hideUntil]="loaded"><ng-container #dynamicComponent></ng-container></core-loading>',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
// eslint-disable-next-line @angular-eslint/no-conflicting-lifecycle
|
// eslint-disable-next-line @angular-eslint/no-conflicting-lifecycle
|
||||||
export class CoreCompileHtmlComponent implements OnChanges, OnDestroy, DoCheck {
|
export class CoreCompileHtmlComponent implements OnChanges, OnDestroy, DoCheck {
|
||||||
|
|
|
@ -24,6 +24,7 @@ import { CoreSitePluginsCompileInitComponent } from '@features/siteplugins/class
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-site-plugins-assign-feedback',
|
selector: 'core-site-plugins-assign-feedback',
|
||||||
templateUrl: 'core-siteplugins-assign-feedback.html',
|
templateUrl: 'core-siteplugins-assign-feedback.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsAssignFeedbackComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
export class CoreSitePluginsAssignFeedbackComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ import { CoreSitePluginsCompileInitComponent } from '@features/siteplugins/class
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-site-plugins-assign-submission',
|
selector: 'core-site-plugins-assign-submission',
|
||||||
templateUrl: 'core-siteplugins-assign-submission.html',
|
templateUrl: 'core-siteplugins-assign-submission.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsAssignSubmissionComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
export class CoreSitePluginsAssignSubmissionComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ import { CoreSitePluginsPluginContentComponent } from '../plugin-content/plugin-
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-site-plugins-block',
|
selector: 'core-site-plugins-block',
|
||||||
templateUrl: 'core-siteplugins-block.html',
|
templateUrl: 'core-siteplugins-block.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsBlockComponent extends CoreBlockBaseComponent implements OnChanges {
|
export class CoreSitePluginsBlockComponent extends CoreBlockBaseComponent implements OnChanges {
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ import { CoreSitePluginsPluginContentComponent } from '../plugin-content/plugin-
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-site-plugins-course-format',
|
selector: 'core-site-plugins-course-format',
|
||||||
templateUrl: 'core-siteplugins-course-format.html',
|
templateUrl: 'core-siteplugins-course-format.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsCourseFormatComponent implements OnChanges {
|
export class CoreSitePluginsCourseFormatComponent implements OnChanges {
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@ import { CoreSitePluginsPluginContentComponent } from '../plugin-content/plugin-
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-site-plugins-module-index',
|
selector: 'core-site-plugins-module-index',
|
||||||
templateUrl: 'core-siteplugins-module-index.html',
|
templateUrl: 'core-siteplugins-module-index.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsModuleIndexComponent implements OnInit, OnDestroy, CoreCourseModuleMainComponent {
|
export class CoreSitePluginsModuleIndexComponent implements OnInit, OnDestroy, CoreCourseModuleMainComponent {
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@ import { CoreNavigator } from '@services/navigator';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-siteplugins-only-title-block',
|
selector: 'core-siteplugins-only-title-block',
|
||||||
templateUrl: 'core-siteplugins-only-title-block.html',
|
templateUrl: 'core-siteplugins-only-title-block.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsOnlyTitleBlockComponent extends CoreBlockBaseComponent implements OnInit {
|
export class CoreSitePluginsOnlyTitleBlockComponent extends CoreBlockBaseComponent implements OnInit {
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ import { CoreDomUtils } from '@services/utils/dom';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-site-plugins-plugin-content',
|
selector: 'core-site-plugins-plugin-content',
|
||||||
templateUrl: 'core-siteplugins-plugin-content.html',
|
templateUrl: 'core-siteplugins-plugin-content.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsPluginContentComponent implements OnInit, DoCheck {
|
export class CoreSitePluginsPluginContentComponent implements OnInit, DoCheck {
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ import { CoreSitePluginsCompileInitComponent } from '@features/siteplugins/class
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-site-plugins-question-behaviour',
|
selector: 'core-site-plugins-question-behaviour',
|
||||||
templateUrl: 'core-siteplugins-question-behaviour.html',
|
templateUrl: 'core-siteplugins-question-behaviour.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsQuestionBehaviourComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
export class CoreSitePluginsQuestionBehaviourComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ import { CoreSitePluginsCompileInitComponent } from '@features/siteplugins/class
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-site-plugins-question',
|
selector: 'core-site-plugins-question',
|
||||||
templateUrl: 'core-siteplugins-question.html',
|
templateUrl: 'core-siteplugins-question.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsQuestionComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
export class CoreSitePluginsQuestionComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ import { CoreSitePluginsCompileInitComponent } from '@features/siteplugins/class
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-site-plugins-quiz-access-rule',
|
selector: 'core-site-plugins-quiz-access-rule',
|
||||||
templateUrl: 'core-siteplugins-quiz-access-rule.html',
|
templateUrl: 'core-siteplugins-quiz-access-rule.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsQuizAccessRuleComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
export class CoreSitePluginsQuizAccessRuleComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@ import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profi
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-site-plugins-user-profile-field',
|
selector: 'core-site-plugins-user-profile-field',
|
||||||
templateUrl: 'core-siteplugins-user-profile-field.html',
|
templateUrl: 'core-siteplugins-user-profile-field.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsUserProfileFieldComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
export class CoreSitePluginsUserProfileFieldComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ import { CoreSitePluginsCompileInitComponent } from '@features/siteplugins/class
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'core-siteplugins-workshop-assessment-strategy',
|
selector: 'core-siteplugins-workshop-assessment-strategy',
|
||||||
templateUrl: 'core-siteplugins-workshop-assessment-strategy.html',
|
templateUrl: 'core-siteplugins-workshop-assessment-strategy.html',
|
||||||
|
styles: [':host { display: contents; }'],
|
||||||
})
|
})
|
||||||
export class CoreSitePluginsWorkshopAssessmentStrategyComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
export class CoreSitePluginsWorkshopAssessmentStrategyComponent extends CoreSitePluginsCompileInitComponent implements OnInit {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue