Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

190 righe
3.2 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .ihk-switch {
  4. position: absolute;
  5. left: 42px;
  6. top: 100%;
  7. width: 400px;
  8. font-size: 18px;
  9. transform: translate3d(0, 20px, 0);
  10. @include hide;
  11. &::after {
  12. content: "";
  13. position: absolute;
  14. width: 0;
  15. height: 0;
  16. border-style: solid;
  17. border-width: 0 16px 16px 16px;
  18. border-color: transparent transparent var(--theme-color-primary) transparent;
  19. bottom: 100%;
  20. left: 30px;
  21. }
  22. @media(max-width: 1199px) {
  23. left: 30px;
  24. &::after {
  25. border-width: 0 12px 12px 12px;
  26. left: 24px;
  27. }
  28. }
  29. @media(max-width: 767px) {
  30. left: 20px;
  31. max-width: calc(100% - 40px);
  32. font-size: 16px;
  33. &::after {
  34. border-width: 0 10px 10px 10px;
  35. left: 20px;
  36. }
  37. }
  38. &[data-show-step] {
  39. @include show;
  40. transform: translate3d(0, 0, 0);
  41. &.hide {
  42. @include hide;
  43. }
  44. }
  45. .step {
  46. position: absolute;
  47. background-color: var(--theme-color-primary);
  48. color: white;
  49. padding: 50px 30px 30px;
  50. outline: 1px solid rgba(white, 0.1);
  51. display: none;
  52. width: 100%;
  53. @media(max-width: 767px) {
  54. padding: 44px 20px 22px;
  55. }
  56. }
  57. &[data-show-step="geolocation"] [data-step="geolocation"],
  58. &[data-show-step="form"] [data-step="form"],
  59. &[data-show-step="switch"] [data-step="switch"],
  60. &[data-show-step="success"] [data-step="success"] {
  61. display: block;
  62. }
  63. [data-step="success"] {
  64. text-align: center;
  65. .large {
  66. display: block;
  67. font-size: 1.3em;
  68. }
  69. &::after {
  70. content: "";
  71. display: block;
  72. height: 40px;
  73. background-image: url('../../assets/img/loader-switch.gif');
  74. background-size: 40px;
  75. background-position: center;
  76. margin: 22px 0 8px;
  77. background-repeat: no-repeat;
  78. }
  79. }
  80. .light-hidden {
  81. display: none;
  82. }
  83. a {
  84. color: white;
  85. &:hover {
  86. color: var(--theme-color-secondary);
  87. }
  88. }
  89. .small, .hidden {
  90. font-size: 16px;
  91. @media(max-width: 767px) {
  92. font-size: 13px;
  93. }
  94. }
  95. .buttons {
  96. margin-top: 28px;
  97. margin-left: -2px;
  98. margin-right: -8px;
  99. @media(max-width: 767px) {
  100. margin-top: 20px;
  101. }
  102. }
  103. .btn + .btn {
  104. margin-left: 16px;
  105. @media(max-width: 767px) {
  106. margin-left: 10px;
  107. }
  108. }
  109. .closer {
  110. position: absolute;
  111. top: 0;
  112. right: 0;
  113. width: 50px;
  114. height: 50px;
  115. border: 0;
  116. background-color: transparent;
  117. cursor: pointer;
  118. &::before, &::after {
  119. content: "";
  120. position: absolute;
  121. left: 50%;
  122. top: 50%;
  123. width: 24px;
  124. height: 2px;
  125. transform: translate(-50%, -50%) rotate(45deg);
  126. background-color: white;
  127. transition: 0.2s ease;
  128. @media(max-width: 767px) {
  129. width: 20px;
  130. }
  131. }
  132. &::after {
  133. transform: translate(-50%, -50%) rotate(-45deg);
  134. }
  135. @media(min-width: 768px) {
  136. &:hover {
  137. &::before, &::after {
  138. width: 28px;
  139. }
  140. }
  141. }
  142. @media(max-width: 767px) {
  143. width: 44px;
  144. height: 44px;
  145. }
  146. }
  147. strong {
  148. font-weight: 600;
  149. }
  150. .ihk-finder {
  151. margin-top: 16px;
  152. margin-bottom: 6px;
  153. @media(max-width: 767px) {
  154. margin-top: 12px;
  155. }
  156. }
  157. }