-
Étape {{ step_current }} sur {{ step_max }}
+ Étape {{ step_current }} sur {{ step_max }}
diff --git a/src/app/features/administration/stepper/stepper.component.scss b/src/app/features/administration/stepper/stepper.component.scss
index 7e2ce7b8..35a2cd23 100644
--- a/src/app/features/administration/stepper/stepper.component.scss
+++ b/src/app/features/administration/stepper/stepper.component.scss
@@ -1,11 +1,16 @@
@import '../../../../styles/variables';
-
+.step-info {
+ .title.step-title-poll {
+ font-size: 0.85rem;
+ color: $border-color;
+ }
+}
.step-bar-container {
margin: 1em 0;
height: 0.6em;
display: inline-block;
min-width: 1px;
- background: $border-color !important;
+ background: $d-grey !important;
width: 100%;
}
.step-bar-progress {
diff --git a/src/app/features/administration/stepper/stepper.component.ts b/src/app/features/administration/stepper/stepper.component.ts
index 646f0f9e..eadbc5a0 100644
--- a/src/app/features/administration/stepper/stepper.component.ts
+++ b/src/app/features/administration/stepper/stepper.component.ts
@@ -14,6 +14,7 @@ export class StepperComponent {
public step_current: number = 1;
@Input()
public step_max: number = 5;
+ public environment = environment;
public show_shortcuts = environment.showStepperShortcuts;
constructor(
public pollService: PollService,
diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts
index 92773481..6f223329 100644
--- a/src/environments/environment.prod.ts
+++ b/src/environments/environment.prod.ts
@@ -19,13 +19,14 @@ export const environment = {
production: true,
display_routes: false,
showDemoWarning: false,
- autofill_creation: true,
+ display_menu_creation: false,
+ autofill_creation: false,
autofill_participation: false,
advanced_options_display: false,
autofill_default_timeslices: false,
autoSendNewPoll: false,
interval_days_default: 7,
- showStepperShortcuts: true,
+ showStepperShortcuts: false,
expiresDaysDelay: 60,
maxCountOfAnswers: 300,
appTitle: 'FramaDate',
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 62b408cc..a6ac8684 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -11,13 +11,14 @@ export const environment = {
frontDomain: 'http://127.0.0.1:4200',
production: false,
display_routes: false, // demo paths to test polls
- autofill_creation: true,
+ display_menu_creation: false,
+ autofill_creation: false,
advanced_options_display: false,
autofill_participation: false,
autofill_default_timeslices: false,
showDemoWarning: false,
autoSendNewPoll: false,
- showStepperShortcuts: true,
+ showStepperShortcuts: false,
interval_days_default: 7,
expiresDaysDelay: 60,
maxCountOfAnswers: 300,
diff --git a/src/styles/partials/_forms.scss b/src/styles/partials/_forms.scss
index e21d0020..905404ff 100644
--- a/src/styles/partials/_forms.scss
+++ b/src/styles/partials/_forms.scss
@@ -176,8 +176,10 @@ mat-checkbox {
}
.admin-form {
- max-width: 800px;
- margin: 0 auto;
+ .step {
+ max-width: 800px;
+ margin: 0 auto;
+ }
}
.fa {