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.
 
 
 
 

207 regels
3.4 KiB

  1. @use '../../_global/styles/mixins' as *;
  2. @use '../../_global/styles/vars' as *;
  3. @use '../linklist/linklist';
  4. h1 + .a-z {
  5. margin-top: 30px;
  6. @media(max-width: 767px) {
  7. margin-top: 0;
  8. }
  9. }
  10. .a-z .letters {
  11. position: sticky;
  12. top: var(--header-height);
  13. background-color: var(--color-background);
  14. display: flex;
  15. align-items: flex-end;
  16. flex-wrap: wrap;
  17. overflow: hidden;
  18. margin: 0 0 0 -2px;
  19. padding: 10px 0 20px;
  20. z-index: 2;
  21. box-shadow: 0 -2px 0 0 var(--color-background);
  22. @media(min-width: 1000px) {
  23. top: 101px;
  24. }
  25. &.not-sticky {
  26. position: relative;
  27. top: auto;
  28. }
  29. li {
  30. position: relative;
  31. display: block;
  32. padding: 0 0 0 2px;
  33. margin: 6px 0 0;
  34. @media(max-width: 439px) {
  35. flex: 1 1 10%;
  36. max-width: 10%;
  37. }
  38. &.disabled {
  39. //display: none;
  40. pointer-events: none;
  41. .letter {
  42. opacity: 0.3;
  43. }
  44. }
  45. &:after {
  46. content: none;
  47. }
  48. &:last-child:before {
  49. content: "";
  50. position: absolute;
  51. display: block;
  52. height: 2px;
  53. width: 1000px;
  54. left: 100%;
  55. bottom: 0;
  56. background-color: var(--color-text);
  57. opacity: 0.3;
  58. }
  59. &.active .letter {
  60. color: var(--swatches-neutrals-white);
  61. &:hover {
  62. color: var(--swatches-neutrals-white);
  63. }
  64. &:before {
  65. height: 100%;
  66. background-color: var(--color-text);
  67. opacity: 1;
  68. }
  69. }
  70. }
  71. .letter {
  72. position: relative;
  73. display: block;
  74. text-decoration: none;
  75. font-family: "Korb", sans-serif;
  76. font-size: 28px;
  77. width: 26px;
  78. text-align: center;
  79. transition: 0.3s ease;
  80. z-index: 1;
  81. color: var(--color-text);
  82. background-color: transparent;
  83. margin: 0;
  84. padding: 0;
  85. @include focus-visible;
  86. @media(max-width: 439px) {
  87. width: 100%;
  88. }
  89. &:before {
  90. content: "";
  91. position: absolute;
  92. display: block;
  93. bottom: 0;
  94. left: 0;
  95. right: 0;
  96. height: 2px;
  97. background-color: var(--color-text);
  98. transition: 0.3s ease;
  99. z-index: -1;
  100. opacity: 0.3;
  101. }
  102. &:hover {
  103. color: var(--color-text);
  104. &:before {
  105. background-color: var(--color-text);
  106. opacity: 1;
  107. }
  108. }
  109. &.letter:not(.disabled) span:before {
  110. //opacity: 0.3;
  111. }
  112. }
  113. span.letter {
  114. color: var(--color-text);
  115. &:before {
  116. opacity: 1;
  117. }
  118. }
  119. }
  120. .letter-content {
  121. position: relative;
  122. display: flex;
  123. flex-direction: column;
  124. transition: height 0.3s $easeOutQuad;
  125. .a-z-content-wrapper {
  126. position: absolute;
  127. top: 0.5em;
  128. @include hide;
  129. transform: translate3d(0, 0, 0) scale(0.95);
  130. transform-origin: center 100px;
  131. width: 100%;
  132. &.current {
  133. position: relative;
  134. @include show(0.4s);
  135. transform: translate3d(0, 0, 0) scale(1);
  136. order: 1;
  137. z-index: 1;
  138. }
  139. &:not(.current) {
  140. height: 0;
  141. }
  142. .accordion-content .contact-wrapper {
  143. margin: 0;
  144. }
  145. .accordion {
  146. > .linklist {
  147. margin-top: 0;
  148. > li:first-child {
  149. border-top: 0;
  150. }
  151. }
  152. }
  153. }
  154. }
  155. .a-z {
  156. .faq-heading {
  157. margin-top: 10px !important;
  158. }
  159. .outer.accordion {
  160. margin: 0;
  161. > .linklist,
  162. > ul {
  163. border-bottom: none;
  164. > li {
  165. padding-left: var(--linklist-icon-padding);
  166. border-top: none;
  167. }
  168. }
  169. }
  170. }
  171. .a-z-list{
  172. .responsiveContainer {
  173. padding-bottom: 10px !important;
  174. }
  175. }