diff --git a/src/app/core/services/poll.service.ts b/src/app/core/services/poll.service.ts index 4b6c3536..7ba4dc77 100644 --- a/src/app/core/services/poll.service.ts +++ b/src/app/core/services/poll.service.ts @@ -50,7 +50,7 @@ export class PollService implements Resolve { public showDateInterval = false; public allowSeveralHours = false; public richTextMode = false; - public mode_calendar = true; // default input to select dates in creation step + public mode_calendar = false; // default input to select dates in creation step public calendar: Date[] = [new Date()]; public disabled_dates: Date[] = []; diff --git a/src/app/features/administration/form/date/list/day/day-list.component.html b/src/app/features/administration/form/date/list/day/day-list.component.html index fc8c887d..20b1dc33 100644 --- a/src/app/features/administration/form/date/list/day/day-list.component.html +++ b/src/app/features/administration/form/date/list/day/day-list.component.html @@ -3,7 +3,7 @@
-

-
- - {{ 'dates.remove' | translate }} +
+
diff --git a/src/app/features/administration/form/date/list/day/day-list.component.scss b/src/app/features/administration/form/date/list/day/day-list.component.scss index 1e8084bf..85816eb2 100644 --- a/src/app/features/administration/form/date/list/day/day-list.component.scss +++ b/src/app/features/administration/form/date/list/day/day-list.component.scss @@ -58,6 +58,7 @@ &:nth-of-type(odd) { background: #9880d5; + &.day-weekend { background: #8e72d4; } @@ -82,15 +83,25 @@ border-top-left-radius: 0; border-top-right-radius: 0; background: transparent; - text-align: left; + margin-right: 0; + button { + text-align: left !important; + width: 100%; + display: block; + padding-left: 1rem; + &:hover { + color: $white !important; + } + } + .fa, .icon { float: left; color: $primary_color; margin: 0; - margin-right: 1rem; + margin-right: 8px; height: 1.25rem; // filter converter is here https://codepen.io/sosuke/pen/Pjoqqp filter: invert(48%) sepia(68%) saturate(6489%) hue-rotate(233deg) brightness(89%) contrast(81%); @@ -114,6 +125,7 @@ font-size: 14px; line-height: 16px; } + .add_date { margin-top: 2rem; } diff --git a/src/app/features/administration/form/steps/step-three/step-three.component.html b/src/app/features/administration/form/steps/step-three/step-three.component.html index 369c150f..1c983c11 100644 --- a/src/app/features/administration/form/steps/step-three/step-three.component.html +++ b/src/app/features/administration/form/steps/step-three/step-three.component.html @@ -39,7 +39,7 @@
diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 559b813e..173c2933 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -28,7 +28,7 @@ export const environment = { autofill_participation: false, autoSendNewPoll: false, creation_display_admin_url: false, - creation_display_hour_per_day: true, // display or not the ability to choose time slices different per day + creation_display_hour_per_day: false, // display or not the ability to choose time slices different per day creation_display_proposals_time_slices: false, creation_email_is_required: true, display_header_create_button: false, diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 0773af23..65bf5e1e 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -29,7 +29,7 @@ export const environment = { autofill_participation: false, autoSendNewPoll: false, creation_display_admin_url: false, - creation_display_hour_per_day: true, // display or not the ability to choose time slices different per day + creation_display_hour_per_day: false, // display or not the ability to choose time slices different per day creation_display_proposals_time_slices: false, creation_email_is_required: true, display_header_create_button: false, diff --git a/src/styles/dev-utilities/_helpers.scss b/src/styles/dev-utilities/_helpers.scss index 56fd4ae8..2a812097 100644 --- a/src/styles/dev-utilities/_helpers.scss +++ b/src/styles/dev-utilities/_helpers.scss @@ -81,6 +81,10 @@ } } +.has-no-background { + background: none; +} +.has-no-outline, .has-no-border { border: none; }