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 {
|
||||
this.initFormDefault(environment.autofill_creation);
|
||||
this.toastService.display('formulaire réinitialisé');
|
||||
// this.toastService.display('formulaire réinitialisé');
|
||||
}
|
||||
|
||||
countDays(): void {
|
||||
|
@ -79,9 +79,11 @@
|
||||
{{ 'nav.step' | translate }} {{ step_current }} {{ 'nav.on' | translate }} {{ step_max }}
|
||||
</span>
|
||||
</p>
|
||||
<button class="is-visible-smallest-screen pull-right menu-button" (click)="toggle_mobile_menu()">
|
||||
{{ 'nav.menu' | translate }}
|
||||
<img class="icon" aria-hidden="true" src="assets/icons/book.svg" />
|
||||
<button
|
||||
class="is-visible-smallest-screen pull-right menu-button is-filtered-icon-primary has-background-menu"
|
||||
(click)="toggle_mobile_menu()"
|
||||
>
|
||||
<!-- {{ 'nav.menu' | translate }}-->
|
||||
</button>
|
||||
<div class="is-hidden-smallest-screen has-right-elements pull-right">
|
||||
<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>
|
||||
|
||||
<!-- modale pour quitter la création-->
|
||||
<dialog>
|
||||
<p-dialog
|
||||
id="close_stepper"
|
||||
[modal]="true"
|
||||
@ -139,17 +142,18 @@
|
||||
</div>
|
||||
</ng-template>
|
||||
</p-dialog>
|
||||
</dialog>
|
||||
<div id="mobile_menu" *ngIf="display_mobile_menu">
|
||||
<div class="menu-content">
|
||||
<div class="padded">
|
||||
<button
|
||||
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"
|
||||
>
|
||||
{{ 'SENTENCES.Close' | translate }}
|
||||
<img class="icon" src="assets/icons/x_blue.svg" />
|
||||
{{ 'SENTENCES.Close' | translate }} <img class="icon fa" src="assets/icons/x_blue.svg" />
|
||||
</button>
|
||||
|
||||
<h2 class="title is-2 has-text-primary">Menu</h2>
|
||||
<div class="langs">
|
||||
<app-language-selector class="nav-button" [idSuffix]="'_mobile'"></app-language-selector>
|
||||
|
@ -114,6 +114,13 @@
|
||||
color: $secondary_color;
|
||||
}
|
||||
}
|
||||
.has-background-icon-right {
|
||||
padding-right: 44px;
|
||||
background-position: right;
|
||||
&:hover {
|
||||
color: $secondary_color;
|
||||
}
|
||||
}
|
||||
// icone bg
|
||||
.has-background-transparent {
|
||||
background-color: transparent;
|
||||
@ -141,6 +148,15 @@
|
||||
.has-background-trash {
|
||||
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 {
|
||||
display: block;
|
||||
}
|
||||
|
@ -76,7 +76,7 @@
|
||||
}
|
||||
|
||||
.step {
|
||||
padding: 120px 0;
|
||||
padding: 120px 10px;
|
||||
}
|
||||
#creation_stepper {
|
||||
.logo-home-link {
|
||||
@ -97,6 +97,7 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.step-title-poll {
|
||||
max-width: 18ch;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user