MOBILE-2700 ux: Fix some styles
parent
0c9af8ee0e
commit
cd52cfaf6d
|
@ -11,7 +11,7 @@
|
|||
<core-loading [hideUntil]="filesLoaded" *ngIf="showPrivateFiles || showSiteFiles">
|
||||
<!-- Allow selecting the files to see: private or site. -->
|
||||
<div padding *ngIf="showPrivateFiles && showSiteFiles && !path">
|
||||
<ion-select [(ngModel)]="root" (ngModelChange)="rootChanged()" interface="popover">
|
||||
<ion-select [(ngModel)]="root" (ngModelChange)="rootChanged()" interface="popover" class="core-button-select">
|
||||
<ion-option value="my">{{ 'addon.files.privatefiles' | translate }}</ion-option>
|
||||
<ion-option value="site">{{ 'addon.files.sitefiles' | translate }}</ion-option>
|
||||
</ion-select>
|
||||
|
|
|
@ -63,7 +63,7 @@ ion-app.app-root page-addon-messages-discussion {
|
|||
min-height: initial;
|
||||
line-height: initial;
|
||||
@include margin(0, 0, 0, 10px);
|
||||
height: auto;
|
||||
height: 1.6em !important;
|
||||
-webkit-align-self: flex-end;
|
||||
-ms-flex-item-align: end;
|
||||
align-self: flex-end;
|
||||
|
|
|
@ -738,6 +738,19 @@ ion-app.app-root {
|
|||
}
|
||||
}
|
||||
|
||||
.core-#{$color-name}-selected-item {
|
||||
@include border-start(5px, solid, $color-base);
|
||||
&.item-md {
|
||||
@include padding(null, null, null, $item-md-padding-start - 5px);
|
||||
}
|
||||
&.item-ios {
|
||||
@include padding(null, null, null, $item-ios-padding-start - 5px);
|
||||
}
|
||||
&.item-wp {
|
||||
@include padding(null, null, null, $item-wp-padding-start - 5px);
|
||||
}
|
||||
}
|
||||
|
||||
.core-#{$color-name}-circle {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
</ion-header>
|
||||
<ion-content>
|
||||
<ng-container *ngFor="let section of sections">
|
||||
<a ion-item *ngIf="!section.hiddenbynumsections && section.id != stealthModulesSectionId" text-wrap (click)="selectSection(section)" [class.core-primary-item]="selected.id == section.id" [class.item-dimmed]="section.visible === 0 || section.uservisible === false" detail-none>
|
||||
<a ion-item *ngIf="!section.hiddenbynumsections && section.id != stealthModulesSectionId" text-wrap (click)="selectSection(section)" [class.core-primary-selected-item]="selected.id == section.id" [class.item-dimmed]="section.visible === 0 || section.uservisible === false" detail-none>
|
||||
<core-icon name="fa-folder" item-start></core-icon>
|
||||
<h2><core-format-text [text]="section.formattedName || section.name"></core-format-text></h2>
|
||||
<ion-badge color="secondary" *ngIf="section.visible === 0 && section.uservisible !== false">{{ 'core.course.hiddenfromstudents' | translate }}</ion-badge>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<ion-refresher-content pullingText="{{ 'core.pulltorefresh' | translate }}"></ion-refresher-content>
|
||||
</ion-refresher>
|
||||
<core-loading [hideUntil]="usageLoaded">
|
||||
<ion-item *ngFor="let site of sites" [class.core-primary-item]="site.id == currentSiteId">
|
||||
<ion-item *ngFor="let site of sites" [class.core-primary-selected-item]="site.id == currentSiteId">
|
||||
<h2><core-format-text [text]="site.siteName"></core-format-text></h2>
|
||||
<p>{{ site.fullName }}</p>
|
||||
<p item-end>{{ site.spaceUsage | coreBytesToSize }}</p>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<ion-item-divider color="light">
|
||||
<p>{{ 'core.settings.sites' | translate }}</p>
|
||||
</ion-item-divider>
|
||||
<ion-item *ngFor="let site of sites" [class.core-primary-item]="site.id == currentSiteId" text-wrap>
|
||||
<ion-item *ngFor="let site of sites" [class.core-primary-selected-item]="site.id == currentSiteId" text-wrap>
|
||||
<h2><core-format-text [text]="site.siteName"></core-format-text></h2>
|
||||
<p>{{ site.fullName }}</p>
|
||||
<p>{{ site.siteUrl }}</p>
|
||||
|
|
Loading…
Reference in New Issue