diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index fc858be0..278a80f8 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -8,7 +8,7 @@ import { LoginComponent } from './accounts/login.component'; import { VaultComponent } from './vault/vault.component'; const routes: Routes = [ - { path: '', redirectTo: '/login', pathMatch: 'full' }, + { path: '', redirectTo: '/vault', pathMatch: 'full' }, { path: 'login', component: LoginComponent }, { path: 'vault', component: VaultComponent }, ]; diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 2498bd90..4fbdb488 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -3,7 +3,7 @@ import { Component } from '@angular/core'; @Component({ selector: 'app-root', styles: [], - template: 'App
', + template: '', }) export class AppComponent { } diff --git a/src/app/vault/vault.component.html b/src/app/vault/vault.component.html index 87071a9a..8b6e640d 100644 --- a/src/app/vault/vault.component.html +++ b/src/app/vault/vault.component.html @@ -1 +1,67 @@ -My Vault!! +
+ +
+
+ Search Bar +
+
+
Something
Something
Something
+
+
+
+
+ Search Bar +
+
+
Something Something Something Something Something Something
+
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
+ +
+
+
+ View Item +
+
+
Something Something Something Something Something Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
Something
Something
Something
Something
+
+ +
+
diff --git a/src/scss/styles.scss b/src/scss/styles.scss index d4795a00..ceb5e828 100644 --- a/src/scss/styles.scss +++ b/src/scss/styles.scss @@ -1,6 +1,110 @@ -html, body { +* { + box-sizing: border-box; +} + +*::-webkit-scrollbar { + width: 10px; + height: 10px; + background-color: #aaa; +} + +*::-webkit-scrollbar-thumb { + background: #888; +} + +html, body { margin: 0; padding: 0; height: 100%; background-color: gray; + overflow-x: hidden; + overflow-y: hidden; + font-family: Arial; + font-size: 14px; + color: #000; +} + +#vault { + height: 100vh; + display: flex; + + #nav { + background-color: #1a2226; + min-width: 50px; + color: white; + display: flex; + flex-direction: column; + + ul { + padding: 0; + margin: 0; + + li { + padding: 0; + margin: 0; + list-style: none; + + a { + display: block; + text-align: center; + padding: 20px 0; + text-decoration: none; + color: #fff; + } + } + + &.top { + flex: 1; + } + } + } + + #categories { + background-color: #222d32; + width: 15%; + min-width: 175px; + max-width: 250px; + color: white; + + .header { + background-color: #367fa9; + } + } + + #items { + background-color: #ecf0f5; + width: 25%; + min-width: 200px; + max-width: 350px; + } + + #details { + background-color: #f9fafc; + flex: 1; + min-width: 400px; + } + + #categories, #items, #details { + display: flex; + flex-direction: column; + } + + .header { + height: 50px; + background-color: #3c8dbc; + color: #fff; + flex: 0 0 auto; + } + + .content { + flex: 1 1 auto; + position: relative; + overflow: overlay; + } + + .footer { + height: 50px; + background-color: #fff; + flex: 0 0 auto; + } }