Add help text in budgets admin index

Co-authored-by: decabeza <alberto@decabeza.es>
This commit is contained in:
Julian Herrero
2020-03-16 12:54:00 +01:00
committed by Javi Martín
parent 435747764c
commit b1cb981980
7 changed files with 61 additions and 1 deletions

View File

@@ -0,0 +1,42 @@
.admin .budgets-help {
$padding: $line-height / 2;
$quote-size: 1em;
$quote-padding: 2 * $quote-size / 5;
$quote-width: $quote-size + 2 * $quote-padding;
@include has-fa-icon(quote-right, solid, after);
background: $table-header;
border-radius: rem-calc(6);
color: $admin-text;
margin-bottom: $line-height;
padding: $padding;
padding-right: calc(2 * #{$padding} + #{$quote-width});
position: relative;
@include breakpoint(medium) {
width: 50%;
}
p {
font-size: $small-font-size;
font-style: italic;
}
&::before {
background: #ccd8e4;
content: "";
height: 100%;
position: absolute;
right: $padding;
top: 0;
width: $quote-width;
}
&::after {
bottom: $padding / 2;
color: $white;
margin-right: 0;
position: absolute;
right: calc(#{$padding} + #{$quote-padding});
}
}