2024-11-05 19:02:31 +01:00
|
|
|
@import 'colors';
|
|
|
|
@import 'constants';
|
2019-10-21 18:12:57 +02:00
|
|
|
|
|
|
|
.procedure-form .page-title {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.procedure-form__columns {
|
|
|
|
display: flex;
|
|
|
|
margin-top: -$sub-header-bottom-margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
// We want to make the form as large as possible,
|
|
|
|
// without shrinking the preview too much.
|
|
|
|
//
|
|
|
|
// A balanced compromised seems to make the form
|
|
|
|
// slighly larger than the preview (flex 10/9), and
|
|
|
|
// to reduce the margins on the preview as much as
|
|
|
|
// possible.
|
|
|
|
.procedure-form__column--form {
|
|
|
|
flex: 10;
|
|
|
|
padding: 0 $default-padding;
|
2021-02-11 20:23:11 +01:00
|
|
|
|
2024-11-05 19:02:31 +01:00
|
|
|
input[type='file'] {
|
2022-11-22 18:20:20 +01:00
|
|
|
background-color: transparent; // Remove white bg set by DSFR
|
|
|
|
}
|
|
|
|
|
2021-02-11 20:23:11 +01:00
|
|
|
&.no-background {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2019-10-21 18:12:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.procedure-form__column--preview {
|
|
|
|
flex: 9;
|
|
|
|
padding: 0 2 * $default-padding;
|
|
|
|
// Gain a little horizontal space by using the white
|
|
|
|
// space on the right as our margin.
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Hide the preview panel on smaller screens
|
|
|
|
@media screen and (max-width: 800px) {
|
|
|
|
.procedure-form__column--preview {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.procedure-form__preview .procedure-preview {
|
|
|
|
max-width: 450px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.procedure-form__preview-title {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: bold;
|
|
|
|
opacity: 0.5;
|
|
|
|
margin-top: $default-spacer * 4;
|
|
|
|
margin-bottom: $default-spacer * 8;
|
2020-07-29 12:19:20 +02:00
|
|
|
|
|
|
|
.notice {
|
|
|
|
color: $dark-grey;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2019-10-21 18:12:57 +02:00
|
|
|
}
|
|
|
|
|
2024-11-05 19:02:31 +01:00
|
|
|
[data-fr-theme='dark'] .procedure-form__actions {
|
2023-11-15 17:58:26 +01:00
|
|
|
background: var(--background-action-low-blue-france);
|
|
|
|
border-top: 1px solid var(--background-action-low-blue-france-hover);
|
|
|
|
}
|
|
|
|
|
2019-10-21 18:12:57 +02:00
|
|
|
.procedure-form__actions {
|
|
|
|
display: flex;
|
|
|
|
padding: $default-spacer $default-padding;
|
|
|
|
background: $light-grey;
|
|
|
|
border-top: 1px solid $border-grey;
|
2020-07-29 12:19:20 +02:00
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2019-10-21 18:12:57 +02:00
|
|
|
|
|
|
|
.button.send {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2020-07-29 12:19:20 +02:00
|
|
|
|
|
|
|
.actions-left {
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-right {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2019-10-21 18:12:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.procedure-form__options-details {
|
|
|
|
margin-bottom: $default-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.procedure-form__options-summary {
|
|
|
|
cursor: pointer;
|
|
|
|
|
2023-06-05 17:18:14 +02:00
|
|
|
h3 {
|
2019-10-21 18:12:57 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|