demarches-normaliennes/app/assets/stylesheets/dossier_edit.scss

70 lines
1.3 KiB
SCSS
Raw Normal View History

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-14 11:24:15 +01:00
.dossier-header {
.fr-container {
padding-bottom: $default-padding;
}
2018-02-21 18:32:07 +01:00
h1 {
font-size: 2rem;
2018-02-21 18:32:07 +01:00
}
.dossier-form-actions {
margin-top: 2rem;
margin-bottom: 1rem;
text-align: right;
}
}
.dossier-edit {
.dossier-edit-sticky-footer {
2024-11-05 19:02:31 +01:00
position: -webkit-sticky; // This is needed on Safari (tested on 12.1)
position: sticky;
bottom: 0;
padding: 0.5rem 1rem;
background: var(--background-default-grey);
border: 1px solid var(--border-contrast-grey);
border-bottom: none;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
z-index: 10; // above DSFR btn which are at 1
@media (min-width: 48em) {
padding-top: 1rem;
padding-bottom: 1rem;
}
}
.send-dossier-actions-bar {
display: flex;
align-items: center;
flex-direction: column;
gap: 1rem;
a {
white-space: nowrap;
}
@media (min-width: 48em) {
flex-direction: row;
}
}
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
}