Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be6809336a | ||
|
|
872d8f87c4 | ||
|
|
26827904db | ||
|
|
2cae35bd05 | ||
|
|
310a7c5e0d | ||
|
|
60be8331c1 | ||
|
|
8deec130dc | ||
|
|
68abd5ccc8 |
@@ -9,9 +9,14 @@
|
|||||||
<body>
|
<body>
|
||||||
<section id="auth-screen" aria-labelledby="auth-title">
|
<section id="auth-screen" aria-labelledby="auth-title">
|
||||||
<div class="auth-card">
|
<div class="auth-card">
|
||||||
<p class="eyebrow">FAKTUROVAČ</p>
|
<!--<p class="eyebrow">FAKTUROVAČ</p>-->
|
||||||
<h1 id="auth-title">Vaše faktury, bezpečně po ruce.</h1>
|
<h1 id="auth-title">
|
||||||
<p class="auth-intro">Spravujte faktury přehledně.</p>
|
<span>Fakturovač</span>
|
||||||
|
</h1>
|
||||||
|
<p class="auth-intro">
|
||||||
|
<span>Vaše faktury,</span>
|
||||||
|
<span>bezpečně po ruce.</span>
|
||||||
|
</p>
|
||||||
<form id="auth-form">
|
<form id="auth-form">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="authEmail">E-mail</label>
|
<label for="authEmail">E-mail</label>
|
||||||
|
|||||||
@@ -33,14 +33,19 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.auth-card {
|
.auth-card {
|
||||||
width: min(100%, 460px);
|
display: flex;
|
||||||
padding: clamp(1.75rem, 5vw, 3.5rem);
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
width: min(100%, 760px);
|
||||||
|
padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.75rem, 6vw, 4.5rem);
|
||||||
background: var(--paper);
|
background: var(--paper);
|
||||||
border: 1px solid rgba(24, 59, 86, 0.12);
|
border: 1px solid rgba(24, 59, 86, 0.12);
|
||||||
|
border-radius: 1rem;
|
||||||
box-shadow: var(--shadow);
|
box-shadow: var(--shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
.eyebrow {
|
.eyebrow {
|
||||||
|
align-self: flex-start;
|
||||||
margin: 0 0 0.75rem;
|
margin: 0 0 0.75rem;
|
||||||
color: var(--blue);
|
color: var(--blue);
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
@@ -52,12 +57,24 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--navy);
|
color: var(--navy);
|
||||||
font-family: Georgia, serif;
|
font-family: Georgia, serif;
|
||||||
font-size: clamp(2rem, 6vw, 3.4rem);
|
font-size: clamp(2rem, 5vw, 3.2rem);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
line-height: 1.05;
|
line-height: 1.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-card h1 span {
|
||||||
|
display: block;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 420px) {
|
||||||
|
.auth-card h1 span {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.auth-intro {
|
.auth-intro {
|
||||||
|
max-width: 480px;
|
||||||
margin: 1.25rem 0 2rem;
|
margin: 1.25rem 0 2rem;
|
||||||
color: var(--muted-ink);
|
color: var(--muted-ink);
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
@@ -66,6 +83,7 @@ body {
|
|||||||
#auth-form {
|
#auth-form {
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
width: min(100%, 420px);
|
||||||
}
|
}
|
||||||
|
|
||||||
#auth-form .form-group {
|
#auth-form .form-group {
|
||||||
@@ -74,18 +92,21 @@ body {
|
|||||||
|
|
||||||
#authSubmitButton {
|
#authSubmitButton {
|
||||||
margin-top: 0.5rem;
|
margin-top: 0.5rem;
|
||||||
|
min-height: 3rem;
|
||||||
padding: 0.8rem 1rem;
|
padding: 0.8rem 1rem;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: var(--navy);
|
background: var(--navy);
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 0.25rem;
|
border-radius: 0.5rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
transition: background-color 160ms ease, transform 160ms ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
#authSubmitButton:hover:not(:disabled) {
|
#authSubmitButton:hover:not(:disabled) {
|
||||||
background: var(--blue);
|
background: var(--blue);
|
||||||
|
transform: translateY(-1px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-button {
|
.text-button {
|
||||||
@@ -99,6 +120,12 @@ body {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-button:focus-visible,
|
||||||
|
#authSubmitButton:focus-visible {
|
||||||
|
outline: 3px solid rgba(43, 111, 143, 0.3);
|
||||||
|
outline-offset: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
.text-button:hover {
|
.text-button:hover {
|
||||||
color: var(--navy);
|
color: var(--navy);
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|||||||
Reference in New Issue
Block a user