Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie manager #295

Merged
merged 25 commits into from
Dec 10, 2024
Merged

Cookie manager #295

merged 25 commits into from
Dec 10, 2024

Conversation

slavastartsev
Copy link
Contributor

@slavastartsev slavastartsev commented Nov 11, 2024

Css customisation is only available for gobob.xyz (not preview).
To check production results go to https://app.cookieyes.com/customize -> credentials in 1Password.
image
Check that https://www.gobo... is selected in the dropdown.

custom css to override defaults (used in dashboard to override cookieyes components styles)

/* use !important instead of increasing selector specificity e.g. 2x class selector */
/* button */
.cky-btn {
  border-radius: 8px !important;
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform !important;
  transition-duration: 200ms !important;
  outline: none !important;
}
.cky-btn-reject:hover,
.cky-btn-customize:hover,
.cky-btn-preferences:hover {
  /* override inline styles */
  background-color: rgb(49, 56, 70) !important;
}
/* link */
.cky-show-desc-btn {
  color: rgb(255, 255, 255) !important;
  text-decoration: underline !important;
}
.cky-show-desc-btn:hover {
  opacity: 0.75 !important;
  text-decoration: underline !important;
}
/* Always active label */
.cky-always-active {
  color: rgb(243, 93, 0) !important;
}
/* Sidebar */
.cky-modal.cky-sidebar-left.cky-modal-open {
  border-right: 1px solid rgb(49, 56, 70) !important;
}
/* Modal */
.cky-consent-container .cky-consent-bar {
  box-shadow: none !important;
}

Production examples

Modal Preference Sidebar Preference Modal Preference Push down Banner
image image image image image

Texts are subject to change through admin panel

Copy link

vercel bot commented Nov 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bob-mainnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 5:20pm
bob-pay ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 5:20pm
bob-sepolia ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 5:20pm
storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 5:20pm

Copy link

changeset-bot bot commented Nov 11, 2024

⚠️ No Changeset found

Latest commit: 9028c31

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants