space buttons under calendar

This commit is contained in:
Tykayn 2021-11-17 15:36:45 +01:00 committed by tykayn
parent 794bbec1a7
commit 5ca08d489f
4 changed files with 8 additions and 2 deletions

View File

@ -21,7 +21,7 @@
></p-calendar> ></p-calendar>
</div> </div>
<button class="button" (click)="mode_calendar = !mode_calendar" [ngClass]="{ 'is-primary': !mode_calendar }"> <button class="button" (click)="mode_calendar = !mode_calendar" [ngClass]="{ 'is-primary': !mode_calendar }">
Saisir les dates manuellement <i class="fa fa-pencil"></i> Saisir les dates manuellement
</button> </button>
</div> </div>
<div class="columns"> <div class="columns">
@ -38,8 +38,9 @@
{{ 'dates.add_time' | translate }} {{ 'dates.add_time' | translate }}
</button> </button>
<button class="button" (click)="pollService.allowSeveralHours = !pollService.allowSeveralHours"> <button class="button" (click)="pollService.allowSeveralHours = !pollService.allowSeveralHours">
Horaires différentes pour chaque jour <i class="fa fa-clock-o" aria-hidden="true"></i> Horaires différentes pour chaque jour
</button> </button>
<button <button
(click)="pollService.removeAllTimes()" (click)="pollService.removeAllTimes()"
*ngIf="pollService.timeList.length && false == pollService.allowSeveralHours" *ngIf="pollService.timeList.length && false == pollService.allowSeveralHours"

View File

@ -7,3 +7,6 @@
.calendar { .calendar {
margin-top: 1em; margin-top: 1em;
} }
#add_time_button {
margin-bottom: 1em;
}

View File

@ -190,6 +190,7 @@ mat-checkbox {
background: white; background: white;
border-radius: 4px; border-radius: 4px;
overflow: hidden; overflow: hidden;
padding: 1em 2em;
} }
.example-box { .example-box {

View File

@ -14,6 +14,7 @@
display: inline-block; display: inline-block;
} }
.time-choice { .time-choice {
padding: 1em;
input { input {
width: 80%; width: 80%;
} }