MOBILE-3814 blocks: Use cards on blocks
parent
7690270766
commit
13de3b9776
|
@ -1,4 +1,4 @@
|
||||||
<!-- Only render the block if it's supported. -->
|
<!-- Only render the block if it's supported. -->
|
||||||
<div *ngIf="loaded && componentClass && block.visible" class="{{class}}">
|
<ion-card *ngIf="loaded && componentClass && block.visible" class="{{class}}">
|
||||||
<core-dynamic-component [component]="componentClass" [data]="data"></core-dynamic-component>
|
<core-dynamic-component [component]="componentClass" [data]="data"></core-dynamic-component>
|
||||||
</div>
|
</ion-card>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
:host {
|
||||||
|
--item-divider-font-size: var(--item-divider-font-size-big);
|
||||||
|
}
|
||||||
|
|
||||||
.core-course-section-nav-buttons {
|
.core-course-section-nav-buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
@import "~theme/globals";
|
@import "~theme/globals";
|
||||||
|
|
||||||
|
:host {
|
||||||
|
--item-divider-font-size: var(--item-divider-font-size-big);
|
||||||
|
}
|
||||||
|
|
||||||
:host ::ng-deep ion-item-divider {
|
:host ::ng-deep ion-item-divider {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
@ -11,6 +15,10 @@
|
||||||
--internal-loading-inline-min-height: calc(100vh - var(--core-header-toolbar-height) - var(--bottom-tabs-size) - 2px);
|
--internal-loading-inline-min-height: calc(100vh - var(--core-header-toolbar-height) - var(--bottom-tabs-size) - 2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
core-block ::ng-deep ion-card.addon-block-myoverview {
|
||||||
|
--border-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
@if ($core-dashboard-logo) {
|
@if ($core-dashboard-logo) {
|
||||||
.in-toolbar h1 .core-header-logo {
|
.in-toolbar h1 .core-header-logo {
|
||||||
max-height: calc(var(--core-header-toolbar-height) - 24px);
|
max-height: calc(var(--core-header-toolbar-height) - 24px);
|
||||||
|
|
|
@ -225,7 +225,8 @@
|
||||||
--item-divider-background: var(--ion-item-background);
|
--item-divider-background: var(--ion-item-background);
|
||||||
--item-divider-color: var(--text-color);
|
--item-divider-color: var(--text-color);
|
||||||
--item-divider-border-width: 0px;
|
--item-divider-border-width: 0px;
|
||||||
--item-divider-font-size: 20px;
|
--item-divider-font-size: 16px;
|
||||||
|
--item-divider-font-size-big: 20px;
|
||||||
ion-item-divider, ion-item.divider {
|
ion-item-divider, ion-item.divider {
|
||||||
--background: var(--item-divider-background);
|
--background: var(--item-divider-background);
|
||||||
--color: var(--item-divider-color);
|
--color: var(--item-divider-color);
|
||||||
|
|
Loading…
Reference in New Issue