2019-01-07 15:40:07 +01:00
|
|
|
@import "colors";
|
|
|
|
@import "constants";
|
|
|
|
|
|
|
|
$procedure-context-breakpoint: $two-columns-breakpoint;
|
2019-04-01 15:04:11 +02:00
|
|
|
$procedure-description-line-height: 22px;
|
2019-01-07 15:40:07 +01:00
|
|
|
|
|
|
|
.procedure-preview {
|
|
|
|
font-size: 24px;
|
|
|
|
|
|
|
|
.paperless-logo {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 60px;
|
|
|
|
|
|
|
|
@media (max-width: $procedure-context-breakpoint) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-03 15:59:24 +02:00
|
|
|
.simple {
|
|
|
|
font-size: 24px;
|
2019-01-07 15:40:07 +01:00
|
|
|
color: $blue;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.close-procedure {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.procedure-title {
|
2019-04-01 15:04:11 +02:00
|
|
|
font-size: 26px;
|
2019-03-14 17:19:17 +01:00
|
|
|
margin: 0 0 20px 0;
|
2019-03-14 17:04:11 +01:00
|
|
|
text-align: center;
|
2019-01-07 15:40:07 +01:00
|
|
|
|
|
|
|
@media (min-width: $procedure-context-breakpoint) {
|
|
|
|
margin: 50px 0 32px;
|
2019-04-01 15:04:11 +02:00
|
|
|
font-size: 30px;
|
2019-03-14 17:04:11 +01:00
|
|
|
text-align: left;
|
2019-01-07 15:40:07 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-27 11:25:43 +02:00
|
|
|
.procedure-auto-archive {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
margin-bottom: 32px;
|
|
|
|
|
|
|
|
p {
|
|
|
|
padding-top: 8px;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
summary {
|
|
|
|
font-size: 20px;
|
|
|
|
|
|
|
|
&:-webkit-details-marker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.procedure-auto-archive-title {
|
|
|
|
border-bottom: 1px dotted $blue;
|
|
|
|
}
|
|
|
|
|
2019-01-07 15:40:07 +01:00
|
|
|
.procedure-description {
|
2019-01-22 14:31:56 +01:00
|
|
|
font-size: 16px;
|
2019-01-07 15:40:07 +01:00
|
|
|
|
2019-03-14 17:19:17 +01:00
|
|
|
p:not(:last-of-type) {
|
2019-04-01 15:04:11 +02:00
|
|
|
// Space the paragraphs by exactly one line height,
|
|
|
|
// so that the text always is truncated in the middle of a line,
|
|
|
|
// regarless of the number of paragraphs.
|
|
|
|
margin-bottom: 3 * $default-spacer;
|
2019-01-07 15:40:07 +01:00
|
|
|
}
|
2019-04-01 15:04:11 +02:00
|
|
|
}
|
2019-01-07 15:40:07 +01:00
|
|
|
|
2019-04-01 15:04:11 +02:00
|
|
|
.read-more-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $procedure-context-breakpoint) {
|
|
|
|
// Truncate description and display the "Read more" UI if the text is too long
|
|
|
|
.procedure-description-body.read-more-collapsed {
|
|
|
|
// Setting the description at 25% of the viewport height:
|
|
|
|
// - displays more text on screens having more vertical space (like small tablets);
|
|
|
|
// - is enough for the action buttons to be visible on the bottom (even on mobiles).
|
|
|
|
max-height: 25vh;
|
|
|
|
|
|
|
|
// If the text exceeds the max-height,
|
|
|
|
// truncate it and displays the "Read more" button.
|
|
|
|
&.read-more-enabled {
|
|
|
|
overflow: hidden;
|
|
|
|
border-bottom: 1px solid $border-grey;
|
|
|
|
|
|
|
|
+ .read-more-button {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
top: -19px;
|
|
|
|
margin-bottom: -19px;
|
|
|
|
}
|
|
|
|
}
|
2019-01-07 15:40:07 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.procedure-logos {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
2019-03-20 16:58:10 +01:00
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
> :not(:last-child) {
|
|
|
|
margin-right: $default-padding;
|
|
|
|
}
|
2019-01-07 15:40:07 +01:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
2019-03-20 16:58:10 +01:00
|
|
|
max-height: 50px;
|
|
|
|
|
|
|
|
// Fix Chrome flexbox issue
|
|
|
|
// See https://github.com/philipwalton/flexbugs/issues/225
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
min-width: 0;
|
|
|
|
object-fit: contain;
|
2019-01-07 15:40:07 +01:00
|
|
|
|
|
|
|
@media (min-width: $procedure-context-breakpoint) {
|
|
|
|
max-width: 500px;
|
2019-03-20 16:58:10 +01:00
|
|
|
max-height: 130px;
|
2019-01-07 15:40:07 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.procedure-context-content {
|
|
|
|
@media (max-width: $procedure-context-breakpoint) {
|
|
|
|
input[type=submit] {
|
|
|
|
margin-bottom: 2 * $default-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|