diff --git a/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.html b/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.html index 63e30650..31f7f0e5 100644 --- a/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.html +++ b/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.html @@ -13,6 +13,7 @@ {{action.label | translate}} + info_outline
diff --git a/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.scss b/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.scss index 531d5125..779fec4a 100644 --- a/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.scss +++ b/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.scss @@ -170,3 +170,21 @@ $img-proportion: 85%; width: 100%; background-color: black; } + +.resultlist__md-grid-tile { + margin-top: 5px; + + &__selected--icon{ + position: absolute; + z-index: 1; + top: 15px; + color: white; + background-color: transparent; + opacity: 50%; + font-size: 72px; + height: 72px !important; + width: 72px !important; + pointer-events: auto; + cursor: default; + } +} diff --git a/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts b/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts index 3d0b59d5..73059fca 100644 --- a/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts +++ b/projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts @@ -80,6 +80,12 @@ export class ResultGridTileComponent extends ItemComponent implements OnInit { */ @Input() public idFieldName: string; + /** + * @Input + * @description Display or not big full info icon on the grid. + */ + @Input() public displayInfoIcon = false; + /** * @Output * @description Emits the event of applying the specified action on the specified item. diff --git a/projects/arlas-components/src/lib/components/results/result-item/result-item.component.html b/projects/arlas-components/src/lib/components/results/result-item/result-item.component.html index 0e9bf14a..acd99ffc 100644 --- a/projects/arlas-components/src/lib/components/results/result-item/result-item.component.html +++ b/projects/arlas-components/src/lib/components/results/result-item/result-item.component.html @@ -17,12 +17,12 @@ diff --git a/projects/arlas-components/src/lib/components/results/result-list/result-list.component.html b/projects/arlas-components/src/lib/components/results/result-list/result-list.component.html index e951acd9..571e6376 100644 --- a/projects/arlas-components/src/lib/components/results/result-list/result-list.component.html +++ b/projects/arlas-components/src/lib/components/results/result-list/result-list.component.html @@ -5,14 +5,11 @@ - + @@ -23,61 +20,75 @@
- +
{{selectedItems.size}}
- more_vert - - - + more_vert + + +
|
- {{GEOSORT_BUTTON | translate}} + {{GEOSORT_BUTTON | + translate}}
- - - - {{lastSortedColumn.columnName | translate}} - {{SortEnum[sortedColumn.sortDirection].toUpperCase() + '_short' | translate}} - - - - - - - - - {{column.columnName | translate}} - - - - - - - {{'ASC' | translate}} - + + + + {{lastSortedColumn.columnName | translate}} - {{SortEnum[sortedColumn.sortDirection].toUpperCase() + + '_short' | translate}} + + + - - + + + + {{column.columnName | translate}} - - - {{'DESC' | translate}} - - - + + + + + + {{'ASC' | translate}} + + + + + {{'DESC' | translate}} + + +
|
- + list - + grid_view @@ -87,83 +98,100 @@ - - + + - + {{column.columnName | translate}}{{column.dataType}} - + + *ngIf="selectedGridItem !== null && resultMode === ModeEnum.grid && isDetailledGridOpen"> - + -
+
- + - + - - - info_outline - - - +
+ + + + +
-
+
- + expand - + expand expand - + expand
- +
- - + \ No newline at end of file diff --git a/projects/arlas-components/src/lib/components/results/result-list/result-list.component.scss b/projects/arlas-components/src/lib/components/results/result-list/result-list.component.scss index 1e4736b8..00b3ff8f 100644 --- a/projects/arlas-components/src/lib/components/results/result-list/result-list.component.scss +++ b/projects/arlas-components/src/lib/components/results/result-list/result-list.component.scss @@ -212,22 +212,6 @@ tr:hover td.resultitem__cell.toggle .list_actions { width: 100%; } -.resultlist__md-grid-tile { - margin-top: 5px; - - &__selected--icon{ - position: absolute; - z-index: 1; - top: 20px; - color: white; - background-color: transparent; - opacity: 50%; - font-size: 72px; - height: 72px !important; - width: 72px !important; - } -} - .resultlist__thead__tr { display: block; position: relative;