mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
striked background on calendar disabled dates
This commit is contained in:
parent
ee4f91c9ac
commit
c799bea900
@ -37,7 +37,7 @@
|
||||
/>
|
||||
<hr />
|
||||
<div class="button delete-date is-block" (click)="dateChoices.splice(id, 1)">
|
||||
<img class="icon" aria-hidden="true" src="assets/icons/trash.cvg" />
|
||||
<img class="icon" aria-hidden="true" src="assets/icons/trash.csv" />
|
||||
Supprimer la date
|
||||
</div>
|
||||
<div *ngIf="hasSeveralHours" class="several-times">
|
||||
|
@ -44,11 +44,10 @@
|
||||
class="text-info"
|
||||
[ngClass]="{ 'has-background-warning': pollService.form.value.description.length === 300 }"
|
||||
>
|
||||
<span class="counter-current" *ngIf="pollService.form.value.description.length">
|
||||
{{ pollService.form.value.description.length }} /
|
||||
</span>
|
||||
<p>
|
||||
300 caractères maximum
|
||||
<span class="counter-current" *ngIf="pollService.form.value.description.length">
|
||||
{{ pollService.form.value.description.length }} / </span
|
||||
>300 caractères maximum
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -91,6 +91,9 @@ p-calendar,
|
||||
color: $white;
|
||||
transition: all ease 0.2s;
|
||||
}
|
||||
&.p-disabled {
|
||||
@extend .striked-background;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -51,9 +51,11 @@ input,
|
||||
.textarea,
|
||||
select,
|
||||
.select {
|
||||
@extend .clickable;
|
||||
font-size: 1rem !important;
|
||||
line-height: 1.25rem;
|
||||
border: solid 1px $font_color;
|
||||
max-width: 90vw !important;
|
||||
@extend .clickable;
|
||||
&:focus {
|
||||
@extend .outlined;
|
||||
}
|
||||
@ -84,8 +86,8 @@ textarea {
|
||||
.mat-checkbox-label,
|
||||
.mat-checkbox-layout .mat-checkbox-label {
|
||||
max-width: 90vw;
|
||||
|
||||
overflow-x: auto;
|
||||
@extend .clickable;
|
||||
}
|
||||
.button {
|
||||
label {
|
||||
@ -329,4 +331,18 @@ label {
|
||||
line-height: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
display: block;
|
||||
@extend .clickable;
|
||||
}
|
||||
|
||||
.striked-background {
|
||||
&:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
border-top: 1px solid $border-color;
|
||||
width: 4rem;
|
||||
transform: rotate(45deg);
|
||||
transform-origin: 0% 0%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user