diff --git a/frontend_src/_custom.scss b/frontend_src/_custom.scss index 93c4b1c..319f9f9 100644 --- a/frontend_src/_custom.scss +++ b/frontend_src/_custom.scss @@ -1 +1,61 @@ -@import "~bootstrap/scss/bootstrap"; \ No newline at end of file +@import "~bootstrap/scss/bootstrap"; + +$dimmed_white: #f5f5f5; + +html, +body { + height: 100%; + background-color: $dimmed_white; +} + +body.idp { + display: -ms-flexbox; + display: flex; + // -ms-flex-align: center; + // align-items: center; + padding-top: 40px; + padding-bottom: 40px; +} + +.form-signin { + max-width: 330px; +} + +.form-consent { + max-width: 550px; +} + +.form-signin, .form-consent { + width: 100%; + padding: 15px; + margin-left: auto; + margin-right: auto; + + .checkbox { + font-weight: 400; + } + + .form-control { + position: relative; + box-sizing: border-box; + height: auto; + padding: 10px; + font-size: 16px; + } + + .form-control:focus { + z-index: 2; + } + + .input[type="email"] { + margin-bottom: -1px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + .input[type="password"] { + margin-bottom: 10px; + border-top-left-radius: 0; + border-top-right-radius: 0; + } +} diff --git a/frontend_src/images/favicon.ico b/frontend_src/images/favicon.ico new file mode 100644 index 0000000..dfccc66 Binary files /dev/null and b/frontend_src/images/favicon.ico differ diff --git a/templates/idp/base.gohtml b/templates/idp/base.gohtml index b3bd1af..5c547cf 100644 --- a/templates/idp/base.gohtml +++ b/templates/idp/base.gohtml @@ -12,6 +12,7 @@ + @@ -22,11 +23,10 @@ + {{ .Title }} - -

{{ .Title }}

- CAcert + {{ template "content" . }} diff --git a/templates/idp/client_certificate.gohtml b/templates/idp/client_certificate.gohtml index 22d85ae..9d4937b 100644 --- a/templates/idp/client_certificate.gohtml +++ b/templates/idp/client_certificate.gohtml @@ -1,14 +1,16 @@ {{ define "content" }} -

{{ .IntroText }}

- -

{{ .RequestText }}

-
+ + CAcert +

{{ .Title }}

+

{{ .IntroText }}

+ +

{{ .RequestText }}

{{ .csrfField }} - - + +
{{ end }} \ No newline at end of file diff --git a/templates/idp/consent.gohtml b/templates/idp/consent.gohtml index 4c47ff1..285d975 100644 --- a/templates/idp/consent.gohtml +++ b/templates/idp/consent.gohtml @@ -1,24 +1,27 @@ {{ define "content" }} -

{{ .IntroConsentRequested }}

- {{ if .client.LogoURI }} -

- {{ .client.ClientName }} -

- {{ end }} -

{{ .IntroMoreInformation }}

-
- {{ .csrfField }} -