2024-11-05 19:02:31 +01:00
|
|
|
@import 'colors';
|
|
|
|
@import 'constants';
|
2018-02-21 18:32:07 +01:00
|
|
|
|
2024-11-05 19:02:31 +01:00
|
|
|
[data-fr-theme='dark'] .dossier-edit .dossier-edit-sticky-footer {
|
2023-11-14 11:24:15 +01:00
|
|
|
background-color: var(--background-action-low-blue-france);
|
|
|
|
border: none;
|
2023-11-13 11:22:14 +01:00
|
|
|
}
|
2023-11-14 11:24:15 +01:00
|
|
|
|
2018-07-11 12:38:24 +00:00
|
|
|
.dossier-header {
|
2023-06-29 15:03:22 +02:00
|
|
|
.fr-container {
|
2018-07-11 12:38:24 +00:00
|
|
|
padding-bottom: $default-padding;
|
|
|
|
}
|
2018-02-21 18:32:07 +01:00
|
|
|
|
2018-07-11 12:38:24 +00:00
|
|
|
h1 {
|
2021-10-27 18:23:38 +02:00
|
|
|
font-size: 2rem;
|
2018-02-21 18:32:07 +01:00
|
|
|
}
|
|
|
|
|
2018-07-11 12:38:24 +00:00
|
|
|
.dossier-form-actions {
|
2021-10-27 18:23:38 +02:00
|
|
|
margin-top: 2rem;
|
|
|
|
margin-bottom: 1rem;
|
2018-07-11 12:38:24 +00:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dossier-edit {
|
2020-01-08 14:53:07 +00:00
|
|
|
.dossier-edit-sticky-footer {
|
2024-11-05 19:02:31 +01:00
|
|
|
position: -webkit-sticky; // This is needed on Safari (tested on 12.1)
|
2019-09-12 13:56:24 +00:00
|
|
|
position: sticky;
|
2020-01-08 14:53:07 +00:00
|
|
|
|
2019-09-12 13:56:24 +00:00
|
|
|
bottom: 0;
|
|
|
|
|
2024-12-10 16:09:09 +01:00
|
|
|
padding: 0.5rem 1rem;
|
2020-01-08 14:53:07 +00:00
|
|
|
|
2024-12-10 16:09:09 +01:00
|
|
|
background: var(--background-default-grey);
|
2020-01-08 14:53:07 +00:00
|
|
|
|
2024-12-10 16:09:09 +01:00
|
|
|
border: 1px solid var(--border-contrast-grey);
|
|
|
|
border-bottom: none;
|
2019-09-12 14:16:15 +02:00
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-top-right-radius: 5px;
|
2022-11-22 18:46:04 +01:00
|
|
|
|
|
|
|
z-index: 10; // above DSFR btn which are at 1
|
2024-12-10 16:09:09 +01:00
|
|
|
|
|
|
|
@media (min-width: 48em) {
|
|
|
|
padding-top: 1rem;
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
}
|
2020-01-08 14:53:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.send-dossier-actions-bar {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-12-10 16:09:09 +01:00
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
2019-09-12 14:16:15 +02:00
|
|
|
|
2024-12-10 16:09:09 +01:00
|
|
|
a {
|
|
|
|
white-space: nowrap;
|
2019-09-12 14:16:15 +02:00
|
|
|
}
|
|
|
|
|
2024-12-10 16:09:09 +01:00
|
|
|
@media (min-width: 48em) {
|
|
|
|
flex-direction: row;
|
2019-09-12 14:16:15 +02:00
|
|
|
}
|
|
|
|
}
|
2019-11-19 16:55:30 +00:00
|
|
|
|
|
|
|
.autosave {
|
|
|
|
// Make the autosave block occupy the entire horizontal space,
|
|
|
|
// to ensure the failed state has room to display its content.
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2018-02-21 18:32:07 +01:00
|
|
|
}
|