You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

162 line
3.2 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .mini-teaser {
  4. position: relative;
  5. background-color: white;
  6. overflow: hidden;
  7. width: 100%;
  8. //max-width: 420px;
  9. border-radius: 4px;
  10. padding: 16px 12px;
  11. transition: 0.25s ease;
  12. line-height: 1.2;
  13. text-align: left;
  14. text-decoration: none;
  15. background-color: var(--theme-grey-light);
  16. display: block;
  17. .title{
  18. font-size: 22px;
  19. }
  20. &.standard::before {
  21. content: "";
  22. position: absolute;
  23. display: block;
  24. top: 0;
  25. left: 0;
  26. right: 0;
  27. height: 4px;
  28. background-color: var(--theme-color-secondary);
  29. transition: 0.2s ease;
  30. }
  31. &.standard:hover::before {
  32. height: 8px;
  33. }
  34. h4{
  35. font-size: 22px;
  36. }
  37. .text-box{
  38. position: relative;
  39. .mini-container {
  40. width: 100%;
  41. display: flex;
  42. flex-direction: column;
  43. }
  44. }
  45. &.infoteaser{
  46. background: linear-gradient(161deg, rgba(var(--theme-color-primary-rgb), 1) 0%, rgba(var(--theme-color-primary-rgb), 0.2) 100%);
  47. position: relative;
  48. &:after{
  49. content:"";
  50. position:absolute;
  51. left:0;
  52. right:0;
  53. top:0;
  54. bottom:0;
  55. z-index:-1;
  56. background: linear-gradient(161deg, var(--theme-color-gradient-01) 40%, var(--theme-color-gradient-02) 80%, var(--theme-color-gradient-03) 120%);
  57. }
  58. &.background-image{
  59. background-size:cover;
  60. &:after{
  61. position:absolute;
  62. top:0;
  63. left:0;
  64. bottom:0;
  65. right:0;
  66. z-index: 0;
  67. content:"";
  68. opacity: 0.6;
  69. background: linear-gradient(87deg, #036 12.55%, rgba(1, 40, 81, 0.86) 56.52%, rgba(0, 51, 102, 0.00) 94.05%);
  70. background-blend-mode: overlay;
  71. }
  72. .text-box{
  73. position: relative;
  74. z-index: 1;
  75. }
  76. }
  77. .title, .category, .btn{
  78. color:white;
  79. }
  80. .title{
  81. margin-top: 0;
  82. min-height: 48px;
  83. text-align: left;
  84. line-height: 24px;
  85. margin-bottom: 11px;
  86. width: 100%;
  87. &.noicon{
  88. padding-left: 0;
  89. min-height: 0;
  90. + .btn{
  91. margin-left: 0;
  92. }
  93. }
  94. }
  95. .icon-box + .title {
  96. padding-left: 54px;
  97. }
  98. .icon-box + .mini-container {
  99. padding-left: 54px;
  100. }
  101. .btn{
  102. background-color: transparent;
  103. border: 1px solid white;
  104. margin-left: 0;
  105. align-self: flex-end;
  106. display: inline-block;
  107. padding:8px 10px;
  108. line-height: 22px;
  109. border-radius:16px;
  110. --button-padding: 8px 10px;
  111. min-height: 0;
  112. font-size: 22px;
  113. &:after{
  114. border-radius:16px;
  115. }
  116. }
  117. .icon-box{
  118. margin-bottom: 19px;
  119. margin-top: 0;
  120. padding-top: 0;
  121. position: absolute;
  122. top: 0;
  123. left: 0;
  124. }
  125. .text-box{
  126. padding: 0;
  127. display: flex;
  128. flex-wrap: wrap;
  129. }
  130. }
  131. .icon-box {
  132. font-family: 'Pictograms', sans-serif;
  133. line-height: 1;
  134. color: white;
  135. font-size:48px
  136. }
  137. .category{
  138. text-align: left;
  139. padding:0;
  140. margin:0;
  141. margin-bottom:8px;
  142. font-size:16px;
  143. text-transform: uppercase;
  144. line-height: 18px;
  145. font-family: 'Source Sans Pro', sans-serif;
  146. }
  147. .title{
  148. text-align: left;
  149. padding:0;
  150. margin:0;
  151. }
  152. }