Polish sign-in page for better visual hierarchy #11
@@ -10,7 +10,10 @@
|
|||||||
<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">
|
||||||
|
<span>Vaše faktury,</span>
|
||||||
|
<span>bezpečně po ruce.</span>
|
||||||
|
</h1>
|
||||||
<p class="auth-intro">Spravujte faktury přehledně.</p>
|
<p class="auth-intro">Spravujte faktury přehledně.</p>
|
||||||
<form id="auth-form">
|
<form id="auth-form">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ body {
|
|||||||
padding: clamp(1.75rem, 5vw, 3.5rem);
|
padding: clamp(1.75rem, 5vw, 3.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);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,6 +58,10 @@ body {
|
|||||||
line-height: 1.05;
|
line-height: 1.05;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.auth-card h1 span {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.auth-intro {
|
.auth-intro {
|
||||||
margin: 1.25rem 0 2rem;
|
margin: 1.25rem 0 2rem;
|
||||||
color: var(--muted-ink);
|
color: var(--muted-ink);
|
||||||
@@ -74,18 +79,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 +107,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