demarches-normaliennes/app/assets/stylesheets/new_design/dossier_edit.scss
Pierre de La Morinerie 97960369db stylesheets: rename dossier-edit.scss
Underscore all the things
2018-08-13 11:32:27 +02:00

41 lines
816 B
SCSS

@import "colors";
@import "constants";
.dossier-header {
.container {
padding-bottom: $default-padding;
}
h1 {
font-size: 22px;
.icon.folder {
vertical-align: -3px;
}
}
.dossier-form-actions {
margin-top: $default-padding;
margin-bottom: $default-padding;
text-align: right;
}
}
.dossier-edit {
.prologue {
margin: (1.5 * $default-padding) 0;
display: flex;
flex-wrap: wrap;
align-items: baseline;
.mandatory-explanation {
flex-grow: 1; // Push the "notice" button to the right
flex-shrink: 1; // Allow the text to shrink
margin-bottom: $default-spacer; // Leave space when the "notice" button wraps under the text
}
.button.notice {
flex-shrink: 0; // Display the button label on a single line
}
}
}