Skip to content
Snippets Groups Projects
Commit 1e94ac91 authored by fsdavid's avatar fsdavid
Browse files

minor visual fixes

parent cd65a9f3
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
.info-container .info-container
{ {
margin-right:0.25rem; margin-right:-0.5rem;
margin-top:-0.25rem; margin-top:-0.25rem;
} }
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
onClick: getTileTmplClickFnAsCtx(selectParcellationWithName, layer), onClick: getTileTmplClickFnAsCtx(selectParcellationWithName, layer),
disabled: !currentTemplateIncludesLayer(layer) disabled: !currentTemplateIncludesLayer(layer)
}"> }">
</ng-container> </ng-container>
</mat-grid-tile> </mat-grid-tile>
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
menuTriggerData: { layerGroupItems: group.parcellations }, menuTriggerData: { layerGroupItems: group.parcellations },
isDirectory: true isDirectory: true
}"> }">
</ng-container> </ng-container>
</mat-grid-tile> </mat-grid-tile>
</mat-grid-list> </mat-grid-list>
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
[ngStyle]="{opacity: disabled ? '0.2': '1' }"> [ngStyle]="{opacity: disabled ? '0.2': '1' }">
<div class="position-relative d-flex flex-column align-items-center"> <div class="position-relative d-flex flex-column align-items-center">
<div class="position-relative">
<!-- info icon btn --> <!-- info icon btn -->
<div class="position-absolute top-0 right-0 info-container" <div class="position-absolute top-0 right-0 info-container"
[ngClass]="{ 'darktheme': tileSrc.darktheme, 'lighttheme': !tileSrc.darktheme }"> [ngClass]="{ 'darktheme': tileSrc.darktheme, 'lighttheme': !tileSrc.darktheme }">
...@@ -126,8 +127,9 @@ ...@@ -126,8 +127,9 @@
<div *ngIf="isDirectory" class="position-absolute bottom-0 right-0"> <div *ngIf="isDirectory" class="position-absolute bottom-0 right-0">
<i class="fas fa-folder folder-container fa-2x"></i> <i class="fas fa-folder folder-container fa-2x"></i>
</div> </div>
</div>
</div> </div>
<!-- text container --> <!-- text container -->
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<small class="iv-custom-comp text ml-1 mr-1 mt-2 text-break text-center">{{ tileSrc.displayName || tileSrc.name }}</small> <small class="iv-custom-comp text ml-1 mr-1 mt-2 text-break text-center">{{ tileSrc.displayName || tileSrc.name }}</small>
...@@ -182,9 +184,9 @@ ...@@ -182,9 +184,9 @@
selected: selectedLayersIncludes(layer['@id']), selected: selectedLayersIncludes(layer['@id']),
disabled: !currentTemplateIncludesLayer(layer) disabled: !currentTemplateIncludesLayer(layer)
} "> } ">
</ng-container> </ng-container>
</div> </div>
</div> </div>
</ng-template> </ng-template>
</mat-menu> </mat-menu>
\ No newline at end of file
...@@ -104,7 +104,7 @@ div#scratch-pad ...@@ -104,7 +104,7 @@ div#scratch-pad
.side-nav-cover .side-nav-cover
{ {
margin-left: -15px; margin-left: -15px;
margin-right: -15px; margin-right: -15px;
...@@ -113,11 +113,11 @@ div#scratch-pad ...@@ -113,11 +113,11 @@ div#scratch-pad
.feature-card .feature-card
{ {
height: 20em; height: 20em;
max-height: 20em; max-height: 20em;
flex: 0 0 20em; flex: 0 0 20em;
align-items: flex-start; align-items: flex-start;
} }
.region-populated .feature-card .region-populated .feature-card
...@@ -189,3 +189,6 @@ div#scratch-pad ...@@ -189,3 +189,6 @@ div#scratch-pad
{ {
margin-top: 1.5rem; margin-top: 1.5rem;
} }
.explore-other-template-item {
line-height: 1.3 !important;
}
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
[iav-viewer-touch-interface-vp-to-data]="iavContainer?.viewportToDatas" [iav-viewer-touch-interface-vp-to-data]="iavContainer?.viewportToDatas"
[iav-viewer-touch-interface-ngviewer]="nehubaViewer?.nehubaViewer?.ngviewer" [iav-viewer-touch-interface-ngviewer]="nehubaViewer?.nehubaViewer?.ngviewer"
[iav-viewer-touch-interface-nehuba-config]="selectedTemplate?.nehubaConfig"> [iav-viewer-touch-interface-nehuba-config]="selectedTemplate?.nehubaConfig">
<div <div
iav-nehuba-viewer-container iav-nehuba-viewer-container
(iavNehubaViewerContainerViewerLoading)="handleViewerLoadedEvent($event)" (iavNehubaViewerContainerViewerLoading)="handleViewerLoadedEvent($event)"
#iavContainer="iavNehubaViewerContainer"> #iavContainer="iavNehubaViewerContainer">
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
<div class="position-relative d-flex flex-column h-100"> <div class="position-relative d-flex flex-column h-100">
<!-- region search autocomplete --> <!-- region search autocomplete -->
<div class="h-0 w-100 region-text-search-autocomplete-position" <div class="h-0 w-100 region-text-search-autocomplete-position"
[@openCloseAnchor]="sideNavSwitch.switchState ? 'open' : 'closed'"> [@openCloseAnchor]="sideNavSwitch.switchState ? 'open' : 'closed'">
<ng-container *ngTemplateOutlet="autocompleteTmpl"> <ng-container *ngTemplateOutlet="autocompleteTmpl">
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
<!-- main-content --> <!-- main-content -->
<mat-drawer-content class="visible position-relative"> <mat-drawer-content class="visible position-relative">
<!-- bottom left overlay --> <!-- bottom left overlay -->
<div class="position-absolute bottom-0 left-0 w-100 d-inline-block pe-none"> <div class="position-absolute bottom-0 left-0 w-100 d-inline-block pe-none">
<ng-content select="[ui-nehuba-container-overlay-bottom-left]"> <ng-content select="[ui-nehuba-container-overlay-bottom-left]">
...@@ -341,7 +341,7 @@ ...@@ -341,7 +341,7 @@
<ng-template #exploreInOtherTmpl> <ng-template #exploreInOtherTmpl>
<mat-list class="action-list sm cursor-default"> <mat-list class="action-list sm cursor-default">
<mat-list-item *ngFor="let sameRegion of regionInOtherTemplates" <mat-list-item class="explore-other-template-item" *ngFor="let sameRegion of regionInOtherTemplates"
(click)="iavRegion.changeView(sameRegion)" (click)="iavRegion.changeView(sameRegion)"
[matTooltip]="sameRegion.template.name + (sameRegion.hemisphere ? (' - ' + sameRegion.hemisphere) : '')" [matTooltip]="sameRegion.template.name + (sameRegion.hemisphere ? (' - ' + sameRegion.hemisphere) : '')"
mat-ripple> mat-ripple>
...@@ -359,7 +359,7 @@ ...@@ -359,7 +359,7 @@
content: exploreInOtherTmpl content: exploreInOtherTmpl
}"> }">
</ng-container> </ng-container>
</ng-container> </ng-container>
...@@ -458,7 +458,7 @@ ...@@ -458,7 +458,7 @@
<!-- maximise/minimise button --> <!-- maximise/minimise button -->
<ng-container *ngTemplateOutlet="panelCtrlTmpl; context: { panelIndex: 3, visible: (panelOrder$ | async | reorderPanelIndexPipe : ( hoveredPanelIndices$ | async )) === 3 }"> <ng-container *ngTemplateOutlet="panelCtrlTmpl; context: { panelIndex: 3, visible: (panelOrder$ | async | reorderPanelIndexPipe : ( hoveredPanelIndices$ | async )) === 3 }">
</ng-container> </ng-container>
<!-- mesh loading is still weird --> <!-- mesh loading is still weird -->
<!-- if the precomputed server does not have the necessary fragment file, then the numberws will not collate --> <!-- if the precomputed server does not have the necessary fragment file, then the numberws will not collate -->
<div *ngIf="false && (perspectiveViewLoading$ | async)" class="loadingIndicator"> <div *ngIf="false && (perspectiveViewLoading$ | async)" class="loadingIndicator">
...@@ -557,7 +557,7 @@ ...@@ -557,7 +557,7 @@
(click)="setOctantRemoval(!state)" (click)="setOctantRemoval(!state)"
mat-icon-button mat-icon-button
color="primary"> color="primary">
<!-- octant removal is true --> <!-- octant removal is true -->
<ng-template [ngIf]="nehubaViewerPerspectiveOctantRemoval$ | async" [ngIfElse]="octantRemovalOffTmpl"> <ng-template [ngIf]="nehubaViewerPerspectiveOctantRemoval$ | async" [ngIfElse]="octantRemovalOffTmpl">
<i class="fas fa-eye-slash"></i> <i class="fas fa-eye-slash"></i>
...@@ -601,7 +601,7 @@ ...@@ -601,7 +601,7 @@
<!-- if additional layers not not being shown --> <!-- if additional layers not not being shown -->
<ng-template #tabTmpl_noAdditionalLayers> <ng-template #tabTmpl_noAdditionalLayers>
<!-- if region selected > 0 --> <!-- if region selected > 0 -->
<ng-template [ngIf]="regionSelected?.length > 0" [ngIfElse]="tabTmpl_nothingSelected"> <ng-template [ngIf]="regionSelected?.length > 0" [ngIfElse]="tabTmpl_nothingSelected">
<div class="hidden" <div class="hidden"
...@@ -650,10 +650,10 @@ ...@@ -650,10 +650,10 @@
[style.backgroundColor]="customColor" [style.backgroundColor]="customColor"
(click)="sideNavMasterSwitch.toggle()" (click)="sideNavMasterSwitch.toggle()"
[color]="(!customColor && matColor) ? matColor : null"> [color]="(!customColor && matColor) ? matColor : null">
<span [ngClass]="{'iv-custom-comp text': !!customColor}"> <span [ngClass]="{'iv-custom-comp text': !!customColor}">
<i class="fas" [ngClass]="fontIcon || 'fa-question'"></i> <i class="fas" [ngClass]="fontIcon || 'fa-question'"></i>
</span> </span>
</button> </button>
</ng-template> </ng-template>
</ng-template> </ng-template>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment