Files
cie-auth/provider/templates/op_base.html
T

242 lines
7.1 KiB
HTML

{% load i18n %}
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block page_title %}CIE Login{% endblock page_title %}</title>
<style>
:root {
--cie-blue: #0059b3;
--cie-blue-dark: #004b98;
--cie-line: #d8e6f3;
--cie-input-line: #8ea3ba;
--cie-text: #1d3552;
--cie-muted: #607792;
--cie-bg: #fbfcfe;
--cie-white: #ffffff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
font-family: "Titillium Web", "Segoe UI", Arial, sans-serif;
color: var(--cie-text);
background:
linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(249,251,254,1) 100%);
}
a { color: var(--cie-blue); }
.cie-page { min-height: 100vh; }
.cie-header {
background: var(--cie-white);
border-bottom: 1px solid var(--cie-line);
}
.cie-header-inner,
.cie-main {
width: min(1140px, calc(100% - 32px));
margin: 0 auto;
}
.cie-header-inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 0 13px;
}
.cie-header-right {
display: flex;
align-items: center;
gap: 42px;
}
.cie-ministry-logo {
width: 170px;
height: auto;
display: block;
}
.cie-lang {
font-size: 14px;
font-weight: 600;
color: var(--cie-blue);
white-space: nowrap;
}
.cie-lang::after {
content: "⌄";
margin-left: 6px;
font-size: 11px;
position: relative;
top: -1px;
}
.cie-logo {
width: 86px;
height: auto;
display: block;
}
.cie-main {
padding: 30px 0 70px;
}
.cie-kicker {
margin: 0 0 8px 80px;
color: #003d86;
font-size: 15px;
font-weight: 700;
text-transform: uppercase;
}
.cie-title {
margin: 0 0 34px 80px;
color: var(--cie-blue);
font-size: 38px;
line-height: 1.05;
font-weight: 700;
}
.cie-login-card {
width: min(1015px, calc(100% - 80px));
margin-left: 60px;
background: var(--cie-white);
box-shadow: 0 12px 30px rgba(24, 49, 80, 0.08);
border: 1px solid rgba(221, 231, 241, 0.85);
}
.cie-login-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 1px 420px;
}
.cie-divider {
background: var(--cie-line);
width: 1px;
}
.cie-panel {
padding: 28px 25px 32px;
}
.cie-panel-title {
margin: 0 0 26px;
color: var(--cie-blue);
font-size: 24px;
line-height: 1.15;
font-weight: 700;
}
.cie-side-copy {
margin: 0;
color: var(--cie-muted);
font-size: 15px;
line-height: 1.55;
}
.cie-side-block {
margin-top: 28px;
padding-top: 6px;
}
.cie-side-box {
margin-top: 26px;
padding: 18px 0 0;
border-top: 1px solid var(--cie-line);
color: var(--cie-muted);
font-size: 15px;
line-height: 1.6;
}
.cie-field {
position: relative;
margin-bottom: 54px;
}
.cie-input {
width: 100%;
border: 0;
border-bottom: 1px solid var(--cie-input-line);
padding: 5px 34px 10px 10px;
font-size: 17px;
color: var(--cie-text);
background: transparent;
outline: 0;
}
.cie-input::placeholder {
color: #637995;
opacity: 1;
}
.cie-input:focus {
border-bottom-color: var(--cie-blue);
box-shadow: inset 0 -1px 0 var(--cie-blue);
}
.cie-input-icon {
position: absolute;
right: 6px;
top: 3px;
color: var(--cie-blue);
font-size: 24px;
line-height: 1;
pointer-events: none;
}
.cie-links {
margin: -20px 0 34px;
color: var(--cie-muted);
font-size: 15px;
line-height: 1.4;
}
.cie-links strong a,
.cie-bottom-links strong a {
color: var(--cie-blue);
text-decoration: underline;
}
.cie-actions {
display: grid;
grid-template-columns: 176px 1fr;
gap: 20px;
margin-bottom: 30px;
}
.cie-btn {
min-height: 52px;
border-radius: 4px;
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
font-size: 16px;
font-weight: 700;
cursor: pointer;
}
.cie-btn-secondary {
background: var(--cie-white);
color: var(--cie-blue);
border: 2px solid var(--cie-blue);
}
.cie-btn-primary {
background: var(--cie-blue);
color: var(--cie-white);
border: 2px solid var(--cie-blue);
}
.cie-btn-primary:hover { background: var(--cie-blue-dark); }
.cie-bottom-links {
color: var(--cie-muted);
font-size: 15px;
line-height: 1.4;
}
.cie-error {
margin-top: 10px;
color: #b42318;
font-size: 14px;
}
@media (max-width: 980px) {
.cie-kicker,
.cie-title,
.cie-login-card { margin-left: 0; }
.cie-login-card { width: 100%; }
.cie-login-grid { grid-template-columns: 1fr; }
.cie-divider { display: none; }
.cie-panel + .cie-panel { border-top: 1px solid var(--cie-line); }
.cie-actions { grid-template-columns: 1fr; }
.cie-header-right { gap: 20px; }
}
</style>
</head>
<body>
<div class="cie-page">
<header class="cie-header">
<div class="cie-header-inner">
<img class="cie-ministry-logo" src="https://idserver.servizicie.interno.gov.it/idp/images/l12/[email protected]" alt="Ministero dell'Interno">
<div class="cie-header-right">
<div class="cie-lang">ITA</div>
<img class="cie-logo" src="https://idserver.servizicie.interno.gov.it/idp/images/l12/CIE.png" alt="Carta d'identita elettronica">
</div>
</div>
</header>
<main class="cie-main">
{% block container %}{% endblock container %}
</main>
</div>
</body>
</html>