_extensions.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. // slider
  2. .slider{
  3. margin-bottom: 3rem;
  4. width: 90%;
  5. & > div{
  6. & > img{
  7. width: auto;
  8. height: auto;
  9. max-width: 100%;
  10. max-height: 95vh;
  11. }
  12. }
  13. .slick-list{
  14. // max-height: 90vh!important;
  15. padding: 0!important;
  16. .slick-track{
  17. .slick-slide{
  18. // opacity: 0;
  19. position: relative;
  20. div{
  21. width: 100%!important;
  22. max-height: calc(95vh);
  23. img{
  24. max-width: 100%;
  25. width: auto;
  26. max-height: calc(95vh);
  27. padding-bottom: 2rem;
  28. margin: auto;
  29. }
  30. .caption{
  31. width: 100%;
  32. text-align: center;
  33. position: absolute;
  34. height: auto;
  35. // width: auto!important;
  36. margin-top: -1.5rem;
  37. }
  38. }
  39. &.slick-center{
  40. transition: 0.2s opacity 0.3s;
  41. }
  42. }
  43. }
  44. }
  45. button{
  46. border: 0!important;
  47. outline: none!important;
  48. z-index: 999;
  49. position: absolute;
  50. width: 2rem;
  51. font-size: 0;
  52. height: 100%;
  53. background: transparent;
  54. border: none;
  55. top: 0;
  56. opacity: 0;
  57. &::after{
  58. display: block;
  59. position: absolute;
  60. width: 0.6rem;
  61. height: 1.2rem;
  62. top: 50%;
  63. content: " ";
  64. margin-top: -0.6rem;
  65. }
  66. &.slick-prev{
  67. left: 1.2rem;
  68. &::after{
  69. left: 2.5px;
  70. background-position: center;
  71. background-repeat: no-repeat;
  72. background-size: cover;
  73. background: url('/user/themes/vocurations/images/arrow_left.svg');
  74. }
  75. }
  76. &.slick-next{
  77. right: 1.2rem;
  78. &::after{
  79. right: 2.5px;
  80. background-position: center;
  81. background-repeat: no-repeat;
  82. background-size: cover;
  83. background: url('/user/themes/vocurations/images/arrow_right.svg');
  84. }
  85. }
  86. }
  87. }
  88. // newsletter
  89. .newsletter{
  90. .mc-field-group{
  91. input{
  92. min-width: 415px;
  93. border: none;
  94. color: black;
  95. &::placeholder{
  96. text-decoration: underline;
  97. color: $grey;
  98. }
  99. &::placeholder-shown{
  100. text-decoration: underline;
  101. color: $grey;
  102. }
  103. &::-moz-placeholder {
  104. opacity: 1;
  105. }
  106. &::-moz-placeholder-shown {
  107. opacity: 1;
  108. }
  109. }
  110. }
  111. .clear{
  112. display: none;
  113. }
  114. }
  115. .simplesearch_results{
  116. .section{
  117. // width: calc((100% / 12) * 9);
  118. width: 100%;
  119. .simplesearch{
  120. .center{
  121. width: calc((100% / 12) * 9);
  122. }
  123. .search-wrapper{
  124. form{
  125. display: inline-flex;
  126. .search-input, button{
  127. font-family: $Bold;
  128. font-size: 6rem;
  129. text-transform: uppercase;
  130. width: 100%;
  131. height: 150px;
  132. border: none;
  133. background: none;
  134. }
  135. }
  136. }
  137. }
  138. }
  139. }
  140. .search-results{
  141. .results{
  142. margin-top: 6rem;
  143. @include flexbox;
  144. align-items: flex-end;
  145. width: 100%;
  146. .search-row{
  147. width: calc((100% / 12) * 6);
  148. margin-bottom: 6rem;
  149. a{
  150. display: block;
  151. }
  152. &:nth-child(odd){
  153. padding-right: 0.7rem;
  154. }
  155. &:nth-child(even){
  156. padding-left: 0.7rem;
  157. }
  158. .search-item{
  159. margin: 0;
  160. }
  161. .search-title{
  162. h2{
  163. font-size: 2.5rem;
  164. line-height: 2.7rem;
  165. }
  166. }
  167. .search-details{
  168. font-family: $Bold;
  169. font-size: 2.5rem;
  170. line-height: 2.7rem;
  171. font-weight: 400;
  172. margin: 0;
  173. text-transform: uppercase;
  174. }
  175. .search-image{
  176. float: none;
  177. width: 100%;
  178. margin-top: 1.5rem;
  179. margin-bottom: 1.5rem;
  180. }
  181. }
  182. }
  183. }