mirror of
https://git.zavage.net/Zavage-Software/skrill-frontend.git
synced 2025-01-18 03:32:02 -07:00
build: styling on webpage, footer colors, ag-grid colors, scrollToTop()
This commit is contained in:
parent
c876484a91
commit
9474ed6aa6
@ -5,3 +5,9 @@ body {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
background: rgba(28, 45, 58.5);
|
||||||
|
border-top: 1px solid #545050;
|
||||||
|
color: #ccc;
|
||||||
|
}
|
||||||
|
@ -33,16 +33,16 @@
|
|||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer class="footer mt-auto py-3 bg-light">
|
<footer class="footer mt-auto py-3">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<span class="text-muted"
|
<span
|
||||||
>Copyright © 2024 Zavage Software Inc., all rights reserved.<br />
|
>Copyright © 2024 Zavage Software Inc., all rights reserved.<br />
|
||||||
Denver, CO</span
|
Denver, CO</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<button class="btn btn-primary" title="Go to top">Go to Top</button>
|
<button class="btn btn-primary" title="Go to top" (click)="scrollToTop()">Go to Top</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -12,4 +12,10 @@ import { RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router';
|
|||||||
})
|
})
|
||||||
export class AppComponent {
|
export class AppComponent {
|
||||||
title = 'Skrill - get rich or die trying!!';
|
title = 'Skrill - get rich or die trying!!';
|
||||||
|
|
||||||
|
// When the user clicks on the button, scroll to the top of the document
|
||||||
|
scrollToTop() {
|
||||||
|
document.body.scrollTop = 0; // For Safari
|
||||||
|
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<p>scouting-crypto works!</p>
|
<p>scouting-crypto works!</p>
|
||||||
|
|
||||||
<!-- The AG Grid component -->
|
<!-- The AG Grid component -->
|
||||||
<ag-grid-angular class="ag-theme-quartz" style="height: 500px" [rowData]="rowData" [columnDefs]="colDefs" />
|
<ag-grid-angular class="ag-theme-quartz-dark" style="height: 2500px" [rowData]="rowData" [columnDefs]="colDefs" />
|
||||||
|
@ -15,6 +15,27 @@ export class ScoutingCryptoComponent {
|
|||||||
{ make: 'Tesla', model: 'Model Y', price: 64950, electric: true },
|
{ make: 'Tesla', model: 'Model Y', price: 64950, electric: true },
|
||||||
{ make: 'Ford', model: 'F-Series', price: 33850, electric: false },
|
{ make: 'Ford', model: 'F-Series', price: 33850, electric: false },
|
||||||
{ make: 'Toyota', model: 'Corolla', price: 29600, electric: false },
|
{ make: 'Toyota', model: 'Corolla', price: 29600, electric: false },
|
||||||
|
{ make: 'Tesla', model: 'Model Y', price: 64950, electric: true },
|
||||||
|
{ make: 'Ford', model: 'F-Series', price: 33850, electric: false },
|
||||||
|
{ make: 'Toyota', model: 'Corolla', price: 29600, electric: false },
|
||||||
|
{ make: 'Tesla', model: 'Model Y', price: 64950, electric: true },
|
||||||
|
{ make: 'Ford', model: 'F-Series', price: 33850, electric: false },
|
||||||
|
{ make: 'Toyota', model: 'Corolla', price: 29600, electric: false },
|
||||||
|
{ make: 'Tesla', model: 'Model Y', price: 64950, electric: true },
|
||||||
|
{ make: 'Ford', model: 'F-Series', price: 33850, electric: false },
|
||||||
|
{ make: 'Toyota', model: 'Corolla', price: 29600, electric: false },
|
||||||
|
{ make: 'Tesla', model: 'Model Y', price: 64950, electric: true },
|
||||||
|
{ make: 'Ford', model: 'F-Series', price: 33850, electric: false },
|
||||||
|
{ make: 'Toyota', model: 'Corolla', price: 29600, electric: false },
|
||||||
|
{ make: 'Tesla', model: 'Model Y', price: 64950, electric: true },
|
||||||
|
{ make: 'Ford', model: 'F-Series', price: 33850, electric: false },
|
||||||
|
{ make: 'Toyota', model: 'Corolla', price: 29600, electric: false },
|
||||||
|
{ make: 'Tesla', model: 'Model Y', price: 64950, electric: true },
|
||||||
|
{ make: 'Ford', model: 'F-Series', price: 33850, electric: false },
|
||||||
|
{ make: 'Toyota', model: 'Corolla', price: 29600, electric: false },
|
||||||
|
{ make: 'Tesla', model: 'Model Y', price: 64950, electric: true },
|
||||||
|
{ make: 'Ford', model: 'F-Series', price: 33850, electric: false },
|
||||||
|
{ make: 'Toyota', model: 'Corolla', price: 29600, electric: false },
|
||||||
];
|
];
|
||||||
|
|
||||||
// Column Definitions: Defines the columns to be displayed.
|
// Column Definitions: Defines the columns to be displayed.
|
||||||
|
Loading…
Reference in New Issue
Block a user