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

49 lines
935 B
SCSS
Raw Normal View History

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