Skip to content

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
alecarn committed Jul 17, 2023
1 parent 13df863 commit 4ed35ee
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
7 changes: 6 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import {
MatTooltipDefaultOptions
} from '@angular/material/tooltip';
import { concatMap, first } from 'rxjs';
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';

export const defaultTooltipOptions: MatTooltipDefaultOptions = {
showDelay: 500,
Expand Down Expand Up @@ -91,7 +92,11 @@ export const defaultTooltipOptions: MatTooltipDefaultOptions = {
provideStyleListOptions({
path: './assets/list-style.json'
}),
{ provide: MAT_TOOLTIP_DEFAULT_OPTIONS, useValue: defaultTooltipOptions }
{ provide: MAT_TOOLTIP_DEFAULT_OPTIONS, useValue: defaultTooltipOptions },
{
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
useValue: { appearance: 'outline' }
},
],
bootstrap: [AppComponent]
})
Expand Down
1 change: 1 addition & 0 deletions src/app/pages/portal/sidenav/sidenav.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<mat-sidenav
class="mat-elevation-z3"
mode="side"
[autoFocus]="false"
[(opened)]="opened">
Expand Down
5 changes: 1 addition & 4 deletions src/app/pages/portal/sidenav/sidenav.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
// and the sidenav appears below our backdrop.
// The "side" mode is required to prevent
// the sidenav from focusing a random button on open.
z-index: 3 !important;

@extend %box-shadowed-bottom-right;

z-index: 3 !important;
height: 100%;
width: $app-sidenav-width;

Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
rel="stylesheet"
href="assets/igo2/core/theming/prebuilt-themes/blue-theme.css"
/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;bold&display=swap" rel="stylesheet">
<meta name="theme-color" content="#1976d2" />
</head>
<body class="mat-typography">
Expand Down
2 changes: 1 addition & 1 deletion src/qcca-theme/qcca-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ p {

h1, h2, h4, h5, h6, .mat-mdc-dialog-title { //h3 a été retiré car en conflit avec igo-panel-title
font-family: 'Roboto', sans-serif!important;
font-weight: 600;
font-weight: 500;
color: #223654;
}

Expand Down
1 change: 0 additions & 1 deletion src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@

.toast-message-a-blue:hover {
text-decoration: underline !important;

}

0 comments on commit 4ed35ee

Please sign in to comment.