cookie.scss 873 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #cookie_monster {
  2. position: fixed;
  3. left: 0;
  4. width: 100%;
  5. background: hsla(0, 0, 100, 0.8);
  6. font-family: 'Open Sans', sans-serif;
  7. z-index: 255;
  8. @include breakpoint(min-width $bp-middle) {
  9. top: 0;
  10. }
  11. @include breakpoint(max-width $bp-middle) {
  12. bottom: 0;
  13. background: hsla(60, 75, 75, 0.8);
  14. }
  15. .content {
  16. @include container(48em);
  17. margin: 0 auto;
  18. color: black;
  19. padding: em(6px) em(24px) em(3px) em(24px);
  20. strong {
  21. font-weight: bold;
  22. }
  23. .button {
  24. display: block;
  25. background: black;
  26. color: white;
  27. padding: em(6px) em(9px);
  28. margin-top: em(6px);
  29. margin-left: em(3px);
  30. float: right;
  31. @include border-radius($corner-radius);
  32. border: 0;
  33. font-size: $base-font-size;
  34. &.no {
  35. background: hsla(150, 55, 45, 1);
  36. }
  37. &.yes {
  38. font-weight: bold;
  39. background: hsla(330, 45, 55, 1);
  40. }
  41. }
  42. }
  43. }