mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
mobile button to exit menu, padding on main col on small screens
This commit is contained in:
parent
6afb4d4640
commit
934e004a33
@ -485,7 +485,7 @@ export class PollService implements Resolve<Poll> {
|
|||||||
|
|
||||||
askInitFormDefault(): void {
|
askInitFormDefault(): void {
|
||||||
this.initFormDefault(environment.autofill_creation);
|
this.initFormDefault(environment.autofill_creation);
|
||||||
this.toastService.display('formulaire réinitialisé');
|
// this.toastService.display('formulaire réinitialisé');
|
||||||
}
|
}
|
||||||
|
|
||||||
countDays(): void {
|
countDays(): void {
|
||||||
|
@ -79,9 +79,11 @@
|
|||||||
{{ 'nav.step' | translate }} {{ step_current }} {{ 'nav.on' | translate }} {{ step_max }}
|
{{ 'nav.step' | translate }} {{ step_current }} {{ 'nav.on' | translate }} {{ step_max }}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<button class="is-visible-smallest-screen pull-right menu-button" (click)="toggle_mobile_menu()">
|
<button
|
||||||
{{ 'nav.menu' | translate }}
|
class="is-visible-smallest-screen pull-right menu-button is-filtered-icon-primary has-background-menu"
|
||||||
<img class="icon" aria-hidden="true" src="assets/icons/book.svg" />
|
(click)="toggle_mobile_menu()"
|
||||||
|
>
|
||||||
|
<!-- {{ 'nav.menu' | translate }}-->
|
||||||
</button>
|
</button>
|
||||||
<div class="is-hidden-smallest-screen has-right-elements pull-right">
|
<div class="is-hidden-smallest-screen has-right-elements pull-right">
|
||||||
<app-language-selector class="nav-button"></app-language-selector>
|
<app-language-selector class="nav-button"></app-language-selector>
|
||||||
@ -99,6 +101,7 @@
|
|||||||
<div class="step-bar-progress" [ngStyle]="{ width: (step_current / step_max) * 100 + '%' }"></div>
|
<div class="step-bar-progress" [ngStyle]="{ width: (step_current / step_max) * 100 + '%' }"></div>
|
||||||
|
|
||||||
<!-- modale pour quitter la création-->
|
<!-- modale pour quitter la création-->
|
||||||
|
<dialog>
|
||||||
<p-dialog
|
<p-dialog
|
||||||
id="close_stepper"
|
id="close_stepper"
|
||||||
[modal]="true"
|
[modal]="true"
|
||||||
@ -139,17 +142,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</p-dialog>
|
</p-dialog>
|
||||||
|
</dialog>
|
||||||
<div id="mobile_menu" *ngIf="display_mobile_menu">
|
<div id="mobile_menu" *ngIf="display_mobile_menu">
|
||||||
<div class="menu-content">
|
<div class="menu-content">
|
||||||
<div class="padded">
|
<div class="padded">
|
||||||
<button
|
<button
|
||||||
id="close_menu"
|
id="close_menu"
|
||||||
class="button cancel-button-reject pull-right img-marged-left"
|
class="button cancel-button-reject pull-right has-text-right has-no-border is-closing-popup"
|
||||||
(click)="display_mobile_menu = false"
|
(click)="display_mobile_menu = false"
|
||||||
>
|
>
|
||||||
{{ 'SENTENCES.Close' | translate }}
|
{{ 'SENTENCES.Close' | translate }} <img class="icon fa" src="assets/icons/x_blue.svg" />
|
||||||
<img class="icon" src="assets/icons/x_blue.svg" />
|
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<h2 class="title is-2 has-text-primary">Menu</h2>
|
<h2 class="title is-2 has-text-primary">Menu</h2>
|
||||||
<div class="langs">
|
<div class="langs">
|
||||||
<app-language-selector class="nav-button" [idSuffix]="'_mobile'"></app-language-selector>
|
<app-language-selector class="nav-button" [idSuffix]="'_mobile'"></app-language-selector>
|
||||||
|
@ -114,6 +114,13 @@
|
|||||||
color: $secondary_color;
|
color: $secondary_color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.has-background-icon-right {
|
||||||
|
padding-right: 44px;
|
||||||
|
background-position: right;
|
||||||
|
&:hover {
|
||||||
|
color: $secondary_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
// icone bg
|
// icone bg
|
||||||
.has-background-transparent {
|
.has-background-transparent {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -141,6 +148,15 @@
|
|||||||
.has-background-trash {
|
.has-background-trash {
|
||||||
background: url('/assets/icons/trash-2.svg') no-repeat 16px center;
|
background: url('/assets/icons/trash-2.svg') no-repeat 16px center;
|
||||||
}
|
}
|
||||||
|
.has-background-menu {
|
||||||
|
background: url('/assets/icons/menu.svg') no-repeat 16px center;
|
||||||
|
}
|
||||||
|
.has-background-close {
|
||||||
|
background: url('/assets/icons/x.svg') no-repeat 16px center;
|
||||||
|
}
|
||||||
|
.has-background-arrow-down-circle {
|
||||||
|
background: url('/assets/icons/arrow-down-circle.svg') no-repeat 16px center;
|
||||||
|
}
|
||||||
.is-block {
|
.is-block {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.step {
|
.step {
|
||||||
padding: 120px 0;
|
padding: 120px 10px;
|
||||||
}
|
}
|
||||||
#creation_stepper {
|
#creation_stepper {
|
||||||
.logo-home-link {
|
.logo-home-link {
|
||||||
@ -97,6 +97,7 @@
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-title-poll {
|
.step-title-poll {
|
||||||
max-width: 18ch;
|
max-width: 18ch;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user