mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
🎨 style on step 4
This commit is contained in:
parent
73209f4f4b
commit
61c5d2ca9a
@ -18,16 +18,26 @@
|
|||||||
<section class="time-slice-list-of-a-day">
|
<section class="time-slice-list-of-a-day">
|
||||||
<div *ngFor="let timeSlice of dayChoice.timeSlices; index as id" class="time-choice padded">
|
<div *ngFor="let timeSlice of dayChoice.timeSlices; index as id" class="time-choice padded">
|
||||||
<label for="dateChoices_{{ id }}"> {{ 'hours.element' | translate }} {{ id + 1 }} </label>
|
<label for="dateChoices_{{ id }}"> {{ 'hours.element' | translate }} {{ id + 1 }} </label>
|
||||||
|
<div class="columns">
|
||||||
|
<div class="column">
|
||||||
<input
|
<input
|
||||||
class="input is-fullwidth"
|
class="input is-fullwidth"
|
||||||
type="text"
|
type="text"
|
||||||
id="dateChoices_{{ id }}"
|
id="dateChoices_{{ id }}"
|
||||||
[(ngModel)]="timeSlice.literal"
|
[(ngModel)]="timeSlice.literal"
|
||||||
/>
|
/>
|
||||||
<button class="button input is-full" (click)="pollService.timeList.splice(id, 1)">
|
</div>
|
||||||
<i class="fa fa-trash"></i> {{ 'choices.delete' | translate }}
|
<div class="column is-narrow">
|
||||||
|
<button
|
||||||
|
class="button is-full has-no-border delete-hour"
|
||||||
|
(click)="pollService.timeList.splice(id, 1)"
|
||||||
|
>
|
||||||
|
<i class="fa fa-trash"></i>
|
||||||
|
<!-- {{ 'choices.delete' | translate }}-->
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="add-time-choice">
|
<div class="add-time-choice">
|
||||||
<button
|
<button
|
||||||
class="has-text-primary button has-no-border is-fullwidth text-left"
|
class="has-text-primary button has-no-border is-fullwidth text-left"
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
@import '../../../../../../styles/variables';
|
@import '../../../../../../styles/variables';
|
||||||
@import '../../../../../../styles/dev-utilities/helpers';
|
@import '../../../../../../styles/dev-utilities/helpers';
|
||||||
|
|
||||||
|
.time-slice-list-of-a-day {
|
||||||
|
.column {
|
||||||
|
min-height: 2rem;
|
||||||
|
max-height: 3rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
color: $primary_color;
|
color: $primary_color;
|
||||||
|
|
||||||
@ -30,8 +37,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.add-time-choice {
|
.add-time-choice {
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
justify-content: inherit;
|
justify-content: inherit;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.delete-hour {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user