Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

169 lignes
3.3 KiB

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