Skip to content

Commit 5411108

Browse files
committed
qrcode page accessibility and style
1 parent ed38dfa commit 5411108

17 files changed

Lines changed: 869 additions & 216 deletions

integration_test/conf/openid4vci_frontend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ config:
6666
size: 250 # px
6767
color: '#0072CE' # hex
6868
expiration_time: 120 # seconds
69-
logo_path: 'it-wallet/wallet-icon-blue.svg' # relative to static_storage_url
69+
logo_path: 'img/IT-Wallet-Logo-Primary-BlueItalia.svg' # relative to static_storage_url
7070

7171
network:
7272
httpc_params: &httpc_params

integration_test/conf/potential/wp2uc1/userdenies/pyeudiw_backend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ config:
3737
size: 250 # px
3838
color: '#0072CE' # hex
3939
expiration_time: 120 # seconds
40-
logo_path: 'it-wallet/wallet-icon-blue.svg' # relative to static_storage_url
40+
logo_path: 'img/IT-Wallet-Logo-Primary-BlueItalia.svg' # relative to static_storage_url
4141

4242
response_code:
4343
sym_key: "1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef" # hex string of 64 characters

integration_test/conf/pyeudiw_backend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ config:
3535
size: 250 # px
3636
color: '#0072CE' # hex
3737
expiration_time: 120 # seconds
38-
logo_path: 'it-wallet/wallet-icon-blue.svg' # relative to static_storage_url
38+
logo_path: 'img/IT-Wallet-Logo-Primary-BlueItalia.svg' # relative to static_storage_url
3939

4040
response_code:
4141
sym_key: "1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef" # hex string of 64 characters

integration_test/static/css/bootstrap-italia.min.css

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration_test/static/css/ita.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration_test/static/css/style.css

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,3 +471,126 @@
471471
margin: 0;
472472
}
473473
}
474+
/* Pagina IT-Wallet: il layout globale html,body{height:100%} blocca l’altezza al viewport:
475+
il footer resta “nella prima schermata”. Qui altezza = contenuto, scroll sul documento. */
476+
html.it-wallet-html {
477+
height: auto;
478+
min-height: 100%;
479+
}
480+
481+
html.it-wallet-html body.it-wallet-body {
482+
height: auto;
483+
min-height: 100vh;
484+
min-height: 100dvh;
485+
display: flex;
486+
flex-direction: column;
487+
}
488+
489+
.it-wallet-body > .it-header-wrapper {
490+
flex-shrink: 0;
491+
max-width: 100%;
492+
overflow-x: clip;
493+
}
494+
495+
/* Header logos: gruppo compatto allineato a sinistra; si restringe solo se serve su viewport stretti. */
496+
.it-wallet-body .header-title-section .container.py-3 > .d-flex {
497+
align-items: center;
498+
justify-content: flex-start;
499+
flex-wrap: nowrap;
500+
width: fit-content;
501+
max-width: 100%;
502+
min-width: 0;
503+
}
504+
505+
.it-wallet-body .header-title-section .it-header-logo-placeholder,
506+
.it-wallet-body .header-title-section .it-wallet-navbar-logo {
507+
flex: 0 1 auto;
508+
min-width: 0;
509+
height: 32px;
510+
width: auto;
511+
max-width: 100%;
512+
object-fit: contain;
513+
}
514+
515+
.it-wallet-body .header-title-section .it-wallet-navbar-logo {
516+
display: block;
517+
}
518+
519+
.it-wallet-body .header-title-section .navbar-separator {
520+
flex: 0 0 auto;
521+
margin: 0 1rem;
522+
}
523+
524+
@media (max-width: 575.98px) {
525+
.it-wallet-body .header-title-section .container.py-3 {
526+
padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
527+
padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
528+
}
529+
530+
.it-wallet-body .header-title-section .it-header-logo-placeholder,
531+
.it-wallet-body .header-title-section .it-wallet-navbar-logo {
532+
max-height: 28px;
533+
height: 28px;
534+
}
535+
536+
.it-wallet-body .header-title-section .navbar-separator {
537+
height: 28px;
538+
margin: 0 0.5rem;
539+
}
540+
}
541+
542+
.it-wallet-body > main.it-wallet-page {
543+
flex: 1 1 auto;
544+
width: 100%;
545+
min-height: 0;
546+
}
547+
548+
.it-wallet-body > footer {
549+
flex-shrink: 0;
550+
width: 100%;
551+
margin-top: auto;
552+
padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
553+
}
554+
footer {
555+
margin: 0;
556+
padding: 1rem 0;
557+
background-color: #004C99;
558+
color: white;
559+
position: relative;
560+
width: 100%;
561+
height: auto;
562+
}
563+
564+
/* Ensure footer links meet minimum touch target size (WCAG 2.2 target-size). */
565+
footer .d-flex.flex-wrap a {
566+
display: inline-flex;
567+
align-items: center;
568+
min-height: 24px;
569+
padding: 4px 0;
570+
}
571+
572+
.header-title-section {
573+
background-color: #F2F7FC;
574+
}
575+
576+
.header-title-section .navbar-separator {
577+
display: inline-block;
578+
width: 1px;
579+
height: 32px;
580+
background-color: #BFCAD5;
581+
margin: 0 16px;
582+
}
583+
584+
.it-header-logo-placeholder {
585+
display: block;
586+
width: auto;
587+
height: 32px;
588+
flex-shrink: 0;
589+
}
590+
591+
.it-header-logo-placeholder__text {
592+
font-family: "Titillium Web", sans-serif;
593+
font-size: 24px;
594+
font-weight: 600;
595+
fill: #17324d;
596+
}
Lines changed: 22 additions & 0 deletions
Loading
Lines changed: 8 additions & 0 deletions
Loading
Lines changed: 9 additions & 0 deletions
Loading
Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)