No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

154 líneas
3.0 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: center;
  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. }
  42. }
  43. &.infoteaser{
  44. background: linear-gradient(161deg, rgba(var(--theme-color-primary-rgb), 1) 0%, rgba(var(--theme-color-primary-rgb), 0.2) 100%);
  45. position: relative;
  46. &:after{
  47. content:"";
  48. position:absolute;
  49. left:0;
  50. right:0;
  51. top:0;
  52. bottom:0;
  53. z-index:-1;
  54. background: linear-gradient(161deg, var(--theme-color-gradient-01) 40%, var(--theme-color-gradient-02) 80%, var(--theme-color-gradient-03) 120%);
  55. }
  56. &.background-image{
  57. background-size:cover;
  58. &:after{
  59. position:absolute;
  60. top:0;
  61. left:0;
  62. bottom:0;
  63. right:0;
  64. z-index: 0;
  65. content:"";
  66. opacity: 0.6;
  67. background: linear-gradient(87deg, #036 12.55%, rgba(1, 40, 81, 0.86) 56.52%, rgba(0, 51, 102, 0.00) 94.05%);
  68. background-blend-mode: overlay;
  69. }
  70. .text-box{
  71. position: relative;
  72. z-index: 1;
  73. }
  74. }
  75. .title, .category, .btn{
  76. color:white;
  77. }
  78. .title{
  79. margin-top: 0;
  80. padding-left: 54px;
  81. min-height: 48px;
  82. text-align: left;
  83. line-height: 24px;
  84. margin-bottom: 19px;
  85. width: 100%;
  86. &.noicon{
  87. padding-left: 0;
  88. min-height: 0;
  89. + .btn{
  90. margin-left: 0;
  91. }
  92. }
  93. }
  94. .btn{
  95. background-color: transparent;
  96. border: 1px solid white;
  97. margin-left: 54px;
  98. align-self: flex-start;
  99. display: inline-block;
  100. padding:8px 10px;
  101. line-height: 22px;
  102. border-radius:16px;
  103. --button-padding: 8px 10px;
  104. min-height: 0;
  105. font-size: 22px;
  106. &:after{
  107. border-radius:16px;
  108. }
  109. }
  110. .icon-box{
  111. margin-bottom: 19px;
  112. margin-top: 0;
  113. padding-top: 0;
  114. position: absolute;
  115. top: 0;
  116. left: 0;
  117. }
  118. .text-box{
  119. padding: 0;
  120. display: flex;
  121. flex-wrap: wrap;
  122. }
  123. }
  124. .icon-box {
  125. font-family: 'Pictograms', sans-serif;
  126. line-height: 1;
  127. color: white;
  128. font-size:48px
  129. }
  130. .category{
  131. text-align: left;
  132. padding:0;
  133. margin:0;
  134. margin-bottom:8px;
  135. font-size:16px;
  136. text-transform: uppercase;
  137. line-height: 18px;
  138. }
  139. .title{
  140. text-align: left;
  141. padding:0;
  142. margin:0;
  143. }
  144. }