|
- @import '../../_global/styles/mixins';
- @import '../../_global/styles/vars';
-
- .mini-teaser {
- position: relative;
- background-color: white;
- overflow: hidden;
- width: 100%;
- //max-width: 420px;
- border-radius: 4px;
- padding: 16px 12px;
- transition: 0.25s ease;
- line-height: 1.2;
- text-align: center;
- text-decoration: none;
- background-color: var(--theme-grey-light);
- display: block;
- .title{
- font-size: 22px;
- }
- &.standard::before {
- content: "";
- position: absolute;
- display: block;
- top: 0;
- left: 0;
- right: 0;
- height: 4px;
- background-color: var(--theme-color-secondary);
- transition: 0.2s ease;
- }
- &.standard:hover::before {
- height: 8px;
- }
- h4{
- font-size: 22px;
- }
- .text-box{
- position: relative;
- }
- &.infoteaser{
- background: linear-gradient(161deg, rgba(var(--theme-color-primary-rgb), 1) 0%, rgba(var(--theme-color-primary-rgb), 0.2) 100%);
- position: relative;
- &:after{
- content:"";
- position:absolute;
- left:0;
- right:0;
- top:0;
- bottom:0;
- z-index:-1;
- background: linear-gradient(161deg, var(--theme-color-gradient-01) 40%, var(--theme-color-gradient-02) 80%, var(--theme-color-gradient-03) 120%);
- }
- &.background-image{
- background-size:cover;
- &:after{
- position:absolute;
- top:0;
- left:0;
- bottom:0;
- right:0;
- z-index: 0;
- content:"";
- opacity: 0.6;
- background: linear-gradient(87deg, #036 12.55%, rgba(1, 40, 81, 0.86) 56.52%, rgba(0, 51, 102, 0.00) 94.05%);
- background-blend-mode: overlay;
-
- }
- .text-box{
- position: relative;
- z-index: 1;
- }
- }
- .title, .category, .btn{
- color:white;
- }
- .title{
- margin-top: 0;
- padding-left: 54px;
- min-height: 48px;
- text-align: left;
- line-height: 24px;
- margin-bottom: 19px;
- width: 100%;
- &.noicon{
- padding-left: 0;
- min-height: 0;
- + .btn{
- margin-left: 0;
- }
- }
- }
- .btn{
- background-color: transparent;
- border: 1px solid white;
- align-self: flex-start;
- margin-left: 54px;
- display: inline-block;
- padding:8px 10px;
- line-height: 22px;
- border-radius:16px;
- --button-padding: 8px 10px;
- min-height: 0;
- font-size: 22px;
- &:after{
- border-radius:16px;
- }
- }
- .icon-box{
- margin-bottom: 19px;
- margin-top: 0;
- padding-top: 0;
- position: absolute;
- top: 0;
- left: 0;
-
- }
- .text-box{
- padding: 0;
- display: flex;
- flex-wrap: wrap;
- }
- }
-
- .icon-box {
- font-family: 'Pictograms', sans-serif;
- line-height: 1;
- color: white;
- font-size:48px
- }
- .category{
- text-align: left;
- padding:0;
- margin:0;
- margin-bottom:8px;
- font-size:16px;
- text-transform: uppercase;
- line-height: 18px;
- }
- .title{
- text-align: left;
- padding:0;
- margin:0;
- }
- }
-
-
-
|