diff --git a/oidc-controller/api/templates/verified_credentials.html b/oidc-controller/api/templates/verified_credentials.html index 61d37c0f..19b57eb4 100644 --- a/oidc-controller/api/templates/verified_credentials.html +++ b/oidc-controller/api/templates/verified_credentials.html @@ -11,9 +11,9 @@ /> @@ -22,9 +22,10 @@ --big-font-size: 1.5rem; --small-font-size: 1.8rem; --font-family-sans-serif: Arial, Helvetica, sans-serif; - --primary: #003366; - --secondary: #6c757d; - --bs-primary: #000; + --bs-primary: #003366; + --bs-secondary: #335c85; + --bs-btn-disabled-color: #b2c1d1; + --bs-blue: #003366; } body { color: #313132; @@ -33,35 +34,24 @@ border: none; font-family: var(--font-family-sans-serif); } - .navbar { - border-radius: 0; - } .header-branding { - background-color: var(--primary); - height: 7rem; + background-color: var(--bs-primary); + height: 5rem; width: 100%; border-style: none none solid none; border-color: #fcba19; box-shadow: 0px 3px 3px 0px #dedede; } - .navbar-brand svg { + .header-branding svg { position: relative; - height: 5rem; - } - .header { - display: flex; - justify-content: center; - align-items: center; + height: 4rem; } .header-desc { display: grid; grid-template-columns: 5rem 1fr; - width: 22rem; - } - .centered-header { - display: flex; - justify-content: center; - align-items: center; + max-width: 22rem; + margin-top: 0.5rem; + margin-bottom: 0.5rem; } .header-share { display: grid; @@ -70,34 +60,12 @@ margin-top: 1.5rem; margin-bottom: 1.75rem; } - .qr-code-desc { - text-align: left; - } .qr-code { display: flex; justify-content: center; position: relative; margin-bottom: 1rem; } - .qr-code-image { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - margin-right: 10px; - } - .qr-code .border svg { - position: absolute; - left: 48px; - width: 330px; - height: 330px; - transform: scale(1.05) translate(6px, 8px); - margin-left: -10px; - margin-top: -10px; - } - .qr-code.pending svg rect { - animation: dash 20s linear infinite; - } .qr-code img { border-radius: 25px; border: 5px dashed #003366; @@ -132,14 +100,17 @@ font-size: var(--small-font-size); font-weight: bold; } - + .description { + --bs-btn-hover-color: var(--bs-primary); + color: var(--bs-primary); + } #refresh-button { background: rgba(256, 256, 256, 0.5); - width: 100%; transition-property: opacity; transition-duration: 0.2s; transition-timing-function: ease-in-out; display: none; + width: 100%; } #refresh-button:hover, #refresh-button:focus, @@ -147,17 +118,8 @@ opacity: 0.9; } #refresh-button .message { - font-size: var(--small-font-size); - font-weight: bold; margin-bottom: 0.8rem; } - .fake-button { - font-size: var(--big-font-size); - font-weight: 700; - letter-spacing: 1px; - background: white; - border-color: var(--primary); - } .header-desc.success, .header-desc.pending, .header-desc.expired, @@ -168,10 +130,6 @@ align-items: center; padding: 1rem 2rem 1rem 0.5rem; } - .header-desc.expired.expired-deep-link { - margin-left: 0; - width: 100%; - } .header-desc.pending svg { width: 2rem; height: 2rem; @@ -184,9 +142,6 @@ .header-desc.expired { background-color: #f0f0f0; } - .header-desc.expired-deep-link { - margin-bottom: 1.5rem; - } .header-desc.failed { background-color: #f2dede; } @@ -199,42 +154,22 @@ .header-desc.abandoned { background-color: #f2dede; } - .header-desc a { - line-height: 1rem; - } - .text-link { - display: none; - margin-top: 1rem; - margin-bottom: 1rem; - } - .text-link textarea { - border-radius: 5px; - display: block; - max-width: 100%; - resize: none; - width: 100%; + .disabled { + --bs-btn-disabled-bg: #b2c1d1; + --bs-btn-disabled-border-color: #b2c1d1; } - .text-link label { - display: block; + .btn { + --bs-btn-hover-bg: #335c85; + --bs-btn-hover-border-color: #335c85; } - - /* BC Gov style buttons */ - .btn-primary, - .btn-outline-primary { - font-size: var(--big-font-size); - font-weight: 700; - letter-spacing: 1px; - cursor: pointer; - margin-top: 1rem; - margin-bottom: 1.5rem; - } - .btn-primary { - background-color: var(--primary); + border-color: var(--bs-primary); + background-color: var(--bs-primary); } .btn-outline-primary { - color: var(--primary); - border-color: var(--primary); + color: var(--bs-primary); + border-color: var(--bs-primary); + --bs-btn-active-bg: #335c85; } /* Mobile device */ .mobile-device { @@ -248,25 +183,25 @@
-

+

Scan with a Digital Wallet

-

Continue with:

-
+

Continue with:

+
{{add_asset("circle-check.svg")}}
-
+
Success! You will be redirected shortly.
{{add_asset("circle-x.svg")}}
-
+
Proof not accepted. -
+
Continue with:
{{add_asset("expired.svg")}}
-
+
Proof has expired. -
+
Continue with:
{{add_asset("circle-x.svg")}}
-
+
Proof declined -
+
Continue with:
{{add_asset("hourglass.svg")}}
-
+
Proof is pending.
- - BC Wallet - + + BC Wallet + BC Wallet on other device -
+
{{add_asset("hand-qrcode.svg")}}
-
+
A request to share your information will be sent to your BC Wallet
@@ -342,10 +277,10 @@

Continue with:

-
-
+
+
{{add_asset("hand-qrcode.svg")}}
-
+
Scanning this QR code will send you a request to share your information
@@ -354,14 +289,14 @@

Continue with:

@@ -378,13 +313,14 @@

Continue with:

-