You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

169 lines
3.1 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. /**
  2. *
  3. *
  4. *
  5. */
  6. .tiny-consent {
  7. position: fixed;
  8. left: 0;
  9. bottom: 0;
  10. overflow: hidden;
  11. visibility: hidden;
  12. background: #171717;
  13. width: 100%;
  14. height: auto;
  15. color: white;
  16. &--animation {
  17. transition: bottom 0.5s ease;
  18. }
  19. &__inner {
  20. margin: 0 auto;
  21. max-width: 1280px;
  22. padding: 2em;
  23. }
  24. &__header {
  25. position: relative;
  26. p {
  27. margin: 10px 0 30px;
  28. }
  29. }
  30. &__close {
  31. position: absolute;
  32. top: 0;
  33. right: 0;
  34. margin: -8px 0 0 0;
  35. }
  36. &__cookies {
  37. margin: 0;
  38. padding: 0;
  39. }
  40. &__cookie {
  41. display: none;
  42. margin-bottom: 1.5em;
  43. &-group {
  44. list-style: none;
  45. margin: 0;
  46. padding: 0;
  47. border: 1px white solid;
  48. padding: 15px 18px;
  49. margin-bottom: 10px;
  50. }
  51. &-content {
  52. max-width: 80%;
  53. p {
  54. margin: 0;
  55. line-height: 1.5;
  56. }
  57. }
  58. &-accordion--active {
  59. overflow: hidden;
  60. transition: max-height 0.5s ease;
  61. max-height: 0;
  62. }
  63. &-accordion-header {
  64. position: relative;
  65. }
  66. &-accordion-header-icon {
  67. position: absolute;
  68. transition-duration: 0.5s;
  69. transition-property: transform;
  70. right: 0;
  71. }
  72. &-accordion--active {
  73. .tiny-consent__cookie-accordion-inner {
  74. padding-top: 1em;
  75. }
  76. }
  77. &-accordion-header--open {
  78. .tiny-consent__cookie-accordion-header-icon {
  79. transform: rotate(180deg);
  80. }
  81. }
  82. &-accordion-inner {
  83. margin-bottom: -0.5em;
  84. }
  85. &-wrapper {
  86. position: relative;
  87. }
  88. &-decision {
  89. position: absolute;
  90. right: 0;
  91. bottom: 0;
  92. text-align: right;
  93. .tiny-consent__button {
  94. margin-left: 0.8em;
  95. }
  96. }
  97. &-footer {
  98. ul {
  99. list-style: none;
  100. padding: 0;
  101. margin: 0 0 0.8em 0;
  102. li {
  103. display: inline-block;
  104. margin-right: 1em;
  105. font-size: 80%;
  106. span {
  107. display: inline-block;
  108. margin-right: .5em;
  109. font-weight: bold;
  110. }
  111. }
  112. }
  113. }
  114. }
  115. .button {
  116. background: black;
  117. border: 1px solid white;
  118. padding: .5em 1.8em;
  119. color: white;
  120. font-size: 0.9rem;
  121. &--active {
  122. color: black;
  123. background: white;
  124. }
  125. &:hover {
  126. cursor: pointer;
  127. color: black;
  128. background: white;
  129. }
  130. &:disabled {
  131. cursor: not-allowed;
  132. background: #7d7d7d;
  133. color: #cecece;
  134. border-color: #cecece;
  135. }
  136. }
  137. }
  138. .show {
  139. display: block !important;
  140. }