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.

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