mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
bg image for kind of poll
This commit is contained in:
parent
6ab5c18174
commit
3135f299f4
@ -9,13 +9,13 @@
|
||||
<div class=" ">
|
||||
<div class="kind-of-poll">
|
||||
<div
|
||||
class="button input-radio is-fullwidth"
|
||||
class="button input-radio is-fullwidth has-background-kind-date"
|
||||
[ngClass]="{
|
||||
'is-selected': pollService.form.value.isAboutDate != false
|
||||
}"
|
||||
(click)="pollService.form.controls.isAboutDate.setValue(true)"
|
||||
>
|
||||
<img class="icon" src="assets/img/kind_date.svg" alt="icone cal" />
|
||||
<!-- <img class="icon" src="assets/img/kind_date.svg" alt="icone cal" />-->
|
||||
<label for="isAboutDate_true">
|
||||
{{ 'creation.kind.date' | translate }}
|
||||
</label>
|
||||
@ -23,13 +23,13 @@
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="button input-radio is-fullwidth"
|
||||
class="button input-radio is-fullwidth has-background-kind-classic"
|
||||
[ngClass]="{
|
||||
'is-selected': !pollService.form.controls.isAboutDate.value != false
|
||||
}"
|
||||
(click)="pollService.form.controls.isAboutDate.setValue(false)"
|
||||
>
|
||||
<img class="icon" src="assets/img/kind_classic.svg" alt="icone chart" />
|
||||
<!-- <img class="icon" src="assets/img/kind_classic.svg" alt="icone chart" />-->
|
||||
|
||||
<label for="isAboutDate_false">
|
||||
{{ 'creation.kind.classic' | translate }}
|
||||
|
@ -20,7 +20,7 @@
|
||||
transition: background-color ease 1.5s;
|
||||
color: $font-color;
|
||||
margin-bottom: 0.85rem;
|
||||
padding: 1rem;
|
||||
padding: 1rem 1rem 1rem 48px;
|
||||
|
||||
label {
|
||||
font-weight: 700;
|
||||
@ -50,5 +50,11 @@
|
||||
border: solid $primary-color 1px;
|
||||
transition: background-color ease 0.25s;
|
||||
}
|
||||
&.has-background-kind-classic {
|
||||
background: $d-blue30 url('/assets/img/kind_classic.svg') no-repeat 19px center;
|
||||
}
|
||||
&.has-background-kind-date {
|
||||
background: $d-blue30 url('/assets/img/kind_date.svg') no-repeat 19px center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user