Skip to content

Commit

Permalink
add styles
Browse files Browse the repository at this point in the history
  • Loading branch information
haladamateusz committed Oct 28, 2023
1 parent f8e279d commit bc0903b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/app.component.html
Expand Up @@ -6,7 +6,7 @@ <h1>{{ title }}</h1>
<main>
<div class="container">
<div class="row">
<div class="offset-md-2 col-md-8 text-center">
<div class="offset-md-3 mt-5 col-md-6 text-center">
<form (ngSubmit)="sendQuestion()" class="example-form mt-3">
<mat-form-field color="primary" class="example-full-width">
<mat-label>Question</mat-label>
Expand Down Expand Up @@ -55,7 +55,7 @@ <h1>{{ title }}</h1>
<th mat-header-cell *matHeaderCellDef>Link</th>
<td mat-cell *matCellDef="let element">
<a [href]="element.url" target="”_blank”">
<button color="primary" mat-stroked-button>
<button class="w-100" color="primary" mat-stroked-button>
{{ element.type === 'PDF' ? 'Download' : 'View' }}
</button>
</a>
Expand Down
7 changes: 6 additions & 1 deletion frontend/src/app/app.component.scss
@@ -1,3 +1,8 @@
:host ::ng-deep {
.mat-mdc-form-field-focus-overlay {
background-color: #fff
}
}
.example-form {
min-width: 150px;
width: 100%;
Expand All @@ -19,5 +24,5 @@ table {

main {
height: 100%;
background: rgba(129,199,132,1) 50%;
background-image: url('../assets/background-final.png');
}
Binary file added frontend/src/assets/background-final.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/bg2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bc0903b

Please sign in to comment.