You are here

cookiebot.css in Cookiebot - Cookie consent, Cookie monitoring and Cookie control 8

Same filename and directory in other branches
  1. 7 css/cookiebot.css
.cookieconsent-optout-marketing {
  background: rgba(0, 0, 0, .65);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  /* Cookiebot sets inline styles - for whatever reason - if the
    "accept marketing cookies"-link is clicked and the coookie layer
    is accepted (again) without accepting marketing cookies.
    So we have to override this the hard way: */
}

.cookieconsent-optout-marketing[style*="block"] {
  display: flex !important;
}

.cookieconsent-optout-marketing__inner {
  max-width: 100%;
}

.cookieconsent-optout-marketing a {
  color: currentColor !important;
  text-decoration: underline !important;
}

.cookieconsent-optout-marketing a.cookieconsent-optout-marketing__cookiebot-renew {
  font-weight: bold;
}

.cookieconsent-optout-marketing__from-src-url {
  display: block;
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition-duration: 150ms;
  transition-property: max-width;
}

.cookieconsent-optout-marketing:hover .cookieconsent-optout-marketing__from-src-url,
.cookieconsent-optout-marketing:focus-within .cookieconsent-optout-marketing__from-src-url {
  max-width: 100%;
}

.responsive-embed .cookieconsent-optout-marketing {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

File

css/cookiebot.css
View source
  1. .cookieconsent-optout-marketing {
  2. background: rgba(0, 0, 0, .65);
  3. color: white;
  4. display: flex;
  5. align-items: center;
  6. justify-content: center;
  7. padding: 3rem;
  8. /* Cookiebot sets inline styles - for whatever reason - if the
  9. "accept marketing cookies"-link is clicked and the coookie layer
  10. is accepted (again) without accepting marketing cookies.
  11. So we have to override this the hard way: */
  12. }
  13. .cookieconsent-optout-marketing[style*="block"] {
  14. display: flex !important;
  15. }
  16. .cookieconsent-optout-marketing__inner {
  17. max-width: 100%;
  18. }
  19. .cookieconsent-optout-marketing a {
  20. color: currentColor !important;
  21. text-decoration: underline !important;
  22. }
  23. .cookieconsent-optout-marketing a.cookieconsent-optout-marketing__cookiebot-renew {
  24. font-weight: bold;
  25. }
  26. .cookieconsent-optout-marketing__from-src-url {
  27. display: block;
  28. max-width: 300px;
  29. overflow: hidden;
  30. white-space: nowrap;
  31. text-overflow: ellipsis;
  32. transition-duration: 150ms;
  33. transition-property: max-width;
  34. }
  35. .cookieconsent-optout-marketing:hover .cookieconsent-optout-marketing__from-src-url,
  36. .cookieconsent-optout-marketing:focus-within .cookieconsent-optout-marketing__from-src-url {
  37. max-width: 100%;
  38. }
  39. .responsive-embed .cookieconsent-optout-marketing {
  40. position: absolute;
  41. top: 0;
  42. left: 0;
  43. width: 100%;
  44. height: 100%;
  45. }