add font helvetica

This commit is contained in:
Tykayn 2021-11-26 11:49:51 +01:00 committed by tykayn
parent 434f4b82b1
commit 14691db58b
11 changed files with 46 additions and 18 deletions

View File

@ -35,21 +35,6 @@
</section> </section>
</div> </div>
<section class="proposals">
<h3 class="title is-3">
Propositions de créneaux horaires
</h3>
<div class="time-slices-proposals rounded-block">
<div
class="button is-rounded"
*ngFor="let text of timeSlicesProposals"
(click)="addPreselect(text.literal)"
>
{{ text.literal }}
</div>
</div>
</section>
<section class="same-time-slices"> <section class="same-time-slices">
<button class="is-outlined is-primary" (click)="toggleHasSeveralHours()"> <button class="is-outlined is-primary" (click)="toggleHasSeveralHours()">
Appliquer le même horaire / option à toutes les dates Appliquer le même horaire / option à toutes les dates
@ -68,6 +53,20 @@
{{ 'dates.add_time' | translate }} {{ 'dates.add_time' | translate }}
</button> </button>
<section class="proposals">
<h3 class="title is-3">
Propositions de créneaux horaires
</h3>
<div class="time-slices-proposals rounded-block">
<div
class="button is-rounded"
*ngFor="let text of timeSlicesProposals"
(click)="addPreselect(text.literal)"
>
{{ text.literal }}
</div>
</div>
</section>
<div *ngFor="let timeSlice of pollService.timeList; index as id" class="time-choice padded"> <div *ngFor="let timeSlice of pollService.timeList; index as id" class="time-choice padded">
<label for="timeList_{{ id }}"> Horaire / option {{ id + 1 }} </label> <label for="timeList_{{ id }}"> Horaire / option {{ id + 1 }} </label>
<input <input

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -8,6 +8,31 @@
font-style: normal; font-style: normal;
} }
@font-face {
font-family: 'helvetica';
src: url('assets/fonts/helvetica/Helvetica.ttf') format('ttf');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'helvetica';
src: url('assets/fonts/helvetica/Helvetica-Bold.ttf') format('ttf');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'helvetica';
src: url('assets/fonts/helvetica/Helvetica-BoldOblique.ttf') format('ttf');
font-weight: 600;
font-style: italic;
}
@font-face {
font-family: 'helvetica';
src: url('assets/fonts/helvetica/Helvetica-light.ttf') format('ttf');
font-weight: 200;
font-style: normal;
}
@font-face { @font-face {
font-family: 'pt_sans'; font-family: 'pt_sans';
src: url('assets/fonts/pt_sans/pt_sans_bold-webfont.woff2') format('woff2'), src: url('assets/fonts/pt_sans/pt_sans_bold-webfont.woff2') format('woff2'),

View File

@ -5,11 +5,12 @@ h4,
h5, h5,
h6 { h6 {
@extend .title; @extend .title;
font-family: $title_font;
} }
h1 { h1 {
@extend .is-1; @extend .is-1;
font-family: $title_font;
&::after { &::after {
background-color: $primary_color; background-color: $primary_color;
height: 2px; height: 2px;
@ -18,14 +19,17 @@ h1 {
h2 { h2 {
@extend .is-2; @extend .is-2;
font-family: $title_font;
} }
h3 { h3 {
@extend .is-3; @extend .is-3;
font-family: $title_font;
} }
h4 { h4 {
@extend .is-4; @extend .is-4;
font-family: $title_font;
} }
.nobold { .nobold {

View File

@ -63,5 +63,5 @@ $warning: $d-warning;
$danger: $d-error; $danger: $d-error;
$success: $d-success; $success: $d-success;
$default_font: 'pt_sans'; $default_font: 'helvetica';
$title_font: 'proza_libre', 'Brie Light', 'Arial', 'DejaVu Sans Mono'; $title_font: 'helvetica', 'proza_libre', 'Brie Light', 'Arial', 'DejaVu Sans Mono';