Skip to content

Commit

Permalink
adn: layout fixes for card presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
smeyer-ilias committed Jan 8, 2024
1 parent 31cad1a commit 83803c0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
7 changes: 4 additions & 3 deletions Services/ADN/Card/templates/default/checkcard.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
margin: 35px 0 15px 0;
}
.Card .CardBody p {
font-size: 1rem;
font-size: 1.2rem;
}
.Card .CardBody .CardSection {
font-size: 1rem;
font-size: 1.2rem;
}
.Card .CardBody .CardSection .CardSectionHead {
font-size: 1rem;
font-size: 1.2rem;
display: inline-block;
margin: 6px 0;
}
Expand All @@ -66,6 +66,7 @@
display: flex;
width: 100%;
width: -moz-available;
width: -ms-available;
position: absolute;
bottom: 0;
}
Expand Down
6 changes: 3 additions & 3 deletions Services/ADN/Card/templates/default/less/card.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
margin: 35px 0 15px 0;
}
p {
font-size: 1.0rem;
font-size: 1.2rem;
}
padding: 0px 15px;
margin-bottom: 15px;
flex: 3 1 0%;;
.CardSection {
font-size: 1.0rem;
font-size: 1.2rem;
.CardSectionHead{
font-size: 1.0rem;
font-size: 1.2rem;
display: inline-block;
margin: 6px 0;
}
Expand Down
13 changes: 8 additions & 5 deletions Services/ADN/Card/templates/default/tpl.checkcard_inline.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,15 @@ <h2 class="CardSectionHead">8. {TXT_GUELTIGKEIT}</h2>
</div>
<div class="Card">
<div class="CardBody">
<h1>1. {TXT_BESCHEINIGUNGSNUMMER}</h1>
<p>Diese Bescheinigung ist gültig für besondere Kenntnisse des ADN gemäß:</p>
<div class="CardSection">
<!-- BEGIN cert_lines -->
{TXT_LISTEBESCHEINIGUNGEN_LINE}<br />
<!-- END cert_lines -->
<h2 class="CardSectionHead">1. {TXT_BESCHEINIGUNGSNUMMER}</h2>
<p>Diese Bescheinigung ist gültig für besondere Kenntnisse des ADN gemäß:</p>
<div class="CardSection">
<!-- BEGIN cert_lines -->
{TXT_LISTEBESCHEINIGUNGEN_LINE}<br />
<!-- END cert_lines -->
</div>

</div>
</div>
<div class="CardFooter">
Expand Down

0 comments on commit 83803c0

Please sign in to comment.