diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 74e04df..ce31cc4 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -20,6 +20,7 @@ import {MatButtonModule} from '@angular/material/button'; import {MatInputModule} from '@angular/material/input'; import {MatPaginatorModule} from '@angular/material/paginator'; import {MatFormFieldModule} from '@angular/material/form-field'; +import {MatSelectModule} from '@angular/material/select'; import { LoginComponent } from './login/login.component'; @@ -60,7 +61,8 @@ import { AlertService, AuthenticationService, UserService } from './_services/in MatButtonModule, MatInputModule, MatPaginatorModule, - MatFormFieldModule + MatFormFieldModule, + MatSelectModule ], providers: [ GamesService, diff --git a/src/app/view-card/view-card.component.css b/src/app/view-card/view-card.component.css index 3745a9e..599b749 100644 --- a/src/app/view-card/view-card.component.css +++ b/src/app/view-card/view-card.component.css @@ -1,4 +1,62 @@ #gameImageHeaderContainer{ height:250px; overflow: hidden; -} \ No newline at end of file +} + +.lrCard{ + width:80%; +} + +.card{ + height: 280px; + width: 250px; + margin: 5px; +} + +.flex-container { + display: flex; + height: auto; + flex-flow: row wrap; + align-items: center; + justify-content: center; +} + +.example-fill-remaining-space { + /* This fills the remaining space, by using flexbox. + Every toolbar row uses a flexbox row layout. */ + flex: 1 1 auto; +} + +.menuButton{ + margin-right: 10px; +} + +.userButton{ + +} +.userButton img{ + width:35px; + height:35px; + border-radius: 50%; +} + +.gameSearchInput{ + margin-left:25px; + border: 0; + border-radius: 4px; + color: #555; + font-size: 16px; + font-weight: 600; + height: 50%; + line-height: 20px; + outline: none; + padding: 0 0 0 15px; + width: 80%; +} + +.app-toolbar { + position: sticky; + position: -webkit-sticky; /* For macOS/iOS Safari */ + top: 0; /* Sets the sticky toolbar to be on top */ + z-index: 1000; /* Ensure that your app's content doesn't overlap the toolbar */ +} diff --git a/src/app/view-card/view-card.component.html b/src/app/view-card/view-card.component.html index 7aaa623..9ddd089 100644 --- a/src/app/view-card/view-card.component.html +++ b/src/app/view-card/view-card.component.html @@ -1,5 +1,39 @@ + + videogame_asset + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+
@@ -8,11 +42,11 @@
+
+
+
- - - - +
@@ -41,12 +76,14 @@
- + + - +
@@ -59,12 +96,14 @@
- + + - +
@@ -77,12 +116,14 @@
- + + - +
@@ -95,14 +136,16 @@
- + + - +
@@ -115,17 +158,20 @@
- + + - +
- +
+
- +

@@ -292,17 +333,17 @@
-
-
- +
@@ -310,6 +351,12 @@
+
+
+ + + +