_extensions.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. }