Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

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