No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

220 líneas
3.8 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(--color-background) 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(--color-background);
  48. color: var(--color-text);
  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. section {
  57. margin: 0;
  58. }
  59. }
  60. &[data-show-step="geolocation"] [data-step="geolocation"],
  61. &[data-show-step="form"] [data-step="form"],
  62. &[data-show-step="switch"] [data-step="switch"],
  63. &[data-show-step="success"] [data-step="success"],
  64. [data-step="zip"] {
  65. display: block;
  66. }
  67. [data-step="success"] {
  68. text-align: center;
  69. .large {
  70. display: block;
  71. font-size: 1.3em;
  72. }
  73. &::after {
  74. content: "";
  75. display: block;
  76. height: 40px;
  77. background-image: url('../../assets/img/loader-switch.gif');
  78. background-size: 40px;
  79. background-position: center;
  80. margin: 22px 0 8px;
  81. background-repeat: no-repeat;
  82. }
  83. }
  84. .light-hidden {
  85. display: none;
  86. }
  87. a {
  88. color: var(--color-text);
  89. cursor: pointer;
  90. &:hover {
  91. color: var(--color-text-accent);
  92. }
  93. }
  94. .small, .hidden {
  95. font-size: 16px;
  96. @media(max-width: 767px) {
  97. font-size: 13px;
  98. }
  99. }
  100. .input-wrapper {
  101. position: relative;
  102. background-color: var(--color-background);
  103. .btn {
  104. position: absolute;
  105. right: 0;
  106. top: 0;
  107. height: 100%;
  108. padding: 0;
  109. border-radius: 0;
  110. background: var(--color-surface-inset);
  111. * {
  112. display: none;
  113. }
  114. &:hover:after {
  115. display: none;
  116. }
  117. }
  118. }
  119. .buttons {
  120. margin-top: 28px;
  121. margin-left: -2px;
  122. margin-right: -8px;
  123. &.align-right {
  124. display: flex;
  125. justify-content: flex-end;
  126. margin-right: 0;
  127. }
  128. @media(max-width: 767px) {
  129. margin-top: 20px;
  130. }
  131. }
  132. .btn + .btn {
  133. margin-left: 16px;
  134. @media(max-width: 767px) {
  135. margin-left: 10px;
  136. }
  137. }
  138. .closer {
  139. position: absolute;
  140. top: 0;
  141. right: 0;
  142. width: 50px;
  143. height: 50px;
  144. border: 0;
  145. background-color: transparent;
  146. cursor: pointer;
  147. &::before, &::after {
  148. content: "";
  149. position: absolute;
  150. left: 50%;
  151. top: 50%;
  152. width: 24px;
  153. height: 2px;
  154. transform: translate(-50%, -50%) rotate(45deg);
  155. background-color: var(--swatches-neutrals-white);
  156. transition: 0.2s ease;
  157. @media(max-width: 767px) {
  158. width: 20px;
  159. }
  160. }
  161. &::after {
  162. transform: translate(-50%, -50%) rotate(-45deg);
  163. }
  164. @media(min-width: 768px) {
  165. &:hover {
  166. &::before, &::after {
  167. width: 28px;
  168. }
  169. }
  170. }
  171. @media(max-width: 767px) {
  172. width: 44px;
  173. height: 44px;
  174. }
  175. }
  176. strong {
  177. font-weight: 600;
  178. }
  179. .ihk-finder {
  180. margin-top: 16px;
  181. margin-bottom: 6px;
  182. @media(max-width: 767px) {
  183. margin-top: 12px;
  184. }
  185. }
  186. }