demarches-normaliennes/app/assets/stylesheets/new_design/dossier-edit.scss

39 lines
779 B
SCSS
Raw Normal View History

2018-02-21 18:32:07 +01:00
@import "colors";
@import "constants";
.dossier-edit {
.dossier-header {
background-color: $light-grey;
margin-bottom: $default-padding;
2018-02-21 18:32:07 +01:00
.container {
padding: $default-padding;
}
h1 {
font-size: 22px;
.icon.folder {
vertical-align: -3px;
}
2018-02-21 18:32:07 +01:00
}
}
.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
}
2018-02-21 18:32:07 +01:00
}
}