Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 1 addition & 99 deletions static/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ body {
box-shadow: 0 18px 48px rgba(58, 21, 117, 0.12);
}

.policy-eyebrow,
.cookie-eyebrow {
.policy-eyebrow {
color: #d9b8ff;
font-size: 0.875rem;
font-weight: 800;
Expand Down Expand Up @@ -187,88 +186,6 @@ body {
line-height: 1.7;
}

.cookie-banner {
position: fixed;
left: 24px;
right: 24px;
bottom: 24px;
z-index: 1200;
}

.cookie-inner {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 24px;
max-width: 1200px;
margin: 0 auto;
padding: 20px 24px;
border-radius: 20px;
background: rgba(18, 14, 28, 0.96);
color: #fff;
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.cookie-copy-wrap {
max-width: 58ch;
}

.cookie-heading {
margin-top: 8px;
font-size: 1.35rem;
line-height: 1.2;
}

.cookie-copy {
margin-top: 10px;
color: rgba(255, 255, 255, 0.82);
line-height: 1.6;
}

.cookie-actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}

.cookie-button {
min-width: 140px;
padding: 12px 16px;
border: 1px solid transparent;
border-radius: 999px;
font-size: 0.95rem;
font-weight: 700;
transition: var(--gen-transition);
}

.cookie-button-secondary {
background: transparent;
border-color: rgba(255, 255, 255, 0.22);
color: #fff;
}

.cookie-button-secondary:hover,
.cookie-button-secondary:focus-visible {
background: rgba(255, 255, 255, 0.12);
}

.cookie-button-primary {
background: #9900f8;
color: #fff;
}

.cookie-button-primary:hover,
.cookie-button-primary:focus-visible {
background: #7d00c9;
}

@media (max-width: 900px) {
.cookie-inner {
flex-direction: column;
align-items: stretch;
}
}

@media (max-width: 640px) {
.policy-page {
padding-top: 88px;
Expand All @@ -277,19 +194,4 @@ body {
.policy-section-shell {
padding: 16px 0 112px;
}

.cookie-banner {
left: 12px;
right: 12px;
bottom: 12px;
}

.cookie-inner {
padding: 16px;
border-radius: 18px;
}

.cookie-button {
width: 100%;
}
}
106 changes: 106 additions & 0 deletions static/styles/partials/cookie-banner.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
.cookie-banner {
position: fixed;
left: 24px;
right: 24px;
bottom: 24px;
z-index: 1200;
}

.cookie-inner {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 24px;
max-width: 1200px;
margin: 0 auto;
padding: 20px 24px;
border-radius: 20px;
background: rgba(18, 14, 28, 0.96);
color: #fff;
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.cookie-copy-wrap {
max-width: 58ch;
}

.cookie-eyebrow {
color: #d9b8ff;
font-size: 0.875rem;
font-weight: 800;
letter-spacing: 0;
text-transform: uppercase;
}

.cookie-heading {
margin-top: 8px;
font-size: 1.35rem;
line-height: 1.2;
}

.cookie-copy {
margin-top: 10px;
color: rgba(255, 255, 255, 0.82);
line-height: 1.6;
}

.cookie-actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}

.cookie-button {
min-width: 140px;
padding: 12px 16px;
border: 1px solid transparent;
border-radius: 999px;
font-size: 0.95rem;
font-weight: 700;
transition: 0.2s ease-in-out;
}

.cookie-button-secondary {
background: transparent;
border-color: rgba(255, 255, 255, 0.22);
color: #fff;
}

.cookie-button-secondary:hover,
.cookie-button-secondary:focus-visible {
background: rgba(255, 255, 255, 0.12);
}

.cookie-button-primary {
background: #9900f8;
color: #fff;
}

.cookie-button-primary:hover,
.cookie-button-primary:focus-visible {
background: #7d00c9;
}

@media (max-width: 900px) {
.cookie-inner {
flex-direction: column;
align-items: stretch;
}
}

@media (max-width: 640px) {
.cookie-banner {
left: 12px;
right: 12px;
bottom: 12px;
}

.cookie-inner {
padding: 16px;
border-radius: 18px;
}

.cookie-button {
width: 100%;
}
}
1 change: 1 addition & 0 deletions views/dashboard/dashboard.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" />
<link rel="stylesheet" href="../../static/styles/main.css" />
<link rel="stylesheet" href="../../static/styles/partials/cookie-banner.css" />
<link rel="stylesheet" href="../../static/styles/dashboard/dashboard.css">
<link rel="stylesheet" href="../../static/styles/partials/dashboard/dashboard-sidebar.css" />
<link rel="stylesheet" href="../../static/styles/partials/dashboard/navbar-dashboard.css" />
Expand Down
1 change: 1 addition & 0 deletions views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" />
<link rel="stylesheet" href="../static/styles/main.css" />
<link rel="stylesheet" href="../static/styles/partials/cookie-banner.css" />
<link rel="stylesheet" href="../static/styles/partials/nav.css" />
<link rel="stylesheet" href="../static/styles/partials/hero.css" />
<link rel="stylesheet" href="../static/styles/partials/feature.css" />
Expand Down
1 change: 1 addition & 0 deletions views/privacy.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" />
<link rel="stylesheet" href="../static/styles/main.css" />
<link rel="stylesheet" href="../static/styles/partials/cookie-banner.css" />
<link rel="stylesheet" href="../static/styles/partials/nav.css" />
<link rel="stylesheet" href="../static/styles/partials/footer.css" />
<title data-i18n-document-title="document.home">Taskify</title>
Expand Down
1 change: 1 addition & 0 deletions views/signup.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css2?family=Jost:wght@500&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="../static/styles/partials/cookie-banner.css" />
<link rel="stylesheet" href="../static/styles/signup.css" />
<title data-i18n-document-title="document.signup">SignUp</title>
</head>
Expand Down
Loading