MOBILE-2430 tabs: Fix status bar top padding
parent
e19cd8a9ed
commit
6fa19efcd5
|
@ -41,6 +41,18 @@
|
|||
height: calc(100% - #{($navbar-ios-height)});
|
||||
}
|
||||
|
||||
.platform-cordova.ios .core-avoid-header .menu-inner > ion-content {
|
||||
top: $navbar-ios-height + $cordova-ios-statusbar-padding;
|
||||
height: calc(100% - #{($navbar-ios-height + $cordova-ios-statusbar-padding)});
|
||||
}
|
||||
|
||||
.platform-cordova.ios .core-avoid-header .core-avoid-header .menu-inner > ion-content,
|
||||
.platform-cordova.ios core-tab core-split-view .core-avoid-header .menu-inner > ion-content {
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
// Highlights inside the input element.
|
||||
@if ($core-text-input-ios-show-highlight) {
|
||||
.card-ios, .list-ios {
|
||||
|
|
|
@ -81,7 +81,7 @@ core-ion-tab.show-tab {
|
|||
}
|
||||
|
||||
.ios {
|
||||
@include core-ion-tabs-statusbar-padding($toolbar-ios-height + 15, $toolbar-ios-padding, $content-ios-padding, $cordova-ios-statusbar-padding, $cordova-ios-statusbar-padding-modal-max-width, true);
|
||||
@include core-ion-tabs-statusbar-padding($toolbar-ios-height, $toolbar-ios-padding, $content-ios-padding, $cordova-ios-statusbar-padding, $cordova-ios-statusbar-padding-modal-max-width, true);
|
||||
}
|
||||
|
||||
.md {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<core-dynamic-component [component]="courseFormatComponent" [data]="data">
|
||||
<!-- Course summary. By default we only display the course progress. -->
|
||||
<core-dynamic-component [component]="courseSummaryComponent" [data]="data">
|
||||
<ion-list no-lines *ngIf="course.imageThumb || (course.progress != null && course.progress >= 0)">
|
||||
<ion-list no-lines *ngIf="course.imageThumb || (course.progress != null && course.progress >= 0)" class="core-format-progress-list">
|
||||
<div *ngIf="course.imageThumb" class="core-course-thumb">
|
||||
<img [src]="course.imageThumb" core-external-content alt=""/>
|
||||
</div>
|
||||
|
|
|
@ -6,6 +6,11 @@ ion-badge.core-course-download-section-progress {
|
|||
}
|
||||
|
||||
core-course-format {
|
||||
|
||||
.core-format-progress-list {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.core-course-thumb {
|
||||
height: 150px;
|
||||
width: 100%;
|
||||
|
|
|
@ -58,7 +58,7 @@ $core-course-image-background: #81ecec, #74b9ff, #a29bfe, #dfe6e9, #00b894, #098
|
|||
// To view all the possible Ionic variables, see:
|
||||
// http://ionicframework.com/docs/theming/overriding-ionic-variables/
|
||||
|
||||
$toolbar-background: $orange;
|
||||
$toolbar-background: $core-color;
|
||||
$content-padding: 10px;
|
||||
|
||||
|
||||
|
@ -141,7 +141,7 @@ $loading-ios-spinner-color: $core-color;
|
|||
$spinner-ios-ios-color: $core-color;
|
||||
$tabs-ios-tab-color-inactive: $tabs-tab-color-inactive;
|
||||
$button-ios-outline-background-color: $white;
|
||||
|
||||
$toolbar-ios-height: 44px + 15;
|
||||
|
||||
// App Material Design Variables
|
||||
// --------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue