Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

218 строки
3.7 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. 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: white;
  89. &:hover {
  90. color: var(--theme-color-secondary);
  91. }
  92. }
  93. .small, .hidden {
  94. font-size: 16px;
  95. @media(max-width: 767px) {
  96. font-size: 13px;
  97. }
  98. }
  99. .input-wrapper {
  100. position: relative;
  101. .btn {
  102. position: absolute;
  103. right: 0;
  104. top: 0;
  105. height: 100%;
  106. padding: 0;
  107. border-radius: 0;
  108. background: #193f69;
  109. * {
  110. display: none;
  111. }
  112. &:hover:after {
  113. display: none;
  114. }
  115. }
  116. }
  117. .buttons {
  118. margin-top: 28px;
  119. margin-left: -2px;
  120. margin-right: -8px;
  121. &.align-right {
  122. display: flex;
  123. justify-content: flex-end;
  124. margin-right: 0;
  125. }
  126. @media(max-width: 767px) {
  127. margin-top: 20px;
  128. }
  129. }
  130. .btn + .btn {
  131. margin-left: 16px;
  132. @media(max-width: 767px) {
  133. margin-left: 10px;
  134. }
  135. }
  136. .closer {
  137. position: absolute;
  138. top: 0;
  139. right: 0;
  140. width: 50px;
  141. height: 50px;
  142. border: 0;
  143. background-color: transparent;
  144. cursor: pointer;
  145. &::before, &::after {
  146. content: "";
  147. position: absolute;
  148. left: 50%;
  149. top: 50%;
  150. width: 24px;
  151. height: 2px;
  152. transform: translate(-50%, -50%) rotate(45deg);
  153. background-color: white;
  154. transition: 0.2s ease;
  155. @media(max-width: 767px) {
  156. width: 20px;
  157. }
  158. }
  159. &::after {
  160. transform: translate(-50%, -50%) rotate(-45deg);
  161. }
  162. @media(min-width: 768px) {
  163. &:hover {
  164. &::before, &::after {
  165. width: 28px;
  166. }
  167. }
  168. }
  169. @media(max-width: 767px) {
  170. width: 44px;
  171. height: 44px;
  172. }
  173. }
  174. strong {
  175. font-weight: 600;
  176. }
  177. .ihk-finder {
  178. margin-top: 16px;
  179. margin-bottom: 6px;
  180. @media(max-width: 767px) {
  181. margin-top: 12px;
  182. }
  183. }
  184. }