From c31075e54f2af9f23a9dee5ba6ecdc587c95322e Mon Sep 17 00:00:00 2001 From: Natalia Gawron Date: Thu, 21 Jan 2021 20:50:29 +0100 Subject: [PATCH] SES-165 updated css --- .../player-armors-table.component.css | 20 +++++++++++++++++++ .../player-dashboard.component.html | 14 +++++++------ ...player-other-equipment-table.component.css | 20 +++++++++++++++++++ ...layer-other-equipment-table.component.html | 3 ++- .../player-weapons-table.component.css | 20 +++++++++++++++++++ .../player-weapons-table.component.ts | 2 +- 6 files changed, 71 insertions(+), 8 deletions(-) diff --git a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-armors-table/player-armors-table.component.css b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-armors-table/player-armors-table.component.css index a4eef06..db5e93a 100644 --- a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-armors-table/player-armors-table.component.css +++ b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-armors-table/player-armors-table.component.css @@ -41,3 +41,23 @@ th { text-align: center; align-items: center } + +th.mat-header-cell { + border-bottom: #e8cca7 + solid 1px; +} + +td.mat-cell { + border-bottom: #e8cca7 + solid 1px; +} + +table.mat-table { + margin-left: 7%; +} + +@media (max-width: 365px) { + table.mat-table { + margin-left: 0%; + } +} diff --git a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-dashboard/player-dashboard.component.html b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-dashboard/player-dashboard.component.html index 19abaa5..9920974 100644 --- a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-dashboard/player-dashboard.component.html +++ b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-dashboard/player-dashboard.component.html @@ -21,12 +21,12 @@ - local_mall + Weapons - local_mall + Armors @@ -35,15 +35,17 @@ Other equipment - + + - + + shopping_cart diff --git a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-other-equipment-table/player-other-equipment-table.component.css b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-other-equipment-table/player-other-equipment-table.component.css index a4eef06..c68c961 100644 --- a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-other-equipment-table/player-other-equipment-table.component.css +++ b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-other-equipment-table/player-other-equipment-table.component.css @@ -41,3 +41,23 @@ th { text-align: center; align-items: center } + +th.mat-header-cell { + border-bottom: #e8cca7 + solid 1px; +} + +td.mat-cell { + border-bottom: #e8cca7 + solid 1px; +} + +table.mat-table { + margin-left: 0%; +} + +@media (max-width: 365px) { + table.mat-table { + margin-left: 0%; + } +} diff --git a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-other-equipment-table/player-other-equipment-table.component.html b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-other-equipment-table/player-other-equipment-table.component.html index 7db917a..286383e 100644 --- a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-other-equipment-table/player-other-equipment-table.component.html +++ b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-other-equipment-table/player-other-equipment-table.component.html @@ -19,7 +19,8 @@ Description - {{row.description}} + {{row.description}} + diff --git a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-weapons-table/player-weapons-table.component.css b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-weapons-table/player-weapons-table.component.css index a4eef06..b073f89 100644 --- a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-weapons-table/player-weapons-table.component.css +++ b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-weapons-table/player-weapons-table.component.css @@ -41,3 +41,23 @@ th { text-align: center; align-items: center } + +th.mat-header-cell { + border-bottom: #e8cca7 + solid 1px; +} + +td.mat-cell { + border-bottom: #e8cca7 + solid 1px; +} + +table.mat-table { + margin-left: 10%; +} + +@media (max-width: 365px) { + table.mat-table { + margin-left: 3%; + } +} diff --git a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-weapons-table/player-weapons-table.component.ts b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-weapons-table/player-weapons-table.component.ts index 16b9385..89d454a 100644 --- a/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-weapons-table/player-weapons-table.component.ts +++ b/SessionCompanion/SessionCompanion/ClientApp/src/app/components/player-weapons-table/player-weapons-table.component.ts @@ -40,7 +40,7 @@ export class PlayerWeaponsTableComponent implements OnInit { .pipe(first()) .subscribe((characterId) => { this.equipmentService - .getCharacterWeapons(characterId) + .getCharacterWeapons(1) .pipe(first()) .subscribe( (result) => {