2017-07-20 10:25:32 +02:00
|
|
|
@import "constants";
|
2017-06-14 17:39:46 +02:00
|
|
|
@import "colors";
|
2019-11-14 09:22:02 +01:00
|
|
|
@import "placeholders";
|
2017-06-14 17:39:46 +02:00
|
|
|
|
|
|
|
.form {
|
2023-07-17 10:41:38 +02:00
|
|
|
input.unstyled {
|
|
|
|
padding: 0 !important;
|
|
|
|
background: none !important;
|
|
|
|
border: none !important;
|
|
|
|
width: auto !important;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none !important;
|
|
|
|
background-color: $white !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.placeholder {
|
|
|
|
color: $dark-grey;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2023-08-17 17:16:37 +02:00
|
|
|
.fr-input-group,
|
|
|
|
.fr-select-group {
|
2023-06-22 16:02:32 +02:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-2 {
|
|
|
|
margin-top: 1.5rem;
|
2023-09-27 18:43:45 +02:00
|
|
|
padding-top: 2rem;
|
2023-06-22 16:02:32 +02:00
|
|
|
border-top: 2px solid var(--border-default-grey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-2,
|
|
|
|
.section-3 {
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-4,
|
|
|
|
.section-5,
|
|
|
|
.section-6 {
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-09-27 18:43:45 +02:00
|
|
|
// Keep only bottom margin in nested (consecutive) header sections, ie. first legend for a same level
|
|
|
|
.fr-fieldset > .fr-fieldset__legend + .fr-fieldset__element > .fr-fieldset:first-of-type .header-section {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
|
|
|
|
2023-10-09 13:03:56 +02:00
|
|
|
// Don't cumulate margin-bottoms for inlined elements (radio...), because .fr-fieldset has already its own
|
2024-02-21 14:21:48 +01:00
|
|
|
// This is important because of multilpe conditional hidden elements to not take additional space,
|
|
|
|
// but we need the usual margin when there are an error or conditional spinner is visible.
|
|
|
|
// scss-lint:disable SingleLinePerSelector
|
|
|
|
.fr-fieldset__element
|
|
|
|
> .fr-fieldset:not(.fr-fieldset--error):not(:has(+ .spinner))
|
|
|
|
> .fr-fieldset__element.fr-fieldset__element--inline {
|
2023-10-09 13:03:56 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2023-06-22 16:02:32 +02:00
|
|
|
legend {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-07-11 17:11:19 +02:00
|
|
|
hr {
|
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
|
|
|
margin-top: $default-padding;
|
2020-02-10 15:59:00 +01:00
|
|
|
margin-bottom: $default-fields-spacer;
|
2018-07-11 17:11:19 +02:00
|
|
|
border: none;
|
2020-02-10 14:46:45 +01:00
|
|
|
border-bottom: 2px solid $border-grey;
|
2018-07-11 17:11:19 +02:00
|
|
|
}
|
|
|
|
|
2023-04-11 18:31:16 +02:00
|
|
|
label:not(.fr-label),
|
2022-08-30 12:37:08 +02:00
|
|
|
legend.form-label {
|
2020-02-10 16:00:01 +01:00
|
|
|
font-size: 18px;
|
2017-08-02 15:29:12 +02:00
|
|
|
margin-bottom: $default-padding;
|
|
|
|
display: block;
|
2018-02-21 18:32:07 +01:00
|
|
|
font-weight: bold;
|
2017-08-02 15:29:12 +02:00
|
|
|
|
2018-02-08 17:13:15 +01:00
|
|
|
&.required {
|
|
|
|
&::after {
|
|
|
|
color: $dark-red;
|
|
|
|
content: " *";
|
|
|
|
}
|
|
|
|
}
|
2017-12-07 14:37:34 +01:00
|
|
|
}
|
|
|
|
|
2020-03-23 16:11:20 +01:00
|
|
|
.form-label {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 18px;
|
|
|
|
margin-bottom: $default-padding;
|
|
|
|
}
|
|
|
|
|
2019-11-20 18:16:30 +01:00
|
|
|
.notice {
|
|
|
|
margin-top: - $default-spacer;
|
|
|
|
margin-bottom: $default-padding;
|
2024-02-21 16:38:13 +01:00
|
|
|
color: var(--text-mention-grey);
|
2019-11-20 18:16:30 +01:00
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: $default-spacer;
|
|
|
|
}
|
2020-02-29 03:49:31 +01:00
|
|
|
|
|
|
|
input[type='date'] {
|
2023-04-25 17:09:38 +02:00
|
|
|
display: inline-block;
|
2020-02-29 03:49:31 +01:00
|
|
|
}
|
2019-11-20 18:16:30 +01:00
|
|
|
}
|
|
|
|
|
2017-12-14 16:21:14 +01:00
|
|
|
.editable-champ {
|
2018-04-09 18:27:15 +02:00
|
|
|
position: relative;
|
|
|
|
|
2017-12-07 14:37:34 +01:00
|
|
|
.updated-at {
|
2024-02-21 16:38:13 +01:00
|
|
|
font-size: 0.875rem;
|
2017-12-07 14:37:34 +01:00
|
|
|
float: right;
|
|
|
|
margin-left: $default-spacer;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .updated-at,
|
|
|
|
.updated-at.highlighted {
|
|
|
|
visibility: visible;
|
2024-02-21 16:38:13 +01:00
|
|
|
margin-bottom: 4px;
|
2017-08-02 15:29:12 +02:00
|
|
|
}
|
2018-04-03 17:53:14 +02:00
|
|
|
|
2022-09-30 09:20:19 +02:00
|
|
|
&.editable-champ-checkbox {
|
2018-06-18 11:30:26 +02:00
|
|
|
label {
|
2022-09-26 19:04:32 +02:00
|
|
|
font-weight: normal;
|
2024-02-09 12:52:21 +01:00
|
|
|
gap: 0.25rem; // Space before mandatory icon because dsfr set display:flex on checkbox label
|
2018-06-18 11:30:26 +02:00
|
|
|
}
|
|
|
|
|
2020-02-10 19:16:00 +01:00
|
|
|
input[type=checkbox] {
|
2018-06-18 11:30:26 +02:00
|
|
|
position: absolute;
|
2020-02-10 16:00:01 +01:00
|
|
|
top: 3px;
|
2018-06-18 11:30:26 +02:00
|
|
|
left: 0px;
|
|
|
|
}
|
2020-02-10 15:59:36 +01:00
|
|
|
|
2020-02-10 19:16:00 +01:00
|
|
|
// When an (eventual) notice is displayed after the input, give it some bottom margin.
|
2020-02-10 15:59:36 +01:00
|
|
|
.notice {
|
|
|
|
margin-bottom: $default-fields-spacer;
|
|
|
|
}
|
|
|
|
}
|
2023-09-28 18:56:25 +02:00
|
|
|
|
|
|
|
.fr-label {
|
|
|
|
scroll-margin: $default-spacer * 2;
|
|
|
|
}
|
2017-06-14 17:39:46 +02:00
|
|
|
}
|
|
|
|
|
2017-11-17 19:23:46 +01:00
|
|
|
.radios {
|
2020-02-10 19:16:00 +01:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
// Horizontal layout (default)
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-start;
|
2021-01-04 17:14:28 +01:00
|
|
|
flex-wrap: wrap;
|
2020-02-10 19:16:00 +01:00
|
|
|
|
|
|
|
label {
|
|
|
|
margin-right: $default-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Vertical layout
|
|
|
|
&.vertical {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
label {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-17 19:23:46 +01:00
|
|
|
label {
|
2020-02-10 19:16:00 +01:00
|
|
|
padding: $default-padding $default-padding $default-padding $default-spacer;
|
|
|
|
border: 1px solid $border-grey;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-weight: normal;
|
|
|
|
background: $white;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
&:last-of-type {
|
2023-06-26 11:47:20 +02:00
|
|
|
margin-bottom: 0;
|
2020-02-10 19:16:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $light-grey;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
border-color: darken($border-grey, 10);
|
|
|
|
}
|
2017-11-17 19:23:46 +01:00
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-02-10 19:16:00 +01:00
|
|
|
|
2020-08-19 17:27:57 +02:00
|
|
|
&.blank-radio {
|
|
|
|
color: $dark-grey;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2020-02-10 19:16:00 +01:00
|
|
|
input[type=radio] {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
margin: 4px 0 0 27px;
|
|
|
|
}
|
2017-11-17 19:23:46 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-24 15:14:32 +01:00
|
|
|
.drop_down_other { // scss-lint:disable SelectorFormat
|
|
|
|
label {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
2023-06-26 11:47:20 +02:00
|
|
|
|
2023-08-17 17:16:37 +02:00
|
|
|
.fr-label .fr-hint-text > *,
|
|
|
|
.fr-fieldset__legend .fr-hint-text > * {
|
2023-05-05 09:13:05 +02:00
|
|
|
// la description d'un champ peut contenir du markup (markdown->html),
|
|
|
|
// on herite donc la fontsize/mrgin/padding du fr-hint-text
|
2023-08-17 17:16:37 +02:00
|
|
|
font-size: inherit;
|
|
|
|
margin: inherit;
|
|
|
|
padding: inherit;
|
2023-05-05 09:13:05 +02:00
|
|
|
}
|
2023-06-26 11:47:20 +02:00
|
|
|
|
2017-07-20 09:54:05 +02:00
|
|
|
input[type=password],
|
2023-08-17 17:16:37 +02:00
|
|
|
select:not(.fr-select) {
|
2017-06-14 17:39:46 +02:00
|
|
|
display: block;
|
2023-06-26 11:47:20 +02:00
|
|
|
margin-bottom: 0;
|
2018-07-23 14:52:14 +02:00
|
|
|
|
|
|
|
&.small-margin {
|
2021-04-23 13:45:04 +02:00
|
|
|
margin-bottom: $default-spacer;
|
2018-07-23 14:52:14 +02:00
|
|
|
}
|
2021-05-06 18:51:19 +02:00
|
|
|
|
|
|
|
&.no-margin {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2023-01-05 11:32:58 +01:00
|
|
|
|
2023-01-05 15:51:24 +01:00
|
|
|
+ .spinner:not(.right):not(.left) {
|
2023-01-05 11:32:58 +01:00
|
|
|
position: relative;
|
|
|
|
top: -($default-fields-spacer / 2);
|
|
|
|
}
|
2018-07-23 14:52:14 +02:00
|
|
|
}
|
|
|
|
|
2019-01-30 16:14:15 +01:00
|
|
|
|
2018-11-14 16:26:00 +01:00
|
|
|
input[type=checkbox] {
|
|
|
|
&.small-margin {
|
2021-04-23 13:45:04 +02:00
|
|
|
margin-bottom: $default-spacer;
|
2018-11-14 16:26:00 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-30 11:34:38 +01:00
|
|
|
input[type=text]:not(.fr-input):not(.fr-select) {
|
2023-01-26 10:39:13 +01:00
|
|
|
border: solid 1px $border-grey;
|
|
|
|
padding: $default-padding;
|
2017-06-20 10:03:49 +02:00
|
|
|
|
2019-07-15 17:55:22 +02:00
|
|
|
&.small {
|
2021-04-23 13:45:04 +02:00
|
|
|
padding: $default-spacer;
|
2019-07-15 17:55:22 +02:00
|
|
|
}
|
|
|
|
|
2017-06-20 10:03:49 +02:00
|
|
|
&:disabled {
|
|
|
|
background-color: $border-grey;
|
|
|
|
}
|
2018-02-08 17:13:15 +01:00
|
|
|
|
2022-06-27 15:58:37 +02:00
|
|
|
&:focus,
|
|
|
|
&:focus-visible {
|
|
|
|
outline: 0;
|
2021-09-20 15:04:24 +02:00
|
|
|
border: 1px solid $blue-france-500;
|
|
|
|
box-shadow: 0px 0px 2px 1px $blue-france-500;
|
2019-07-15 17:55:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Hide the browser default invalidity indicator until the field is touched
|
2023-01-24 16:31:46 +01:00
|
|
|
&:invalid:not(:focus):not(.fr-input) {
|
2019-07-15 17:55:22 +02:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.touched:invalid {
|
|
|
|
border: 1px solid $dark-red;
|
|
|
|
box-shadow: 0px 0px 2px 1px $dark-red;
|
2018-02-08 17:13:15 +01:00
|
|
|
}
|
2017-06-14 17:39:46 +02:00
|
|
|
}
|
2017-07-24 09:46:13 +02:00
|
|
|
|
2022-11-30 11:23:04 +01:00
|
|
|
div.field_with_errors > input { // scss-lint:disable SelectorFormat
|
|
|
|
border: 1px solid $dark-red;
|
|
|
|
}
|
|
|
|
|
2017-07-25 14:33:03 +02:00
|
|
|
input[type=text],
|
|
|
|
input[type=email],
|
|
|
|
input[type=password],
|
|
|
|
input[type=date],
|
|
|
|
input[type=number],
|
2023-02-09 15:18:38 +01:00
|
|
|
input[type=datetime-local],
|
2023-05-05 09:13:05 +02:00
|
|
|
textarea,
|
2023-10-24 12:54:39 +02:00
|
|
|
input[type=tel] {
|
2022-07-11 11:42:59 +02:00
|
|
|
@media (max-width: $two-columns-breakpoint) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
// don't set 100% width when width-* classes or size attribute are applied
|
|
|
|
@media (min-width: $two-columns-breakpoint) {
|
|
|
|
&:not([class^='width-']):not([size]) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2017-07-25 14:33:03 +02:00
|
|
|
}
|
|
|
|
|
2022-07-11 11:42:59 +02:00
|
|
|
@media (min-width: $two-columns-breakpoint) {
|
|
|
|
input[type=email],
|
|
|
|
input[type=password],
|
|
|
|
input[type=number],
|
2023-09-25 11:39:08 +02:00
|
|
|
input[inputmode=numeric],
|
|
|
|
input[inputmode=decimal],
|
2022-07-11 11:42:59 +02:00
|
|
|
input[type=tel] {
|
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=date] {
|
|
|
|
max-width: 180px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// override default site width/max-width for editable-champ form (Usager form)
|
|
|
|
.editable-champ {
|
2022-07-13 15:46:28 +02:00
|
|
|
input {
|
|
|
|
max-width: none;
|
2022-07-11 11:42:59 +02:00
|
|
|
|
2022-07-13 15:46:28 +02:00
|
|
|
@media (min-width: $two-columns-breakpoint) {
|
2022-07-11 11:42:59 +02:00
|
|
|
&:not([size]) {
|
|
|
|
&[type='date'],
|
|
|
|
&[type='tel'],
|
2023-02-09 15:18:38 +01:00
|
|
|
&[type='number'],
|
2023-09-25 11:39:08 +02:00
|
|
|
&[inputmode='numeric'],
|
|
|
|
&[inputmode='decimal'],
|
2023-02-09 15:18:38 +01:00
|
|
|
&[type='datetime-local'] {
|
2022-07-11 11:42:59 +02:00
|
|
|
width: 33.33%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type='email'] {
|
|
|
|
width: 66.67%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-07-25 14:33:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type=checkbox],
|
|
|
|
input[type=radio] {
|
2019-11-14 09:22:02 +01:00
|
|
|
@extend %outline;
|
|
|
|
|
2020-02-10 19:16:00 +01:00
|
|
|
// Firefox tends to display some controls smaller than other browsers.
|
2018-06-18 11:30:26 +02:00
|
|
|
// Ensure a consistency of size between browsers.
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2020-02-10 19:16:00 +01:00
|
|
|
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 4px;
|
2023-06-26 11:47:20 +02:00
|
|
|
margin-bottom: 0;
|
2018-06-18 11:30:26 +02:00
|
|
|
}
|
|
|
|
|
2018-10-17 12:07:12 +02:00
|
|
|
.editable-champ {
|
|
|
|
&:not(.editable-champ-carte) .algolia-autocomplete {
|
|
|
|
margin-bottom: 2 * $default-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.geo-areas {
|
|
|
|
margin-bottom: 2 * $default-padding;
|
|
|
|
}
|
2019-01-30 16:14:15 +01:00
|
|
|
|
|
|
|
&.editable-champ-repetition {
|
2024-03-05 23:15:26 +01:00
|
|
|
fieldset {
|
|
|
|
border: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
2019-01-30 16:14:15 +01:00
|
|
|
.row {
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid $border-grey;
|
|
|
|
padding: $default-padding;
|
|
|
|
margin-bottom: 2 * $default-padding;
|
|
|
|
}
|
|
|
|
}
|
2024-04-12 08:34:34 +02:00
|
|
|
|
|
|
|
.utils-repetition-required .row:first-child .utils-repetition-required-destroy-button {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-07-26 12:09:21 +02:00
|
|
|
}
|
|
|
|
|
2022-11-09 12:33:20 +01:00
|
|
|
.editable-champ-titre_identite { // scss-lint:disable SelectorFormat
|
|
|
|
margin-bottom: 2 * $default-padding;
|
|
|
|
}
|
|
|
|
|
2021-11-24 17:30:35 +01:00
|
|
|
.cnaf-inputs,
|
2021-12-01 10:21:30 +01:00
|
|
|
.dgfip-inputs,
|
2021-12-15 15:25:02 +01:00
|
|
|
.pole-emploi-inputs,
|
|
|
|
.mesri-inputs {
|
2022-07-13 15:45:59 +02:00
|
|
|
label {
|
|
|
|
font-weight: 400;
|
2021-09-21 14:49:54 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-22 15:06:19 +02:00
|
|
|
input.aa-input,
|
|
|
|
input.aa-hint {
|
2017-07-26 12:09:21 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
border: solid 1px $border-grey;
|
|
|
|
padding: $default-padding;
|
|
|
|
}
|
|
|
|
|
2018-08-22 15:06:19 +02:00
|
|
|
input.aa-hint {
|
2020-06-11 14:33:15 +02:00
|
|
|
color: $dark-grey;
|
2017-07-26 12:09:21 +02:00
|
|
|
}
|
|
|
|
|
2020-02-10 18:42:49 +01:00
|
|
|
.header-subsection {
|
|
|
|
font-size: 22px;
|
2021-09-20 15:04:24 +02:00
|
|
|
color: $blue-france-500;
|
2020-02-10 18:42:49 +01:00
|
|
|
margin-bottom: $default-padding;
|
|
|
|
}
|
|
|
|
|
2017-07-26 12:41:58 +02:00
|
|
|
.send-wrapper {
|
2018-07-24 18:10:00 +02:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: $default-padding;
|
2018-06-19 16:23:43 +02:00
|
|
|
margin-bottom: 2 * $default-padding;
|
2017-07-26 12:41:58 +02:00
|
|
|
|
2018-06-19 16:23:43 +02:00
|
|
|
.button {
|
2018-07-24 18:10:00 +02:00
|
|
|
margin-top: $default-padding;
|
2018-06-19 16:23:43 +02:00
|
|
|
margin-bottom: 0;
|
2017-07-26 12:41:58 +02:00
|
|
|
}
|
2018-07-24 18:10:00 +02:00
|
|
|
|
|
|
|
// Wide layout: align buttons on a single row
|
|
|
|
@media (min-width: 550px) {
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.button:not(:first-of-type) {
|
|
|
|
margin-left: $default-spacer;
|
|
|
|
}
|
|
|
|
|
2019-01-24 16:30:41 +01:00
|
|
|
// If there are more than one button, align the "Send" button to the right
|
|
|
|
.button:not(:first-of-type).send {
|
|
|
|
margin-left: auto;
|
2018-07-24 18:10:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Narrow layout: stack buttons vertically
|
|
|
|
@media (max-width: 550px) {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
align-items: center;
|
|
|
|
|
2019-01-24 16:30:41 +01:00
|
|
|
.button {
|
2018-07-24 18:10:00 +02:00
|
|
|
width: 100%;
|
|
|
|
max-width: 350px;
|
|
|
|
line-height: 30px;
|
|
|
|
margin-left: none;
|
|
|
|
margin-right: none;
|
|
|
|
}
|
2018-07-24 17:43:28 +02:00
|
|
|
}
|
2017-07-24 09:46:13 +02:00
|
|
|
}
|
2018-02-08 17:13:15 +01:00
|
|
|
|
2022-08-18 09:14:50 +02:00
|
|
|
.justify-content--space-between {
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2018-02-08 17:13:15 +01:00
|
|
|
.inline-champ {
|
|
|
|
margin-left: $default-spacer;
|
|
|
|
margin-right: $default-spacer;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2023-01-24 12:16:45 +01:00
|
|
|
|
2023-09-05 18:31:30 +02:00
|
|
|
fieldset + .spinner {
|
2023-01-24 12:16:45 +01:00
|
|
|
position: relative;
|
|
|
|
top: -($default-fields-spacer / 2);
|
2021-04-23 13:45:04 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-24 12:53:43 +02:00
|
|
|
.type-de-champ-expression-reguliere {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
font-weight: bold;
|
|
|
|
content: "/";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-15 23:17:24 +02:00
|
|
|
.fr-ds-combobox__multiple {
|
2021-02-11 15:37:45 +01:00
|
|
|
margin-bottom: $default-fields-spacer;
|
2021-04-23 13:45:04 +02:00
|
|
|
}
|
2021-11-17 16:21:55 +01:00
|
|
|
|
|
|
|
.fconnect-form {
|
2022-07-05 13:27:48 +02:00
|
|
|
input[type='password'] {
|
2021-11-17 16:21:55 +01:00
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
}
|
2021-12-21 12:38:45 +01:00
|
|
|
|
|
|
|
input::placeholder,
|
|
|
|
textarea::placeholder {
|
2022-07-05 13:27:48 +02:00
|
|
|
opacity: 0.6; // normalize opacity across browsers
|
2021-12-21 12:38:45 +01:00
|
|
|
color: $dark-grey;
|
|
|
|
}
|
2022-08-18 10:30:37 +02:00
|
|
|
|
2023-11-28 11:10:14 +01:00
|
|
|
.mandatory {
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
|
|
|
|
2024-06-24 14:35:15 +02:00
|
|
|
:not(.fr-translate) .fr-menu__list {
|
2023-06-08 09:57:09 +02:00
|
|
|
padding: $default-spacer;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
.fr-menu__item {
|
|
|
|
list-style-type: none;
|
|
|
|
margin-bottom: $default-spacer;
|
|
|
|
}
|
|
|
|
}
|
2023-09-18 18:15:28 +02:00
|
|
|
|
|
|
|
.fr-fieldset__element {
|
|
|
|
@media (min-width: 48em) {
|
|
|
|
// Logic taken from DSFR source code to limit width of fieldset element.
|
|
|
|
// Cf dsfr/src/component/form/style/_scheme.scss
|
|
|
|
$short-text-width: 32rem;
|
|
|
|
|
|
|
|
&--short-text {
|
|
|
|
flex: 0 0 #{$short-text-width};
|
|
|
|
}
|
|
|
|
|
|
|
|
&--short-text:not(&--inline) {
|
|
|
|
margin-right: calc(100% - #{$short-text-width});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-07 12:06:00 +01:00
|
|
|
|
|
|
|
.resize-none {
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.resize-x {
|
|
|
|
resize: horizontal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.resize-y {
|
|
|
|
resize: vertical;
|
|
|
|
}
|