feat: согласие на cookies — блокировка входа и регистрации
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -730,3 +730,70 @@ a:hover {
|
||||
.profile-dl dd {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.cookie-banner {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 1000;
|
||||
background: var(--surface);
|
||||
border-top: 1px solid var(--border);
|
||||
box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.cookie-banner__inner {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.cookie-banner__text {
|
||||
flex: 1;
|
||||
min-width: 240px;
|
||||
}
|
||||
|
||||
.cookie-banner__text p {
|
||||
margin: 0 0 0.35rem;
|
||||
}
|
||||
|
||||
.cookie-banner__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.nav__link--disabled {
|
||||
color: var(--muted);
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.cookies-required {
|
||||
max-width: 520px;
|
||||
margin: 2rem auto;
|
||||
}
|
||||
|
||||
.cookies-required h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.legal-page {
|
||||
max-width: 640px;
|
||||
padding: 1.5rem;
|
||||
margin: 0 auto 2rem;
|
||||
}
|
||||
|
||||
.legal-page h2 {
|
||||
font-size: 1rem;
|
||||
margin: 1.25rem 0 0.5rem;
|
||||
}
|
||||
|
||||
body:has(.cookie-banner) .main {
|
||||
padding-bottom: 7rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user