2018-02-21 18:32:07 +01:00
|
|
|
@import "colors";
|
|
|
|
@import "constants";
|
|
|
|
|
2018-07-11 14:38:24 +02:00
|
|
|
.dossier-header {
|
|
|
|
.container {
|
|
|
|
padding-bottom: $default-padding;
|
|
|
|
}
|
2018-02-21 18:32:07 +01:00
|
|
|
|
2018-07-11 14:38:24 +02:00
|
|
|
h1 {
|
|
|
|
font-size: 22px;
|
2018-07-11 17:24:22 +02:00
|
|
|
|
2018-07-11 14:38:24 +02:00
|
|
|
.icon.folder {
|
|
|
|
vertical-align: -3px;
|
2018-02-21 18:32:07 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-11 14:38:24 +02:00
|
|
|
.dossier-form-actions {
|
|
|
|
margin-top: $default-padding;
|
|
|
|
margin-bottom: $default-padding;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dossier-edit {
|
2018-07-11 17:11:44 +02: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
|
|
|
}
|
2018-08-31 00:10:16 +02:00
|
|
|
|
|
|
|
.warning {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
background-color: #f9b91666;
|
|
|
|
padding: 20px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2019-09-12 14:16:15 +02:00
|
|
|
|
|
|
|
.send-dossier-actions-bar {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: $default-padding;
|
|
|
|
background: #FFFFFF;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0px;
|
|
|
|
border: 1px solid #CCCCCC;
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
border-bottom: none;
|
2019-09-12 14:28:11 +02:00
|
|
|
padding-top: 0px;
|
|
|
|
padding-bottom: $default-spacer;
|
|
|
|
padding-right: 30px;
|
|
|
|
padding-left: 30px;
|
2019-09-12 14:16:15 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
margin-left: -30px;
|
|
|
|
max-width: 1100px;
|
|
|
|
|
|
|
|
.button {
|
2019-09-12 14:28:11 +02:00
|
|
|
margin-top: $default-spacer;
|
2019-09-12 14:16:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media(max-width: 1100px) {
|
|
|
|
margin-left: -16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wide layout: align buttons on a single row
|
|
|
|
@media (min-width: 550px) {
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.button:not(:first-of-type) {
|
|
|
|
margin-left: $default-spacer;
|
|
|
|
}
|
|
|
|
|
|
|
|
// If there are more than one button, align the "Send" button to the right
|
|
|
|
.button:not(:first-of-type).send {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Narrow layout: stack buttons vertically
|
|
|
|
@media (max-width: 550px) {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: -16px;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 350px;
|
|
|
|
line-height: 30px;
|
|
|
|
margin-left: none;
|
|
|
|
margin-right: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-21 18:32:07 +01:00
|
|
|
}
|