diff --git a/auth/assets/public/fonts/poppins/Poppins-Bold.ttf b/auth/assets/public/fonts/poppins/Poppins-Bold.ttf new file mode 100644 index 000000000..b94d47f3a Binary files /dev/null and b/auth/assets/public/fonts/poppins/Poppins-Bold.ttf differ diff --git a/auth/assets/public/fonts/poppins/Poppins-Medium.ttf b/auth/assets/public/fonts/poppins/Poppins-Medium.ttf new file mode 100644 index 000000000..e90e87ed6 Binary files /dev/null and b/auth/assets/public/fonts/poppins/Poppins-Medium.ttf differ diff --git a/auth/assets/public/fonts/poppins/Poppins-Regular.ttf b/auth/assets/public/fonts/poppins/Poppins-Regular.ttf new file mode 100644 index 000000000..be06e7fdc Binary files /dev/null and b/auth/assets/public/fonts/poppins/Poppins-Regular.ttf differ diff --git a/auth/assets/public/fonts/poppins/Poppins-SemiBold.ttf b/auth/assets/public/fonts/poppins/Poppins-SemiBold.ttf new file mode 100644 index 000000000..dabf7c242 Binary files /dev/null and b/auth/assets/public/fonts/poppins/Poppins-SemiBold.ttf differ diff --git a/auth/assets/public/style.css b/auth/assets/public/style.css index 7ac95272a..73b830db1 100644 --- a/auth/assets/public/style.css +++ b/auth/assets/public/style.css @@ -1,14 +1,47 @@ :root { - --primary: #4D7281; - --primary-hover: #497689; + --primary: #0B344E; + --primary-hover: #061E2C; --light: #E4E9EF; - --danger: #E54122; + --danger: #E24646; --body-margin: 50px; } +@font-face { + font-family: 'Poppins-Bold'; + src: url('./fonts/poppins/Poppins-Bold.ttf') format('truetype'); + font-weight: 100 900; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Poppins-SemiBold'; + src: url('./fonts/poppins/Poppins-SemiBold.ttf') format('truetype'); + font-weight: 100 900; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Poppins-Regular'; + src: url('./fonts/poppins/Poppins-Regular.ttf') format('truetype'); + font-weight: 100 900; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Poppins-Medium'; + src: url('./fonts/poppins/Poppins-Medium.ttf') format('truetype'); + font-weight: 100 900; + font-style: normal; + font-display: swap; +} + + body { margin: var(--body-margin) 0; - font-family: 'Nunito', sans-serif; + font-family: 'Poppins-Regular'; height: calc(100vh - 2 * var(--body-margin)); } @@ -27,8 +60,22 @@ body { right: 0; } -.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, label, .btn, a { - font-weight: 600; +.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { + font-family: 'Poppins-SemiBold'; +} + +thead th, +legend, +label, +a, +.btn { + font-family: 'Poppins-Medium'; +} + +strong, +b, +.font-weight-bold { + font-family: 'Poppins-SemiBold'; } /* over-ride default variables colors */ diff --git a/auth/assets/templates/authorized-clients.html.tpl b/auth/assets/templates/authorized-clients.html.tpl index 57c472396..af6d9f80e 100644 --- a/auth/assets/templates/authorized-clients.html.tpl +++ b/auth/assets/templates/authorized-clients.html.tpl @@ -1,6 +1,6 @@ {{ template "inc_header.html.tpl" set . "activeNav" "clients" }}
-

{{ tr "authorized-clients.template.title" }}

+

{{ tr "authorized-clients.template.title" }}

-

{{ tr "change-password.template.title" }}

+

{{ tr "change-password.template.title" }}

-

{{ tr "create-password.template.title" }}

+

{{ tr "create-password.template.title" }}

-

{{ tr "error-internal.template.title" }}

+

{{ tr "error-internal.template.title" }}

diff --git a/auth/assets/templates/login.html.tpl b/auth/assets/templates/login.html.tpl index af6c75eae..985690025 100644 --- a/auth/assets/templates/login.html.tpl +++ b/auth/assets/templates/login.html.tpl @@ -1,6 +1,6 @@ {{ template "inc_header.html.tpl" . }}
-

{{ tr "login.template.title" }}

+

{{ tr "login.template.title" }}

{{ if .settings.LocalEnabled }} -

{{ tr "mfa-totp-disable.template.title" }}

+

{{ tr "mfa-totp-disable.template.title" }}

-

{{ tr "mfa-totp.template.title" }}

+

{{ tr "mfa-totp.template.title" }}

{{ if .enforced }}

diff --git a/auth/assets/templates/mfa.html.tpl b/auth/assets/templates/mfa.html.tpl index 2d97d3b3c..ab0b674d5 100644 --- a/auth/assets/templates/mfa.html.tpl +++ b/auth/assets/templates/mfa.html.tpl @@ -1,6 +1,6 @@ {{ template "inc_header.html.tpl" set . "hideNav" true }}

-

{{ tr "mfa.template.title" }}

+

{{ tr "mfa.template.title" }}

{{ if .emailOtpPending }} {{ end }} -

{{ tr "oauth2-authorize-client.template.title" }} "{{ coalesce .client.Name }}"

+

{{ tr "oauth2-authorize-client.template.title" }} "{{ coalesce .client.Name }}"

-

{{ tr "password-reset-requested.template.title" }}

+

{{ tr "password-reset-requested.template.title" }}

diff --git a/auth/assets/templates/pending-email-confirmation.html.tpl b/auth/assets/templates/pending-email-confirmation.html.tpl index 0d7da5aa0..8039d087c 100644 --- a/auth/assets/templates/pending-email-confirmation.html.tpl +++ b/auth/assets/templates/pending-email-confirmation.html.tpl @@ -1,6 +1,6 @@ {{ template "inc_header.html.tpl" . }}
-

{{ tr "pending-email-confirmation.template.title" }}

+

{{ tr "pending-email-confirmation.template.title" }}

diff --git a/auth/assets/templates/profile.html.tpl b/auth/assets/templates/profile.html.tpl index ffc680213..4ac616738 100644 --- a/auth/assets/templates/profile.html.tpl +++ b/auth/assets/templates/profile.html.tpl @@ -1,6 +1,6 @@ {{ template "inc_header.html.tpl" set . "activeNav" "profile" }}
-

{{ tr "profile.template.title" }}

+

{{ tr "profile.template.title" }}

-

{{ tr "request-password-reset.template.title" }}

+

{{ tr "request-password-reset.template.title" }}

-

{{ tr "reset-password.template.title" }}

+

{{ tr "reset-password.template.title" }}

-

{{ tr "security.template.title" }}

+

{{ tr "security.template.title" }}

{{ .csrfField }}
diff --git a/auth/assets/templates/signup.html.tpl b/auth/assets/templates/signup.html.tpl index 29c11d632..bea1ad57a 100644 --- a/auth/assets/templates/signup.html.tpl +++ b/auth/assets/templates/signup.html.tpl @@ -1,6 +1,6 @@ {{ template "inc_header.html.tpl" . }}
-

{{ tr "signup.template.title" }}

+

{{ tr "signup.template.title" }}